abstract Block.Builder |
Block.Builder.additionalHeaders(com.google.common.collect.ImmutableMap<java.lang.String,com.google.protobuf.ByteString> additionalHeaders) |
Sets additional block headers.
|
abstract Block.Builder |
Block.Builder.blockHash(HashCode hash) |
Sets the hash of the block binary representation.
|
static Block.Builder |
Block.builder() |
Creates a new block builder.
|
abstract Block.Builder |
Block.Builder.errorHash(HashCode errorHash) |
Sets error hash.
|
abstract Block.Builder |
Block.Builder.height(long height) |
Sets the block height, which is the distance between the block and the genesis block,
which has zero height.
|
abstract Block.Builder |
Block.Builder.numTransactions(int numTransactions) |
Sets the number of transactions in this block.
|
abstract Block.Builder |
Block.Builder.previousBlockHash(HashCode previousBlockHash) |
Sets the hash of the previous block in the hash chain.
|
abstract Block.Builder |
Block.Builder.proposerId(int proposerId) |
Sets the identifier of the leader node which has proposed the block.
|
abstract Block.Builder |
Block.Builder.stateHash(HashCode blockchainStateHash) |
Sets the blockchain state hash at the moment this block was committed.
|
abstract Block.Builder |
Block.Builder.txRootHash(HashCode txRootHash) |
Sets the Merkle root hash of the collection holding all transactions in this block.
|