bitcoin/src/rpc
John Newbery 492c6dc1e7 util: change GetWarnings parameter to bool
GetWarnings() changes the format of the output warning string based on a
passed-in string argument that can be set to "gui" or "statusbar".
Change the argument to a bool:

- there are only two types of behaviour, so a bool is a more natural
argument type
- changing the name to 'verbose' does not set any expectations for the
how the calling code will use the returned string (currently,
'statusbar' is used for RPC warnings, not a status bar)
- removes some error-handling code for when the passed-in string is not
one of the two strings expected.
2019-12-15 13:24:48 -03:00
..
blockchain.cpp util: change GetWarnings parameter to bool 2019-12-15 13:24:48 -03:00
blockchain.h node: Add reference to mempool in NodeContext 2019-11-15 13:40:00 -05: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 util: change GetWarnings parameter to bool 2019-12-15 13:24:48 -03:00
misc.cpp qa: unify unix epoch time descriptions 2019-12-13 02:02:29 +01:00
net.cpp util: change GetWarnings parameter to bool 2019-12-15 13:24:48 -03:00
protocol.h node: Add reference to mempool in NodeContext 2019-11-15 13:40:00 -05:00
rawtransaction.cpp Merge #17617: doc: unify unix epoch time descriptions 2019-12-13 10:53:47 +01:00
rawtransaction_util.cpp Accumulate result UniValue in SignTransaction 2019-11-18 15:28:15 -05:00
rawtransaction_util.h Accumulate result UniValue in SignTransaction 2019-11-18 15:28:15 -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 qa: unify unix epoch time descriptions 2019-12-13 02:02:29 +01:00
util.h qa: unify unix epoch time descriptions 2019-12-13 02:02:29 +01:00