failed to locate upstream transaction
info: 481806 blocks, 295.312 MegaAddrs ,
fatal: failed to locate upstream transaction23secs, mem = 0.000 Gig
Aborted
Please don't tell me I have to hack yet another abandoned github project...
+1 have same issue . any update ?
info: 481823 blocks, 295.351 MegaAddrs , fatal: failed to locate upstream transaction
I found a solution to this problem. It is necessary to synchronize blockchain with the old bitcoin-core. I used the version of bitcoin-core-0.11.2 (synchronize with the block that causes the error)
so you mean, i should install bitcoin-core-0.11.2 and do rescan on whole blockahain files ?
You need to remove the blocks on which the error appears
example:
info: 481806 blocks, 295.312 MegaAddrs, fatal: failed to locate upstream transaction23secs, mem = 0.000 Gig Aborted
then you need to delete all blocks above 480000, and make synchronization bitcoin-core-0.11.2
thanks, i ll try that.
"then you need to delete all blocks above 480000, and make synchronization bitcoin-core-0.11.2" How do I find out which file the block is in?
try cd ~/.bitcoin/blocks
ls -lah
ref: https://en.bitcoin.it/wiki/Data_directory
.bitcoin$ ls -lah
total 12M
drwxrwxr-x 1 bitoc bitoc 252 окт 28 17:22 .
drwxrwxrwx 1 nobody nogroup 130 окт 21 21:21 ..
-rw------- 1 bitoc bitoc 37 окт 14 19:12 banlist.dat
-rw-r--r-- 1 bitoc bitoc 127 окт 28 17:03 bitcoin.conf
-rw------- 1 bitoc bitoc 5 окт 28 17:06 bitcoind.pid
drwx------ 1 bitoc bitoc 49K окт 28 17:29 blocks
drwx------ 1 bitoc bitoc 30K окт 28 17:32 chainstate
drwx------ 1 bitoc bitoc 28 окт 28 16:55 database
-rw------- 1 bitoc bitoc 0 окт 14 19:12 db.log
-rw------- 1 bitoc bitoc 213K окт 28 17:35 debug.log
-rw------- 1 bitoc bitoc 243K окт 22 16:56 fee_estimates.dat
-rw------- 1 bitoc bitoc 0 окт 14 19:12 .lock
-rw------- 1 bitoc bitoc 6,4M окт 22 16:56 mempool.dat
-rw------- 1 bitoc bitoc 3,8M окт 28 17:22 peers.dat
-rw------- 1 bitoc bitoc 1,4M окт 28 17:07 wallet.dat
.bitcoin/blocks$ ls -lah
total 148G
drwx------ 1 bitoc bitoc 49K окт 28 17:29 .
drwxrwxr-x 1 bitoc bitoc 252 окт 28 17:22 ..
-rw------- 1 bitoc bitoc 128M окт 19 16:14 blk00000.dat
-rw------- 1 bitoc bitoc 128M окт 14 22:19 blk00001.dat
-rw------- 1 bitoc bitoc 128M окт 14 22:25 blk00002.dat
-rw------- 1 bitoc bitoc 128M окт 14 22:30 blk00003.dat
-rw------- 1 bitoc bitoc 128M окт 14 22:35 blk00004.dat
-rw------- 1 bitoc bitoc 128M окт 14 22:40 blk00005.dat
-rw------- 1 bitoc bitoc 128M окт 14 22:44 blk00006.dat
-rw------- 1 bitoc bitoc 128M окт 14 22:50 blk00007.dat
-rw------- 1 bitoc bitoc 128M окт 14 22:56 blk00008.dat
.......
-rw------- 1 bitoc bitoc 128M окт 28 17:18 blk01038.dat
-rw------- 1 bitoc bitoc 128M окт 28 17:29 blk01039.dat
-rw------- 1 bitoc bitoc 128M окт 28 17:37 blk01040.dat
drwx------ 1 bitoc bitoc 878 окт 28 17:06 index
-rw------- 1 bitoc bitoc 19M окт 19 18:47 rev00000.dat
-rw------- 1 bitoc bitoc 17M окт 19 18:47 rev00001.dat
-rw------- 1 bitoc bitoc 16M окт 19 18:48 rev00002.dat
....
-rw------- 1 bitoc bitoc 17M окт 21 18:47 rev01036.dat
-rw------- 1 bitoc bitoc 27M окт 22 16:19 rev01037.dat
-rw------- 1 bitoc bitoc 3,2M окт 28 17:18 rev01038.dat
-rw------- 1 bitoc bitoc 400K окт 28 17:29 rev01039.dat
-rw------- 1 bitoc bitoc 1,0M окт 28 17:36 rev01040.dat
Where is it bloc 480000? Last numeric bloc from file name at end on 1040 .
try this if you have been running full node, from before segwit , then check date https://blockchain.info/block/000000000000000000cbeff0b533f8e1189cf09dfbebf57a8ebe349362811b80
delete all blocks files which are created after 2017-08-23
else if you just installed
try removing last 10 files. if does nt work, try more last 10 files.