Index

A B C D E F G H I N P S T V 
All Classes All Packages

A

ACTIVE - com.exonum.client.response.ConsensusStatus
Shows that consensus is active, i.e., it is enabled and the node has enough connected peers.

B

Block - Class in com.exonum.client.response
Exonum block header data structure.
Block.BlockBuilder - Class in com.exonum.client.response
 
BlockFilteringOption - Enum in com.exonum.client.request
Request option for filtering blocks.
BlockResponse - Class in com.exonum.client.response
 
BlockResponse(Block, List<HashCode>) - Constructor for class com.exonum.client.response.BlockResponse
 
BlocksRange - Class in com.exonum.client.response
A closed range of blocks.
BlocksRange(long, long, List<Block>) - Constructor for class com.exonum.client.response.BlocksRange
Creates a new range of blocks.
BlocksResponse - Class in com.exonum.client.response
 
BlocksResponse(List<Block>, long, long) - Constructor for class com.exonum.client.response.BlocksResponse
 
BlockTimeOption - Enum in com.exonum.client.request
Request option for block commit time.
build() - Method in class com.exonum.client.ExonumClient.Builder
Creates Exonum client instance.
build() - Method in class com.exonum.client.response.Block.BlockBuilder
 
builder() - Static method in class com.exonum.client.response.Block
 
Builder() - Constructor for class com.exonum.client.ExonumClient.Builder
 

C

com.exonum.client - package com.exonum.client
The Exonum light client.
com.exonum.client.request - package com.exonum.client.request
 
com.exonum.client.response - package com.exonum.client.response
 
COMMITTED - com.exonum.client.response.TransactionStatus
Shows that transaction is committed to the blockchain.
commitTime(ZonedDateTime) - Method in class com.exonum.client.response.Block.BlockBuilder
Time when the block was committed to the blockchain.
ConsensusStatus - Enum in com.exonum.client.response
Consensus status of a particular node.

D

DISABLED - com.exonum.client.response.ConsensusStatus
Shows that consensus is disabled on the node.

E

ENABLED - com.exonum.client.response.ConsensusStatus
Shows that consensus is enabled on the node.
equals(Object) - Method in class com.exonum.client.response.Block
 
equals(Object) - Method in class com.exonum.client.response.BlockResponse
 
equals(Object) - Method in class com.exonum.client.response.BlocksRange
 
equals(Object) - Method in class com.exonum.client.response.BlocksResponse
 
equals(Object) - Method in class com.exonum.client.response.HealthCheckInfo
 
equals(Object) - Method in class com.exonum.client.response.ServiceInstanceInfo
 
equals(Object) - Method in class com.exonum.client.response.ServiceInstanceState
 
equals(Object) - Method in class com.exonum.client.response.ServicesResponse
 
equals(Object) - Method in class com.exonum.client.response.SystemStatistics
 
equals(Object) - Method in class com.exonum.client.response.TransactionResponse
 
ExonumClient - Interface in com.exonum.client
Main interface for Exonum Light client.
ExonumClient.Builder - Class in com.exonum.client
Builder class for the Exonum client.

F

findNonEmptyBlocks(int, BlockTimeOption) - Method in interface com.exonum.client.ExonumClient
Returns up to the given number of the most recent non-empty blocks in ascending order by their height.
findServiceInfo(String) - Method in interface com.exonum.client.ExonumClient
Returns the service info of a started service instance with a given name; or Optional.empty() if there is no service instance with such name.

G

