public NetworkParametersService
Service for retrieving network parameters used for resolving transactions according to parameters that were historically in force in the network.
Modifier and Type | Method and Description |
---|---|
SecureHash |
getCurrentHash()
Hash of the current parameters for the network.
|
SecureHash |
getDefaultHash()
For backwards compatibility, this parameters hash will be used for resolving historical transactions in the chain.
|
NetworkParameters |
lookup(SecureHash hash)
Return the network parameters with the given hash, or null if it doesn't exist.
|
SecureHash getCurrentHash()
Hash of the current parameters for the network.
SecureHash getDefaultHash()
For backwards compatibility, this parameters hash will be used for resolving historical transactions in the chain.
NetworkParameters lookup(SecureHash hash)
Return the network parameters with the given hash, or null if it doesn't exist.