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

abstract val currentHash: SecureHash

Hash of the current parameters for the network.

defaultHash

abstract val defaultHash: SecureHash

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

Functions

lookup

abstract fun lookup(hash: SecureHash): NetworkParameters?

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

Extension Functions

contextLogger

fun Any.contextLogger(): Logger

When called from a companion object, returns the logger for the enclosing class.