mirror of
https://github.com/corda/corda.git
synced 2024-12-19 04:57:58 +00:00
d4f0e0f8e0
Moved start up logic of the various node components out of their c’tors and into “start” methods, which are called from Node.start(). The components themselves are created in the Node’s c’tor with minimal initialisation logic. Certain things are not immediately available at construction time, which are instead given to the components at start time in an orderly fashion: * Certs from the node’s key store and trust store * The network parameters, and thus access to things like maxMessageSize and the contracts whitelist * A running database - several components were doing database stuff their c’tors * The node’s NodeInfo, and thus access to things like identities and addresses The messaging service couldn’t be created in the Node’s c’tor due to initialisation issues with MockNode. This should be fixed in a later commit. |
||
---|---|---|
.. | ||
node-driver | ||
smoke-test-utils | ||
test-common | ||
test-utils |