NetworkParametersService

Service for retrieving network parameters used for resolving transactions according to parameters that were historically in force in the network.

Inheritors

Properties

Link copied to clipboard
abstract val currentHash: SecureHash

Hash of the current parameters for the network.

Link copied to clipboard
abstract val defaultHash: SecureHash

For backwards compatibility, this parameters hash will be used for resolving historical transactions in the chain.

Functions

Link copied to clipboard
abstract fun lookup(hash: SecureHash): NetworkParameters?

Return the network parameters with the given hash, or null if it doesn't exist.