Uses of Class
convex.core.Block
Packages that use Block
-
Uses of Block in convex.core
Methods in convex.core that return BlockModifier and TypeMethodDescriptionstatic Block
Block.create(long timestamp, AccountKey peerKey, AVector<SignedData<ATransaction>> transactions)
Creates a block with the given transactions.static Block
Block.create(long timestamp, List<SignedData<ATransaction>> transactions, AccountKey peerKey)
Creates a block with the given timestamp and transactionsOrder.getBlock(long i)
Get a specific Block in this Orderstatic Block
Block.of(long timestamp, AccountKey peerKey, SignedData<ATransaction>... transactions)
Creates a block with the given transactions.static Block
Block.read(ByteBuffer bb)
Reads a Block from the given bytebuffer, assuming tag is already readprotected Block
Methods in convex.core that return types with arguments of type BlockModifier and TypeMethodDescriptionBelief.computeWinningOrder(HashMap<Order,Double> stakedOrders, long consensusPoint, double initialTotalStake)
Compute the new winning Order for this Peer, including any new blocks encounteredOrder.getBlocks()
Gets the Blocks in this OrderMethods in convex.core with parameters of type BlockModifier and TypeMethodDescriptionState.applyBlock(Block block)
Block level state transition function Updates the state by applying a given block of transactionsboolean
Tests if this Block is equal to anotherPropose a new block of transactions in this OrderPeer.proposeBlock(Block block)
Propose a new Block.Method parameters in convex.core with type arguments of type BlockModifier and TypeMethodDescriptionOrder.updateBlocks(AVector<Block> newBlocks)
Update this chain with a new list of blocksOrder.withBlocks(AVector<Block> newBlocks)
Updates blocks in this Order.