PrevUpHomeNext

Consensus::beginAccept

Initiate acceptance of a the next closed ledger.

Synopsis
void
beginAccept(
    bool synchronous);
Description

After consensus is complete, beginAccept is called to start accepting the consensus transaction set. In synchronous mode, this will directly call the accept member function. However, since accepting and generating a new ledger is likely computationally intensive, the asynchronous mode defer to the Derived class dispatchAccept call to schedule the call to accept.

Parameters

Name

Description

synchronous

Do not dispatch to Derived and instead call accept directly.


PrevUpHomeNext