Building and running from source [advanced]

This section is intended for power users who are sure what they are doing: it is not recommended by default.

The differences with the Testnet procedure as as follows:

The code version

In the aleph-node repository, you need to checkout the tag r-13.3

Environment variables

Same as on the Testnet.

The database snapshot

Needs to be downloaded from: http://db.azero.dev.s3-website.eu-central-1.amazonaws.com/latest-parity-pruned.html (this will use the smaller, pruned DB: please make sure you have enabled pruning by supplying the --enable-pruning flag to the aleph-node binary). If you wish to use the full database, you can still use: http://db.azero.dev.s3-website.eu-central-1.amazonaws.com/latest.html The links will always point to the latest version of the snapshot, taken daily.

You need to save it to chains/mainnet in your data directory.

The chainspec

You can download the chainspec from: https://github.com/Cardinal-Cryptography/aleph-node/raw/r-13.3/bin/node/src/resources/mainnet_chainspec.json

The bootnodes

In your environment, set the BOOT_NODES to:

BOOT_NODES=/dns4/bootnode-eu-central-1-0.azero.dev/tcp/30333/p2p/12D3KooWEF1Eo7uFZWdqFsTPP7CehpRt5NeXFwCe3157qpoU5aqd/dns4/bootnode-eu-west-1-0.azero.dev/tcp/30333/p2p/12D3KooWPhi8Qvzvc8iJ4CeQj2vptjc5FTrodKPmra1NS1qfftjr/dns4/bootnode-eu-west-2-0.azero.dev/tcp/30333/p2p/12D3KooWDfUzU64WURE77tXYM9H94xQFAEL6ULQYhzegKsZXjEkC/dns4/bootnode-us-east-1-0.azero.dev/tcp/30333/p2p/12D3KooWFQSGvQii2gRGB5T4M6TXhM83JV4bTEhubCBpdoR6Rkwk/dns4/bootnode-us-east-2-0.azero.dev/tcp/30333/p2p/12D3KooWJnEGVVmnXhVNxV6KWe3EsDPNvPFNcYbQ6amFVGECVAGB

Last updated