package protocol.hooks.transactions

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message Hook

hooks.transactions.proto:186

Hooks allow injecting actions at specific points of the code. Useful for error injection.

Used in: sdk.query.SingleQueryTransactionOptions, shared.TransactionsConfig, transactions.ClientRecordProcessRequest, transactions.ClientRecordRemoveRequest, transactions.TransactionCleanupATRRequest, transactions.TransactionCleanupRequest, transactions.TransactionOptions, transactions.TransactionsFactoryCreateRequest

enum HookAction

hooks.transactions.proto:124

Used in: Hook

enum HookCondition

hooks.transactions.proto:91

Used in: Hook

enum HookPoint

hooks.transactions.proto:13

Generally the BEFORE_ hook is used to inject an error, e.g. as if the server had returned a failure The AFTER_ hook is used for ambiguity testing. E.g. the op succeeded but FAIL_AMBIGUOUS was returned.

Used in: Hook