Bitcoin Core
31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
src
rpc
mining.h
Go to the documentation of this file.
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
9
static
const
uint64_t
DEFAULT_MAX_TRIES
{1000000};
10
11
#endif
// BITCOIN_RPC_MINING_H
DEFAULT_MAX_TRIES
static const uint64_t DEFAULT_MAX_TRIES
Default max iterations to try in RPC generatetodescriptor, generatetoaddress, and generateblock.
Definition
mining.h:9
Ticks
constexpr auto Ticks(Dur2 d)
Helper to count the seconds of a duration/time_point.
Definition
time.h:73
Generated on Thu Apr 16 2026 09:42:38 for Bitcoin Core by
1.10.0