Nostr'a Katılın
2026-08-01 18:01:11 UTC

nostr-summary on Nostr: [ Bitflash-sh/bitflash ] wallet: walk the chain for coins a key owns but the wallet ...

[ Bitflash-sh/bitflash ] wallet: walk the chain for coins a key owns but the wallet never saw (#88)

A transaction only entered the wallet when its block arrived over the network,
so a key added afterwards was invisible: coins on the chain, private key in
wallet.dat, balance zero. /importwallet has always ended that way -- it writes
the keys and the money never shows up, which looks exactly like a failed import.

ScanForWalletTransactions walks the main chain and hands every transaction that
IsMine() to AddToWalletIfMine, the same two primitives the live path uses. Wired
into /importwallet, and offered as /rescan.
https://github.com/Bitflash-sh/bitflash/commit/0c80afca9b0e2145c905c1b6d4bd8d1304fbaa5b