diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-04-20 07:15:21 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-04-20 07:15:45 -0400 |
commit | 5e5dd9918e0a998d316a256c13fa17b3195437b2 (patch) | |
tree | 1e09871a8901222de4896039661668d213cdf485 /build_msvc | |
parent | da4cbb7927497ca3261c1504c3b85dd3f5800673 (diff) | |
parent | 709998467e1c1bc7980662c9f88fbc7964602d33 (diff) |
Merge #17831: rpc: doc: Fix and extend getblockstats examples
709998467e1c1bc7980662c9f88fbc7964602d33 rpc: doc: Fix and extend getblockstats examples (Adam Soltys)
Pull request description:
This pull fixes the example curl command for `getblockstats` which doesn't work as is because it's missing a comma between the params and has single quotes around the second parameter.
It also adds an additional example of getting block stats by hash by using a known workaround (#15412) to get bitcoin-cli to treat the hash parameter as JSON instead of a string since there is ongoing deliberation about how or whether to fix the root issue (#15448).
ACKs for top commit:
theStack:
ACK https://github.com/bitcoin/bitcoin/pull/17831/commits/709998467e1c1bc7980662c9f88fbc7964602d33
Tree-SHA512: 84a5b7f449f06fff785bc0afbc1a7dfd55454bc76c52a8945e91556f87f3edfdc5a1780faab8fcfd6c415b734295b7c67d2e04ba7b6cfa91a77758af5dda53ae
Diffstat (limited to 'build_msvc')
0 files changed, 0 insertions, 0 deletions