mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-25 10:43:19 -03:00
68bfc0bce3
doc: correct GetDifficulty doc after #13288 (fanquake)
Pull request description:
`chain` is no longer passed to GetDifficulty, and we just return `1.0` if no `blockindex`.
Tree-SHA512: 701375d732f343200c4abfaf9039d5c12b10abff97b022e84564f81b26b5ba552f1eb0c0d0fd5370b29b53319eafcf39773a36e1c2dd04ee77e61c18c7b183fa
This commit is contained in:
commit
788b8a290c
1 changed files with 1 additions and 2 deletions
|
@ -16,8 +16,7 @@ class UniValue;
|
||||||
static constexpr int NUM_GETBLOCKSTATS_PERCENTILES = 5;
|
static constexpr int NUM_GETBLOCKSTATS_PERCENTILES = 5;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the difficulty of the net wrt to the given block index, or the chain tip if
|
* Get the difficulty of the net wrt to the given block index.
|
||||||
* not provided.
|
|
||||||
*
|
*
|
||||||
* @return A floating point number that is a multiple of the main net minimum
|
* @return A floating point number that is a multiple of the main net minimum
|
||||||
* difficulty (4295032833 hashes).
|
* difficulty (4295032833 hashes).
|
||||||
|
|
Loading…
Add table
Reference in a new issue