Add support for btc network version for p2p network messages

This commit is contained in:
Manfred Karrer 2015-11-10 00:42:28 +01:00
parent 7c4bf8680b
commit 09321c89b3
45 changed files with 199 additions and 178 deletions

View file

@ -42,4 +42,7 @@ public class Version {
// compatible.
public static final long PROTOCOL_VERSION = 1;
// The version for the bitcoin network (Mainnet = 0, TestNet = 1, Regtest = 2)
public static int NETWORK_ID;
}