Merge pull request #1680 from hunicus/mining-doc-rev2
Add feedback for mining API docs
This commit is contained in:
commit
b76f20f780
@ -3196,7 +3196,7 @@ export const restApiDocsData = [
|
|||||||
fragment: "get-mining-pool-hashrates",
|
fragment: "get-mining-pool-hashrates",
|
||||||
title: "GET Mining Pool Hashrates",
|
title: "GET Mining Pool Hashrates",
|
||||||
description: {
|
description: {
|
||||||
default: "<p>Returns average hashrates (and share of total hashrate) of mining pools active in the specified trailing <code>:timePeriod</code>, in descending order of hashrate.</p><p>Leave <code>:timePeriod</code> unspecified to get all available data, or specify any of the following time periods: " + miningTimeIntervals + ".</p>"
|
default: "<p>Returns average hashrates (and share of total hashrate) of mining pools active in the specified trailing <code>:timePeriod</code>, in descending order of hashrate.</p><p>Leave <code>:timePeriod</code> unspecified to get all available data, or specify any of the following time periods: " + miningTimeIntervals.substr(52) + ".</p>"
|
||||||
},
|
},
|
||||||
urlString: "/v1/mining/hashrate/pools/[:timePeriod]",
|
urlString: "/v1/mining/hashrate/pools/[:timePeriod]",
|
||||||
showConditions: bitcoinNetworks,
|
showConditions: bitcoinNetworks,
|
||||||
@ -3634,7 +3634,7 @@ export const restApiDocsData = [
|
|||||||
fragment: "get-hashrate",
|
fragment: "get-hashrate",
|
||||||
title: "GET Hashrate",
|
title: "GET Hashrate",
|
||||||
description: {
|
description: {
|
||||||
default: "<p>Returns network-wide hashrate and difficulty figures over the specified trailing <code>:timePeriod</code>:</p><ul><li>Current hashrate</li><li>Current difficulty</li><li>Historical daily average hashrates</li><li>Historical difficulty</li></ul><p>Valid values for <code>:timePeriod</code> are " + miningTimeIntervals + ". If no time interval is specified, all available data is returned.</p><p>Be sure that <code>INDEXING_BLOCKS_AMOUNT</code> is set properly in your backend config so that enough blocks are indexed to properly serve your request.</p>"
|
default: "<p>Returns network-wide hashrate and difficulty figures over the specified trailing <code>:timePeriod</code>:</p><ul><li>Current (real-time) hashrate</li><li>Current (real-time) difficulty</li><li>Historical daily average hashrates</li><li>Historical difficulty</li></ul><p>Valid values for <code>:timePeriod</code> are " + miningTimeIntervals.substr(52) + ". If no time interval is specified, all available data is returned.</p><p>Be sure that <code>INDEXING_BLOCKS_AMOUNT</code> is set properly in your backend config so that enough blocks are indexed to properly serve your request.</p>"
|
||||||
},
|
},
|
||||||
urlString: "/v1/mining/hashrate/[:timePeriod]",
|
urlString: "/v1/mining/hashrate/[:timePeriod]",
|
||||||
showConditions: bitcoinNetworks,
|
showConditions: bitcoinNetworks,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user