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.persistState
(Consumer<Ref<ACell>> noveltyHandler) Persist the state of the Peer to the current store.Peer.proposeBlock
(Block block) Propose a new Block.static Peer
Peer.restorePeer
(AStore store, AKeyPair keyPair) Restores a Peer from the Etch database specified in ConfigPeer.updateTimestamp
(long newTimestamp) Updates the timestamp to the specified time, going forwards only