class TestMerkleTree

Defined at line 104 of file ../../src/storage/blobfs/test/blob_utils.h

Class for creating a merkle tree and its root in either compact or padded format.

Public Methods

std::span<const uint8_t> merkle_tree ()

Defined at line 111 of file ../../src/storage/blobfs/test/blob_utils.h

const Digest & digest ()

Defined at line 112 of file ../../src/storage/blobfs/test/blob_utils.h

void TestMerkleTree (TestMerkleTree && )

Defined at line 114 of file ../../src/storage/blobfs/test/blob_utils.h

TestMerkleTree & operator= (TestMerkleTree && )

Defined at line 115 of file ../../src/storage/blobfs/test/blob_utils.h

void TestMerkleTree (std::span<const uint8_t> data, bool use_compact_format)

Defined at line 116 of file ../../src/storage/blobfs/test/blob_utils.cc

TestMerkleTree CreatePadded (const TestBlobData & blob)

Defined at line 135 of file ../../src/storage/blobfs/test/blob_utils.cc

TestMerkleTree CreateCompact (const TestBlobData & blob)

Defined at line 140 of file ../../src/storage/blobfs/test/blob_utils.cc