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

Static Protected Member Functions

static Buffer intToVuc (std::uint8_t v)
static void applyBackingMode (SHAMap &map)
static void addThenDeleteAndReAdd (SHAMap &map)

Protected Attributes

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

Static Protected Attributes

static constexpr UInt256 kH1
static constexpr UInt256 kH2
static constexpr UInt256 kH3
static constexpr UInt256 kH4

Detailed Description

Definition at line 111 of file tests/libxrpl/shamap/SHAMap.cpp.

Member Function Documentation

◆ intToVuc()

Buffer xrpl::tests::SHAMapTest::intToVuc ( std::uint8_t v)
staticnodiscardprotected

Definition at line 117 of file tests/libxrpl/shamap/SHAMap.cpp.

◆ applyBackingMode()

void xrpl::tests::SHAMapTest::applyBackingMode ( SHAMap & map)
staticprotected

Definition at line 137 of file tests/libxrpl/shamap/SHAMap.cpp.

◆ addThenDeleteAndReAdd()

void xrpl::tests::SHAMapTest::addThenDeleteAndReAdd ( SHAMap & map)
staticprotected

Definition at line 147 of file tests/libxrpl/shamap/SHAMap.cpp.

Member Data Documentation

◆ j_

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

Definition at line 114 of file tests/libxrpl/shamap/SHAMap.cpp.

◆ kH1

UInt256 xrpl::tests::SHAMapTest::kH1
staticconstexprprotected
Initial value:
{
"092891fe4ef6cee585fdc6fda0e09eb4d386363158ec3321b8123e5a772c6ca7"}

Definition at line 125 of file tests/libxrpl/shamap/SHAMap.cpp.

◆ kH2

UInt256 xrpl::tests::SHAMapTest::kH2
staticconstexprprotected
Initial value:
{
"436ccbac3347baa1f1e53baeef1f43334da88f1f6d70d963b833afd6dfa289fe"}

Definition at line 127 of file tests/libxrpl/shamap/SHAMap.cpp.

◆ kH3

UInt256 xrpl::tests::SHAMapTest::kH3
staticconstexprprotected
Initial value:
{
"b92891fe4ef6cee585fdc6fda1e09eb4d386363158ec3321b8123e5a772c6ca8"}

Definition at line 129 of file tests/libxrpl/shamap/SHAMap.cpp.

◆ kH4

UInt256 xrpl::tests::SHAMapTest::kH4
staticconstexprprotected
Initial value:
{
"b92891fe4ef6cee585fdc6fda2e09eb4d386363158ec3321b8123e5a772c6ca8"}

Definition at line 131 of file tests/libxrpl/shamap/SHAMap.cpp.