getBlock() - Method in class com.exonum.client.response.BlockResponse
Blockchain block.
getBlockByHeight(long) - Method in interface com.exonum.client.ExonumClient
Returns the information about the block with transaction hashes included at this block.
getBlockchainHeight() - Method in interface com.exonum.client.ExonumClient
Returns the blockchain height which is the height of the latest committed block in the blockchain.
getBlocks() - Method in class com.exonum.client.response.BlocksRange
Blockchain blocks in ascending order by height.
getBlocks() - Method in class com.exonum.client.response.BlocksResponse
Blockchain blocks in descending order (not necessarily continuous) by height.
getBlocks(long, long, BlockFilteringOption, BlockTimeOption) - Method in interface com.exonum.client.ExonumClient
Returns blockchain blocks in the requested closed range.
getBlocksRangeEnd() - Method in class com.exonum.client.response.BlocksResponse
The largest height of the returned blocks that match the search criteria, plus one.
getBlocksRangeStart() - Method in class com.exonum.client.response.BlocksResponse
The smallest height of the returned blocks that match the search criteria.
getCommitTime() - Method in class com.exonum.client.response.Block
Returns the time when the block was committed to the blockchain.
getConnectionsNumber() - Method in class com.exonum.client.response.HealthCheckInfo
The number of peers that the node is connected to; = 0 if the node is not connected to the network, or it's the single node network.
getConsensusStatus() - Method in class com.exonum.client.response.HealthCheckInfo
Consensus status shows/indicates whether it is possible to achieve the consensus between validators in the current network state.
getExecutionResult() - Method in class com.exonum.client.response.TransactionResponse
Returns transaction execution result.
getFromHeight() - Method in class com.exonum.client.response.BlocksRange
The height of the first block in the requested range.
getHeight() - Method in class com.exonum.client.response.Block
The height of this block which is a distance between the last block and the "genesis" block.
getId() - Method in class com.exonum.client.response.ServiceInstanceInfo
Returns the numeric id of the service instance.
getLastBlock() - Method in interface com.exonum.client.ExonumClient
Returns the last block in the blockchain.
getLastBlocks(int, BlockFilteringOption, BlockTimeOption) - Method in interface com.exonum.client.ExonumClient
Returns the range of the most recent blockchain blocks in ascending order by their height.
getLastNonEmptyBlock() - Method in interface com.exonum.client.ExonumClient
Returns the last block in the blockchain which contains transactions; or Optional.empty() if there are no blocks with transactions in the blockchain.
getLocation() - Method in class com.exonum.client.response.TransactionResponse
Returns transaction location in the blockchain.
getMessage() - Method in class com.exonum.client.response.TransactionResponse
Transaction message.
getName() - Method in class com.exonum.client.response.ServiceInstanceInfo
Returns the name of the service instance.
getNumCommittedTransactions() - Method in class com.exonum.client.response.SystemStatistics
A number of committed transactions in the blockchain.
getNumTransactions() - Method in class com.exonum.client.response.Block
Number of transactions in this block.
getNumUnconfirmedTransactions() - Method in class com.exonum.client.response.SystemStatistics
A number of unconfirmed transactions which are currently located in the unconfirmed transactions pool and are waiting for acceptance in a block.
getPreviousBlockHash() - Method in class com.exonum.client.response.Block
Hash link to the previous block in the blockchain.
getProposerId() - Method in class com.exonum.client.response.Block
Identifier of the leader node which has proposed the block.
getServiceInfoList() - Method in interface com.exonum.client.ExonumClient
Returns information on all started service instances.
getServices() - Method in class com.exonum.client.response.ServicesResponse
List of started service instances.
getSpec() - Method in class com.exonum.client.response.ServiceInstanceState
Service instance spec - its name and id.
getStateHash() - Method in class com.exonum.client.response.Block
Hash of the blockchain state after applying transactions in the block.
getStatus() - Method in class com.exonum.client.response.TransactionResponse
Current status of the transaction.
getToHeight() - Method in class com.exonum.client.response.BlocksRange
The height of the last block in the requested range.
getTransaction(HashCode) - Method in interface com.exonum.client.ExonumClient
Returns the information about the transaction; or Optional.empty() if the requested transaction is not found.
getTransactionHashes() - Method in class com.exonum.client.response.BlockResponse
Transaction hashes included at this block.
getTxRootHash() - Method in class com.exonum.client.response.Block
Root hash of the Merkle tree of transactions in this block.
getUnconfirmedTransactionsCount() - Method in interface com.exonum.client.ExonumClient
Returns a number of unconfirmed transactions which are currently located in the unconfirmed transactions pool and are waiting for acceptance to a block.
getUserAgentInfo() - Method in interface com.exonum.client.ExonumClient
Returns string containing information about Exonum, Rust and OS version.

H

hashCode() - Method in class com.exonum.client.response.Block
 
hashCode() - Method in class com.exonum.client.response.BlockResponse
 
hashCode() - Method in class com.exonum.client.response.BlocksRange
 
hashCode() - Method in class com.exonum.client.response.BlocksResponse
 
hashCode() - Method in class com.exonum.client.response.HealthCheckInfo
 
hashCode() - Method in class com.exonum.client.response.ServiceInstanceInfo
 
hashCode() - Method in class com.exonum.client.response.ServiceInstanceState
 
hashCode() - Method in class com.exonum.client.response.ServicesResponse
 
hashCode() - Method in class com.exonum.client.response.SystemStatistics
 
hashCode() - Method in class com.exonum.client.response.TransactionResponse
 
healthCheck() - Method in interface com.exonum.client.ExonumClient
Returns the node health check information.
HealthCheckInfo - Class in com.exonum.client.response
 
HealthCheckInfo(ConsensusStatus, int) - Constructor for class com.exonum.client.response.HealthCheckInfo
 
