Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Issue ¶
type Issue struct {
Kind string `json:"kind"`
BalanceID string `json:"balance_id,omitempty"`
TransactionID string `json:"transaction_id,omitempty"`
Field string `json:"field,omitempty"`
Expected string `json:"expected,omitempty"`
Actual string `json:"actual,omitempty"`
Message string `json:"message"`
}
type Report ¶
type Report struct {
Verified bool `json:"verified"`
Balances int `json:"balances"`
Transactions int `json:"transactions"`
Issues []Issue `json:"issues"`
}
func Check ¶
Check replays committed legs and reservation releases with integer arithmetic. The current engine ignores the retained rate field and credits the same minor units it debits. Legacy non-unit rates cannot identify which historic engine semantics produced a row, so those rows are explicitly unsupported.