Chain paddle PaddleDTX series - xdb source code analysis (2)

This article continues to analyze the chain paddle open source xdb module code.

conf module

conf contains the xdb node configuration template, including configuration instructions for data holding nodes and storage nodes.

config module

config realizes the definition and parsing function of node configuration structure, and reads the configuration information of related nodes through the configuration file.

errorx module

Error codes are defined and a variety of error handling functions are implemented.

peer module

Defines the public and private key configuration information related to node identity.

pkgs-module

The pkgs module defines some common capabilities required by this project
insert image description here)

scripts

Contains scripts related to project one-click startup and quick trial
insert image description here

server module

Contains functions related to service startup, and the interface definition of xdb without identity node
insert image description here

storage module

Implemented file storage-related functions, supporting local disk storage and ipfs distributed storage.

testdata

Contains related scripts and configuration files for one-click startup of the project, which are called by the network_up.sh script in scripts.

The engine is the core module of xdb, which will be explained separately in the next article.

Guess you like

Origin blog.csdn.net/weixin_40862140/article/details/127112309