One complete Chromium run against torly (3334) and two gateways, each started with
-chains btc / -chains blake -allow-command getdata,block, the page served from bin/web on
8080. The browser profile was empty, so each chain's light client started from the checkpoint in
its profile: btc 23500, blake 42000 (demonstration values below each tip; the rig's two chains
share only genesis, so there is no real shared prefix to skip here).
| step | evidence |
|---|---|
| from the checkpoint | neutrino: regtest 23500..24971 from the checkpoint at 23500: 1471 headers, 1471 filter headers, 1471 filters, 214.3 KiB in 44.069s (33 filters/s, 4.9 KiB/s) |
| pause | paused at tip 43575 (filters 42309) — headers already stored, filters at the last verified one |
| resume | wallet from 42310 to tip 43575; the client downloaded the remaining 1266 filters and no headers |
| automatic prompt | Save a backup of the chain data now? It is the expensive part of setting up another instance. |
| backup | saved 2 chains, 6 chunk(s), 0.2 MiB of filters; btc 1471 filters in 113,512 bytes, blake 1575 in 121,569 |
| restore | into a second fresh profile from the files alone: tips 0/0 → 24971/43575 with no sync |
| reload | tips survive in IndexedDB; the wallet is locked, as a reload should leave it |
| unlock + resume after restore | both chains unlocked from the reloaded page, then from 24972 to tip 24971; the client log for that sync: 0 headers, 0 filter headers, 0 filters |
Screenshots: 01-connected-checkpoints, 02-btc-synced-from-checkpoint, 03-blake-paused,
04-blake-resumed, 05-backup-saved, 06-restored, 07-reloaded-restored,
08-resume-after-restore. chunks/ is the backup the page wrote: manifest.json plus six NSBK
chunk files whose SHA-256 and sizes the driver checked against the manifest. run5.py is the
driver and run5.log its log; summary.json is its own record.
Three real defects, each fixed with a test:
ExportFilters read a zero count as zero records, so the backup contained no filters at all.ensureAnchor only ran on connect. Apply* nowinstalls the profile's anchor first.
paused at tip 0; and a restore moved the chain but not the wallet's position, so a restored wallet showed 0/0. Both are recorded now
(domain.Sync asks the chain on failure; domain.AdoptPosition after a restore).
The first version of this driver also left the wallet locked after the reload; the fix is the unlock step in the table above, which this run exercises.