Martin Habovštiak
Martin Habovštiak
So I suppose the solution is something like: * add `signet_magic` configuration option * if `signet_magic` is `Some(_)` and network is not `Signet` return error * if `signet_magic` is `None`...
> how can I add a new network to `bitcoin::network::constants::Network` You can't - it's an external library. But that's OK, just pass `config.signet_magic` as a separate argument to `fn magic(self)`...
Ah, sorry, for some reason I thought it's in electrs (in retrospect I could have noticed trivially, lol). So I think the best approach is to write something like this...
Thanks for the report! I think it'd be useful to handle something like this more gracefully.
Thanks for the report! @prusnak notice Trezor seems to be making calls twice. Is this intentional?
Thanks for awesome report with analysis and the fix! We vendor our fork of rocksdb so I think we may be able to patch it.
Knowing current balance for address is by design not optimized. History is only slow if you use Bitcoin incorrectly: by reusing addresses. Non-reused address has at most two transactions which...
Electrum is a good wallet but Sparrow wallet also got some popularity recently. Although I didn't have the time to try it out yet.
AFAIK Electrum has RPC but unsure if it can run headless. IDK if there's any other alternative.
If you have the resources I suggest you look into Blockstream fork of electrs which is much faster but eats much more space. If you don't your requirements are at...