Iroha will not accept new transactions via Torii or ListTorii if its internals is not ready for new incoming transactions.
If Iroha is full then Torii or ListTorii will return grpc::StatusCode::RESOURCE_EXHAUSTED with textual description that includes "reduced hashes" of batches that were not processed.
Signed-off-by: Igor Egorov igor@soramitsu.co.jp
Description of the Change
Iroha will not accept new transactions via Torii or ListTorii if its internals is not ready for new incoming transactions.
If Iroha is full then Torii or ListTorii will return
grpc::StatusCode::RESOURCE_EXHAUSTED
with textual description that includes "reduced hashes" of batches that were not processed.Benefits
Improved robustness. Still the same API.
Possible Drawbacks
Unknown
Usage Examples or Tests
All the tests.