Proto commits in truechain/truechain-consensus-core

These 8 commits are when the Protocol Buffers files have changed:

Commit:b8d46d5
Author:Archit Sharma
Committer:Archit Sharma

fix da build after makin da ch ch changes. This: - abstract away interfaces for node.go. To be thought about / harnessed in near future. - init bft committee: re-align project structure - add init package in manifest

The documentation is generated from this commit.

Commit:21817f7
Author:Samikshan Bairagya
Committer:Samikshan Bairagya

Several changes wrt block generation and transaction requests 1. Store hash of last block header in new block header 2. Store merkle root of transaction set in block header for new block. 3. Add nonce and gas price values per transaction: Since only one client sends the requests the account nonce can be incremented by one every new transaction. 4. Remove leftover 'break' statement that wasn't allowing txn requests to be send to all pbft nodes. Signed-off-by: Samikshan Bairagya <samikshan@gmail.com>

Commit:4591530
Author:Samikshan Bairagya
Committer:Samikshan Bairagya

Genesis block: Generate genesis block when pbft server fires up. Signed-off-by: Samikshan Bairagya <samikshan@gmail.com>

Commit:c418cbe
Author:Samikshan Bairagya
Committer:Samikshan Bairagya

Hash the entire TxnData message instead of TxnData.Payload. Signed-off-by: Samikshan Bairagya <samikshan@gmail.com>

Commit:71f7bd2
Author:Samikshan Bairagya

Introduce blocks. This is very basic and a WIP. At best this commit implements the following: 1. Takes "blocksize" number of transactions, creates block 2. Primary node broadcasts to other pbft nodes Signed-off-by: Samikshan Bairagya <samikshan@gmail.com>

Commit:92c764f
Author:Samikshan Bairagya
Committer:Samikshan Bairagya

PBFT implementation now works with transaction requests over grpc Signed-off-by: Samikshan Bairagya <samikshan@gmail.com>

Commit:8d308d1
Author:Samikshan Bairagya
Committer:Samikshan Bairagya

Added grpc call to send new transaction to pbft nodes Signed-off-by: Samikshan Bairagya <samikshan@gmail.com>

Commit:29d0082
Author:Samikshan Bairagya
Committer:Samikshan Bairagya

Introduce grpc for server-client communication Signed-off-by: Samikshan Bairagya <samikshan@gmail.com>