View Source API Reference proof_of_reserves v0.1.0

Modules

Documentation for ProofOfReserves.

Liabilities is a module that is used to calculate a Proof of Liabilities.

A liability is a financial obligation that a company has to a user account. Liabilities are calculated on an account basis.

MerkleSumTree is a module that represents a Merkle Sum Tree. It is used to calculate a Proof of Liabilities. In this module, a Node struct can represent a leaf or a branch. But when a variable is named leaves, it refers to the lowest level of the tree.

Node represents a node in a Merkle Sum Tree. It has a hash and a value.