rippled
|
The tip of a span of ledger ancestry. More...
Public Types | |
using | Seq = typename Ledger::Seq |
using | ID = typename Ledger::ID |
Public Member Functions | |
SpanTip (Seq s, ID i, Ledger const lgr) | |
ID | ancestor (Seq const &s) const |
Lookup the ID of an ancestor of the tip ledger. More... | |
Public Attributes | |
Seq | seq |
ID | id |
Private Attributes | |
const Ledger | ledger |
The tip of a span of ledger ancestry.
Definition at line 37 of file LedgerTrie.h.
using ripple::SpanTip< Ledger >::Seq = typename Ledger::Seq |
Definition at line 40 of file LedgerTrie.h.
using ripple::SpanTip< Ledger >::ID = typename Ledger::ID |
Definition at line 41 of file LedgerTrie.h.
Definition at line 43 of file LedgerTrie.h.
ID ripple::SpanTip< Ledger >::ancestor | ( | Seq const & | s | ) | const |
Lookup the ID of an ancestor of the tip ledger.
s | The sequence number of the ancestor |
Definition at line 62 of file LedgerTrie.h.
Seq ripple::SpanTip< Ledger >::seq |
Definition at line 49 of file LedgerTrie.h.
ID ripple::SpanTip< Ledger >::id |
Definition at line 51 of file LedgerTrie.h.
|
private |
Definition at line 69 of file LedgerTrie.h.