Add safe bank failure diagnostics for T5 and T6
Address #14 with request correlation, bounded parser reasons, startup version reporting, and rate-limited storage and settlement logs. Preserve accounting and API identity contracts, extend portable tests, and update release versions and rollout guidance.
This commit is contained in:
@@ -10,6 +10,8 @@ namespace utils::bank
|
||||
{
|
||||
bool valid = false;
|
||||
std::string state, code, id;
|
||||
// Fixed diagnostic vocabulary; never includes response text.
|
||||
std::string reason = "schema";
|
||||
int amount = 0, balance = 0;
|
||||
};
|
||||
acknowledgement parse_acknowledgement(const std::string& response);
|
||||
|
||||
Reference in New Issue
Block a user