Uses of Class
convex.core.data.ADataStructure
Packages that use ADataStructure
Package
Description
Fundamental Convex classes used for the decentralised network
Data structures and algorithms, including a complete set of classes
required to implement immutable, decentralised data objects.
CVM type system implementation.
Core CVM implementation
Convex network transaction types.
-
Uses of ADataStructure in convex.core
Subclasses of ADataStructure in convex.coreModifier and TypeClassDescriptionclass
Class representing a Peer's view of the overall network consensus state.final class
A Block contains an ordered collection of signed transactions that may be applied collectively as part of a state update.class
Class representing the result of applying a Block to a State.class
Class representing an Ordering of transactions, along with the consensus position.class
Transaction Receipt record.final class
Class representing the result of a Query or Transaction.class
Class representing the immutable state of the CVM State transitions are represented by blocks of transactions, according to the logic: s[n+1] = s[n].applyBlock(b[n]) State contains the following elements - Map of AccountStatus for every Address - Map of PeerStatus for every Peer Address - Global values - Schedule data structure "State. -
Uses of ADataStructure in convex.core.data
Subclasses of ADataStructure in convex.core.dataModifier and TypeClassDescriptionclass
Class representing the current on-chain status of an account.class
ACollection<T extends ACell>
Abstract base class for Persistent Merkle Collectionsclass
class
class
Abstract base class for Indexes: a sorted radix-tree map of Blobs to Values.class
Abstract base class for lists.class
Abstract base class for maps.class
class
Base class for Record data types.class
Abstract base class for generic records.class
Abstract base class for concrete sequential data structure (immutable persistent lists and vectors etc.)class
Abstract based class for sets.class
ASpecialVector<T extends ACell>
BAse class for specialised vector implementationsclass
Abstract base class for vectors.final class
Index node implementation, providing an efficient radix tree based immutable data structure for indexed access and sorting.class
Implementation of a list wrapping a vector.class
Map.Entry implementation for persistent maps.class
Limited size Persistent Merkle Map implemented as a small sorted list of Key/Value pairs Must be sorted by Key hash value to ensure uniqueness of representationclass
Persistent Map for large hash maps requiring tree structure.class
Class describing the on-chain state of a Peer declared on the network.class
Limited size Persistent Merkle Set implemented as a small sorted list of Values Must be sorted by Key hash value to ensure uniqueness of representationclass
Persistent Set for large hash sets requiring tree structure.final class
SignedData<T extends ACell>
Node representing a signed data object.class
VectorArray<T extends ACell>
Non-canonical vector implementation designed to make operations on small temporary vectors more efficient.class
VectorLeaf<T extends ACell>
A Persistent Vector implementation representing 0-16 elements with a packed Vector prefix.class
VectorTree<T extends ACell>
Persistent Vector implemented as a merkle tree of chunks shift indicates the level of the tree: 4 = 1st level, 8 = second etc.Methods in convex.core.data that return ADataStructureModifier and TypeMethodDescriptionabstract ADataStructure
<E> Associates a key with a value in this associative data structure.abstract ADataStructure
<E> Adds an element to this data structure, in the natural manner defined by the general data structure type.ADataStructure.conjAll
(ACollection<? extends E> xs) Adds multiple elements to this data structure, in the natural manner defined by the general data structure type.abstract ADataStructure
<E> ADataStructure.empty()
Returns an empty instance of the same Type as this data structure. -
Uses of ADataStructure in convex.core.data.impl
Subclasses of ADataStructure in convex.core.data.implModifier and TypeClassDescriptionclass
ADerivedSet<T extends ACell,
K extends ACell, V extends ACell> Abstract base class for non-canonical sets derived off maps Useful for cases where we want a Set instance, but don't want to construct a whole new data structureclass
-
Uses of ADataStructure in convex.core.data.type
Methods in convex.core.data.type that return ADataStructureModifier and TypeMethodDescriptionDataStructure.defaultValue()
DataStructure.implicitCast
(ACell a) -
Uses of ADataStructure in convex.core.lang
Fields in convex.core.lang with type parameters of type ADataStructureModifier and TypeFieldDescriptionstatic final CoreFn
<ADataStructure<ACell>> Core.ASSOC
static final CoreFn
<ADataStructure<ACell>> Core.CONJ
static final CoreFn
<ADataStructure<ACell>> Core.INTO
static final CoreFn
<ADataStructure<?>> Core.MAP
Methods in convex.core.lang that return ADataStructureModifier and TypeMethodDescriptionstatic <R extends ACell>
ADataStructure<R> RT.assoc
(ADataStructure<R> coll, ACell key, ACell value) Associates a key position with a given value in an associative data structurestatic ADataStructure
<?> RT.ensureAssociative
(ACell o) Ensures the argument is an associative data structure instance.static <E extends ACell>
ADataStructure<E> RT.ensureDataStructure
(ACell a) Casts to an ADataStructure instanceMethods in convex.core.lang with parameters of type ADataStructureModifier and TypeMethodDescriptionstatic <R extends ACell>
ADataStructure<R> RT.assoc
(ADataStructure<R> coll, ACell key, ACell value) Associates a key position with a given value in an associative data structurestatic ACell
RT.get
(ADataStructure<?> coll, ACell key) Gets an element from a data structure using the given key.static ACell
RT.get
(ADataStructure<?> coll, ACell key, ACell notFound) Gets an element from a data structure using the given key. -
Uses of ADataStructure in convex.core.transactions
Subclasses of ADataStructure in convex.core.transactionsModifier and TypeClassDescriptionclass
Abstract base class for immutable transactions Transactions may modify the on-chain State according to the rules of the specific transaction type.class
Transaction representing a Call to an Actor.class
Transaction class representing the Invoke of an on-chain operation.class
The Multi class enables multiple child transactions to be grouped into a single wrapper transaction with useful joint execution semantics.class
Transaction class representing a coin Transfer from one account to another