Directories ¶
Path | Synopsis |
---|---|
Package api implements the public interface of the node using a HTTP REST API.
|
Package api implements the public interface of the node using a HTTP REST API. |
cmd
|
|
apitypes
Package apitypes is used to map the common types used across the node with the format expected by the API.
|
Package apitypes is used to map the common types used across the node with the format expected by the API. |
Package coordinator handles all the logic related to forging batches as a coordinator in the chainbing network.
|
Package coordinator handles all the logic related to forging batches as a coordinator in the chainbing network. |
Package db have some common utilities shared by db/l2db and db/historydb, the most relevant ones are: - SQL connection utilities - Managing the SQL schema: this is done using migration files placed under db/migrations.
|
Package db have some common utilities shared by db/l2db and db/historydb, the most relevant ones are: - SQL connection utilities - Managing the SQL schema: this is done using migration files placed under db/migrations. |
historydb
Package historydb is responsible for storing and retrieving the historic data of the Chainbing network.
|
Package historydb is responsible for storing and retrieving the historic data of the Chainbing network. |
kvdb
Package kvdb provides a key-value database with Checkpoints & Resets system
|
Package kvdb provides a key-value database with Checkpoints & Resets system |
l2db
Package l2db is responsible for storing and retrieving the data received by the coordinator through the api.
|
Package l2db is responsible for storing and retrieving the data received by the coordinator through the api. |
health
|
|
Package txselector is responsible to choose the transactions from the pool that will be forged in the next batch.
|
Package txselector is responsible to choose the transactions from the pool that will be forged in the next batch. |
Click to show internal directories.
Click to hide internal directories.