Abstract class specifying information about the consensus algorithm used for a cluster of nodes.
An in-memory network allows you to manufacture InternalMockMessagingServices for a set of participants. Each InternalMockMessagingService maintains a queue of messages it has received, and a background thread that dispatches messages one by one to registered handlers. Alternatively, a messaging system may be manually pumped, in which case no thread is created and a caller is expected to force delivery one at a time (this is useful for unit testing).
A mock node brings up a suite of in-memory services in a fast manner suitable for unit testing. Components that do IO are either swapped out for mocks, or pointed to a Jimfs in memory filesystem or an in memory H2 database instance.
The spec for a notary which will used by the
An implementation of
A notary spec for describing a notary which will be started automatically by the driver and which will be part of the network parameters used by all the nodes.
A class that represents a started mock node for testing.
A Clock that can have the time advanced for use in testing.
A class that represents an unstarted mock node for testing.
Object encapsulating a node rpc user and their associated permissions for use when testing using the driver
Test utilites to help running nodes programmatically for tests