All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hedera.hashgraph.sdk.proto.BlockInfoOrBuilder Maven / Gradle / Ivy

There is a newer version: 2.40.0
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: block_info.proto

// Protobuf Java Version: 3.25.3
package com.hedera.hashgraph.sdk.proto;

public interface BlockInfoOrBuilder extends
    // @@protoc_insertion_point(interface_extends:proto.BlockInfo)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   **
   * The last block number, this is the last completed immutable block.
   * 
* * int64 last_block_number = 1; * @return The lastBlockNumber. */ long getLastBlockNumber(); /** *
   **
   * The consensus time of the first transaction of the last block, this is the last completed immutable block.
   * 
* * .proto.Timestamp first_cons_time_of_last_block = 2; * @return Whether the firstConsTimeOfLastBlock field is set. */ boolean hasFirstConsTimeOfLastBlock(); /** *
   **
   * The consensus time of the first transaction of the last block, this is the last completed immutable block.
   * 
* * .proto.Timestamp first_cons_time_of_last_block = 2; * @return The firstConsTimeOfLastBlock. */ com.hedera.hashgraph.sdk.proto.Timestamp getFirstConsTimeOfLastBlock(); /** *
   **
   * The consensus time of the first transaction of the last block, this is the last completed immutable block.
   * 
* * .proto.Timestamp first_cons_time_of_last_block = 2; */ com.hedera.hashgraph.sdk.proto.TimestampOrBuilder getFirstConsTimeOfLastBlockOrBuilder(); /** *
   **
   * SHA384 48 byte hashes of the last 256 blocks in single byte array.
   * First 48 bytes is the oldest block.
   * Last 48 bytes is the newest block, which is the last fully completed immutable block.
   * If we are shortly after genesis and there are less than 256 blocks then this could contain less than 256 hashes.
   * 
* * bytes block_hashes = 3; * @return The blockHashes. */ com.google.protobuf.ByteString getBlockHashes(); /** *
   **
   * The consensus time of the last transaction that was handled by the node. This property is how we 'advance the
   * consensus clock', i.e. continually setting this property to the latest consensus timestamp (and thus transaction)
   * handled by the node.
   * 
* * .proto.Timestamp cons_time_of_last_handled_txn = 4; * @return Whether the consTimeOfLastHandledTxn field is set. */ boolean hasConsTimeOfLastHandledTxn(); /** *
   **
   * The consensus time of the last transaction that was handled by the node. This property is how we 'advance the
   * consensus clock', i.e. continually setting this property to the latest consensus timestamp (and thus transaction)
   * handled by the node.
   * 
* * .proto.Timestamp cons_time_of_last_handled_txn = 4; * @return The consTimeOfLastHandledTxn. */ com.hedera.hashgraph.sdk.proto.Timestamp getConsTimeOfLastHandledTxn(); /** *
   **
   * The consensus time of the last transaction that was handled by the node. This property is how we 'advance the
   * consensus clock', i.e. continually setting this property to the latest consensus timestamp (and thus transaction)
   * handled by the node.
   * 
* * .proto.Timestamp cons_time_of_last_handled_txn = 4; */ com.hedera.hashgraph.sdk.proto.TimestampOrBuilder getConsTimeOfLastHandledTxnOrBuilder(); /** *
   **
   * A flag indicating whether migration records have been published. This property should be marked 'false'
   * immediately following a node upgrade, and marked 'true' once the migration records (if any) are published, which
   * should happen during the first transaction handled by the node.
   * 
* * bool migration_records_streamed = 5; * @return The migrationRecordsStreamed. */ boolean getMigrationRecordsStreamed(); /** *
   **
   * The consensus time of the first transaction in the current block; necessary for reconnecting nodes to detect
   * when the current block is finished.
   * 
* * .proto.Timestamp first_cons_time_of_current_block = 6; * @return Whether the firstConsTimeOfCurrentBlock field is set. */ boolean hasFirstConsTimeOfCurrentBlock(); /** *
   **
   * The consensus time of the first transaction in the current block; necessary for reconnecting nodes to detect
   * when the current block is finished.
   * 
* * .proto.Timestamp first_cons_time_of_current_block = 6; * @return The firstConsTimeOfCurrentBlock. */ com.hedera.hashgraph.sdk.proto.Timestamp getFirstConsTimeOfCurrentBlock(); /** *
   **
   * The consensus time of the first transaction in the current block; necessary for reconnecting nodes to detect
   * when the current block is finished.
   * 
* * .proto.Timestamp first_cons_time_of_current_block = 6; */ com.hedera.hashgraph.sdk.proto.TimestampOrBuilder getFirstConsTimeOfCurrentBlockOrBuilder(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy