org.hyperledger.fabric.protos.common.BlockHeaderOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: common/common.proto
// Protobuf Java Version: 4.28.2
package org.hyperledger.fabric.protos.common;
public interface BlockHeaderOrBuilder extends
// @@protoc_insertion_point(interface_extends:common.BlockHeader)
com.google.protobuf.MessageOrBuilder {
/**
*
* The position in the blockchain
*
*
* uint64 number = 1 [json_name = "number"];
* @return The number.
*/
long getNumber();
/**
*
* The hash of the previous block header
*
*
* bytes previous_hash = 2 [json_name = "previousHash"];
* @return The previousHash.
*/
com.google.protobuf.ByteString getPreviousHash();
/**
*
* The hash of the BlockData, by MerkleTree
*
*
* bytes data_hash = 3 [json_name = "dataHash"];
* @return The dataHash.
*/
com.google.protobuf.ByteString getDataHash();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy