Immediate mandatory upgrade for Nu and B&C Exchange

So if I keep minting on the wrong fork, the worst case scenario would be that I would lose 2 weeks worth of block reward? That is not nearly as bad as the case with peercoin where I have withdrawn tons of coins from BTC-E during the past couple of months. If BTC-E was on a wrong fork I have probably lost everything and there is not much I can do, right?

The worst case scenario for you individually is if you buy coins from someone on the un-updated fork after an attack has occurred. From a shareholder perspective, in the event of a fork the difficulty for the correct fork will drop drastically and it is better to have as many shareholders on the right fork as possible. Still, you are right that the most important thing is that the exchanges upgrade.

Compiling from source (nud and bcexchanged) on RaPi worked flawless. But interestingly the stripped nud has exactly the same size as the old one. I had to compare checksums to of nud-2.0.1 and nud-2.0.2 to find the difference :wink:

 nud getinfo
{
    "version" : "v2.0.2-dirty-beta",
[...]
 bcexchanged getinfo
{
    "version" : "v3.0.1-dirty-beta",

https://nubits.com/download and https://bcexchange.org have been updated with the final builds.

1 Like

the attack occurred on 9/11 ! holly moly, now i see the date!
i lost 3 days of PPC minting only. it could be worst :slight_smile:

OSX builds are compiling right now. Iā€™ll post them as soon as they are signed.

2 Likes

Iā€™m out of time right now, so I havenā€™t had a chance to move it to the wallet download section of nubits.com site yet, but hereā€™s Nu 2.0.2 for OSX (Qt) linked from the Nu repository:

Nu 2.0.2 for OSX
sha256: 9a35f380d3af361aaf99cfc568774877040d5e4aabbbdfaf3f86ebbb5e8ef9a8

B&C Exchange for OSX ā€“ Compiled, but Iā€™m holding it back until a follow-up test can be run. I had an issue initially starting it up (required that I clear out my block index before restarting it without an issue). Unclear as to why it threw the error initially so I want to be sure itā€™s safe for public consumption before I release it. Apologies for the delay.

2 Likes

done

Updating my rpi minting machineā€¦ Will update the unoffical build for rpi asap

I canā€™t compile a working bcexchanged on my RPI 2.

 pi@xxx:~/nu/bcex/src/src$ ./bcexchanged --datadir=/xxx/.bcexchange
 B&C Exchange server starting
 pi@xxx:~/nu/bcex/src/src$ bcexchanged: kernel.cpp:475: unsigned int GetStakeModifierChecksum(const CBlockIndex*): Assertion `pindex->pprev || pindex->GetBlockHash() == hashGenesisBlock' failed.

I can provide a dump file of the make process over pm if required.

After I compiled 3.0.1 I didnā€™t delete any files in the datadir and bcexchanged started right away.
Did you compile 3.0.0 on the same machine?
Or did you use an unofficial build, maybe @desreverā€™s?
@desrever can you confirm that the unofficial nud build for ARM uses BerkeleyDB 5.1?

If you compiled both versions yourself - with what BerkeleyDB version did you compile 3.0.0 and 3.0.1?
Iā€™ve made both with 4.8, but donā€™t know whether that can have to do with this error message.

both 3.0.0 and 3.0.1 on the same Pi. No berkely updates.

Iā€™m still not sure whether that has to do with BerkeleyDB, butā€¦
Did you export the libdb path before compiling?

Typical path would be:

export BDB_INCLUDE_PATH="/usr/local/BerkeleyDB.4.8/include" export BDB_LIB_PATH="/usr/local/BerkeleyDB.4.8/lib"

They symlinks are available after a restart, but I think the exports arenā€™t.
You know https://docs.nubits.com/nu-raspberry-minting/, right (thereā€™s a BerkeleyDB section)?
Maybe I bark up the wrong treeā€¦

Nud unofficial for raspberry pi compiled and pushed to github

here https://github.com/desrever-nu/nu-raspberry-unofficial/commit/ebf359d01217ad30447ee10ab8afea45a0a9b2fa

get with

$ sudo wget https://github.com/desrever-nu/nu-raspberry-unofficial/raw/master/latest/nud

and

$ sudo mv nud /usr/bin/nud && sudo chmod a+x /usr/bin/nud

Can you build one for bcex as well please? :recycle:

File corruption related, https://bitbucket.org/JordanLeePeershares/nubit/issues/221/assertion-pindex-pprev-pindex-getblockhash

You will have to re-download the blockchain. The binary is fine.

Iā€™ll try that, thank you.

Is there a trusted nud 2.0.2 for OS X compiled? Iā€™d appreciate someone pointing me in the right direction for how to compile one otherwise. Would a previous nud work as well when the intention is for FLOT usage? I would still need to acquire it somehow.

Scroll upā€¦[quote=ā€œBen, post:27, topic:3022ā€]
Nu 2.0.2 for OSX
[/quote]

Thatā€™s only the GUI application unless I missed nud somewhere.