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, AVector<SignedData<ATransaction>> transactions) Creates a block with the given transactions.static Block
Block.create
(long timestamp, List<SignedData<ATransaction>> transactions) Creates a block with the given timestamp and transactionsstatic Block
Block.of
(long timestamp, SignedData<ATransaction>... transactions) Creates a block with the given transactions.static Block
Read a Block from a Blob encodingBlock.updateRefs
(IRefFunction func) Methods in convex.core that return types with arguments of type BlockModifier and TypeMethodDescriptionBeliefMerge.computeWinningOrder
(HashMap<Order, Double> stakedOrders, long consensusPoint, double initialTotalStake) Compute the new winning Order for this Peer, including any new blocks encounteredOrder.getBlock
(long i) Get a specific Block in this OrderOrder.getBlocks()
Gets the Blocks in this OrderMethods in convex.core with parameters of type BlockModifier and TypeMethodDescriptionstatic BlockResult
BlockResult.createInvalidBlock
(State state, Block block, AString message) Creates a BlockResult for an invalid Block (i.e.boolean
Tests if this Block is equal to anotherPeer.proposeBlock
(Block block) Propose a new Block.Method parameters in convex.core with type arguments of type BlockModifier and TypeMethodDescriptionOrder.append
(SignedData<Block> block) Append a new block of transactions in this OrderState.applyBlock
(SignedData<Block> signedBlock) Applies a signed Block to the current state, i.e.State.checkBlock
(SignedData<Block> signedBlock) Checks if a block is valid for application to the current stateBelief.proposeBlock
(AKeyPair kp, SignedData<Block> signedBlock) Propose a new Block at the end of the current OrderOrder.withBlocks
(AVector<SignedData<Block>> newBlocks) Updates blocks in this Order.