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 BlockBlock.create(long timestamp, AVector<SignedData<ATransaction>> transactions) Creates a block with the given transactions.static BlockBlock.create(long timestamp, List<SignedData<ATransaction>> transactions) Creates a block with the given timestamp and transactionsstatic BlockBlock.of(long timestamp, SignedData<ATransaction>... transactions) Creates a block with the given transactions.static BlockBlock.read(ByteBuffer bb) Reads a Block from the given bytebuffer, assuming tag is already readprotected BlockMethods in convex.core that return types with arguments of type BlockModifier and TypeMethodDescriptionstatic AVector<SignedData<Block>>Belief.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 transactionsbooleanTests 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 OrderOrder.updateBlocks(AVector<SignedData<Block>> newBlocks) Update this chain with a new list of blocksOrder.withBlocks(AVector<SignedData<Block>> newBlocks) Updates blocks in this Order.