Uses of Class
convex.core.Belief
Packages that use Belief
-
Uses of Belief in convex.core
Methods in convex.core that return BeliefModifier and TypeMethodDescriptionstatic Belief
Create a Belief with a single order signed by the given key pair, using initial timestamp.static Belief
Belief.create
(SignedData<Order>... orders) static Belief
Belief.create
(HashMap<AccountKey, SignedData<Order>> orderMap) static Belief
Belief.createSingleOrder
(AKeyPair kp) Create a Belief with a single empty order.Peer.getBelief()
Get the current Belief of this Peerstatic Belief
Belief.initial()
Gets an empty BeliefThe Belief merge functionBeliefMerge.mergeOrders
(Belief b) Merge orders from a second BeliefBelief.proposeBlock
(AKeyPair kp, SignedData<Block> signedBlock) Propose a new Block at the end of the current Orderstatic Belief
Belief.updateRefs
(IRefFunction func) Belief.withOrders
(Index<AccountKey, SignedData<Order>> newOrders) Updates this Belief with a new set of Chains for each peer addressMethods in convex.core with parameters of type BeliefModifier and TypeMethodDescriptionstatic BeliefMerge
Create a Belief Merge contextstatic Peer
Create a Peer instance from a remotely acquired Beliefboolean
Tests if this Belief is equal to anotherThe Belief merge functionPeer.mergeBeliefs
(Belief... beliefs) Merges a set of new Beliefs into this Peer's belief.BeliefMerge.mergeOrders
(Belief b) Merge orders from a second BeliefPeer.updateBelief
(Belief newBelief) Update this Peer with a new consensus Belief