sawtooth.sdk.protobuf.BlockHeaderOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sawtooth-sdk-protos Show documentation
Show all versions of sawtooth-sdk-protos Show documentation
"Java classes generated from Sawtooth proto definition files, to interact with the component, consensus, and other validator interfaces"
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: block.proto
package sawtooth.sdk.protobuf;
public interface BlockHeaderOrBuilder extends
// @@protoc_insertion_point(interface_extends:BlockHeader)
com.google.protobuf.MessageOrBuilder {
/**
*
* Block number in the chain
*
*
* uint64 block_num = 1;
*/
long getBlockNum();
/**
*
* The header_signature of the previous block that was added to the chain.
*
*
* string previous_block_id = 2;
*/
java.lang.String getPreviousBlockId();
/**
*
* The header_signature of the previous block that was added to the chain.
*
*
* string previous_block_id = 2;
*/
com.google.protobuf.ByteString
getPreviousBlockIdBytes();
/**
*
* Public key for the component internal to the validator that
* signed the BlockHeader
*
*
* string signer_public_key = 3;
*/
java.lang.String getSignerPublicKey();
/**
*
* Public key for the component internal to the validator that
* signed the BlockHeader
*
*
* string signer_public_key = 3;
*/
com.google.protobuf.ByteString
getSignerPublicKeyBytes();
/**
*
* List of batch.header_signatures that match the order of batches
* required for the block
*
*
* repeated string batch_ids = 4;
*/
java.util.List
getBatchIdsList();
/**
*
* List of batch.header_signatures that match the order of batches
* required for the block
*
*
* repeated string batch_ids = 4;
*/
int getBatchIdsCount();
/**
*
* List of batch.header_signatures that match the order of batches
* required for the block
*
*
* repeated string batch_ids = 4;
*/
java.lang.String getBatchIds(int index);
/**
*
* List of batch.header_signatures that match the order of batches
* required for the block
*
*
* repeated string batch_ids = 4;
*/
com.google.protobuf.ByteString
getBatchIdsBytes(int index);
/**
*
* Bytes that are set and verified by the consensus algorithm used to
* create and validate the block
*
*
* bytes consensus = 5;
*/
com.google.protobuf.ByteString getConsensus();
/**
*
* The state_root_hash should match the final state_root after all
* transactions in the batches have been applied, otherwise the block
* is not valid
*
*
* string state_root_hash = 6;
*/
java.lang.String getStateRootHash();
/**
*
* The state_root_hash should match the final state_root after all
* transactions in the batches have been applied, otherwise the block
* is not valid
*
*
* string state_root_hash = 6;
*/
com.google.protobuf.ByteString
getStateRootHashBytes();
}