Trivial: Corrected JSON typo on setban of net.cpp #8512

pull sevastos wants to merge 1 commits into bitcoin:master from sevastos:setban changing 1 files +1 −1
  1. sevastos commented at 12:42 PM on August 14, 2016: contributor

    It was returning

    Examples:
    > bitcoin-cli setban "192.168.0.6" "add" 86400
    > bitcoin-cli setban "192.168.0.0/24" "add"
    > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "setban", "params": ["192.168.0.6", "add" 86400] }' -H 'content-type: text/plain;' http://127.0.0.1:8332/
    

    (Missing the comma on the RPC example)

  2. Corrected JSON typo on setban of net.cpp 6ffd996b8e
  3. MarcoFalke added the label Docs and Output on Aug 14, 2016
  4. laanwj merged this on Aug 17, 2016
  5. laanwj closed this on Aug 17, 2016

  6. laanwj referenced this in commit 29496fc9e0 on Aug 17, 2016
  7. luke-jr referenced this in commit 156e305dc1 on Sep 21, 2016
  8. codablock referenced this in commit e27612605c on Sep 19, 2017
  9. codablock referenced this in commit 6c14242aea on Dec 29, 2017
  10. codablock referenced this in commit 5c928f0052 on Jan 8, 2018
  11. lateminer referenced this in commit e1f964bd02 on Oct 25, 2018
  12. andvgal referenced this in commit 67c890920d on Jan 6, 2019
  13. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-22 18:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me