Crate explorerd

Source

Modules§

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

Structs§

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

Constants§

CONFIG_FILE 🔒
CONFIG_FILE_CONTENTS 🔒

Functions§

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 🔒