truechain / truechain-consensus-core

TrueChain Consensus Protocol: Minerva
Apache License 2.0
161 stars 70 forks source link

Some changes wrt block generation on leader side and format of transaction request on client end #20

Closed samikshan closed 6 years ago

samikshan commented 6 years ago
  1. Create genesis block on when pbft server is fired up.
  2. Add parent block header hash and transaction hash (Merkle Patricia root) in new block header.
  3. Add nonce and gasPrice values per transaction request. Since requests are being generated from only one client right now, we set the nonce incrementally per transaction.
  4. Remove leftover 'break' statement from earlier commits that was preventing transaction requests to be sent to all pbft nodes.