HomePhabricator

CTxMemPool::accept(): do not log FetchInputs failure redundantly
33a53bc13b1dUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

CTxMemPool::accept(): do not log FetchInputs failure redundantly

FetchInputs already logs failures internally. This commit makes the logging
more consistent with other FetchInputs callsites also.

Prior to this commit, two log lines were logged for one condition:

ERROR: FetchInputs() : de15fde415 mempool Tx prev not found a2c75da227
ERROR: CTxMemPool::accept() : FetchInputs failed de15fde415

After this commit, only one line is logged:

ERROR: FetchInputs() : e0507ab2c7 mempool Tx prev not found 9a620262cd

Details

Provenance
Jeff Garzik <jgarzik@exmulti.com>Authored on May 11 2012, 00:31
Jeff Garzik <jgarzik@redhat.com>Committed on May 11 2012, 00:31
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGING133dce6a37e6: CTxMemPool: consolidate two frequently-printed debug.log lines into one
Branches
Unknown
Tags
Unknown

Event Timeline

Jeff Garzik <jgarzik@redhat.com> committed rSTAGING33a53bc13b1d: CTxMemPool::accept(): do not log FetchInputs failure redundantly (authored by Jeff Garzik <jgarzik@exmulti.com>).May 11 2012, 00:31