Bitcoin ABC  0.22.13
P2P Digital Currency
util.h
Go to the documentation of this file.
1 // Copyright (c) 2020 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_TEST_UTIL_H
6 #define BITCOIN_AVALANCHE_TEST_UTIL_H
7 
8 #include <avalanche/proof.h>
9 #include <pubkey.h>
10 
11 #include <cstdio>
12 
13 namespace avalanche {
14 
15 Proof buildRandomProof(uint32_t score, const CPubKey &master = CPubKey());
16 
17 } // namespace avalanche
18 
19 #endif // BITCOIN_AVALANCHE_TEST_UTIL_H
Proof buildRandomProof(uint32_t score, const CPubKey &master)
Definition: util.cpp:18
An encapsulated public key.
Definition: pubkey.h:31