Post
Topic
Re: [ANN] [CPU mining] Yenten v2.0.1 [YTN] [YescryptR16] [Exchange avilable]
by
mecab
on 07/08/2018, 09:27:16 UTC
I finally successfully synced my wallet to v2.0.1 with txindex=1 which is required for some services (incl. blockchain explorer).

I had NOT been able to sync from scratch nor using dev's block data. Here I share with you what I did to sync. Hope all you can move to v2.

(If you don't want txindex, It's simple. Download v2.0.1 and also download https://github.com/conan-equal-newone/yenten/releases/tag/2.0.1_block_data this block data then replace blocks folder in the data folder.).

TL, DR;
  • 1: Run old/new wallet with txindex=1.
  • 2: Then sync the block on v1. Also build only the block HEADER on v2.
  • 3: Replace v2's blocks folder by v1's one.

Detailed operations:
  • 0. Assume v1.3.1 datadir = ~/.yenten_v1, v2.0.1 datadir=~/.yenten_v2
  • 1. Run v1.3.1 with txindex=1 and sync for the latest block. (it takes a few hours)
  • 2. Run v2.0.1 with txindex=1 and build the block headers (it also takes a few hours). Note here we don't need to sync actual the blocks. You can check the status by getblockchaininfo and see headers column to see the headers value is same to the latest block height.
  • 2.1. v2.0.1 will stuck to sync block around block #3. It is no problem at this time.
  • 3. Stop both of the old and the new daemons.
  • 4. Remove ~/.yenten_v2/blocks
  • 5. Copy ~/.yenten_v1/blocks as ~/.yenten_v2/blocks
  • 6. Copy ~/.yenten_v1/wallet.dat as ~/.yenten_v2/wallet.dat
  • 7. Run v2.0.1 and wait till the migration is fully completed (you can check the progress by seeing ~/.yenten_v2/debug.log)

If you have any questions I could help. Post here or ask me in the discord.