Roman Zeyde

Results 503 comments of Roman Zeyde

Currently no - we only support the following magic values: https://docs.rs/bitcoin/0.27.1/src/bitcoin/network/constants.rs.html#110-118 ```rust pub fn magic(self) -> u32 { // Note: any new entries here must be added to `from_magic` above...

It would be definitely possible to add such feature though :)

> This looks easy, maybe "good first issue"? :+1:

You can try the https://github.com/romanz/electrs/blob/master/contrib/history.py script: ``` $ ./contrib/history.sh --venv 1BitcoinEaterAddressDontSendf59kuE [2022-02-25 07:07:32.842605] INFO: electrum: connecting to localhost:50001 [2022-02-25 07:07:46.146635] INFO: electrum: subscribed to 1 scripthashes [2022-02-25 07:07:46.232993] DEBUG: electrum:...

> as I've said in the opening message, history script takes too long, Oops, I forgot to say that `history.py` uses the `blockchain.scripthash.get_balance` RPC which can be called independently: https://electrumx-spesmilo.readthedocs.io/en/latest/protocol-methods.html#blockchain-scripthash-get-balance...

BTW, approximately how many transactions does your address contain?

Many thanks for reporting this issue! Due to multiple compatibility issues (mostly with ARM platforms - e.g. #403), we have forked the `rust-rocksdb` crate (https://crates.io/crates/electrs-rocksdb), in order to "pin" the...

FWIW, we have https://github.com/romanz/electrs/issues/201 :)

> Or is the concept swapped around? IIUC, yes: https://github.com/prometheus/client_rust/blob/21ad911dc4a7d7d17bf1208ebf963aab1016fa26/examples/tide.rs#L31 > Are there advantages other than it being official? Not sure, hence the issue :)

> What do you think @romanz? Sounds good, will do later this week :)