Open antonilol opened 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
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.
Thanks for opening this issue! I prefer to wait for proper Testnet4 support from https://github.com/rust-bitcoin/rust-bitcoin/issues/2749.
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