Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Initialization

The algod node initialization refers to the process by which the Algorand node daemon starts up and activates all its internal services.

This process is guided by a configuration file.

The main configuration switch, EnableFollowMode, determines the node’s operational mode:

  • If set to false, the node runs as Full Node,

  • If set to true, the node runs as Follower Node.

Once the node is initialized based on the configuration, the system starts up all services, allowing them to begin functioning.

The diagram below illustrates this initialization sequence, highlighting the key role played by the Algorand node daemon algod.

sequenceDiagram
    participant algod
    participant Server
    participant Node

    algod ->> algod: Prepare and load<br/>Node configuration
    algod ->> Server: Initialize the Server
    activate Server
    Server->>+Node: Node Initialization
    Node->>-Server: returns Node

    algod ->> Server: Start the Server
    Server ->> Node: Start the Node
    Note over algod, Node: Loops until Quit or Error
    deactivate Server