ChainParams

Represents current parameters of the FIO blockchain
Protobuf type TW.FIO.Proto.ChainParams

Types

Link copied to clipboard
class Builder
Represents current parameters of the FIO blockchain
Protobuf type TW.FIO.Proto.ChainParams

Functions

Link copied to clipboard
open fun getChainId(): ByteString
Constant chainId (32 bytes), obtained from get_info API
bytes chain_id = 1;
Link copied to clipboard
open fun getDefaultInstance(): ChainParams
Link copied to clipboard
The last block number, obtained from get_info API
uint64 head_block_number = 2;
Link copied to clipboard
Block prefix of last block, obtained from get_block API
uint64 ref_block_prefix = 3;
Link copied to clipboard
open fun newBuilder(prototype: ChainParams): FIO.ChainParams.Builder
Link copied to clipboard
open fun parseDelimitedFrom(input: InputStream): ChainParams
open fun parseDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): ChainParams
Link copied to clipboard
open fun parseFrom(data: Array<Byte>): ChainParams
open fun parseFrom(data: ByteString): ChainParams
open fun parseFrom(input: CodedInputStream): ChainParams
open fun parseFrom(input: InputStream): ChainParams
open fun parseFrom(data: ByteBuffer): ChainParams
open fun parseFrom(data: Array<Byte>, extensionRegistry: ExtensionRegistryLite): ChainParams
open fun parseFrom(data: ByteString, extensionRegistry: ExtensionRegistryLite): ChainParams
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): ChainParams
open fun parseFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): ChainParams
open fun parseFrom(data: ByteBuffer, extensionRegistry: ExtensionRegistryLite): ChainParams
Link copied to clipboard
open fun parser(): Parser<ChainParams>

Properties