Bitcoin Forum
June 17, 2024, 09:14:33 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [SOLVED] Node error : Assertion 'nIds != nNew' failed  (Read 277 times)
beep_boop (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
October 08, 2017, 06:02:59 PM
Last edit: October 08, 2017, 08:01:42 PM by beep_boop
 #1

Bitcoin client version: 0.15.0
Operating system: Raspian, kernel 4.9
Hardware: Raspberry Pi 3

I'm getting a new node set up and encountering an error I've never seen before. When I go to start up my node from the command line (I don't have the GUI installed) I get an error. The meaningful part seems to be: Assertion 'nIds != nNew' failed

I found this line in the bitcoin code: Assert(nIds != nNew); // this means nNew was wrong, oh ow
The comment isn't very helpful.

The full command line error output is: bitcoind: addrman.h.320: void CAddrMan::Serialize(Stream&)CAutoFile]: Assertion 'nIds != nNew' failed

If anyone knows what's going on or knows a solution I'd appreciate some advice!

achow101
Moderator
Legendary
*
Offline Offline

Activity: 3430
Merit: 6705


Just writing some code


View Profile WWW
October 08, 2017, 07:45:04 PM
 #2

Delete the files peers.dat and banlist.dat which can be found in the Bitcoin Core datadir. Then start Bitcoin Core.

beep_boop (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
October 08, 2017, 08:01:24 PM
 #3


Delete the files peers.dat and banlist.dat which can be found in the Bitcoin Core datadir. Then start Bitcoin Core.

That did it, thank you!

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!