Commit f9c74af 1 parent 047c5e1 commit f9c74af Copy full SHA for f9c74af
File tree 3 files changed +2
-10
lines changed
src/main/java/org/bitcoinj/core
3 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ plugins {
5
5
id ' eclipse'
6
6
}
7
7
8
- version = ' 0.16-SNAPSHOT '
8
+ version = ' 0.1 '
9
9
10
10
dependencies {
11
11
api ' org.bouncycastle:bcprov-jdk15to18:1.68'
Original file line number Diff line number Diff line change @@ -534,12 +534,6 @@ private void processVersionMessage(VersionMessage peerVersionMessage) throws Pro
534
534
close ();
535
535
return ;
536
536
}
537
- if ((peerVersionMessage .localServices & VersionMessage .NODE_BITCOIN_CASH ) == VersionMessage .NODE_BITCOIN_CASH ) {
538
- log .info ("{}: Peer follows an incompatible block chain." , this );
539
- // Shut down the channel gracefully.
540
- close ();
541
- return ;
542
- }
543
537
if (peerVersionMessage .bestHeight < 0 )
544
538
// In this case, it's a protocol violation.
545
539
throw new ProtocolException ("Peer reports invalid best height: " + peerVersionMessage .bestHeight );
Original file line number Diff line number Diff line change 44
44
public class VersionMessage extends Message {
45
45
46
46
/** The version of this library release, as a string. */
47
- public static final String BITCOINJ_VERSION = "0.16-SNAPSHOT " ;
47
+ public static final String BITCOINJ_VERSION = "0.1 " ;
48
48
/** The value that is prepended to the subVer field of this application. */
49
49
public static final String LIBRARY_SUBVER = "/litecoinj:" + BITCOINJ_VERSION + "/" ;
50
50
@@ -58,8 +58,6 @@ public class VersionMessage extends Message {
58
58
public static final int NODE_WITNESS = 1 << 3 ;
59
59
/** A service bit that denotes whether the peer has at least the last two days worth of blockchain (BIP159). */
60
60
public static final int NODE_NETWORK_LIMITED = 1 << 10 ;
61
- /** A service bit used by Bitcoin-ABC to announce Bitcoin Cash nodes. */
62
- public static final int NODE_BITCOIN_CASH = 1 << 5 ;
63
61
64
62
/**
65
63
* The version number of the protocol spoken.
You can’t perform that action at this time.
0 commit comments