FLO-wallet-core/src/rpc
John Newbery a012087667 Return correct error codes in setban().
The setban() RPC was returning misleading or incorrect error
codes (for example RPC_CLIENT_NODE_ALREADY_ADDED when an invalid IP
address was entered). This commit fixes those error codes:

- RPC_CLIENT_INVALID_IP_OR_SUBNET should be returned if the client
  enters an invalid IP address or subnet.

This commit also updates the test cases to explicitly test the error code.

This commit also adds a testcase for trying to setban on an invalid subnet.
2017-03-07 16:45:09 -05:00
..
blockchain.cpp Return correct error codes in blockchain.cpp. 2017-03-07 16:45:09 -05:00
client.cpp [rpc] Remove priorityDelta from prioritisetransaction 2017-03-03 16:50:19 -05:00
client.h rpc: Named argument support for bitcoin-cli 2017-01-10 12:04:54 +01:00
mining.cpp [rpc] Remove priorityDelta from prioritisetransaction 2017-03-03 16:50:19 -05:00
misc.cpp Merge #9602: Remove coin age priority and free transactions - implementation 2017-03-07 19:30:23 +01:00
net.cpp Return correct error codes in setban(). 2017-03-07 16:45:09 -05:00
protocol.cpp Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
protocol.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
rawtransaction.cpp Merge #9602: Remove coin age priority and free transactions - implementation 2017-03-07 19:30:23 +01:00
register.h Do not shadow global RPC table variable (tableRPC) 2016-08-25 15:02:26 +02:00
server.cpp Merge #8775: RPC refactoring: Access wallet using new GetWalletForJSONRPCRequest 2017-03-03 13:38:42 +01:00
server.h Move wallet RPC declarations to rpcwallet.h 2017-02-27 20:45:18 +00:00