Skip to content

Node Initialization

prc edited this page Apr 2, 2024 · 2 revisions

Steps performed during application (graphened) startup:

  1. Create application

1.1. Create database

1.1.1 Initialize indexes

1.1.2 Initialize evaluators

  1. Register plugins
  2. Enable plugins from plugins option
  3. Initialize application
  4. Initialize plugins
  5. Startup application

6.1 Open database (includes loading state from disk and replay if required)

6.2 Start listening on network sockets

  1. Startup enabled plugins
  2. Wait for shutdown signal
  3. Shut down plugins
  4. Shut down node

10.1 Shutdown P2P network

10.2 Close database

10.2.1 Dump database to disk