HomePhabricator

[Wallet] sort pending wallet transactions before reaccepting
e9c3215b776bUnpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

[Wallet] sort pending wallet transactions before reaccepting

During startup, when adding pending wallet transactions, which spend outputs of
other pending wallet transactions, back to the memory pool, and when they are
added out of order, it appears as if they are orphans with missing inputs.

Those transactions are then rejected and flagged as "conflicting" (= not in the
memory pool, not in the block chain).

To prevent this, transactions are explicitly sorted.

Details

Provenance
dexX7Authored on Dec 19 2014, 05:59
deadalnixPushed on May 14 2017, 22:04
Parents
rABCf3948a30cd27: Merge #5758: refactor: move BDB (bitdb / db.h) interaction from init.cpp to…
Branches
Unknown
Tags
Unknown

Event Timeline