Mandatory upgrade to Nu 2.0 by August 25th

Okay. Re-added my data feed

“parts” : “custodians,parkrates,motions,fees”

obviously worked.

How to compile it on Ubuntu ? I get

In file included from scanbalance.cpp:5:0:
db.h:17:20: fatal error: db_cxx.h: No such file or directory
compilation terminated.
make: *** [obj/scanbalance.o] Error 1

i found

sudo apt-get install libdb++-dev

very helpful

1 Like

You beat me to it. I was already answering :stuck_out_tongue:
On my RPI I have 5.1 installed and that worked fine:

dpkg --get-selections | grep libdb
libdb5.1:armhf                                  install
libdb5.1++:armhf                                install
libdb5.1++-dev                                  install
libdb5.1-dev                                    install
libdbus-1-3:armhf                               install
libdbus-glib-1-2:armhf                          install

Thanks!

This might look unrelated at first glance, but in fact it’s one of the main differences between PoW and PoS systems; another difference that makes Nu so much more sustainable than PoW solutions and not only in terms of energy efficiency.

Nu and BCE inherited that powerful difference from Peercoin.

What’s happening at Bitcoin at the moment (https://bitcointalk.org/index.php?topic=1150481.msg12121489#msg12121489) can’t happen at Nu, from version 2.0 on even on protocol level.
The people who own the shares (and hence a big financial stake) and the people who secure the blockchain, process transactions, create blocks, are the same entity!

They have the right and the power to decide.

I sincerely admire @JordanLee’s farsighted design!

2 Likes

Note that a wallet created with this version of the library will not work on the official build. It’s not a problem if you intend to always use the wallet with this version (or a later one), but if you ever have to run the official build it won’t be able to read your wallet file.
See this message for an explanation: https://bitcointalk.org/index.php?topic=381162.msg4093527#msg4093527

You can use the bitcoin ppa to get the libdb4.8+±dev package that is compatible with the official build: http://ppa.launchpad.net/bitcoin/

Ah, the wallet file… then I create a new blank one :wink:
Thanks for the advise anyway!

I just tried to compile a new version of nud and was about to install the repo ppa:bitcoin/bitcoin, but the packages there are not for ARM CPUs.
I’ll have a look at where to get the BerkeleyDB 4.8 to make a compatible nud on my RPI.

Thanks for the hint! I’m sure it saves me plenty of time compared to not knowing about the mess I did with compiling nud using libdb5.1 and facing unexpected trouble!

Here’s some snippets for those who want to build nud on the RaspberryPi with BerkeleyDB4.8 (and don’t find a repository with compiled libdb).
I suggest to remove libdb5.1 (or whatever is installed) first - I don’t know which version is going to be preferred if both are installed.

cd ~/
wget http://download.oracle.com/berkeley-db/db-4.8.30.tar.gz
tar xvf db-4.8.30.tar.gz
cd db-4.8.30/build_unix
../dist/configure --enable-cxx
make
sudo make install

Sorry if this has been mentioned in a post already but from what I could see there’s not been a successful build on a raspberry pi yet?

Otherwise I might have to temporarily put my NSR on my mac then transfer back when there’s an RPi build.

Of course there are successful builds - e.g. mine.
But as I compiled it using BerkeleyDB5.1 it converts the wallet files and makes them incompatible with official builds (that are built with BerkeleyDB4.8).
That’s what @sigmike was referring to.

If you just want to compile it and run it and don’t have to care for wallet files, then it’s easy on RaPi.
Building nud it with BerkeleyDB4.8 is a bit harder, because it can’t be found in the standard repo (and in no trustworthy repo I’m aware of) and needs to be installed manually.

This output is from my RaPi2:

I think the version is “dirty-beta” because when I cloned the source code from github, 2.0 wasn’t yet in the master branch and I had to switch to checkout the 2.0.0-Stable-Release branch.

Hey thanks for that. How do you mean it makes the wallet incompatible though? Do you mean it’ll ruin the current wallet and I’ve just got to resend the NSR to the newly compiled version 2. Or do you mean that the wallet simply doesn’t work?

This is what @sigmike told us about it (compiling nud with libdb5.1):

In short: once you opened you wallet(s) with a version compiled with libdb5.1, there’s no way back to application versions compiled with libdb4.8 (the official builds).

Have installed and running successfully Nu 2.0

I am currently locked out of my raspberry and therefore can’t get a build anytime soon.

because password login is disabled?

hahaha :wink: almost. Nope I think that something is wrong with port forwarding, ssh keys are ok.

I’m concerned because I haven’t heard anything regarding exchanges upgrading. Is any one able to report whether any specific exchange has upgraded to 2.0?

1 Like

This is probably a good place to keep track of progress. Bolded exchanges will mean those that we are sure have completed the upgrade. I will keep this updated daily as we approach August 25. If anyone has a status update they are aware of regarding a certain exchange, please share it in this thread.

Bittrex

  • Confirmed through private chat:

Updated

Poloniex

  • Confirmed through tech support response to @Nagalim

Poloniex tech support responded saying they are fully up to date.

Cryptsy

Yep. I upgraded shortly after it was released. Thanks for the heads up

Bittylicious

  • Response:

Thanks for that. I’ve built it and the building process seemed successful.

Bitcoin Indonesia

  • Emailed @bitcoincoid (Oscar - CEO)
  • Emailed general support
  • Tweeted bitcoincoid

BTER

  • Emailed Lin (wallet manager)
  • Emailed general support
  • Tweeted BTERcom
  • Response indicates they’re aware:

Thanks for your information. It is reported to our dev team .

Alts.Trade

  • Emailed general support
  • Tweeted AltsTrade

ShapeShift

Thanks for the notification!

AllCoin

  • Emailed Mark (CEO)
  • Emailed general support
  • Tweeted AllCoinEx

CCEDK

  • Confirmed upgrade

We are now fully updated on all wallets related to Nubits and Nushares.

SouthXChange

  • Confirmed through email

We are running client version “v2.0.0-1-g59ea3a3-beta”.


For reference, here is the email that was sent.

Email Subject: IMPORTANT - All exchanges must upgrade to Nu v2.0 by August 25, 2015

Email Body: Dear Exchange Operator,

The Nu 2.0 release has passed testing and the team agrees it is now ready for general deployment on the production network. The new protocol will become effective August 25th at 14:00 UTC. If you don’t upgrade by then, your client will reject 2.0 blocks and be isolated on a non-consensus fork. So upgrading is truly mandatory.

Download Links: https://nubits.com/download

Exchange Integration Guide: https://docs.nubits.com/integrating-nubits-or-nushares-with-an-exchange/

Public Announcement: Mandatory upgrade to Nu 2.0 by August 25th

It would be appreciated if you can confirm with us when you have made the update to v2.0.

Thanks,

Nu Development Team

3 Likes

Can @masterOfDisaster confirm that the standard 2.0 release wallet*.dat can be copied over and mint on self-built Nu 2.0 on R-pi using BD 5.x?

I can confirm that. I have only few NSR in that wallet and that’s the reason why I was asking for RaPi binaries from the beginning once Nu was not open source - running it on a PC would make no sense.
But meanwhile I’ve minted with my 2.0.0 nud on my RaPi that was compiled with BerkeleyDB5.1

Reminder:
the wallet (and more) get converted from using BD5.1.
Once you started nud with BD5.1 there’s no way back to nud with BD4.8.
I highly recommend to backup the wallet(s) and the whole app directory.