Network Parameters
Network parameters are a set of values that every node participating in the zone needs to agree on and use to correctly interoperate with each other.
Constructors
Properties
A default value for the minimum age of a generated confidential identity key before it can be used. This can be overridden in the node configuration or if a more recent database backup is indicated via RPC / shell. It is optional in both the network parameters and the node configuration and if no value is set for either then it is assumed to be zero.
(AutoAcceptable) Version number of the network parameters. Starting from 1, this will always increment on each new set of parameters.
Time after which nodes will be removed from the network map if they have not been seen during this period.
Maximum allowed size in bytes of an individual message sent over the wire.
Maximum permitted transaction size in bytes.
Minimum version of Corda platform that is required for nodes in the network.
(AutoAcceptable) Last modification time of network parameters set.
List of well known and trusted notary identities with information on validation type.
(AutoAcceptable) List of the network-wide java packages that were successfully claimed by their owners. Any CorDapp JAR that offers contracts and states in any of these packages must be signed by the owner.
A default value, that will be used by the Ledger Recovery flows to set how far back in time to consider for recovery. The expectation is that a node will restore to a database backup that is no older than this, by default, when attempting a recovery. This value can be overridden by specifying an override to the flow. It can also be overridden if the same parameter is specified, per-node in the node configuration. An override to the flow takes priority in terms of overrides. It is optional in both the network parameters and the node configuration however if no values are set then it needs to be specified in the flow.
(AutoAcceptable) List of whitelisted jars containing contract code for each contract class. This will be used by net.corda.core.contracts.WhitelistedByZoneAttachmentConstraint. You can learn more about contract constraints here.
Functions
This is to address backwards compatibility of the API, invariant to package ownership addresses bug CORDA-2769
Returns the public key of the package owner of the contractClassName, or null if not owned.