romanz / electrs

An efficient re-implementation of Electrum Server in Rust
MIT License
1.02k stars 373 forks source link

Feature: support testnet4 #1036

Open antonilol opened 1 month ago

antonilol commented 1 month ago

Bitcoin Core PR: https://github.com/bitcoin/bitcoin/pull/29775 Maybe an update from the bitcoin crate is needed, but it could be that simply changing some constants (port, data dir, ...) can get it to work too

nikicat commented 1 month ago

Draft patch for testnet4

antonilol commented 1 month ago

That seems way too complicated, I think it would be best to wait for rust-bitcoin to add testnet4 support in some way, I see they are also improving the way networks are handled, see https://github.com/rust-bitcoin/rust-bitcoin/issues/2749

nikicat commented 1 month ago

It's indeed complicated, but from my point of view, it's less complicated than refactoring rust-bitcoin and gives the working solution right now. I do not propose it as a PR though, I just wanted to leave the link here if someone needs it.

romanz commented 1 month ago

Thanks for opening this issue! I prefer to wait for proper Testnet4 support from https://github.com/rust-bitcoin/rust-bitcoin/issues/2749.