HomePhabricator

Introduce -debugnet option, thereby quieting some redundant debug messages
d07eaba19598Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Introduce -debugnet option, thereby quieting some redundant debug messages

Prior to this change, each TX typically generated 3+ debug messages,

askfor tx 8644cc97480ba1537214 0
sending getdata: tx 8644cc97480ba1537214
askfor tx 8644cc97480ba1537214 1339640761000000
askfor tx 8644cc97480ba1537214 1339640881000000
CTxMemPool::accept() : accepted 8644cc9748 (poolsz 6857)

After this change, there is only one message for each valid TX received

CTxMemPool::accept() : accepted 22a73c5d8c (poolsz 42)

and two messages for each orphan tx received

ERROR: FetchInputs() : 673dc195aa mempool Tx prev not found 1e439346fc
stored orphan tx 673dc195aa (mapsz 19)

The -debugnet option, or its superset -debug, will restore the full debug
output.

Details

Provenance
Jeff Garzik <jgarzik@exmulti.com>Authored on Jun 22 2012, 17:11
Jeff Garzik <jgarzik@redhat.com>Committed on Jun 22 2012, 17:11
deadalnixPushed on May 14 2017, 22:04
Parents
rABCc4879a0c2fea: Merge pull request #1444 from laanwj/2012_06_opendebuglog
Branches
Unknown
Tags
Unknown

Event Timeline

Jeff Garzik <jgarzik@redhat.com> committed rABCd07eaba19598: Introduce -debugnet option, thereby quieting some redundant debug messages (authored by Jeff Garzik <jgarzik@exmulti.com>).Jun 22 2012, 17:11