MizukiSonoko / iroha-cli

YACI: Yet Another Cli of Iroha 👏👏👏
Apache License 2.0
9 stars 4 forks source link

remove proposal_delay #67

Closed iceseer closed 2 years ago

iceseer commented 2 years ago

We have 2 config parameters proposal_delay and proposal_creation_timeout. proposal_delay - is the network timeout to wait response from Ordering Service with proposal data. proposal_creation_timeout - is the timeout inside Ordering Service. It means the maximum time to wait until proposal will become full (i.e. until transactions count become max_proposal_size).

We should wait on network request more time, than proposal_creation_timeout. It means we have dependence proposal_delay from proposal_creation_timeout. This dependency is noted in documentation now, but we need to remove proposal_delay from configuration and make: proposal_delay = 2 * proposal_creation_timeout.