public interface BlockHeaderOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
com.google.protobuf.ByteString |
getDataHash()
The hash of the BlockData, by MerkleTree
|
long |
getNumber()
The position in the blockchain
|
com.google.protobuf.ByteString |
getPreviousHash()
The hash of the previous block header
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
long getNumber()
The position in the blockchain
uint64 number = 1 [json_name = "number"];
com.google.protobuf.ByteString getPreviousHash()
The hash of the previous block header
bytes previous_hash = 2 [json_name = "previousHash"];
com.google.protobuf.ByteString getDataHash()
The hash of the BlockData, by MerkleTree
bytes data_hash = 3 [json_name = "dataHash"];
Copyright © 2022. All rights reserved.