Skip to content

v1.1.3

Latest

Choose a tag to compare

@github-actions github-actions released this 05 Aug 02:22
electr-bfx v1.1.3 — index the mempool

Unconfirmed transactions were never indexed. get_mempool_entries parsed
into Bitcoin Core's GetMempoolEntryResult, which requires height, wtxid,
descendantcount/size, ancestorcount/size and fees.ancestor/descendant —
none of which BCHN emits. Every field is non-Option, so every entry failed
to parse and was discarded at debug level. The sync ran, reported success,
and indexed nothing.

Consequence for wallets: a broadcast payment was invisible until it
confirmed. The sender's balance did not move, listunspent kept offering
coins that were already spent, and the recipient saw nothing.

Replaced with a BCHN-shaped struct requiring only the three fields this
codebase reads (vsize, fees.base, depends), and raised that log line to
warn! so a schema mismatch can never again be silent.

Verified live on both servers: an unconfirmed transaction now appears in
blockchain.scripthash.get_history at height 0, with a non-zero
'unconfirmed' balance.