diff --git a/wire/protocol.go b/wire/protocol.go index 8cc9838a55..5ce6b6f3fd 100644 --- a/wire/protocol.go +++ b/wire/protocol.go @@ -155,6 +155,9 @@ const ( // TestNet3 represents the test network (version 3). TestNet3 BitcoinNet = 0x0709110b + // TestNet4 represents the test network (version 4). + TestNet4 BitcoinNet = 0x283f161c + // SimNet represents the simulation test network. SimNet BitcoinNet = 0x12141c16 ) @@ -165,6 +168,7 @@ var bnStrings = map[BitcoinNet]string{ MainNet: "MainNet", TestNet: "TestNet", TestNet3: "TestNet3", + TestNet4: "TestNet4", SimNet: "SimNet", }