Page MenuHomePhabricator

Accept an alternative magic from the network
Closed, ResolvedPublic

Description

As a first step toward splitting network definitively, we need to accept network message with a different magic than the one currently used.

Magic:

  • mainnet: 0xe3, 0xe1, 0xf3, 0xe8
  • testnet: 0xf4, 0xe5, 0xf3, 0xf4
  • regtest: 0xda, 0xb5, 0xbf, 0xfa

Event Timeline

Thanks for the head up, this is waaaayyyyy simpler than what I tried to do at first. I have something based on your code that's coming.

deadalnix claimed this task.