[lbry] wire: update protocol NetIDs

This commit is contained in:
Roy Lee 2018-05-28 21:05:31 -07:00
parent 7507550503
commit 559cdd6c0d

View file

@ -147,13 +147,13 @@ type BitcoinNet uint32
// better idea to simply disconnect clients that are misbehaving over TCP. // better idea to simply disconnect clients that are misbehaving over TCP.
const ( const (
// MainNet represents the main bitcoin network. // MainNet represents the main bitcoin network.
MainNet BitcoinNet = 0xd9b4bef9 MainNet BitcoinNet = 0xf1aae4fa
// TestNet represents the regression test network. // TestNet represents the regression test network.
TestNet BitcoinNet = 0xdab5bffa TestNet BitcoinNet = 0xd1aae4fa
// TestNet3 represents the test network (version 3). // TestNet3 represents the test network (version 3).
TestNet3 BitcoinNet = 0x0709110b TestNet3 BitcoinNet = 0xe1aae4fa
// SimNet represents the simulation test network. // SimNet represents the simulation test network.
SimNet BitcoinNet = 0x12141c16 SimNet BitcoinNet = 0x12141c16