Post
Topic
Board Altcoin Discussion
Re: Problem with block sync. Help please!
by
maksymsh
on 24/01/2018, 16:38:57 UTC
If i start a new wallet without any blockchain data i get this debug.log:

2018-01-24 16:29:37 Coinbit version v0.12.1.0-g9779e1e1f320 (Mon, 11 Apr 2016 13:01:43 +0200)
2018-01-24 16:29:37 InitParameterInteraction: parameter interaction: -whitelistforcerelay=1 -> setting -whitelistrelay=1
2018-01-24 16:29:38 Using BerkeleyDB version Berkeley DB 4.8.30: (April  9, 2010)
2018-01-24 16:29:38 Default data directory /home/max/.coinbit
2018-01-24 16:29:38 Using data directory /home/max/.coinbit
2018-01-24 16:29:38 Using config file /home/max/.coinbit/coinbit.conf
2018-01-24 16:29:38 Using at most 125 connections (1024 file descriptors available)
2018-01-24 16:29:38 Using 2 threads for script verification
2018-01-24 16:29:38 Using wallet wallet.dat
2018-01-24 16:29:38 init message: Verifying wallet...
2018-01-24 16:29:38 CDBEnv::Open: LogDir=/home/max/.coinbit/database ErrorFile=/home/max/.coinbit/db.log
2018-01-24 16:29:38 scheduler thread start
2018-01-24 16:29:38 Bound to [::]:9444
2018-01-24 16:29:38 Bound to 0.0.0.0:9444
2018-01-24 16:29:38 Cache configuration:
2018-01-24 16:29:38 * Using 2.0MiB for block index database
2018-01-24 16:29:38 * Using 32.5MiB for chain state database
2018-01-24 16:29:38 * Using 65.5MiB for in-memory UTXO set
2018-01-24 16:29:38 init message: Loading block index...
2018-01-24 16:29:38 Opening LevelDB in /home/max/.coinbit/blocks/index
2018-01-24 16:29:38 Opened LevelDB successfully
2018-01-24 16:29:38 Using obfuscation key for /home/max/.coinbit/blocks/index: 0000000000000000
2018-01-24 16:29:38 Opening LevelDB in /home/max/.coinbit/chainstate
2018-01-24 16:29:38 Opened LevelDB successfully
2018-01-24 16:29:38 Wrote new obfuscate key for /home/max/.coinbit/chainstate: 6bf5ba8196c16f05
2018-01-24 16:29:38 Using obfuscation key for /home/max/.coinbit/chainstate: 6bf5ba8196c16f05
2018-01-24 16:29:38 LoadBlockIndexDB: last block file = 0
2018-01-24 16:29:38 LoadBlockIndexDB: last block file info: CBlockFileInfo(blocks=0, size=0, heights=0...0, time=1970-01-01...1970-01-01)
2018-01-24 16:29:38 Checking all blk files are present...
2018-01-24 16:29:38 LoadBlockIndexDB: transaction index disabled
2018-01-24 16:29:38 Initializing databases...
2018-01-24 16:29:38 Pre-allocating up to position 0x1000000 in blk00000.dat
2018-01-24 16:29:38 UpdateTip: new best=00000000323b8b1db35e8511c231a5b8fa45f9c19ac2348c4a3c5d94df8d2ae7  height=0  log2_work=32.000022  tx=1  date=2018-01-03 20:37:53 progress=0.000001  cache=0.0MiB(0tx)
2018-01-24 16:29:38 init message: Verifying blocks...
2018-01-24 16:29:38  block index             488ms
2018-01-24 16:29:38 init message: Loading wallet...
2018-01-24 16:29:38 nFileVersion = 120100
2018-01-24 16:29:38 Keys: 101 plaintext, 0 encrypted, 101 w/ metadata, 101 total
2018-01-24 16:29:38  wallet                  108ms
2018-01-24 16:29:38 init message: Activating best chain...
2018-01-24 16:29:38 mapBlockIndex.size() = 1
2018-01-24 16:29:38 nBestHeight = 0
2018-01-24 16:29:38 setKeyPool.size() = 100
2018-01-24 16:29:38 mapWallet.size() = 0
2018-01-24 16:29:38 mapAddressBook.size() = 1
2018-01-24 16:29:38 init message: Loading addresses...
2018-01-24 16:29:38 torcontrol thread start
2018-01-24 16:29:38 ERROR: Read: Failed to open file /home/max/.coinbit/peers.dat
2018-01-24 16:29:38 Invalid or missing peers.dat; recreating
2018-01-24 16:29:38 ERROR: Read: Failed to open file /home/max/.coinbit/banlist.dat
2018-01-24 16:29:38 Invalid or missing banlist.dat; recreating
2018-01-24 16:29:38 Loaded 0 addresses from peers.dat  0ms
2018-01-24 16:29:38 dnsseed thread start
2018-01-24 16:29:38 Loading addresses from DNS seeds (could take a while)
2018-01-24 16:29:38 net thread start
2018-01-24 16:29:38 init message: Done loading
2018-01-24 16:29:38 addcon thread start
2018-01-24 16:29:38 GUI: Platform customization: "other"
2018-01-24 16:29:38 msghand thread start
2018-01-24 16:29:38 opencon thread start
2018-01-24 16:29:38 2 addresses found from DNS seeds
2018-01-24 16:29:38 dnsseed thread exit
2018-01-24 16:29:38 GUI: PaymentServer::LoadRootCAs: Loaded  146  root certificates
2018-01-24 16:29:39 receive version message: /Satoshi:0.12.1/: version 70012, blocks=6139, us=94.231.68.146:37542, peer=1
2018-01-24 16:29:41 receive version message: /Satoshi:0.12.1/: version 70012, blocks=6139, us=94.231.68.146:36054, peer=2

Where 94.231.68.146 is my local pc address with started wallet.
As u can see, wallet found 6139 blocks but they are not downloaded.
We can see 2 our node peers in debug window (https://ibb.co/kugp9G), we have received and sent data -> connection is OK, but "No block source available" message shown in wallet.
And there are no other related errors
Why?