BP-WG / bp-wallet

Modern, lightweight & standard-compliant bitcoin wallet runtime & cli without rust-bitcoin dependencies
Apache License 2.0
17 stars 12 forks source link

Indexers speed-ups #64

Open dr-orlovsky opened 2 months ago

dr-orlovsky commented 2 months ago

The current logic of indexers is implemented in a sub-optimal (from the performance perspective) fashion: many requests for txes are repeated, significantly increasing validation time for the large wallet histories.

Specifically, things which can be improved:

will-bitlight commented 2 months ago

Dear Maxim,

The bitlight team has recently begun focusing on this issue. After considering your valuable suggestions, we've formulated some design ideas. (Please feel free to correct us if anything is amiss.) We intend to refine this issue according to these concepts and will provide a more detailed description of the specific modifications in the final PR.

dr-orlovsky commented 2 months ago

I agree that cache is the best way.