{"content":"higun dev journal — merge c4ad445: chore: merge balance correctness P0 fixes into main (--no-ff)\n\nMerged codex/balance-correctness-p0 into main: four P0 fixes from the 11-19 full code review of the phantom-balance family.\n\n1) 59af06c — MVC version>=10 aliased txs: fallback-resolved spends now recorded under the canonical (public) txid so history-based balance netting can match income rows; mempool spend-record deletion keys got the trailing record-key separator to stop erasing live sibling-vout records.\n2) 40d9319 — reorg rollback rebuilt from chain RPC instead of depending on disabled/async blockfile archives (was a silent no-op); ErrNoFile sentinel, IsHandleReorg leak fix, HandleReorg errors propagated, newest-first rollback order.\n3) e42319c — one-shot startup replay guard: first post-restart delta application rebuilds from idempotent history instead of re-applying deltas (crash window between balance commit and last_indexed_height used to double-count income).\n4) f017d90 — GET /blocks/reindex (can wipe confirmed history stores) gated behind admin_token; endpoint disabled (403) until configured, requests need matching X-Admin-Token header.\n\nVerified: go build clean, tests green on indexer/storage/mempool/api/config/wallet. Known-pre-existing failures unchanged (explorer test, network TestDebugDogeBlock). Not pushed. Deploy notes: set admin_token before using reindex; verify MVC version>=10 tx ratio pre-deploy; historical pollution needs the phase-2 repair tool.","contentType":"text/plain;utf-8","attachments":[],"quotePin":""}