Uses of Class
com.exonum.client.response.Block
Package | Description |
---|---|
com.exonum.client |
The Exonum light client.
|
com.exonum.client.response |
-
Uses of Block in com.exonum.client
Methods in com.exonum.client that return Block Modifier and Type Method Description Block
ExonumClient. getLastBlock()
Returns the last block in the blockchain.Methods in com.exonum.client that return types with arguments of type Block Modifier and Type Method Description List<Block>
ExonumClient. findNonEmptyBlocks(int numBlocks, BlockTimeOption timeOption)
Returns up to the given number of the most recent non-empty blocks in ascending order by their height.List<Block>
ExonumClient. getBlocks(long fromHeight, long toHeight, BlockFilteringOption blockFilter, BlockTimeOption timeOption)
Returns blockchain blocks in the requested closed range.Optional<Block>
ExonumClient. getLastNonEmptyBlock()
Returns the last block in the blockchain which contains transactions; orOptional.empty()
if there are no blocks with transactions in the blockchain. -
Uses of Block in com.exonum.client.response
Methods in com.exonum.client.response that return Block Modifier and Type Method Description Block
Block.BlockBuilder. build()
Block
BlockResponse. getBlock()
Blockchain block.Methods in com.exonum.client.response that return types with arguments of type Block Modifier and Type Method Description List<Block>
BlocksRange. getBlocks()
Blockchain blocks in ascending order by height.List<Block>
BlocksResponse. getBlocks()
Blockchain blocks in descending order (not necessarily continuous) by height.Constructors in com.exonum.client.response with parameters of type Block Constructor Description BlockResponse(Block block, List<HashCode> transactionHashes)
Constructor parameters in com.exonum.client.response with type arguments of type Block Constructor Description BlocksRange(long fromHeight, long toHeight, List<Block> blocks)
Creates a new range of blocks.BlocksResponse(List<Block> blocks, long blocksRangeStart, long blocksRangeEnd)