20 #include <ripple/app/ledger/Ledger.h>
21 #include <ripple/basics/Log.h>
22 #include <ripple/beast/unit_test.h>
23 #include <ripple/ledger/View.h>
38 auto prev = std::make_shared<Ledger>(
42 env.
app().getNodeFamily());
44 for (
auto i = 0; i < 1023; ++i)
46 auto next = std::make_shared<Ledger>(
48 next->updateSkipList();
63 l->info().parentHash);
69 for (
auto i = history.
crbegin(); i != history.
crend(); i += 256)
72 n !=
std::next(i, (*i)->info().seq - 256 > 1 ? 257 : 256);