hyperledger-archives / iroha

Iroha - A simple, decentralized ledger
http://iroha.tech
Apache License 2.0
988 stars 298 forks source link

Refactor ordering service queues #2150

Closed lebdron closed 5 years ago

lebdron commented 5 years ago

Description of the Change

Use two queues in ordering service for transactions, one for current reject round, and another for future reject and commit rounds.

Benefits

Less memory usage in case the ordering service is used for multiple rounds.

Possible Drawbacks

Two proposals are stored for next rounds instead of one.