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
Block.updateRefs
(IRefFunction func) Methods in convex.core that return types with arguments of type BlockModifier and TypeMethodDescriptionstatic AVector<SignedData<Block>>
BeliefMerge.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 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 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 stateBelief.proposeBlock
(AKeyPair kp, SignedData<Block> signedBlock) Order.withBlocks
(AVector<SignedData<Block>> newBlocks) Updates blocks in this Order.