I'm having a wallet problem. I had a power outage that put me, currently, 320 blocks behind. What's happening is I keep getting a certain block -
Then I see the following error:
ERROR: ProcessBlock() : block with too little proof-of-stake
Then, whatever wallet sent the block is disconnected - like this:
Misbehaving: 178.62.51.143:44914 (0 -> 100) DISCONNECTING
disconnecting node 178.62.51.143:44914
disconnecting node 178.62.51.143:44914
The block explorer says it's a valid block. My wallet keeps saying it's invalid and disconnects me from the node.
Any ideas?
ProcessBlock: ACCEPTED
received block f39a9b748bffdfd12136
SetBestChain: new best=f39a9b748bffdfd12136519711f31e119442efe5489e32dc63dcba35df54086a height=180666 trust=451557429929 date=07/24/14 23:31:56
Stake checkpoint: 3305857c
ProcessBlock: ACCEPTED
received block 3024c1605158a320bc83
SetBestChain: new best=3024c1605158a320bc83f40dde9b48c136e65ade7e88f82a745e0a99be8f2ca1 height=180667 trust=451558478506 date=07/24/14 23:36:21
Stake checkpoint: e204f35c
ProcessBlock: ACCEPTED
received block 934da3546eb9235ba562
SetBestChain: new best=934da3546eb9235ba56236e87cc014b18375e63b99d9317fa516322fcdf36f87 height=180668 trust=451559527083 date=07/24/14 23:36:37
Stake checkpoint: 95cb0997
ProcessBlock: ACCEPTED
seems a valid block according to my wallet, what version wallet are you on?
also you got that block from seed2.bitstarcoin.com,... this is a (very) valid and trusted node.
ps. if you havent opened the wallet for say 7 days ( since last upgrade ) then you wouldnt get an update message anymore since the message expires after 7 days according to log, maybe you missed the update?
The wallet was hung for whatever reason. It's the newest one and it's been open other than a power outage / loss of internet yesterday. I was able to pull a bootstrap from a wallet running at work and get it running again, but it was a bizarre problem.
maybe a corrupted blockindex. however leveldb should normally have a log. and when you start it verifies the last N blocks. dunno
you dont have the old blockindex anymore i guess? is interesting.. i like. want to have a look
If I had to guess it went something like this:
I had staked some coins about the time that the internet went down. Looks like three blocks in rapid succession just as I lost connection. I'm betting that my wallet had those three blocks in the block chain and decided they were good, but they did not, for whatever reason, broadcast out to the other nodes (or if they did they were not accepted.) Prior to reloading the block chain they looked like this:
Stake - 0 confirm
Stake - 1 confirm
Stake - 1 confirm
So they had started to get confirmed.
Then, after reloading the blockchain from my other wallet, they all showed as orphaned.
I think my wallet still viewed those staked blocks as the best blockchain even though the network clearly did not agree. That's why it considered other nodes as misbehaving - they did not contain those blocks that my wallet felt were the best candidate for continuing the chain.
Not sure if this makes sense or not, but it's the best assumption I can come up with.