com.hedera.hashgraph.sdk.proto.BlockStreamInfoOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk-full Show documentation
Show all versions of sdk-full Show documentation
Hedera™ Hashgraph SDK for Java
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: block_stream_info.proto
// Protobuf Java Version: 3.25.3
package com.hedera.hashgraph.sdk.proto;
public interface BlockStreamInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.hedera.hapi.node.state.blockstream.BlockStreamInfo)
com.google.protobuf.MessageOrBuilder {
/**
*
**
* A block number.<br/>
* This is the current block number.
*
*
* uint64 block_number = 1;
* @return The blockNumber.
*/
long getBlockNumber();
/**
*
**
* A consensus time for the current block.<br/>
* This is the _first_ consensus time in the current block, and
* is used to determine if this block was the first across an
* important boundary in consensus time, such as UTC midnight.
* This may also be used to purge entities expiring between the last
* block time and this time.
*
*
* .proto.Timestamp block_time = 2;
* @return Whether the blockTime field is set.
*/
boolean hasBlockTime();
/**
*
**
* A consensus time for the current block.<br/>
* This is the _first_ consensus time in the current block, and
* is used to determine if this block was the first across an
* important boundary in consensus time, such as UTC midnight.
* This may also be used to purge entities expiring between the last
* block time and this time.
*
*
* .proto.Timestamp block_time = 2;
* @return The blockTime.
*/
com.hedera.hashgraph.sdk.proto.Timestamp getBlockTime();
/**
*
**
* A consensus time for the current block.<br/>
* This is the _first_ consensus time in the current block, and
* is used to determine if this block was the first across an
* important boundary in consensus time, such as UTC midnight.
* This may also be used to purge entities expiring between the last
* block time and this time.
*
*
* .proto.Timestamp block_time = 2;
*/
com.hedera.hashgraph.sdk.proto.TimestampOrBuilder getBlockTimeOrBuilder();
/**
*
**
* A concatenation of hash values.<br/>
* This combines several trailing output block item hashes and
* is used as a seed value for a pseudo-random number generator.<br/>
* This is also requiried to implement the EVM `PREVRANDAO` opcode.
*
*
* bytes trailing_output_hashes = 3;
* @return The trailingOutputHashes.
*/
com.google.protobuf.ByteString getTrailingOutputHashes();
/**
*
**
* A concatenation of hash values.<br/>
* This field combines up to 256 trailing block hashes.
* <p>
* If this message is for block number N, then the earliest available
* hash SHALL be for block number N-256.<br/>
* The latest available hash SHALL be for block N-1.<br/>
* This is REQUIRED to implement the EVM `BLOCKHASH` opcode.
*
*
* bytes trailing_block_hashes = 4;
* @return The trailingBlockHashes.
*/
com.google.protobuf.ByteString getTrailingBlockHashes();
}