Blockstream / Blockstream/esplora

Smaller disk usage on start

Open
#471 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.3k
Forks
514
Avg merge
1d 10h
Merged PRs (30d)
16

Description

At Fedimint we test against esplora as one of the support backends. This makes it part of our integration tests and "devimint" dev environment, and we spin up and down such environment frequently.

On start devimint environment would have less than 200 empty regtest blocks, yet:

```
15:49:11 …esplora/regtest/newindex
> du -cksh *
286M cache
286M history
286M txstore
858M total
```

That's kind of a lot for indexing... practically nothing yet. Is this some pre-allocation or is it supposed to be this way? If it's a tunable could there be (is there) an option to minimize it? In our test env we're not really concerned about raw throughput.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.