|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use NetworkParameters | |
---|---|
com.google.bitcoin.core |
Uses of NetworkParameters in com.google.bitcoin.core |
---|
Fields in com.google.bitcoin.core declared as NetworkParameters | |
---|---|
protected NetworkParameters |
BlockChain.params
|
protected NetworkParameters |
Message.params
|
Methods in com.google.bitcoin.core that return NetworkParameters | |
---|---|
static NetworkParameters |
NetworkParameters.prodNet()
The primary BitCoin chain created by Satoshi. |
static NetworkParameters |
NetworkParameters.testNet()
The test chain created by Gavin. |
Methods in com.google.bitcoin.core with parameters of type NetworkParameters | |
---|---|
Address |
ECKey.toAddress(NetworkParameters params)
Returns the address that corresponds to the public part of this ECKey. |
Constructors in com.google.bitcoin.core with parameters of type NetworkParameters | |
---|---|
Address(NetworkParameters params,
byte[] hash160)
Construct an address from parameters and the hash160 form. |
|
Address(NetworkParameters params,
String address)
Construct an address from parameters and the standard "human readable" form. |
|
BitcoinSerializer(NetworkParameters params,
boolean usesChecksumming)
Constructs a BitcoinSerializer with the given behavior. |
|
Block(NetworkParameters params,
byte[] payloadBytes)
Constructs a block object from the BitCoin wire format. |
|
BlockChain(NetworkParameters params,
Wallet wallet,
BlockStore blockStore)
Constructs a BlockChain connected to the given wallet and store. |
|
BoundedOverheadBlockStore(NetworkParameters params,
File file)
|
|
DiskBlockStore(NetworkParameters params,
File file)
|
|
DnsDiscovery(NetworkParameters netParams)
Supports finding peers through DNS A records. |
|
DnsDiscovery(String[] hostNames,
NetworkParameters netParams)
Supports finding peers through DNS A records. |
|
DumpedPrivateKey(NetworkParameters params,
byte[] keyBytes)
Allows the output of a private key in versioned, checksummed form. |
|
DumpedPrivateKey(NetworkParameters params,
String encoded)
Parses the given private key as created by the "dumpprivkey" Bitcoin C++ RPC. |
|
GetBlocksMessage(NetworkParameters params,
List<byte[]> locator,
byte[] stopHash)
|
|
GetDataMessage(NetworkParameters params)
|
|
GetDataMessage(NetworkParameters params,
byte[] payloadBytes)
|
|
InventoryMessage(NetworkParameters params)
|
|
InventoryMessage(NetworkParameters params,
byte[] bytes)
|
|
ListMessage(NetworkParameters params)
|
|
ListMessage(NetworkParameters params,
byte[] bytes)
|
|
MemoryBlockStore(NetworkParameters params)
|
|
NetworkConnection(InetAddress remoteIp,
NetworkParameters params,
int bestHeight,
int connectTimeout)
Connect to the given IP address using the port specified as part of the network parameters. |
|
Peer(NetworkParameters params,
NetworkConnection conn,
BlockChain blockChain)
Construct a peer that handles the given network connection and reads/writes from the given block chain. |
|
PeerAddress(NetworkParameters params,
byte[] payload,
int offset,
int protocolVersion)
|
|
Script(NetworkParameters params,
byte[] programBytes,
int offset,
int length)
Construct a Script using the given network parameters and a range of the programBytes array. |
|
SeedPeers(NetworkParameters params)
|
|
Transaction(NetworkParameters params,
byte[] payloadBytes)
Creates a transaction from the given serialized bytes, eg, from a block or a tx network message. |
|
Transaction(NetworkParameters params,
byte[] payload,
int offset)
Creates a transaction by reading payload starting from offset bytes in. |
|
TransactionInput(NetworkParameters params,
Transaction parentTransaction,
byte[] payload,
int offset)
Deserializes an input message. |
|
TransactionOutPoint(NetworkParameters params,
byte[] payload,
int offset)
Deserializes the message. |
|
TransactionOutput(NetworkParameters params,
Transaction parent,
byte[] payload,
int offset)
Deserializes a transaction output message. |
|
UnknownMessage(NetworkParameters params,
String name,
byte[] payloadBytes)
|
|
VersionAck(NetworkParameters params,
byte[] payload)
|
|
VersionMessage(NetworkParameters params,
byte[] msg)
|
|
VersionMessage(NetworkParameters params,
int newBestHeight)
|
|
Wallet(NetworkParameters params)
Creates a new, empty wallet with no keys and no transactions. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |