Package | Description |
---|---|
org.bitcoinj.core |
The core package contains classes for network messages like
Block and
Transaction , peer connectivity via PeerGroup ,
and block chain management. |
org.bitcoinj.params |
Network parameters encapsulate some of the differences between different Bitcoin networks such as the main
network, the testnet, regtest mode, unit testing params and so on.
|
Modifier and Type | Method and Description |
---|---|
static NetworkParameters.ProtocolVersion |
NetworkParameters.ProtocolVersion.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NetworkParameters.ProtocolVersion[] |
NetworkParameters.ProtocolVersion.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
abstract int |
NetworkParameters.getProtocolVersionNum(NetworkParameters.ProtocolVersion version) |
Modifier and Type | Method and Description |
---|---|
int |
AbstractBitcoinNetParams.getProtocolVersionNum(NetworkParameters.ProtocolVersion version) |
Copyright © 2016. All rights reserved.