corda / net.corda.core.node.services / NetworkParametersService

NetworkParametersService

@DoNotImplement interface NetworkParametersService

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

Properties

currentHash

Hash of the current parameters for the network.

abstract val currentHash: SecureHash

defaultHash

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

abstract val defaultHash: SecureHash

Functions

lookup

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

abstract fun lookup(hash: SecureHash): NetworkParameters?