Specification
This document provides the minimum hardware specifications and service port information required in order to join the FirmaChain network.
Following are the required hardware specifications to run FirmaChain.
- Disk storage
- CPU & RAM
- PORT
- Increase maximum open files
Details of the respective specifications and information are provided below.
There are four strategies for pruning state. These strategies apply only to state and do not apply to block storage. To set pruning, adjust the
pruning
parameter in the ~/.firmachain/config/app.toml
file. The following pruning state settings are available:- 1.
everything
: Prune all saved states other than the current state. - 2.
nothing
: Save all states and delete nothing. - 3.
default
: Save the last 100 states and the state of every 10,000th block. - 4.
custom
: Specify pruning settings with thepruning-keep-recent
,pruning-keep-every
, andpruning-interval
parameters.
Pruning strategy | Minimum disk space | Recommended disk space |
---|---|---|
everything | 20 GB | 40 GB |
default | 80 GB | 120 GB |
nothing | 120 GB | > 240 GB |
By default, every node is in
default
mode which is the recommended setting for most environments.
Apart from disk space, the following requirements should be met.
Minimum CPU cores | Recommended CPU cores |
---|---|
2 | 4 |
Minimum RAM | Recommended RAM |
---|---|
4 GB | 8 GB |
Required Ports to Open:
26656
: Listen for incoming peer connections.
Additional Optional Ports:
22
: Port for SSH access.1317
: Address of REST/API endpoint of the chain.26657
: Address of RPC endpoint of the chain.
In general, most operating systems limit the maximum number of files that can be opened.
(The document was written based on
Ubuntu 20.04 LTS
, and the default value of this OS is 1024.)
However, if you open /etc/security/limits.conf
and modify the value as can be seen in the code below, you can raise the limit of the nofile feature* soft nofile 65535
* hard nofile 65535
Last modified 6mo ago