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 BeliefBelief.merge
(MergeContext mc, Belief... beliefs) The Belief merge functionBelief.mergeOrders
(MergeContext mc, Belief b) Belief.proposeBlock
(AKeyPair kp, SignedData<Block> signedBlock) static Belief
static Belief
Belief.read
(ByteBuffer bb) Read a Belief from a ByteBuffer.Belief.updateRefs
(IRefFunction func) Belief.withOrders
(BlobMap<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 MergeContext
Create a MergeContextstatic Peer
Create a Peer instance from a remotely acquired Beliefboolean
Tests if this Belief is equal to anotherBelief.merge
(MergeContext mc, Belief... beliefs) The Belief merge functionPeer.mergeBeliefs
(Belief... beliefs) Merges a set of new Beliefs into this Peer's belief.Belief.mergeOrders
(MergeContext mc, Belief b) Peer.updateBelief
(Belief newBelief) Update this Peer with Consensus State for an updated Belief