bitcoin/src/rpc
MarcoFalke 94a26b192f
Merge #17318: replace asserts in RPC code with CHECK_NONFATAL and add linter
c98bd13e67 replace asserts in RPC code with CHECK_NONFATAL and add linter (Adam Jonas)

Pull request description:

  - Replace instances of assert in /rpc files and rpcwallet with CHECK_NONFATAL(condition)
  - Add a linter to prevent future usage of assert being used in RPC code

  ref https://github.com/bitcoin/bitcoin/pull/17192

ACKs for top commit:
  practicalswift:
    ACK c98bd13e67 -- diff looks correct

Tree-SHA512: a16036b6bbcca73a5334665f66e17e1756377d582317568291da1d727fc9cf8c84bac9d9bd099534e1be315345336e5f7b66b93793135155f320dc5862a2d875
2019-11-04 11:33:41 -05:00
..
blockchain.cpp Merge #17318: replace asserts in RPC code with CHECK_NONFATAL and add linter 2019-11-04 11:33:41 -05:00
blockchain.h Avoid using g_rpc_node global in wallet code 2019-10-28 10:30:51 -04:00
client.cpp rpc: Add generatetodescriptor 2019-10-30 10:01:32 -04:00
client.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
mining.cpp Merge #17318: replace asserts in RPC code with CHECK_NONFATAL and add linter 2019-11-04 11:33:41 -05:00
misc.cpp util: Add CHECK_NONFATAL and use it in src/rpc 2019-10-18 17:19:36 -04:00
net.cpp Merge #17297: refactor: Remove addrdb.h dependency from node.h 2019-11-04 13:18:27 +01:00
protocol.h rpc: migrate JSONRPCRequest functionality into request.cpp 2019-07-05 11:22:02 +09:00
rawtransaction.cpp doc: Fix some misspellings 2019-11-04 04:22:53 -05:00
rawtransaction_util.cpp doc: Fix doxygen comment for SignTransaction in rpc/rawtransaction_util 2019-09-19 13:34:50 -04:00
rawtransaction_util.h doc: Fix some misspellings 2019-11-04 04:22:53 -05:00
register.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
request.cpp rpc: migrate JSONRPCRequest functionality into request.cpp 2019-07-05 11:22:02 +09:00
request.h rpc: migrate JSONRPCRequest functionality into request.cpp 2019-07-05 11:22:02 +09:00
server.cpp Remove unused includes 2019-10-15 22:56:43 +00:00
server.h Remove unused includes 2019-10-15 22:56:43 +00:00
util.cpp replace asserts in RPC code with CHECK_NONFATAL and add linter 2019-10-30 12:03:07 -04:00
util.h Avoid using g_rpc_node global in wallet code 2019-10-28 10:30:51 -04:00