lbrycrd/src/rpc
Gregory Maxwell 6b3bb3d9ba Change LogAcceptCategory to use uint32_t rather than sets of strings.
This changes the logging categories to boolean flags instead of strings.

This simplifies the acceptance testing by avoiding accessing a scoped
 static thread local pointer to a thread local set of strings.  It
 eliminates the only use of boost::thread_specific_ptr outside of
 lockorder debugging.

This change allows log entries to be directed to multiple categories
 and makes it easy to change the logging flags at runtime (e.g. via
 an RPC, though that isn't done by this commit.)

It also eliminates the fDebug global.

Configuration of unknown logging categories now produces a warning.
2017-04-01 18:53:29 +00:00
..
blockchain.cpp Change LogAcceptCategory to use uint32_t rather than sets of strings. 2017-04-01 18:53:29 +00:00
blockchain.h refactor: Make rest.cpp dependency on *toJSON in blockchain.cpp explicit 2017-03-29 09:56:47 +02:00
client.cpp rpc: Rename first named arg of createrawtransaction 2017-03-26 12:08:44 +02:00
client.h rpc: Named argument support for bitcoin-cli 2017-01-10 12:04:54 +01:00
mining.cpp refactor: Move GetDifficulty out of rpc/server.h 2017-03-27 12:21:35 +02:00
misc.cpp refactor: Move GetDifficulty out of rpc/server.h 2017-03-27 12:21:35 +02:00
net.cpp Merge #9853: Fix error codes from various RPCs 2017-03-09 10:02:17 +01:00
protocol.cpp Refactor: Remove using namespace <xxx> from rpc/ 2017-03-08 08:07:55 -08:00
protocol.h [trival] Fix typo introduced into rpc/protocol.h in commit 338bf06 2017-03-09 10:16:16 +01:00
rawtransaction.cpp rpc: Rename first named arg of createrawtransaction 2017-03-26 12:08:44 +02:00
register.h Do not shadow global RPC table variable (tableRPC) 2016-08-25 15:02:26 +02:00
server.cpp Change LogAcceptCategory to use uint32_t rather than sets of strings. 2017-04-01 18:53:29 +00:00
server.h refactor: Move RPCNotifyBlockChange out of rpc/server.h 2017-03-27 16:23:22 +02:00