// Package idbstore persists the light client's store in IndexedDB. It is // compiled only for js/wasm; native builds use the file store. // // IndexedDB is asynchronous and the Store interface is synchronous, so the // store loads its indexes into memory on open and writes changes behind the // sync loop in batched transactions. Flush or Close before reporting durable // progress. package idbstore