FigureTechnologies / digital-currency-consortium

Digital Currency Consortium middleware - interface between banks and digital currency smart contracts.
Apache License 2.0
12 stars 3 forks source link

Expired tx not found handling #110

Open leeduan opened 2 years ago

leeduan commented 2 years ago

Summary of Bug

Once in awhile, will see a broadcast go to PENDING but then not show up even with expiration block height set. Expiration reaper never finds the transaction and blocks transaction processing going forwards.

The transaction does not show up in unconfirmed tx list at query node.

Version

v1.6.1

Steps to Reproduce

Need a more elegant way to watch for uncofirmed tx's. Instead of querying the node by tx hash, check if the tx hash exists in unconfirmed tx's at query once. If not found, mark for retry.


For Admin Use