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/0c80afca9b0e2145c905c1b6d4bd8d1304fbaa5bPublished at
2026-08-01 18:01:11 UTCEvent JSON
{
"id": "bcb5e53e509fe501997521a627f8cbf69ac5cdd55f96850ba36883301f282762",
"pubkey": "7febe2a59aa826f8f6337b4101939eaac82fd4e6ca5f3c7b8f13ca03ad26f2bf",
"created_at": 1785607271,
"kind": 1,
"tags": [
[
"proxy",
"https://github.com/Bitflash-sh/bitflash/commit/0c80afca9b0e2145c905c1b6d4bd8d1304fbaa5b",
"web"
]
],
"content": "[ Bitflash-sh/bitflash ] wallet: walk the chain for coins a key owns but the wallet never saw (#88)\n\nA transaction only entered the wallet when its block arrived over the network,\nso a key added afterwards was invisible: coins on the chain, private key in\nwallet.dat, balance zero. /importwallet has always ended that way -- it writes\nthe keys and the money never shows up, which looks exactly like a failed import.\n\nScanForWalletTransactions walks the main chain and hands every transaction that\nIsMine() to AddToWalletIfMine, the same two primitives the live path uses. Wired\ninto /importwallet, and offered as /rescan.\nhttps://github.com/Bitflash-sh/bitflash/commit/0c80afca9b0e2145c905c1b6d4bd8d1304fbaa5b",
"sig": "5a49cfc7c68ba3982ad6fef4bdfb70733031aad101953b0e47d9d3f30208762bd3694a8fe3ce946430544c924ad6cea9f4f10c248990afd2390536acccdb99f2"
}