net.corda.core.node
Keywords: net.corda.core.node package
Date: 2023-09-18

# Package net.corda.core.node

- Interface Summary
  Interface | Description
  --- | ---
  AppServiceHub | A `annotationclass CordaService` annotated class requires a constructor taking a single parameter of type `interface AppServiceHub`. With the `interface AppServiceHub` parameter a `annotationclass CordaService` is able to access to privileged operations. In particular such a `annotationclass CordaService` can initiate and track flows marked with `annotationclass StartableByService`.
  ServiceHub | A service hub is the starting point for most operations you can do inside the node. You are provided with one when a class annotated with `annotationclass CordaService` is constructed, and you have access to one inside flows. Most RPCs simply forward to the services found here after some access checking.
  ServicesForResolution | Subset of node services that are used for loading transactions from the wire into fully resolved, looked up forms ready for verification.

- Class Summary
  Class | Description
  --- | ---
  NetworkParameters | 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.
  NetworkParametersKt |
  NodeDiagnosticInfo | A `class NodeDiagnosticInfo` holds information about the current node version.
  NodeInfo | Information about a network node that acts on behalf of some party. NodeInfos can be found via the network map cache, accessible from a `interface NetworkMapCache`. They are also available via RPC using the `net.corda.core.messaging.CordaRPCOps.networkMapSnapshot` method.
  NotaryInfo | Data class storing information about notaries available in the network.

- Enum Summary
  Enum | Description
  --- | ---
  StatesToRecord | Controls whether the transaction is sent to the vault at all, and if so whether states have to be relevant or not in order to be recorded. Used in `ServiceHub.recordTransactions`

- Exception Summary
  Exception | Description
  --- | ---
  ZoneVersionTooLowException | When a Corda feature cannot be used due to the node's compatibility zone not enforcing a high enough minimum platform version.