btcd icon indicating copy to clipboard operation
btcd copied to clipboard

testnet4 support

Open jlopp opened this issue 1 year ago • 11 comments

We're expecting testnet4 to launch in the coming months and be a part of the next Bitcoin Core release. PR is here: https://github.com/bitcoin/bitcoin/pull/29775

jlopp avatar May 11 '24 15:05 jlopp

Can we please make this a PR? Or even get it merged. Worst case we'll have to reset it.

marcopeereboom avatar Jun 18 '24 13:06 marcopeereboom

@nikicat Could you make your draft into an actual PR? I'd love to review it and if tests and everything pass I think we are good to get it in to btcd asap. No need to wait that I can see.

jcvernaleo avatar Jun 18 '24 13:06 jcvernaleo

Just fyi, we are actively working on a PR based on this. So stay tuned.

jcvernaleo avatar Jul 31 '24 14:07 jcvernaleo

Glanced at the draft patch above from @nikicat, looks like a good start, but is insufficient as testnet4 has entirely consensus rules that don't yet exist on mainnet:

  • https://github.com/bitcoin/bips/blob/a35650e14e5e3afce269efa0926233c30871b140/bip-0094.mediawiki#block-storm-fix
  • https://github.com/bitcoin/bips/blob/a35650e14e5e3afce269efa0926233c30871b140/bip-0094.mediawiki#time-warp-fix

Roasbeef avatar Jul 31 '24 23:07 Roasbeef

Draft patch for testnet4

Hi, @nikicat this draft has wrong genesis hash?

Merkle root etc seems correct...

Impa10r avatar Aug 03 '24 12:08 Impa10r

Hi @Impa10r , probably it's wrong because AFAIK it changed several times during the discussion of the testnet4 BIP, so you should change it to the one from the BIP. I don't care about it because all I need is RpcClient support for testnet4.

nikicat avatar Aug 03 '24 14:08 nikicat

@nikicat thanks, no problem. I think I got it running with LND

Impa10r avatar Aug 03 '24 16:08 Impa10r

Currently it doesn't support testnet4 right? Could anyone help me update the status? Thank you

0xdavid7 avatar Oct 10 '24 07:10 0xdavid7

Unfortunately, we are still working on it. We got partway through the difficulty bomb code and some other priorities popped up.

We should have something soon.

jcvernaleo avatar Oct 10 '24 12:10 jcvernaleo

Thank you so much 😆

0xdavid7 avatar Oct 10 '24 12:10 0xdavid7

Hello. Is there any updates on adding testnet4 to the btcd?

sudores avatar Nov 05 '24 12:11 sudores

@Roasbeef - It seems like v0.25.0 got released last week and it includes support for testnet4? Wanted to check if the v0.25.0 patch adds GA support for testnet4?

rahul-aravind-opti avatar Nov 12 '25 14:11 rahul-aravind-opti