Running a mainnet node from quicksync
running a mainnet node for pio-mainnet-1
The steps for running mainnet are exactly the same as testnet except that the github repo is here and the chain id is pio-mainnet-1
Step 1:download the latest quickysync via and latest provenanced version.
At the time of writing this document latest version on mainnet was v1.7.6.
Download release from
For e.g for version v1.7.6 url is
Step 2:Untar data directory from the quicksync download and replacing the untarred data directory to $PIO_HOME/data
Step 3: Run the below commands
export PIO_HOME=~/.provenanced // or directory of your choosing.
provenanced init choose-a-moniker --chain-id pio-mainnet-1
curl> genesis.json
mv genesis.json $PIO_HOME/config
Step 4:Change config.toml to have the db-backend set to `cleveldb`
```# Database backend: goleveldb | cleveldb | boltdb | rocksdb | badgerdb
# * goleveldb ( - most popular implementation)
# - pure go
# - stable
# * cleveldb (uses levigo wrapper)
# - fast
# - requires gcc
# - use cleveldb build tag (go build -tags cleveldb)
# * boltdb (uses etcd's fork of bolt -
# - may be faster is some use-cases (random reads - indexer)
# - use boltdb build tag (go build -tags boltdb)
# * rocksdb (uses
# - requires gcc
# - use rocksdb build tag (go build -tags rocksdb)
# * badgerdb (uses
# - use badgerdb build tag (go build -tags badgerdb)
db_backend = "cleveldb```
Step 5: provenanced start --p2p.seeds [email protected]:26656, [email protected]:26656 --x-crisis-skip-assert-invariants
Copy link