X9Developers / XSN

XSN - Stakenet, the first cryptocurrency with Trustless Proof of Stake
https://stakenet.io
MIT License
93 stars 49 forks source link

ERROR: CheckBlock(): check contract failed, CheckContract : failed to get transaction for tpos contract #176

Open benzmuircroft opened 2 years ago

benzmuircroft commented 2 years ago

Ubuntu 20 XSN Core Daemon version v1.0.28.0-e860835

I threw away in the trash all the files in datadir except for wallet.dat and xsn.conf then restarted and came back a few days later to see it is stuck again.

rpcuser=redacted
rpcpassword=redacted

prune=2048
txindex=0
blocksonly=1
dbcache=500
maxsigcachesize=500
maxconnections=13
rpcthreads=5
maxorphantx=10

port=62583
rpcport=67874
listen=1

datadir=/home/XSN/data

walletnotify=[ -e "/home/XSN/tx.js" ] && node /home/XSN/tx.js %s
blocknotify=[ -e "/home/XSN/block.js" ] && node /home/XSN/block.js %s

addnode=135.181.52.131:62583
addnode=144.202.48.145:62583
addnode=167.86.125.243:62583
addnode=207.148.84.183:62583
addnode=45.32.187.1:62583
addnode=45.76.78.154:62583
addnode=95.179.220.54:62583
addnode=95.217.9.220:62583
2021-12-12T17:31:20Z ERROR: ReadBlockFromDisk: OpenBlockFile failed for CBlockDiskPos(nFile=-1, nPos=0)
2021-12-12T17:31:20Z ERROR: CheckContract : failed to get transaction for tpos contract 8b5c4b85456d05b5039e510b6c09e81a6436de60b0be8ef055f551afaa712fc2
2021-12-12T17:31:20Z ERROR: CheckBlock(): check contract failed, CheckContract : failed to get transaction for tpos contract 8b5c4b85456d05b5039e510b6c09e81a6436de60b0be8ef055f551afaa712fc2 for tpos block ccc3aa56f97e2e388ee343fc4a7bd4be0f02518abf58e0c19d6aafbaf5c6dcf1

2021-12-12T17:31:20Z ERROR: ProcessNewBlock: AcceptBlock FAILED ( (code 0))
2021-12-12T17:31:20Z ERROR: ReadBlockFromDisk: OpenBlockFile failed for CBlockDiskPos(nFile=-1, nPos=0)
2021-12-12T17:31:20Z ERROR: CheckContract : failed to get transaction for tpos contract 8b5c4b85456d05b5039e510b6c09e81a6436de60b0be8ef055f551afaa712fc2
2021-12-12T17:31:20Z ERROR: CheckBlock(): check contract failed, CheckContract : failed to get transaction for tpos contract 8b5c4b85456d05b5039e510b6c09e81a6436de60b0be8ef055f551afaa712fc2 for tpos block ccc3aa56f97e2e388ee343fc4a7bd4be0f02518abf58e0c19d6aafbaf5c6dcf1

2021-12-12T17:31:20Z ERROR: ProcessNewBlock: AcceptBlock FAILED ( (code 0))