Crate explorerd Copy item path Source config ๐ Configuration management across multiple networks (localnet, testnet, mainnet) error ๐ Crate errors rpc ๐ Manages JSON-RPC interactions for the explorer service ๐ Core logic for block synchronization, chain data access, metadata storage/retrieval,
and statistics computation store ๐ Manages persistent storage for blockchain, contracts, metrics, and metadata Args ๐ Explorerd Defines a daemon structure responsible for handling incoming JSON-RPC requests and delegating them
to the backend layer for processing. It provides a JSON-RPC interface for managing operations related to
blocks, transactions, contracts, and metrics. SignalHandler ๐ Auxiliary structure used to keep track of signals CONFIG_FILE ๐ CONFIG_FILE_CONTENTS ๐ handle_abort ๐ Auxiliary task to handle SIGINT for forceful process abort handle_signals ๐ Auxiliary task to handle SIGHUP, SIGTERM, SIGINT and SIGQUIT signals log_started_banner ๐ Logs a banner displaying the startup details of the DarkFi Explorer Node. main ๐ realmain ๐ subscribe_blocks ๐ Subscribes to new blocks from the darkfid
daemon, returning optional
stoppable tasks for the subscriber and listener. sync_blocks ๐ Synchronizes blocks from the darkfid
daemon.