This post is moved from a discussion thread in slack for more visible to people in the community.
- how to join a nightly chain. I could find some information in this wikipage, however, there is no detailed info regarding how to init a node. I would suppose it is like this:
go-filecoin init --genesisfile=https://genesis.nightly.kittyhawk.wtf/genesis.car, not sure if there should be an option to indicate this is a nightly-net as we do for –devnet-user. Please confirm.
- The nightly net is re-deployed everyday, should I re-init my node every time when the net is re-deployed?
- I remember in the devnet-user chain, there was a version matching check, does the nightly chain check the hash value of code too? if so, we may need to always use the latest nightly build, right? Thanks.
You will need to supply the
--devnet-nightlyflag in addition to the
--genesisfileflag you have shown above. You can find information on all the flags
go-filecoin initaccepts by running
go-filecoin init --help
Yes, after each redeploy you will need to re-init your node – meaning re-running the init command described above
Yes you will need to be on the same version as nightly, you may find the release here: https://github.com/filecoin-project/go-filecoin/releases, or build from source yourself.