Skip to content

Conversation

@sevastos
Copy link
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)

@maflcko maflcko added the Docs label Aug 14, 2016
@jonasschnelli
Copy link
Contributor

ACK 6ffd996

1 similar comment
@paveljanik
Copy link
Contributor

ACK 6ffd996

@laanwj laanwj merged commit 6ffd996 into bitcoin:master Aug 17, 2016
laanwj added a commit that referenced this pull request Aug 17, 2016
6ffd996 Corrected JSON typo on setban of net.cpp (Sev)
luke-jr pushed a commit to luke-jr/bitcoin that referenced this pull request Sep 21, 2016
codablock pushed a commit to codablock/dash that referenced this pull request Jan 8, 2018
lateminer pushed a commit to lateminer/bitcoin that referenced this pull request Oct 25, 2018
andvgal pushed a commit to energicryptocurrency/gen2-energi that referenced this pull request Jan 6, 2019
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants