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