lightninglabs / lightning-app

An easy-to-use cross-platform Lightning wallet
GNU General Public License v3.0
899 stars 172 forks source link

Header doesn't pass sanity check #27

Closed remyers closed 7 years ago

remyers commented 7 years ago

Repo:

lnd: 2017-10-13 19:17:35.023 [WRN] BTCN: Header doesn't pass sanity check: block target difficulty of 00000000ffff0000000000000000000000000000000000000000000000000000 is higher than max of 0000000000000202f00000000000000000000000000000000000000000000000 -- disconnecting peer

2017-10-13 19:17:35.023 [INF] BTCN: Lost peer 35.199.154.3:18333 (outbound)
lnd: 2017-10-13 19:17:35.023 [WRN] BTCN: No sync peer candidates available
lnd: 2017-10-13 19:17:40.576 [INF] BTCN: New valid peer 35.199.154.3:18333 (outbound) (/btcwire:0.5.0/btcd:0.12.0/)

lnd: 2017-10-13 19:17:40.577 [INF] BTCN: Syncing to block height 1126632 from peer 35.199.154.3:18333 2017-10-13 19:17:40.577 [INF] BTCN: Downloading headers for blocks 930001 to 1000007 from peer 35.199.154.3:18333

Difficulty of block 121049 is : 486,604,799 == 1D00 FFFF and sanity check mentions difficulty target of: 00000000ffff0000000000000000000000000000000000000000000000000000

System info:

Windows 10 Pro x64 - version 1703, OS Build 15063.674

My log file:

