Skip to content

v1.0.1

Compare
Choose a tag to compare
@zhang0125 zhang0125 released this 30 Dec 09:12
· 93 commits to master since this release
5349178

Notices

Forced upgrade

New Features

Core

  • Optimized BTT contract code.

Mainnet upgrade step

  1. Stop bttc process
  2. Upgrade bttc code to v1.0.1 and build
  3. Fetch new genesis.json
  4. Init bttc with the new genesis file
    bttc --datadir $BTTC_HOME/data init genesis.json
  5. 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=...
  1. Start the bttc
  2. Rewind the chain to block 841300:
$ bttc attach $BTTC_HOME/data/bttc.ipc
> debug.setHead("0xCD654")