Uses of Class
convex.core.data.AMap
Packages that use AMap
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
Internal CVM language implementation classes
-
Uses of AMap in convex.core
Subclasses of AMap 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.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.Methods in convex.core that return AMapModifier and TypeMethodDescriptionState.getEnvironment
(Address addr) Gets the environment for a given account, or null if not found.Result.getInfo()
Returns the info for this Result.Peer.getPeerData
(AStore store) Gets Peer Data from a Store.Peer.toData()
Gets the Peer Data map for this PeerMethods in convex.core with parameters of type AMapModifier and TypeMethodDescriptionstatic Result
Create a Resultstatic Peer
Constructs a Peer instance from persisted PEer Datastatic 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. -
Uses of AMap in convex.core.data
Subclasses of AMap in convex.core.dataModifier and TypeClassDescriptionclass
Abstract base class for BlobMaps: a sorted radix-tree map of Blobs to Values.class
Class representing the current on-chain status of an account.class
class
Base class for Record data types.class
Abstract base class for generic records.class
BlobMap node implementation supporting: An optional prefix string An optional entry with this prefix Up to 16 child entries at the next level of depthclass
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.Methods in convex.core.data with type parameters of type AMapMethods in convex.core.data that return AMapModifier and TypeMethodDescriptionAssociates the given key with the specified value.AMap.assocEntry
(MapEntry<K, V> e) Associate the given map entry into the map.ARecord.assocEntry
(MapEntry<Keyword, ACell> e) Dissociates a key from this map, returning an updated map if the key was removed, or the same unchanged map if the key is not present.AMap.filterValues
(Predicate<V> pred) Filters all values in this map with the given predicate.AMap.slice
(long start, long end) Methods in convex.core.data with parameters of type AMap -
Uses of AMap in convex.core.data.type
Methods in convex.core.data.type that return AMap -
Uses of AMap in convex.core.lang
Fields in convex.core.lang with type parameters of type AMapMethods in convex.core.lang that return AMapModifier and TypeMethodDescriptionConverts the argument to a non-null Map.Methods in convex.core.lang with parameters of type AMapModifier and TypeMethodDescriptionContext.setPeerData
(AccountKey peerKey, AMap<ACell, ACell> data) Sets peer data. -
Uses of AMap in convex.core.lang.impl
Methods in convex.core.lang.impl with parameters of type AMapModifier and TypeMethodDescriptionConstructors in convex.core.lang.impl with parameters of type AMap