Pubkey: 03ab3a8098216569f291fe04eafda8c15b6e8a81640b452281e82b8b5350449de6
Logs
lnd: 2017-10-13 19:06:06.150 [WRN] LTND: open ../lnd.conf: The system cannot find the file specified. 2017-10-13 19:06:06.151 [INF] LTND: Version 0.3.0-alpha
lnd: 2017-10-13 19:06:06.153 [INF] CHDB: Checking for schema update: latest_version=0, db_version=0 2017-10-13 19:06:06.153 [INF] LTND: Primary chain is set to: bitcoin
lnd: 2017-10-13 19:06:06.150 [WRN] LTND: open ../lnd.conf: The system cannot find the file specified. 2017-10-13 19:06:06.151 [INF] LTND: Version 0.3.0-alpha
lnd: 2017-10-13 19:06:06.153 [INF] CHDB: Checking for schema update: latest_version=0, db_version=0 2017-10-13 19:06:06.153 [INF] LTND: Primary chain is set to: bitcoin
lnd: 2017-10-13 19:06:06.416 [INF] BTCN: Loaded 1825 addresses from file 'C:\Users\Richard\AppData\Local\Lnd\data\testnet3\bitcoin\peers.json'
lnd: 2017-10-13 19:06:06.558 [INF] CMGR: DNS discovery failed on seed x19.testnet-seed.bitcoin.jonasschnelli.ch: lookup x19.testnet-seed.bitcoin.jonasschnelli.ch: no such host 2017-10-13 19:06:06.558 [INF] CMGR: DNS discovery failed on seed x19.seed.tbtc.petertodd.org: lookup x19.seed.tbtc.petertodd.org: no such host
lnd: 2017-10-13 19:06:06.603 [INF] CMGR: 1 addresses found from DNS seed testnet-seed.bluematt.me
lnd: 2017-10-13 19:06:06.827 [INF] CMGR: 25 addresses found from DNS seed testnet-seed.bitcoin.schildbach.de
lnd: 2017-10-13 19:06:06.886 [INF] BTCN: New valid peer 35.199.154.3:18333 (outbound) (/btcwire:0.5.0/btcd:0.12.0/)
lnd: 2017-10-13 19:06:06.887 [INF] BTCN: Syncing to block height 1126091 from peer 35.199.154.3:18333 2017-10-13 19:06:06.887 [INF] BTCN: Downloading headers for blocks 930001 to 1000007 from peer 35.199.154.3:18333
lnd: 2017-10-13 19:06:07.412 [INF] LNWL: Opened wallet
lnd: 2017-10-13 19:06:08.539 [INF] LNWL: The wallet has been unlocked without a time limit
lnd: 2017-10-13 19:06:08.543 [INF] LTND: LightningWallet opened
lnd: 2017-10-13 19:06:08.552 [INF] LNWL: Started rescan from block 00000000000000b57db6ee38e2318105ebbc87e4e7a7999e2e9798592a447730 (height 930000) for 5 addresses
lnd: 2017-10-13 19:06:08.562 [INF] RPCS: RPC server listening on 127.0.0.1:10009
lnd: 2017-10-13 19:06:08.564 [INF] LTND: Waiting for chain backend to finish sync, start_height=930000 2017-10-13 19:06:08.564 [INF] RPCS: gRPC proxy started at localhost:8080
lnd: 2017-10-13 19:06:08.629 [INF] LNWL: Catching up block hashes to height 930000, this might take a while
lnd: 2017-10-13 19:06:08.636 [INF] LNWL: Done catching up block hashes 2017-10-13 19:06:08.636 [INF] LNWL: Finished rescan for 5 addresses (synced to block 00000000000000b57db6ee38e2318105ebbc87e4e7a7999e2e9798592a447730, height 930000)
lnd: 2017-10-13 19:07:51.886 [INF] BTCN: Lost peer 35.199.154.3:18333 (outbound)
lnd: 2017-10-13 19:07:51.886 [WRN] BTCN: No sync peer candidates available
lnd: 2017-10-13 19:07:52.213 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:07:57.415 [INF] BTCN: New valid peer 35.199.154.3:18333 (outbound) (/btcwire:0.5.0/btcd:0.12.0/)
lnd: 2017-10-13 19:07:57.416 [INF] BTCN: Syncing to block height 1126093 from peer 35.199.154.3:18333 2017-10-13 19:07:57.416 [INF] BTCN: Downloading headers for blocks 930001 to 1000007 from peer 35.199.154.3:18333
lnd: 2017-10-13 19:08:12.620 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:08:32.615 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:08:52.620 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:09:12.629 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:09:32.625 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:09:42.415 [INF] BTCN: Lost peer 35.199.154.3:18333 (outbound)
lnd: 2017-10-13 19:09:42.415 [WRN] BTCN: No sync peer candidates available
lnd: 2017-10-13 19:09:48.268 [INF] BTCN: New valid peer 35.199.154.3:18333 (outbound) (/btcwire:0.5.0/btcd:0.12.0/)
lnd: 2017-10-13 19:09:48.268 [INF] BTCN: Syncing to block height 1210149 from peer 35.199.154.3:18333 2017-10-13 19:09:48.268 [INF] BTCN: Downloading headers for blocks 930001 to 1000007 from peer 35.199.154.3:18333
lnd: 2017-10-13 19:09:50.811 [WRN] BTCN: Header doesn't pass sanity check: block target difficulty of 00000000ffff0000000000000000000000000000000000000000000000000000 is higher than max of 0000000000000202f00000000000000000000000000000000000000000000000 -- disconnecting peer 2017-10-13 19:09:50.811 [INF] BTCN: Lost peer 35.199.154.3:18333 (outbound)
lnd: 2017-10-13 19:09:50.811 [WRN] BTCN: No sync peer candidates available
lnd: 2017-10-13 19:09:52.624 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:09:56.374 [INF] BTCN: New valid peer 35.199.154.3:18333 (outbound) (/btcwire:0.5.0/btcd:0.12.0/)
lnd: 2017-10-13 19:09:56.375 [INF] BTCN: Syncing to block height 1210149 from peer 35.199.154.3:18333 2017-10-13 19:09:56.375 [INF] BTCN: Downloading headers for blocks 930001 to 1000007 from peer 35.199.154.3:18333
lnd: 2017-10-13 19:09:58.543 [WRN] BTCN: Header doesn't pass sanity check: block target difficulty of 00000000ffff0000000000000000000000000000000000000000000000000000 is higher than max of 0000000000000202f00000000000000000000000000000000000000000000000 -- disconnecting peer 2017-10-13 19:09:58.543 [INF] BTCN: Lost peer 35.199.154.3:18333 (outbound)
lnd: 2017-10-13 19:09:58.543 [WRN] BTCN: No sync peer candidates available
lnd: 2017-10-13 19:10:04.174 [INF] BTCN: New valid peer 35.199.154.3:18333 (outbound) (/btcwire:0.5.0/btcd:0.12.0/)
lnd: 2017-10-13 19:10:04.175 [INF] BTCN: Syncing to block height 1210149 from peer 35.199.154.3:18333 2017-10-13 19:10:04.175 [INF] BTCN: Downloading headers for blocks 930001 to 1000007 from peer 35.199.154.3:18333
lnd: 2017-10-13 19:10:08.363 [WRN] BTCN: Header doesn't pass sanity check: block target difficulty of 00000000ffff0000000000000000000000000000000000000000000000000000 is higher than max of 0000000000000202f00000000000000000000000000000000000000000000000 -- disconnecting peer 2017-10-13 19:10:08.363 [INF] BTCN: Lost peer 35.199.154.3:18333 (outbound)
lnd: 2017-10-13 19:10:08.363 [WRN] BTCN: No sync peer candidates available
lnd: 2017-10-13 19:10:12.282 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:10:13.876 [INF] BTCN: New valid peer 35.199.154.3:18333 (outbound) (/btcwire:0.5.0/btcd:0.12.0/)
lnd: 2017-10-13 19:10:13.876 [INF] BTCN: Syncing to block height 1126093 from peer 35.199.154.3:18333 2017-10-13 19:10:13.876 [INF] BTCN: Downloading headers for blocks 930001 to 1000007 from peer 35.199.154.3:18333
lnd: 2017-10-13 19:10:32.288 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:10:52.282 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:11:12.309 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:11:32.295 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:11:43.877 [INF] BTCN: Lost peer 35.199.154.3:18333 (outbound)
lnd: 2017-10-13 19:11:43.877 [WRN] BTCN: No sync peer candidates available
lnd: 2017-10-13 19:11:49.643 [INF] BTCN: New valid peer 35.199.154.3:18333 (outbound) (/btcwire:0.5.0/btcd:0.12.0/)
lnd: 2017-10-13 19:11:49.644 [INF] BTCN: Syncing to block height 1210149 from peer 35.199.154.3:18333 2017-10-13 19:11:49.644 [INF] BTCN: Downloading headers for blocks 930001 to 1000007 from peer 35.199.154.3:18333
lnd: 2017-10-13 19:11:52.276 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:11:52.413 [WRN] BTCN: Header doesn't pass sanity check: block target difficulty of 00000000ffff0000000000000000000000000000000000000000000000000000 is higher than max of 0000000000000202f00000000000000000000000000000000000000000000000 -- disconnecting peer 2017-10-13 19:11:52.413 [INF] BTCN: Lost peer 35.199.154.3:18333 (outbound)
lnd: 2017-10-13 19:11:52.413 [WRN] BTCN: No sync peer candidates available
lnd: 2017-10-13 19:11:58.198 [INF] BTCN: New valid peer 35.199.154.3:18333 (outbound) (/btcwire:0.5.0/btcd:0.12.0/)
lnd: 2017-10-13 19:11:58.198 [INF] BTCN: Syncing to block height 1210149 from peer 35.199.154.3:18333 2017-10-13 19:11:58.198 [INF] BTCN: Downloading headers for blocks 930001 to 1000007 from peer 35.199.154.3:18333
lnd: 2017-10-13 19:12:01.212 [WRN] BTCN: Header doesn't pass sanity check: block target difficulty of 00000000ffff0000000000000000000000000000000000000000000000000000 is higher than max of 0000000000000202f00000000000000000000000000000000000000000000000 -- disconnecting peer 2017-10-13 19:12:01.212 [INF] BTCN: Lost peer 35.199.154.3:18333 (outbound)
lnd: 2017-10-13 19:12:01.212 [WRN] BTCN: No sync peer candidates available
lnd: 2017-10-13 19:12:06.999 [INF] BTCN: New valid peer 35.199.154.3:18333 (outbound) (/btcwire:0.5.0/btcd:0.12.0/)
lnd: 2017-10-13 19:12:07.000 [INF] BTCN: Syncing to block height 1210149 from peer 35.199.154.3:18333 2017-10-13 19:12:07.000 [INF] BTCN: Downloading headers for blocks 930001 to 1000007 from peer 35.199.154.3:18333
lnd: 2017-10-13 19:12:11.162 [WRN] BTCN: Header doesn't pass sanity check: block target difficulty of 00000000ffff0000000000000000000000000000000000000000000000000000 is higher than max of 0000000000000202f00000000000000000000000000000000000000000000000 -- disconnecting peer 2017-10-13 19:12:11.162 [INF] BTCN: Lost peer 35.199.154.3:18333 (outbound)
lnd: 2017-10-13 19:12:11.162 [WRN] BTCN: No sync peer candidates available
lnd: 2017-10-13 19:12:12.332 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:12:16.891 [INF] BTCN: New valid peer 35.199.154.3:18333 (outbound) (/btcwire:0.5.0/btcd:0.12.0/)
lnd: 2017-10-13 19:12:16.891 [INF] BTCN: Syncing to block height 1210149 from peer 35.199.154.3:18333 2017-10-13 19:12:16.891 [INF] BTCN: Downloading headers for blocks 930001 to 1000007 from peer 35.199.154.3:18333
lnd: 2017-10-13 19:12:22.399 [WRN] BTCN: Header doesn't pass sanity check: block target difficulty of 00000000ffff0000000000000000000000000000000000000000000000000000 is higher than max of 0000000000000202f00000000000000000000000000000000000000000000000 -- disconnecting peer 2017-10-13 19:12:22.399 [INF] BTCN: Lost peer 35.199.154.3:18333 (outbound) 2017-10-13 19:12:22.399 [WRN] BTCN: No sync peer candidates available
lnd: 2017-10-13 19:12:28.305 [INF] BTCN: New valid peer 35.199.154.3:18333 (outbound) (/btcwire:0.5.0/btcd:0.12.0/)
lnd: 2017-10-13 19:12:28.306 [INF] BTCN: Syncing to block height 1210149 from peer 35.199.154.3:18333 2017-10-13 19:12:28.306 [INF] BTCN: Downloading headers for blocks 930001 to 1000007 from peer 35.199.154.3:18333
lnd: 2017-10-13 19:12:32.311 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:12:32.922 [WRN] BTCN: Header doesn't pass sanity check: block target difficulty of 00000000ffff0000000000000000000000000000000000000000000000000000 is higher than max of 0000000000000202f00000000000000000000000000000000000000000000000 -- disconnecting peer 2017-10-13 19:12:32.922 [INF] BTCN: Lost peer 35.199.154.3:18333 (outbound)
lnd: 2017-10-13 19:12:32.922 [WRN] BTCN: No sync peer candidates available
lnd: 2017-10-13 19:12:38.785 [INF] BTCN: New valid peer 35.199.154.3:18333 (outbound) (/btcwire:0.5.0/btcd:0.12.0/)
lnd: 2017-10-13 19:12:38.786 [INF] BTCN: Syncing to block height 1210149 from peer 35.199.154.3:18333 2017-10-13 19:12:38.786 [INF] BTCN: Downloading headers for blocks 930001 to 1000007 from peer 35.199.154.3:18333
lnd: 2017-10-13 19:12:43.749 [WRN] BTCN: Header doesn't pass sanity check: block target difficulty of 00000000ffff0000000000000000000000000000000000000000000000000000 is higher than max of 0000000000000202f00000000000000000000000000000000000000000000000 -- disconnecting peer 2017-10-13 19:12:43.749 [INF] BTCN: Lost peer 35.199.154.3:18333 (outbound)
lnd: 2017-10-13 19:12:43.750 [WRN] BTCN: No sync peer candidates available
lnd: 2017-10-13 19:12:49.635 [INF] BTCN: New valid peer 35.199.154.3:18333 (outbound) (/btcwire:0.5.0/btcd:0.12.0/)
lnd: 2017-10-13 19:12:49.636 [INF] BTCN: Syncing to block height 1210149 from peer 35.199.154.3:18333 2017-10-13 19:12:49.636 [INF] BTCN: Downloading headers for blocks 930001 to 1000007 from peer 35.199.154.3:18333
lnd: 2017-10-13 19:12:52.295 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:12:55.478 [WRN] BTCN: Header doesn't pass sanity check: block target difficulty of 00000000ffff0000000000000000000000000000000000000000000000000000 is higher than max of 0000000000000202f00000000000000000000000000000000000000000000000 -- disconnecting peer 2017-10-13 19:12:55.478 [INF] BTCN: Lost peer 35.199.154.3:18333 (outbound)
lnd: 2017-10-13 19:12:55.478 [WRN] BTCN: No sync peer candidates available
lnd: 2017-10-13 19:13:01.202 [INF] BTCN: New valid peer 35.199.154.3:18333 (outbound) (/btcwire:0.5.0/btcd:0.12.0/)
lnd: 2017-10-13 19:13:01.203 [INF] BTCN: Syncing to block height 1210149 from peer 35.199.154.3:18333 2017-10-13 19:13:01.203 [INF] BTCN: Downloading headers for blocks 930001 to 1000007 from peer 35.199.154.3:18333
lnd: 2017-10-13 19:13:05.386 [WRN] BTCN: Header doesn't pass sanity check: block target difficulty of 00000000ffff0000000000000000000000000000000000000000000000000000 is higher than max of 0000000000000202f00000000000000000000000000000000000000000000000 -- disconnecting peer 2017-10-13 19:13:05.386 [INF] BTCN: Lost peer 35.199.154.3:18333 (outbound)
lnd: 2017-10-13 19:13:05.386 [WRN] BTCN: No sync peer candidates available
lnd: 2017-10-13 19:13:10.942 [INF] BTCN: New valid peer 35.199.154.3:18333 (outbound) (/btcwire:0.5.0/btcd:0.12.0/)
lnd: 2017-10-13 19:13:10.943 [INF] BTCN: Syncing to block height 1126206 from peer 35.199.154.3:18333 2017-10-13 19:13:10.943 [INF] BTCN: Downloading headers for blocks 930001 to 1000007 from peer 35.199.154.3:18333
lnd: 2017-10-13 19:13:12.386 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:13:32.326 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:13:52.318 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:14:12.365 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:14:32.328 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:14:52.324 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:14:55.942 [INF] BTCN: Lost peer 35.199.154.3:18333 (outbound)
lnd: 2017-10-13 19:14:55.942 [WRN] BTCN: No sync peer candidates available
lnd: 2017-10-13 19:15:01.430 [INF] BTCN: New valid peer 35.199.154.3:18333 (outbound) (/btcwire:0.5.0/btcd:0.12.0/)
lnd: 2017-10-13 19:15:01.431 [INF] BTCN: Syncing to block height 1126324 from peer 35.199.154.3:18333 2017-10-13 19:15:01.431 [INF] BTCN: Downloading headers for blocks 930001 to 1000007 from peer 35.199.154.3:18333
lnd: 2017-10-13 19:15:12.332 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:15:32.328 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:15:52.322 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:16:12.340 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:16:32.331 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:16:46.430 [INF] BTCN: Lost peer 35.199.154.3:18333 (outbound) 2017-10-13 19:16:46.430 [WRN] BTCN: No sync peer candidates available
lnd: 2017-10-13 19:16:52.316 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:16:52.355 [INF] BTCN: New valid peer 35.199.154.3:18333 (outbound) (/btcwire:0.5.0/btcd:0.12.0/)
lnd: 2017-10-13 19:16:52.356 [INF] BTCN: Syncing to block height 1210149 from peer 35.199.154.3:18333 2017-10-13 19:16:52.356 [INF] BTCN: Downloading headers for blocks 930001 to 1000007 from peer 35.199.154.3:18333
lnd: 2017-10-13 19:16:58.039 [WRN] BTCN: Header doesn't pass sanity check: block target difficulty of 00000000ffff0000000000000000000000000000000000000000000000000000 is higher than max of 0000000000000202f00000000000000000000000000000000000000000000000 -- disconnecting peer 2017-10-13 19:16:58.039 [INF] BTCN: Lost peer 35.199.154.3:18333 (outbound) 2017-10-13 19:16:58.039 [WRN] BTCN: No sync peer candidates available
lnd: 2017-10-13 19:17:03.902 [INF] BTCN: New valid peer 35.199.154.3:18333 (outbound) (/btcwire:0.5.0/btcd:0.12.0/)
lnd: 2017-10-13 19:17:03.902 [INF] BTCN: Syncing to block height 1210149 from peer 35.199.154.3:18333 2017-10-13 19:17:03.902 [INF] BTCN: Downloading headers for blocks 930001 to 1000007 from peer 35.199.154.3:18333
lnd: 2017-10-13 19:17:07.078 [WRN] BTCN: Header doesn't pass sanity check: block target difficulty of 00000000ffff0000000000000000000000000000000000000000000000000000 is higher than max of 0000000000000202f00000000000000000000000000000000000000000000000 -- disconnecting peer 2017-10-13 19:17:07.078 [INF] BTCN: Lost peer 35.199.154.3:18333 (outbound)
lnd: 2017-10-13 19:17:07.078 [WRN] BTCN: No sync peer candidates available
lnd: 2017-10-13 19:17:12.320 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:17:13.656 [INF] BTCN: New valid peer 35.199.154.3:18333 (outbound) (/btcwire:0.5.0/btcd:0.12.0/)
lnd: 2017-10-13 19:17:13.657 [INF] BTCN: Syncing to block height 1210149 from peer 35.199.154.3:18333 2017-10-13 19:17:13.657 [INF] BTCN: Downloading headers for blocks 930001 to 1000007 from peer 35.199.154.3:18333
lnd: 2017-10-13 19:17:17.363 [WRN] BTCN: Header doesn't pass sanity check: block target difficulty of 00000000ffff0000000000000000000000000000000000000000000000000000 is higher than max of 0000000000000202f00000000000000000000000000000000000000000000000 -- disconnecting peer 2017-10-13 19:17:17.363 [INF] BTCN: Lost peer 35.199.154.3:18333 (outbound)
lnd: 2017-10-13 19:17:17.363 [WRN] BTCN: No sync peer candidates available
lnd: 2017-10-13 19:17:23.156 [INF] BTCN: New valid peer 35.199.154.3:18333 (outbound) (/btcwire:0.5.0/btcd:0.12.0/)
lnd: 2017-10-13 19:17:23.157 [INF] BTCN: Syncing to block height 1210149 from peer 35.199.154.3:18333 2017-10-13 19:17:23.157 [INF] BTCN: Downloading headers for blocks 930001 to 1000007 from peer 35.199.154.3:18333
lnd: 2017-10-13 19:17:26.393 [WRN] BTCN: Header doesn't pass sanity check: block target difficulty of 00000000ffff0000000000000000000000000000000000000000000000000000 is higher than max of 0000000000000202f00000000000000000000000000000000000000000000000 -- disconnecting peer 2017-10-13 19:17:26.393 [INF] BTCN: Lost peer 35.199.154.3:18333 (outbound)
lnd: 2017-10-13 19:17:26.394 [WRN] BTCN: No sync peer candidates available
lnd: 2017-10-13 19:17:31.987 [INF] BTCN: New valid peer 35.199.154.3:18333 (outbound) (/btcwire:0.5.0/btcd:0.12.0/)
lnd: 2017-10-13 19:17:31.988 [INF] BTCN: Syncing to block height 1210149 from peer 35.199.154.3:18333 2017-10-13 19:17:31.988 [INF] BTCN: Downloading headers for blocks 930001 to 1000007 from peer 35.199.154.3:18333
lnd: 2017-10-13 19:17:32.327 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:17:35.023 [WRN] BTCN: Header doesn't pass sanity check: block target difficulty of 00000000ffff0000000000000000000000000000000000000000000000000000 is higher than max of 0000000000000202f00000000000000000000000000000000000000000000000 -- disconnecting peer 2017-10-13 19:17:35.023 [INF] BTCN: Lost peer 35.199.154.3:18333 (outbound)
lnd: 2017-10-13 19:17:35.023 [WRN] BTCN: No sync peer candidates available
lnd: 2017-10-13 19:17:40.576 [INF] BTCN: New valid peer 35.199.154.3:18333 (outbound) (/btcwire:0.5.0/btcd:0.12.0/)
lnd: 2017-10-13 19:17:40.577 [INF] BTCN: Syncing to block height 1126632 from peer 35.199.154.3:18333 2017-10-13 19:17:40.577 [INF] BTCN: Downloading headers for blocks 930001 to 1000007 from peer 35.199.154.3:18333
lnd: 2017-10-13 19:17:52.317 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:18:12.340 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:18:32.350 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:18:52.343 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:19:12.345 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:19:25.576 [INF] BTCN: Lost peer 35.199.154.3:18333 (outbound)
lnd: 2017-10-13 19:19:25.576 [WRN] BTCN: No sync peer candidates available
lnd: 2017-10-13 19:19:31.241 [INF] BTCN: New valid peer 35.199.154.3:18333 (outbound) (/btcwire:0.5.0/btcd:0.12.0/)
lnd: 2017-10-13 19:19:31.242 [INF] BTCN: Syncing to block height 1210149 from peer 35.199.154.3:18333 2017-10-13 19:19:31.242 [INF] BTCN: Downloading headers for blocks 930001 to 1000007 from peer 35.199.154.3:18333
lnd: 2017-10-13 19:19:32.340 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:19:34.126 [WRN] BTCN: Header doesn't pass sanity check: block target difficulty of 00000000ffff0000000000000000000000000000000000000000000000000000 is higher than max of 0000000000000202f00000000000000000000000000000000000000000000000 -- disconnecting peer 2017-10-13 19:19:34.127 [INF] BTCN: Lost peer 35.199.154.3:18333 (outbound) 2017-10-13 19:19:34.127 [WRN] BTCN: No sync peer candidates available
lnd: 2017-10-13 19:19:39.759 [INF] BTCN: New valid peer 35.199.154.3:18333 (outbound) (/btcwire:0.5.0/btcd:0.12.0/)
lnd: 2017-10-13 19:19:39.760 [INF] BTCN: Syncing to block height 1210149 from peer 35.199.154.3:18333 2017-10-13 19:19:39.760 [INF] BTCN: Downloading headers for blocks 930001 to 1000007 from peer 35.199.154.3:18333
lnd: 2017-10-13 19:19:44.027 [WRN] BTCN: Header doesn't pass sanity check: block target difficulty of 00000000ffff0000000000000000000000000000000000000000000000000000 is higher than max of 0000000000000202f00000000000000000000000000000000000000000000000 -- disconnecting peer 2017-10-13 19:19:44.027 [INF] BTCN: Lost peer 35.199.154.3:18333 (outbound)
lnd: 2017-10-13 19:19:44.027 [WRN] BTCN: No sync peer candidates available
lnd: 2017-10-13 19:19:50.161 [INF] BTCN: New valid peer 35.199.154.3:18333 (outbound) (/btcwire:0.5.0/btcd:0.12.0/)
lnd: 2017-10-13 19:19:50.162 [INF] BTCN: Syncing to block height 1210149 from peer 35.199.154.3:18333 2017-10-13 19:19:50.162 [INF] BTCN: Downloading headers for blocks 930001 to 1000007 from peer 35.199.154.3:18333
lnd: 2017-10-13 19:19:52.347 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:19:52.515 [WRN] BTCN: Header doesn't pass sanity check: block target difficulty of 00000000ffff0000000000000000000000000000000000000000000000000000 is higher than max of 0000000000000202f00000000000000000000000000000000000000000000000 -- disconnecting peer 2017-10-13 19:19:52.515 [INF] BTCN: Lost peer 35.199.154.3:18333 (outbound)
lnd: 2017-10-13 19:19:52.515 [WRN] BTCN: No sync peer candidates available
lnd: 2017-10-13 19:19:58.196 [INF] BTCN: New valid peer 35.199.154.3:18333 (outbound) (/btcwire:0.5.0/btcd:0.12.0/)
lnd: 2017-10-13 19:19:58.197 [INF] BTCN: Syncing to block height 1126861 from peer 35.199.154.3:18333 2017-10-13 19:19:58.197 [INF] BTCN: Downloading headers for blocks 930001 to 1000007 from peer 35.199.154.3:18333
lnd: 2017-10-13 19:20:12.347 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:20:32.342 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:20:52.349 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:21:12.355 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:21:32.346 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:21:43.196 [INF] BTCN: Lost peer 35.199.154.3:18333 (outbound)
lnd: 2017-10-13 19:21:43.196 [WRN] BTCN: No sync peer candidates available
lnd: 2017-10-13 19:21:48.839 [INF] BTCN: New valid peer 35.199.154.3:18333 (outbound) (/btcwire:0.5.0/btcd:0.12.0/)
lnd: 2017-10-13 19:21:48.840 [INF] BTCN: Syncing to block height 1127112 from peer 35.199.154.3:18333 2017-10-13 19:21:48.840 [INF] BTCN: Downloading headers for blocks 930001 to 1000007 from peer 35.199.154.3:18333
lnd: 2017-10-13 19:21:52.344 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:22:12.369 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:22:32.359 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:22:52.353 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:23:12.358 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:23:32.348 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:23:33.841 [INF] BTCN: Lost peer 35.199.154.3:18333 (outbound)
lnd: 2017-10-13 19:23:33.841 [WRN] BTCN: No sync peer candidates available
lnd: 2017-10-13 19:23:39.314 [INF] BTCN: New valid peer 35.199.154.3:18333 (outbound) (/btcwire:0.5.0/btcd:0.12.0/)
lnd: 2017-10-13 19:23:39.315 [INF] BTCN: Syncing to block height 1127294 from peer 35.199.154.3:18333 2017-10-13 19:23:39.315 [INF] BTCN: Downloading headers for blocks 930001 to 1000007 from peer 35.199.154.3:18333
lnd: 2017-10-13 19:23:52.349 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:24:12.466 [INF] RPCS: [listchannels] fetched 0 channels from DB
lnd: 2017-10-13 19:24:32.372 [INF] RPCS: [listchannels] fetched 0 channels from DB
remyers commented 7 years ago

Perhaps this question is relevant (from 2012!) ? Testnet difficulty and max target

Hello, I'm trying to import the testnet block chain on a library I'm working on but speaking of difficulty I'm not understanding well the differences relative to the production network.

This is what I've understood until now about prodnet:

  • max allowed target is 0xFFFF0000000000000000000000000000000000000000000000000000
  • corresponding max bits (compressed target) is 0x1D00FFFF

While in testnet:

  • what is the max allowed target? On the wiki it's stated that "Minimum difficulty of 1.0 on testnet is equal to difficulty of 0.5 on mainnet. >This means that the mainnet-equivalent of any testnet difficulty is half the testnet difficulty." so I guess >I've to shift left the prodnet max target, getting >0x1FFFE00000000000000000000000000000000000000000000000000000 but I can't find any >confirmation for that.

  • what is the corresponding compressed target?

Any help would be greatly appreciated!

aakselrod commented 7 years ago

Thanks for this report! We believe we've tracked down the bug and fixed it in neutrino. The fix will be included in the next app release.

remyers commented 7 years ago

Fantastic! I'll let you know how it goes once I've tested it out.

remyers commented 7 years ago

I can confirm sync works on Windows 10 x64. Thanks for the fast fix!