Cellframe Node Network Configuration File is located in
<Config.dir> /opt/cellframe-node/etc/network/NetName.cfg
Config consists of sections and their parameters with the following structure:
[section]
key=value
value: string/boolean/array/integer
Value types description:
boolean - 1/0/true/false
integer - numbers
string - words, sentences, numbers or chars
float - fractional numbers
array - [ ]
Network config sections
- [[Cellframe Node Network Config#Section [general]| general]] - general network configuration
- [[Cellframe Node Network Config#Section [auth] commented| auth]] - authorization settings
- [[Cellframe Node Network Config#Section [dag_poa]| dag_poa]] - DAG settings related to Proof of Authority (PoA)
- [[Cellframe Node Network Config#Section [esbocs]| esbocs]] - Consensus configuration
Section: [general]
General network settings
Parameters
id
values: str - number in HEX format (0x0404202200000000 by default)
- unique network ID
name
values: str (default value name depends on chosen network)
- name of the network: Backbone, KelVPN, minkowski, mileena, raiden, riemann, subzero
gdb_groups_prefix
values: str (scorpion by default)
- names of the tables related to network are started with prefix
native ticker
values: str (default value depends on chosen network)
- ticker of the native token (for example CELL)
bridged_network_ids
values: str array ([0x1807202300000000] by default)
- ID’s of the networks for provide transactions among different networks
node-role
values: str (default value depends on chosen node role)
- role of the node: light, full, archive, master, root
seed_nodes_aliases
values: str array ([0.root.scorpion,1.root.scorpion,2.root.scorpion,3.root.scorpion,4.root.scorpion] by default)
- aliases for seed nodes, there must be as many of them as host names (optionally)
seed_nodes_hostnames
values: str array ([0.root.scorpion.cellframe.net,1.root.scorpion.cellframe.net,2.root.scorpion.cellframe.net,3.root.scorpion.cellframe.net,4.root.scorpion.cellframe.net] by default)
- names of the domens
seed_nodes_addrs
values: str array ([0404::2022::0000::0000,0404::2022::0000::0001,0404::2022::0000::0002,0404::2022::0000::0003,0404::2022::0000::0004] by default)
- network internal addresses of the nodes
seed_nodes_port
values: str array ([8079,8079,8079,8079,8079] by default)
- ports belonging to seed nodes
require_links
values: int (3 by default)
- minimal connections quantity required for work online
Section: [auth] commented
Authorization settings
Parameters
type
values: str (ca by default)
- certificate type
acl_accept_ca_lis
values: str array ([] by default)
- list of acceptable certificates
Section: [dag_poa]
DAG proof of authority settings(PoA)
Parameters
events-sign-cert
values: str (scorpion.root.0 by default)
- certificate which is used to sign events
Section: [esbocs]
Esbocs consensus settings
Parameters
blocks-sign-cert
values: str (mycert by default)
- name of the certificate for signing blocks
minimum_fee
values: float (1.0 by default)
- sets minimal commission for provide transactions
fee_addr
values: str (myaddr by default)
- sets wallet address for collecting fees