height(long) - Method in class com.exonum.client.response.Block.BlockBuilder
The height of this block which is a distance between the last block and the "genesis" block.

I

IN_POOL - com.exonum.client.response.TransactionStatus
Shows that transaction is in unconfirmed transaction pool currently.
INCLUDE_COMMIT_TIME - com.exonum.client.request.BlockTimeOption
Include block commit times in a response.
INCLUDE_EMPTY - com.exonum.client.request.BlockFilteringOption
Include all blocks in a response (both empty and non-empty).
isCommitted() - Method in class com.exonum.client.response.TransactionResponse
Returns true when the transaction is committed to the blockchain; or false — otherwise.
isEmpty() - Method in class com.exonum.client.response.Block
Returns true if this block is empty: contains no transactions.

N

newBuilder() - Static method in interface com.exonum.client.ExonumClient
Returns Exonum client builder.
NO_COMMIT_TIME - com.exonum.client.request.BlockTimeOption
Do not include block commit times in a response.
numTransactions(int) - Method in class com.exonum.client.response.Block.BlockBuilder
Number of transactions in this block.

P

previousBlockHash(HashCode) - Method in class com.exonum.client.response.Block.BlockBuilder
Hash link to the previous block in the blockchain.
proposerId(int) - Method in class com.exonum.client.response.Block.BlockBuilder
Identifier of the leader node which has proposed the block.

S

ServiceInstanceInfo - Class in com.exonum.client.response
 
ServiceInstanceInfo(String, int) - Constructor for class com.exonum.client.response.ServiceInstanceInfo
 
ServiceInstanceState - Class in com.exonum.client.response
 
ServiceInstanceState(ServiceInstanceInfo) - Constructor for class com.exonum.client.response.ServiceInstanceState
 
ServicesResponse - Class in com.exonum.client.response
 
ServicesResponse(List<ServiceInstanceState>) - Constructor for class com.exonum.client.response.ServicesResponse
 
setExonumHost(String) - Method in class com.exonum.client.ExonumClient.Builder
Sets Exonum host url.
setExonumHost(URL) - Method in class com.exonum.client.ExonumClient.Builder
Sets Exonum host url.
setHttpClient(OkHttpClient) - Method in class com.exonum.client.ExonumClient.Builder
Sets http client, optional.
setPrefix(String) - Method in class com.exonum.client.ExonumClient.Builder
Sets an optional URL prefix to be applied to all requests made by the client.
SKIP_EMPTY - com.exonum.client.request.BlockFilteringOption
Skip empty blocks (containing no transactions).
stateHash(HashCode) - Method in class com.exonum.client.response.Block.BlockBuilder
Hash of the blockchain state after applying transactions in the block.
submitTransaction(TransactionMessage) - Method in interface com.exonum.client.ExonumClient
Submits the transaction message to an Exonum node.
SystemStatistics - Class in com.exonum.client.response
Some statistics about the blockchain system.
SystemStatistics(int, long) - Constructor for class com.exonum.client.response.SystemStatistics
 

T

toString() - Method in class com.exonum.client.response.Block.BlockBuilder
 
toString() - Method in class com.exonum.client.response.Block
 
toString() - Method in class com.exonum.client.response.BlockResponse
 
toString() - Method in class com.exonum.client.response.BlocksRange
 
toString() - Method in class com.exonum.client.response.BlocksResponse
 
toString() - Method in class com.exonum.client.response.HealthCheckInfo
 
toString() - Method in class com.exonum.client.response.ServiceInstanceInfo
 
toString() - Method in class com.exonum.client.response.ServiceInstanceState
 
toString() - Method in class com.exonum.client.response.ServicesResponse
 
toString() - Method in class com.exonum.client.response.SystemStatistics
 
toString() - Method in class com.exonum.client.response.TransactionResponse
 
TransactionResponse - Class in com.exonum.client.response
 
TransactionResponse(TransactionStatus, TransactionMessage, Runtime.ExecutionStatus, TransactionLocation) - Constructor for class com.exonum.client.response.TransactionResponse
 
TransactionStatus - Enum in com.exonum.client.response
Status of a particular transaction.
txRootHash(HashCode) - Method in class com.exonum.client.response.Block.BlockBuilder
Root hash of the Merkle tree of transactions in this block.

V

valueOf(String) - Static method in enum com.exonum.client.request.BlockFilteringOption
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.exonum.client.request.BlockTimeOption
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.exonum.client.response.ConsensusStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.exonum.client.response.TransactionStatus
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.exonum.client.request.BlockFilteringOption
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.exonum.client.request.BlockTimeOption
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.exonum.client.response.ConsensusStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.exonum.client.response.TransactionStatus
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E F G H I N P S T V 
All Classes All Packages