Bitcoin ABC 0.30.5
P2P Digital Currency
proofradixtreeadapter.h
Go to the documentation of this file.
1// Copyright (c) 2022 The Bitcoin developers
2// Distributed under the MIT software license, see the accompanying
3// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
5#ifndef BITCOIN_AVALANCHE_PROOFRADIXTREEADAPTER_H
6#define BITCOIN_AVALANCHE_PROOFRADIXTREEADAPTER_H
7
8#include <avalanche/proof.h>
9#include <uint256radixkey.h>
10
11namespace avalanche {
12
17 Uint256RadixKey getId(const Proof &proof) const { return proof.getId(); }
18};
19
20} // namespace avalanche
21
22#endif // BITCOIN_AVALANCHE_PROOFRADIXTREEADAPTER_H
const ProofId & getId() const
Definition: proof.h:169
Facility for using an uint256 as a radix tree key.
Radix tree adapter for storing a proof as a tree element.
Uint256RadixKey getId(const Proof &proof) const