mining.h raw
1 // Copyright (c) 2020-present The Bitcoin Core 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_RPC_MINING_H
6 #define BITCOIN_RPC_MINING_H
7
8 #include <cstdint>
9
10 /** Default max iterations to try in RPC generatetodescriptor, generatetoaddress, and generateblock. */
11 static const uint64_t DEFAULT_MAX_TRIES{1000000};
12
13 #endif // BITCOIN_RPC_MINING_H
14