Notices
Forced upgrade
New Features
Core
- Optimized BTT contract code.
Mainnet upgrade step
- Stop bttc process
- Upgrade bttc code to v1.0.1 and build
- Fetch new genesis.json
- Init bttc with the new genesis file
bttc --datadir $BTTC_HOME/data init genesis.json
- You should see the output as follows:
INFO [12-30|11:32:31.788] Successfully wrote genesis state database=chaindata hash=...
INFO [12-30|11:32:31.788] Successfully wrote genesis state database=lightchaindata hash=...
- Start the bttc
- Rewind the chain to block 841300:
$ bttc attach $BTTC_HOME/data/bttc.ipc
> debug.setHead("0xCD654")