Skip to content

Commit 8d9a3c9

Browse files
committed
Notes: update logging section
1 parent 95c826e commit 8d9a3c9

File tree

1 file changed

+50
-44
lines changed

1 file changed

+50
-44
lines changed

notes.txt

+50-44
Original file line numberDiff line numberDiff line change
@@ -460,75 +460,81 @@ valgrind --gen-suppressions=all --verbose --exit-on-first-error=yes --error-exit
460460
To turn on debug=all: bitcoin-cli logging '["all"]'
461461
To turn off debug log: bitcoin-cli logging [] '["all"]'
462462

463-
net: All messages related to communicating with other nodes on the
464-
network, including what P2P messages were sent and received and to
465-
whom and other information about the network messages.
463+
addrman: Address Manager. Messages about the status of the address
464+
manager and when addresses are added or removed from the address
465+
manager database.
466466

467-
mempool: Messages related to actions done in the memory pool, most
468-
frequently transaction acceptance (`AcceptToMemoryPool`). Also
469-
includes transaction removals.
467+
bench: Messages about the benchmark performance of various parts of
468+
the software that can have performance issues.
470469

471-
validation: All messages related to the validation interface, most
472-
frequently `TransactionAddedToMempool` and `stored orphan tx`.
470+
cmpctblock: Messages about the Compact Blocks relay protocol,
471+
including when blocks are partially downloaded or reconstructed.
472+
473+
coindb: Coin Database. Messages about the coin database which contains
474+
the UTXO set, including messages about database flushes and writes.
475+
476+
estimatefee: Messages about the fee estimation algorithm, including
477+
messages about when fee estimates are requested and information about
478+
the status of the fee estimator.
473479

474480
http: Messages related to the HTTP server that is used to handle the
475481
RPC requests. These messages will typically be for the startup and
476482
shutdown of the server as well as received requests.
477483

478-
tor: All messages related to using a TOR SOCKS5 proxy and TOR hidden
479-
service (used for receiving incoming connections over TOR). This
480-
includes messages about the creation and shutdown of the TOR hidden
481-
service and messages about the connection to the TOR proxy.
484+
i2p: All messages related to using the I2P privacy network
482485

483-
bench: Messages about the benchmark performance of various parts of
484-
the software that can have performance issues.
486+
ipc:
485487

486-
zmq: Messages about the ZeroMQ notification system, including the
487-
startup and shutdown of the service as well as when notifications are
488-
issued and new clients connected.
488+
libevent: Messages from the libevent library used for the HTTP server.
489489

490-
walletdb (db in v.0.19 and earlier): Messages about the status of the
491-
Berkeley Database engine used for the wallet database, including
492-
messages about database flushes.
490+
libevent: Messages from the libevent library used for the HTTP server.
493491

494-
rpc: Messages about the RPC server, including its startup and shutdown
495-
as well as when commands are issued.
492+
lock: All lock contentions and their duration.
496493

497-
estimatefee: Messages about the fee estimation algorithm, including
498-
messages about when fee estimates are requested and information about
499-
the status of the fee estimator.
494+
mempool: Messages related to actions done in the memory pool, most
495+
frequently transaction acceptance (`AcceptToMemoryPool`). Also
496+
includes transaction removals.
500497

501-
addrman: Address Manager. Messages about the status of the address
502-
manager and when addresses are added or removed from the address
503-
manager database.
498+
mempoolrej: Messages about transactions rejected from the memory pool.
504499

505-
selectcoins: Coin Selection. Messages about the UTXOs that are
506-
selected when sending money.
500+
net: All messages related to communicating with other nodes on the
501+
network, including what P2P messages were sent and received and to
502+
whom and other information about the network messages.
507503

508-
reindex: Messages about the reindexing process, in particular errors
509-
about out-of-order blocks and repeated blocks.
504+
proxy: Messages about using a SOCKS5 proxy and its authentication.
510505

511-
cmpctblock: Messages about the Compact Blocks relay protocol,
512-
including when blocks are partially downloaded or reconstructed.
506+
prune: Messages about local blockchain pruning, including the result
507+
of a pruning operation.
508+
509+
qt: Messages about Qt, the GUI framework.
513510

514511
rand: Messages for when randomness is needed by any function.
515512

516-
prune: Messages about local blockchain pruning, including the result
517-
of a pruning operation.
513+
reindex: Messages about the reindexing process, in particular errors
514+
about out-of-order blocks and repeated blocks.
518515

519-
proxy: Messages about using a SOCKS5 proxy and its authentication.
516+
rpc: Messages about the RPC server, including its startup and shutdown
517+
as well as when commands are issued.
520518

521-
mempoolrej: Messages about transactions rejected from the memory pool.
519+
selectcoins: Coin Selection. Messages about the UTXOs that are
520+
selected when sending money.
522521

523-
libevent: Messages from the libevent library used for the HTTP server.
522+
tor: All messages related to using a TOR SOCKS5 proxy and TOR hidden
523+
service (used for receiving incoming connections over TOR). This
524+
includes messages about the creation and shutdown of the TOR hidden
525+
service and messages about the connection to the TOR proxy.
524526

525-
coindb: Coin Database. Messages about the coin database which contains
526-
the UTXO set, including messages about database flushes and writes.
527+
validation: All messages related to the validation interface, most
528+
frequently `TransactionAddedToMempool` and `stored orphan tx`.
527529

528-
qt: Messages about Qt, the GUI framework.
530+
walletdb (db in v.0.19 and earlier): Messages about the status of the
531+
Berkeley Database engine used for the wallet database, including
532+
messages about database flushes.
533+
534+
zmq: Messages about the ZeroMQ notification system, including the
535+
startup and shutdown of the service as well as when notifications are
536+
issued and new clients connected.
529537

530-
leveldb: Messages about LevelDB which is used for the block indexes
531-
and coin database.
532538
-----
533539

534540
To build Bitcoin with Clang for better errors/use less resources,

0 commit comments

Comments
 (0)