Package convex.core

Class Peer

java.lang.Object
convex.core.Peer

public class Peer extends Object

Immutable class representing the encapsulated state of a Peer

SECURITY:
  • Needs to contain the Peer's unlocked private key for online signing.
  • Manages Peer state transitions given external events. Must do so correctly.

Must have at least one state, the initial state. New states will be added as consensus updates happen.

"Don't worry about what anybody else is going to do. The best way to predict the future is to invent it." - Alan Kay