Uses of Class
convex.core.data.SignedData
Packages that use SignedData
Package
Description
Fundamental Convex classes used for the decentralised network
Crypto algorithms used within Convex, particularly for digital signatures and
cryptographic hashes
Data structures and algorithms, including a complete set of classes
required to implement immutable, decentralised data objects.
Specialised exception classes used in the Convex implementation and libraries
-
Uses of SignedData in convex.core
Methods in convex.core that return SignedDataModifier and TypeMethodDescriptionOrder.getBlock
(long i) Get a specific Block in this Order<T extends ACell>
SignedData<T> BeliefMerge.sign
(T value) Sign a value using the keypair for this MergeContext<T extends ACell>
SignedData<T> Peer.sign
(T value) Signs a value with the keypair of this PeerMethods in convex.core that return types with arguments of type SignedDataModifier and TypeMethodDescriptionBeliefMerge.computeWinningOrder
(HashMap<Order, Double> stakedOrders, long consensusPoint, double initialTotalStake) Compute the new winning Order for this Peer, including any new blocks encounteredstatic Collection
<SignedData<Order>> Belief.extractOrders
(ACell payload) Extract a collection of Orders from a Cell, suitable for Belief mergeOrder.getBlocks()
Gets the Blocks in this OrderBelief.getOrders()
Get the map of orders for this BeliefBelief.getOrdersHashMap()
Gets a new HashMap containing all OrdersBlock.getTransactions()
Get the vector of transactions in this BlockMethods in convex.core with parameters of type SignedDataModifier 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.applyTransaction
(SignedData<? extends ATransaction> signedTransaction) Applies a signed transaction to the State.State.checkBlock
(SignedData<Block> signedBlock) Checks if a block is valid for application to the current statestatic Belief
Belief.create
(SignedData<Order>... orders) static Order
Order.create
(long proposalPoint, long consensusPoint, SignedData<Block>... blocks) Create an Order with the given consensus positions and Blocks.static Block
Block.of
(long timestamp, SignedData<ATransaction>... transactions) Creates a block with the given transactions.Belief.proposeBlock
(AKeyPair kp, SignedData<Block> signedBlock) Propose a new Block at the end of the current OrderMethod parameters in convex.core with type arguments of type SignedDataModifier and TypeMethodDescriptionstatic Belief
Belief.create
(HashMap<AccountKey, SignedData<Order>> orderMap) static 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 double
BeliefMerge.prepareStakedOrders
(AMap<AccountKey, SignedData<Order>> peerOrders, HashMap<AccountKey, Double> peerStakes, HashMap<Order, Double> dest) Compute the total stake for every distinct Order seen.Order.withBlocks
(AVector<SignedData<Block>> newBlocks) Updates blocks in this Order.Belief.withOrders
(Index<AccountKey, SignedData<Order>> newOrders) Updates this Belief with a new set of Chains for each peer address -
Uses of SignedData in convex.core.crypto
Methods in convex.core.crypto that return SignedDataModifier and TypeMethodDescriptionabstract <R extends ACell>
SignedData<R> AKeyPair.signData
(R value) Signs a data value with this key pair -
Uses of SignedData in convex.core.crypto.bc
Methods in convex.core.crypto.bc that return SignedData -
Uses of SignedData in convex.core.crypto.wallet
Methods in convex.core.crypto.wallet that return SignedData -
Uses of SignedData in convex.core.data
Methods in convex.core.data that return SignedDataModifier and TypeMethodDescriptionstatic <T extends ACell>
SignedData<T> SignedData.create
(ASignature sig, Ref<T> ref) Creates a SignedData object with the given parameters.static <T extends ACell>
SignedData<T> SignedData.create
(AccountKey address, ASignature sig, Ref<T> ref) Creates a SignedData object with the given parameters.static <T extends ACell>
SignedData<T> Reads a SignedData instance from the given Blob encodingstatic <T extends ACell>
SignedData<T> Create a SignedData by signing a value with the given key pairstatic <T extends ACell>
SignedData<T> Signs a data value Ref with the given keypair.SignedData.updateRefs
(IRefFunction func) -
Uses of SignedData in convex.core.exceptions
Methods in convex.core.exceptions that return SignedDataModifier and TypeMethodDescription<T extends ACell>
SignedData<T> BadSignatureException.getSignature()
Constructors in convex.core.exceptions with parameters of type SignedData