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
Methods 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, BlobMap<AccountKey,PeerStatus> peers, AVector<ACell> globals, BlobMap<ABlob,AVector<ACell>> schedule)
Create a StateState.withPeers(BlobMap<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
PeerStatus.read(ByteBuffer bb)
protected PeerStatus
PeerStatus.withDelegatedStake(Address delegator, long newStake)
Sets the delegated stake on this peer for the given delegator.PeerStatus.withHostname(AString newHostname)
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