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.persistState(Consumer<Ref<ACell>> noveltyHandler) Persist the state of the Peer to the current store.Peer.proposeBlock(Block block) Propose a new Block.static PeerPeer.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