hyperledger-iroha / iroha

Iroha - A simple, enterprise-grade decentralized ledger
https://wiki.hyperledger.org/display/iroha
Apache License 2.0
438 stars 280 forks source link

fix: Leader as transaction ordering service #4967

Closed SamHSmith closed 2 weeks ago

SamHSmith commented 2 months ago

Description

4914

Linked issue

Closes #{issue_number}

Benefits

Checklist

mversic commented 2 months ago

you should follow the style of the code and add a new state to the block state machine. Let's consider this in more detail:

  1. remove categorize_transactions function
  2. make BlockBuilder::new -> BlockBuilder::chain -> BlockBuilder::sign produce SignedBlock(not ValidBlock)