corda / net.corda.core.node

## Package net.corda.core.node

### Types

AttachmentsClassLoader | `class AttachmentsClassLoader : SecureClassLoader` A custom ClassLoader that knows how to load classes from a set of attachments. The attachments themselves only need to provide JAR streams, and so could be fetched from a database, local disk, etc. Constructing an AttachmentsClassLoader is somewhat expensive, as every attachment is scanned to ensure that there are no overlapping file paths.
CityDatabase | `object CityDatabase` A simple lookup table of city names to their coordinates. Lookups are case insensitive.
CordaPluginRegistry | `abstract class CordaPluginRegistry` Implement this interface on a class advertised in a META-INF/services/net.corda.core.node.CordaPluginRegistry file to extend a Corda node with additional application services.
NodeInfo | `data class NodeInfo` Info about a network node that acts on behalf of some form of contract party.
PhysicalLocation | `data class PhysicalLocation` A labelled WorldCoordinate, where the label is human meaningful. For example, the name of the nearest city. Labels should not refer to non-landmarks, for example, they should not contain the names of organisations.
PluginServiceHub | `interface PluginServiceHub : ServiceHub` A service hub to be used by the CordaPluginRegistry
ServiceEntry | `data class ServiceEntry` Information for an advertised service including the service specific identity information. The identity can be used in flows and is distinct from the Node's legalIdentity
ServiceHub | `interface ServiceHub : ServicesForResolution` A service hub simply vends references to the other services a node has. Some of those services may be missing or mocked out. This class is useful to pass to chunks of pluggable code that might have need of many different kinds of functionality and you don't want to hard-code which types in the interface.
ServicesForResolution | `interface ServicesForResolution` Subset of node services that are used for loading transactions from the wire into fully resolved, looked up forms ready for verification.
WorldCoordinate | `data class WorldCoordinate` A latitude/longitude pair.

### Functions

recordTransactions | `fun ServiceHub.recordTransactions(vararg txs: SignedTransaction): Unit` Given some SignedTransactions, writes them to the local storage for validated transactions and then sends them to the vault for further processing.