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 PeerCreates a Peerstatic PeerCreate a Peer instance from a remotely acquired Beliefstatic PeerPeer.createGenesisPeer(AKeyPair keyPair, State genesisState) Creates a new Peer instance at server startup using the provided configuration.static PeerConstructs 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 PeerPeer.restorePeer(AStore store, AKeyPair keyPair) LikerestorePeer(AStore, AKeyPair, ACell)but uses a null root key.static PeerPeer.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