Uses of Class
convex.core.data.PeerStatus
Packages that use PeerStatus
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.
-
Uses of PeerStatus in convex.core
Fields in convex.core with type parameters of type PeerStatusMethods in convex.core that return PeerStatusModifier and TypeMethodDescriptionState.getPeer
(AccountKey peerAddress) Gets the PeerStatus record for the given Address, or null if it does not existMethods in convex.core that return types with arguments of type PeerStatusMethods in convex.core with parameters of type PeerStatusModifier and TypeMethodDescriptionState.withPeer
(AccountKey peerKey, PeerStatus updatedPeer) Updates the specified peer statusMethod parameters in convex.core with type arguments of type PeerStatusModifier and TypeMethodDescriptionstatic State
State.create
(AVector<AccountStatus> accounts, Index<AccountKey, PeerStatus> peers, AVector<ACell> globals, Index<ABlob, AVector<ACell>> schedule) Create a StateState.withPeers
(Index<AccountKey, PeerStatus> newPeers) Updates the Peers in this State -
Uses of PeerStatus in convex.core.data
Methods in convex.core.data that return PeerStatusModifier and TypeMethodDescriptionstatic PeerStatus
static PeerStatus
static PeerStatus
Decodes a PeerStatus from a Blob.PeerStatus.updateRefs
(IRefFunction func) PeerStatus.withDelegatedStake
(Address delegator, long newStake) Sets the delegated stake on this peer for the given delegator.PeerStatus.withPeerData
(AHashMap<ACell, ACell> newMeta) PeerStatus.withPeerStake
(long newStake) Sets the Peer Stake on this peer for the given delegator.Methods in convex.core.data with parameters of type PeerStatusModifier and TypeMethodDescriptionboolean
PeerStatus.equals
(PeerStatus a) Tests if this PeerStatus is equal to another