|
rippled
|
#include <common.h>


Public Member Functions | |
| TestNodeFamily (beast::Journal j) | |
| NodeStore::Database & | db () override |
| NodeStore::Database const & | db () const override |
| beast::Journal const & | journal () override |
| std::shared_ptr< FullBelowCache > | getFullBelowCache () override |
| Return a pointer to the Family Full Below Cache. | |
| std::shared_ptr< TreeNodeCache > | getTreeNodeCache () override |
| Return a pointer to the Family Tree Node Cache. | |
| void | sweep () override |
| void | missingNodeAcquireBySeq (std::uint32_t refNum, uint256 const &nodeHash) override |
| Acquire ledger that has a missing node by ledger sequence. | |
| void | missingNodeAcquireByHash (uint256 const &refHash, std::uint32_t refNum) override |
| Acquire ledger that has a missing node by ledger hash. | |
| void | reset () override |
| beast::manual_clock< std::chrono::steady_clock > | clock () |
Private Attributes | |
| std::unique_ptr< NodeStore::Database > | db_ |
| std::shared_ptr< FullBelowCache > | fbCache_ |
| std::shared_ptr< TreeNodeCache > | tnCache_ |
| TestStopwatch | clock_ |
| NodeStore::DummyScheduler | scheduler_ |
| beast::Journal const | j_ |
| ripple::tests::TestNodeFamily::TestNodeFamily | ( | beast::Journal | j | ) |
|
overridevirtual |
Implements ripple::Family.
|
overridevirtual |
Implements ripple::Family.
|
overridevirtual |
Implements ripple::Family.
|
overridevirtual |
Return a pointer to the Family Full Below Cache.
Implements ripple::Family.
|
overridevirtual |
Return a pointer to the Family Tree Node Cache.
Implements ripple::Family.
|
overridevirtual |
Implements ripple::Family.
|
overridevirtual |
Acquire ledger that has a missing node by ledger sequence.
| refNum | Sequence of ledger to acquire. |
| nodeHash | Hash of missing node to report in throw. |
Implements ripple::Family.
|
overridevirtual |
Acquire ledger that has a missing node by ledger hash.
| refHash | Hash of ledger to acquire. |
| refNum | Ledger sequence with missing node. |
Implements ripple::Family.
|
overridevirtual |
Implements ripple::Family.
| beast::manual_clock< std::chrono::steady_clock > ripple::tests::TestNodeFamily::clock | ( | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |