aboutsummaryrefslogtreecommitdiff
path: root/src/dbwrapper.h
diff options
context:
space:
mode:
authorAdam Soltys <asoltys@gmail.com>2019-12-29 23:16:48 -0800
committerAdam Soltys <asoltys@gmail.com>2020-04-17 20:40:08 -0700
commit709998467e1c1bc7980662c9f88fbc7964602d33 (patch)
tree33bafc325a8258559658023b3add2458c50134e8 /src/dbwrapper.h
parent969ee8549496108730d2c824d69d0782a43c3d7f (diff)
downloadbitcoin-709998467e1c1bc7980662c9f88fbc7964602d33.tar.xz
rpc: doc: Fix and extend getblockstats examples
This fixes the example curl command for `getblockstats` which is missing a comma between the params and has single quotes around the second parameter. Besides fixing the existing example, this commit adds an additional example of getting block stats by hash by using a known workaround with bitcoin-cli to get it to treat the hash parameter as a JSON string by wrapping it in both single and double quotes. Co-Authored-By: Andrew Toth <andrewstoth@gmail.com> Co-Authored-By: Sebastian Falbesoner <sebastian.falbesoner@gmail.com>
Diffstat (limited to 'src/dbwrapper.h')
0 files changed, 0 insertions, 0 deletions