hyperledger / iroha

Iroha - A simple, enterprise-grade decentralized ledger

Home Page:https://wiki.hyperledger.org/display/iroha

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reset block timer after no transactions

s8sato opened this issue · comments

Since currently Sumeragi::round_start_time updates only on block commit and the block timer keeps ringing under situation of no transactions, the next transaction arrival meets the condition and a new block can be immediately created for that single transaction, which might be a waste of resources