Create our initial position of transactions to accept in this round of consensus.
std::pair< RCLTxSet, typename RCLCxPeerPos::Proposal > makeInitialPosition( RCLCxLedger const& prevLedger, bool isProposing, bool isCorrectLCL, NetClock::time_point closeTime, NetClock::time_point now);
Name |
Description |
---|---|
|
The ledger the transactions apply to |
|
Whether we are currently proposing |
|
Whether we have the correct LCL |
|
When we believe the ledger closed |
|
The current network adjusted time |
Pair of (i) transactions we believe are in the ledger (ii) the corresponding proposal of those transactions to send to peers