xrpld
Loading...
Searching...
No Matches
xrpl::tests::SHAMapSyncTest Class Reference
Inheritance diagram for xrpl::tests::SHAMapSyncTest:
Collaboration diagram for xrpl::tests::SHAMapSyncTest:

Classes

class  RecordingFilter
 A sync filter that records every node it is told about, and serves back only the ones it was explicitly asked to hold. More...
class  ChainFilter
 A sync filter that serves a range of a DeepChain's nodes, by hash. More...
struct  WideRoot
 A root inner node with all 16 branches occupied and not one of them resolvable. More...

Protected Member Functions

boost::intrusive_ptr< SHAMapItem > makeRandomAS ()
bool confuseMap (SHAMap &map, std::size_t count)

Protected Attributes

beast::Journal const j_ {TestSink::instance()}
beast::XorShiftEngine eng_

Detailed Description

Definition at line 88 of file tests/libxrpl/shamap/SHAMapSync.cpp.

Member Function Documentation

◆ makeRandomAS()

boost::intrusive_ptr< SHAMapItem > xrpl::tests::SHAMapSyncTest::makeRandomAS ( )
protected

Definition at line 95 of file tests/libxrpl/shamap/SHAMapSync.cpp.

◆ confuseMap()

bool xrpl::tests::SHAMapSyncTest::confuseMap ( SHAMap & map,
std::size_t count )
protected

Definition at line 107 of file tests/libxrpl/shamap/SHAMapSync.cpp.

Member Data Documentation

◆ j_

beast::Journal const xrpl::tests::SHAMapSyncTest::j_ {TestSink::instance()}
protected

Definition at line 91 of file tests/libxrpl/shamap/SHAMapSync.cpp.

◆ eng_

beast::XorShiftEngine xrpl::tests::SHAMapSyncTest::eng_
protected

Definition at line 92 of file tests/libxrpl/shamap/SHAMapSync.cpp.