Uses of Class
convex.core.Peer
Packages that use Peer
-
Uses of Peer in convex.core
Methods in convex.core that return PeerModifier and TypeMethodDescriptionstatic Peer
Creates a Peerstatic Peer
Create a Peer instance from a remotely acquired Beliefstatic Peer
Peer.createGenesisPeer
(AKeyPair keyPair, State genesisState) Creates a new Peer instance at server startup using the provided configuration.static Peer
Constructs a Peer instance from persisted PEer DataPeer.mergeBeliefs
(Belief... beliefs) Merges a set of new Beliefs into this Peer's belief.Peer.proposeBlock
(Block block) Propose a new Block.Peer.pruneHistory
(long ts) Prunes History before the given timestampstatic Peer
Peer.restorePeer
(AStore store, AKeyPair keyPair) LikerestorePeer(AStore, AKeyPair, ACell)
but uses a null root key.static Peer
Peer.restorePeer
(AStore store, AKeyPair keyPair, ACell rootKey) Restores a Peer from the Etch database specified in ConfigPeer.updateBelief
(Belief newBelief) Update this Peer with Consensus State for an updated BeliefPeer.updateState()
Updates the state of the Peer based on latest consensus BeliefPeer.updateTimestamp
(long newTimestamp) Updates the timestamp to the specified time, going forwards only