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
- 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
pruningparameter in the
~/.firmachain/config/app.tomlfile. The following pruning state settings are available:
everything: Prune all saved states other than the current state.
nothing: Save all states and delete nothing.
default: Save the last 100 states and the state of every 10,000th block.
custom: Specify pruning settings with the
By default, every node is in
defaultmode which is the recommended setting for most environments.
Apart from disk space, the following requirements should be met.
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.confand 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