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 OrderPeer.getSignedBelief()
Get the signed Belief of this Peer<T extends ACell>
SignedData<T>MergeContext.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 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.getBlocks()
Gets the Blocks in this OrderBelief.getOrders()
Get the map of orders for this BeliefBlock.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 Orderstatic Block
Block.of
(long timestamp, SignedData<ATransaction>... transactions) Creates a block with the given transactions.Method parameters in convex.core with type arguments of type SignedDataModifier 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 double
Belief.prepareStakedOrders
(AMap<AccountKey, SignedData<Order>> peerOrders, HashMap<AccountKey, Double> peerStakes, HashMap<Order, Double> dest) Compute the total stake for every distinct Order seen.Order.updateBlocks
(AVector<SignedData<Block>> newBlocks) Update this chain with a new list of blocksOrder.withBlocks
(AVector<SignedData<Block>> newBlocks) Updates blocks in this Order.Belief.withOrders
(BlobMap<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 TypeMethodDescription<R extends ACell>
SignedData<R>WalletEntry.sign
(R message) abstract <R extends ACell>
SignedData<R>AKeyPair.signData
(R value) Signs a value with this key pair<R extends ACell>
SignedData<R>Ed25519KeyPair.signData
(R value) -
Uses of SignedData in convex.core.data
Methods in convex.core.data that return SignedDataModifier and TypeMethodDescriptionstatic SignedData<ATransaction>
SignedData.create
(AKeyPair kp, ASignature sig, Ref<ATransaction> ref) static <T extends ACell>
SignedData<T>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>SignedData.createWithRef
(AKeyPair keyPair, Ref<T> ref) Signs a data value Ref with the given keypair.static <T extends ACell>
SignedData<T>SignedData.read
(ByteBuffer data) Reads a SignedData instance from the given ByteBufferSignedData.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