π Setup and run a Full Node
π₯‘ Full Nodeβ
A full node prunes historical states: all finalized blocks' states older than a configurable number except the genesis block's state. This is 256 blocks from the last finalized one by default. A pruned node this way requires much less space than an archive node.
Configurationβ
- --base-path <PATH> (e.g
/opt/manta/lib
) - --chain manta
Example Commandβ
./manta --base-path /opt/manta/lib --chain manta
Check Full Nodeβ
check for π€ Role: FULL
line in logs
Jan 10 00:06:40 f1.manta.systems manta[2795938]: 2024-01-10 00:06:40 β€οΈ by Manta Network, 2020-2024
Jan 10 00:06:40 f1.manta.systems manta[2795938]: 2024-01-10 00:06:40 π Chain specification: Manta Parachain
Jan 10 00:06:40 f1.manta.systems manta[2795938]: 2024-01-10 00:06:40 π· Node name: π¦Ύ f1 π¦Ύ
Jan 10 00:06:40 f1.manta.systems manta[2795938]: 2024-01-10 00:06:40 π€ Role: FULL
Jan 10 00:06:40 f1.manta.systems manta[2795938]: 2024-01-10 00:06:40 πΎ Database: RocksDb at /var/lib/substrate/chains/manta/db/full
Jan 10 00:06:40 f1.manta.systems manta[2795938]: 2024-01-10 00:06:40 β Native runtime: manta-4600 (manta-1.tx7.au1)