Ethan Buchman 70d314312c consensus: fix addProposalBlockPart
* When create_empty_blocks=false, we don't enterPropose until we
* receive a transaction, but if we then receive a complete proposal,
* we should enterPrevote. A guard in addProposalBlockPart was checking if
* step==Propose before calling enterPrevote, but we need it to be step<=Propose,
* since we may not have seen a tx.
* This was discovered by disabling mempool broadcast, sending txs to
* peers one a time, and observing their consensus logs.
2018-06-27 18:14:45 +04:00
..
2018-06-22 07:28:07 +02:00
2018-06-22 07:28:07 +02:00
2018-06-22 07:28:07 +02:00
2018-06-22 07:28:07 +02:00
2018-06-22 07:28:07 +02:00
2018-06-27 18:14:45 +04:00
2018-06-22 07:28:07 +02:00

See the consensus spec and the reactor consensus spec for more information.