Testers needed [Peercoin-0.5 Raspberry pi]

For a start, you need Raspberry Pi and then you need to install Raspbian on it. To do so, please follow official guide @ https://www.raspberrypi.org/documentation/installation/installing-images/

edit:
Now Peerbox can use Tor. If you want to try it with Tor make sure you have installed Tor: sudo apt-get install tor

Now let’s install Peerbox.

[Packages] md5: 711920e0fb514ced45c98cf06ff6a012 file: ppcoin_0.5.1ppc~rc2-1.1_armhf.deb

From now, it will be the easiest to move to terminal. Open Terminal app and copy/past following commands:

wget https://peerbox.me/ppcoin_0.5.1ppc~rc2-1.1_armhf.deb

Check if md5sum matches the above:

md5sum ppcoin_0.5.1ppc~rc2-1.1_armhf.deb
711920e0fb514ced45c98cf06ff6a012

Install:

sudo dpkg -i ppcoin_0.5.1ppc~rc2-1.1_armhf.deb sudo apt-get -f install

Start:

sudo systemctl start ppcoin-qt@pi.service

Start with Tor:

sudo systemctl start tor sudo systemctl start ppcoin-qt-tor@pi.service

Now you should see Peercoin-qt 0.5 wallet starting up. Just leave it running until it syncs. It should never fail as systemd will automatically restart it if it crashes or something.
To autostart this and make it run automatically every boot just do this:

sudo systemctl enable ppcoin-qt@pi.service

To autostart with Tor:

sudo systemctl enable tor sudo systemctl enable ppcoin-qt-tor@pi.service

[For headless users]

If you want to run this in headless mode (without monitor) or you just do not need graphical wallet - there is ppcoind service provided too - just like with old peerbox. You can use it with:

sudo systemctl start ppcoind@pi.service

To use with Tor:

sudo systemctl start tor sudo systemctl start ppcoind-tor@pi.service

To autostart:

sudo systemctl enable ppcoind@pi.service

To autostart over tor:

sudo systemctl enable tor sudo systemctl enable ppcoind-tor@pi.service

verify that it is running:

ppcoind getinfo

[For use on debian server]

I have provided x64 package too @ https://peerbox.me/ppcoin_0.5.1ppc~rc2-1.1_amd64.deb:

md5: a6bd9500fef08137f477b07e44ac0dfb file: ppcoin_0.5.1ppc~rc2-1.1_amd64.deb

Currently setting up and testing on two Raspberry pi 2’s. The installation process was quick and the md5sum matched as expected.
Thank you for your time and dedication, Peerchemist. :slight_smile:

Trying to sync from scratch with that client:

PPCoin version v0.5.1.0-gba4163d-beta () Default data directory /home/pi/.ppcoin Loading addresses... dbenv.open LogDir=/home/pi/.ppcoin/database ErrorFile=/home/pi/.ppcoin/db.log Loaded 51 addresses addresses 173ms Loading block index... PPCoin Network: genesis=0x0000000032fe677166d5 nBitsLimit=0x1d00ffff nBitsInitial=0x1c00ffff nStakeMinAge=2592000 nCoinbaseMaturity=500 nModifierInterval=21600 0000000032fe677166d54963b62a4677d8957e87c508eaa4fd7eb1c880cd27e3 0000000032fe677166d54963b62a4677d8957e87c508eaa4fd7eb1c880cd27e3 3c2d8f85fab4d17aac558cc648a1a58acff0de6deb890c29985690052c5993c2 CBlock(hash=0000000032fe677166d5, ver=1, hashPrevBlock=00000000000000000000, hashMerkleRoot=3c2d8f85fa, nTime=1345084287, nBits=1d00ffff, nNonce=2179302059, vtx=1, vchBlockSig=) Coinbase(hash=3c2d8f85fa, nTime=1345083810, ver=1, vin.size=1, vout.size=1, nLockTime=0) CTxIn(COutPoint(0000000000, -1), coinbase 04ffff001d020f274b4d61746f6e69732030372d4155472d3230313220506172616c6c656c2043757272656e6369657320416e642054686520526f61646d617020546f204d6f6e65746172792046726565646f6d) CTxOut(empty) vMerkleTree: 3c2d8f85fa SetBestChain: new best=0000000032fe677166d5 height=0 trust=1 moneysupply=0.00 Upgrade Info: v0.5+ txdb initialization Upgrade Info: no txdb upgrade v0.3->v0.4 detected. Upgrade Info: v0.5+ no txdb upgrade detected. Shutdown requested. Exiting. DBFlush(false) addr.dat refcount=0 addr.dat checkpoint addr.dat closed blkindex.dat refcount=0 blkindex.dat checkpoint blkindex.dat closed StopNode() DBFlush(true) addr.dat refcount=0 addr.dat checkpoint addr.dat closed PPCoin exiting

Edit: Same result using an old data dir.

[quote=“willy, post:3, topic:3783”]Trying to sync from scratch with that client:

PPCoin version v0.5.1.0-gba4163d-beta () Default data directory /home/pi/.ppcoin Loading addresses... dbenv.open LogDir=/home/pi/.ppcoin/database ErrorFile=/home/pi/.ppcoin/db.log Loaded 51 addresses addresses 173ms Loading block index... PPCoin Network: genesis=0x0000000032fe677166d5 nBitsLimit=0x1d00ffff nBitsInitial=0x1c00ffff nStakeMinAge=2592000 nCoinbaseMaturity=500 nModifierInterval=21600 0000000032fe677166d54963b62a4677d8957e87c508eaa4fd7eb1c880cd27e3 0000000032fe677166d54963b62a4677d8957e87c508eaa4fd7eb1c880cd27e3 3c2d8f85fab4d17aac558cc648a1a58acff0de6deb890c29985690052c5993c2 CBlock(hash=0000000032fe677166d5, ver=1, hashPrevBlock=00000000000000000000, hashMerkleRoot=3c2d8f85fa, nTime=1345084287, nBits=1d00ffff, nNonce=2179302059, vtx=1, vchBlockSig=) Coinbase(hash=3c2d8f85fa, nTime=1345083810, ver=1, vin.size=1, vout.size=1, nLockTime=0) CTxIn(COutPoint(0000000000, -1), coinbase 04ffff001d020f274b4d61746f6e69732030372d4155472d3230313220506172616c6c656c2043757272656e6369657320416e642054686520526f61646d617020546f204d6f6e65746172792046726565646f6d) CTxOut(empty) vMerkleTree: 3c2d8f85fa SetBestChain: new best=0000000032fe677166d5 height=0 trust=1 moneysupply=0.00 Upgrade Info: v0.5+ txdb initialization Upgrade Info: no txdb upgrade v0.3->v0.4 detected. Upgrade Info: v0.5+ no txdb upgrade detected. Shutdown requested. Exiting. DBFlush(false) addr.dat refcount=0 addr.dat checkpoint addr.dat closed blkindex.dat refcount=0 blkindex.dat checkpoint blkindex.dat closed StopNode() DBFlush(true) addr.dat refcount=0 addr.dat checkpoint addr.dat closed PPCoin exiting

Edit: Same result using an old data dir.[/quote]

Is that fresh install? Or did you already have .ppcoin directory?

I tried both. Same result.

I tried both. Same result.[/quote]

I could only replicate similar issues if I had .ppcoin directory from wallet of another provider.
Incompatibility is cause by libdb++ verision. Debian Jessie uses v5.3 and it seems that gitian builds use v4.X.

Can you please update your Raspbian (just to make sure) and purge .ppcoin directory and try again?

Removed .ppcoin dir again and it worked for some reason.

Thanks anyhow.

Bump!

New release.

Changelog:

* Added Tor support * Changed client identifier string to "-Peerbox"

To upgrade, just follow the tutorial above as usual.

[quote=“peerchemist, post:8, topic:3783”]Bump!

New release.

Changelog:

* Added Tor support * Changed client identifier string to "-Peerbox"

To upgrade, just follow the tutorial above as usual.[/quote]

Tested smoothly with no errors. Thanks again, peerchemist.
Perhaps add “sudo systemctl enable ppcoind-tor@pi.service” under the Autostart section for those utilizing the tor support.

@saeveritt
Thanks, I will add that in tutorial above.

Can you confirm that upnp is working for you over Tor? (That means do you get more than 8 connections)

Sure thing. I currently have 8 connections.

PPCoin version v0.5.1-Peerbox ($Format:%cD)

Version line looks odd.

Will test tor support now.

Edit:
No inbound connections so far.

 less debug.log | grep UPnP

returns no results

I see my external proxy IP (tor exit node, I presume.)
How can I see the port for that IP?

[quote=“willy, post:12, topic:3783”]PPCoin version v0.5.1-Peerbox ($Format:%cD)

Version line looks odd.

Will test tor support now.[/quote]

Yes I have changed version line to reflect that it is running as Peerbox, not regular node.

I meant the variables/placeholders. Isn’t their supposed to be a build date in that line?

This is my current getinfo:

ppcoind getinfo { "version" : "v0.5.1-Peerbox", "protocolversion" : 60005, "walletversion" : 60000, "balance" : 0.00000000, "newmint" : 0.00000000, "stake" : 0.00000000, "blocks" : 224554, "moneysupply" : 23025934.39539900, "connections" : 8, "proxy" : "127.0.0.1:9050", "ip" : "197.231.221.211", "difficulty" : 531518018.24790394, "testnet" : false, "keypoololdest" : 1456920511, "keypoolsize" : 101, "paytxfee" : 0.01000000, "errors" : "" }

It has 0 inbound connections so far, but I recognized that it’s connected to my server. So I went to it’s debug.log and did

less debug.log | grep 197.231.221.211

resulting in

accepted connection 197.231.221.211:22789 disconnecting node 197.231.221.211:22789 accepted connection 197.231.221.211:3095 disconnecting node 197.231.221.211:3095 accepted connection 197.231.221.211:62874 disconnecting node 197.231.221.211:62874 accepted connection 197.231.221.211:19041 disconnecting node 197.231.221.211:19041 accepted connection 197.231.221.211:24161 disconnecting node 197.231.221.211:24161 accepted connection 197.231.221.211:50283 disconnecting node 197.231.221.211:50283 accepted connection 197.231.221.211:59102 disconnecting node 197.231.221.211:59102 accepted connection 197.231.221.211:45750 disconnecting node 197.231.221.211:45750 accepted connection 197.231.221.211:58461 disconnecting node 197.231.221.211:58461 accepted connection 197.231.221.211:49834 disconnecting node 197.231.221.211:49834 accepted connection 197.231.221.211:40662 disconnecting node 197.231.221.211:40662 accepted connection 197.231.221.211:59827 disconnecting node 197.231.221.211:59827 accepted connection 197.231.221.211:16581 disconnecting node 197.231.221.211:16581

Port roulette, yey.

You mean the extra “.0” after v0.5.1?

boop.

Update:

* fixed error with version id string, thanks @willy for noticing Now it is in this format: v$peercoin_version-$git_commit_id-$Peerbox // v0.5.1-ba4163d-Peerbox //
851d34e876c7685c5dfa58a1e56aacdd153b0220ce50a5f8a47aa2d21a637053  ppcoin_0.5.1ppc~rc2-1.2_armhf.deb
https://peerbox.me/ppcoin_0.5.1ppc~rc2-1.2_armhf.deb

[quote=“peerchemist, post:4, topic:3783”][quote=“willy, post:3, topic:3783”]Trying to sync from scratch with that client:

PPCoin version v0.5.1.0-gba4163d-beta () Default data directory /home/pi/.ppcoin Loading addresses... dbenv.open LogDir=/home/pi/.ppcoin/database ErrorFile=/home/pi/.ppcoin/db.log Loaded 51 addresses addresses 173ms Loading block index... PPCoin Network: genesis=0x0000000032fe677166d5 nBitsLimit=0x1d00ffff nBitsInitial=0x1c00ffff nStakeMinAge=2592000 nCoinbaseMaturity=500 nModifierInterval=21600 0000000032fe677166d54963b62a4677d8957e87c508eaa4fd7eb1c880cd27e3 0000000032fe677166d54963b62a4677d8957e87c508eaa4fd7eb1c880cd27e3 3c2d8f85fab4d17aac558cc648a1a58acff0de6deb890c29985690052c5993c2 CBlock(hash=0000000032fe677166d5, ver=1, hashPrevBlock=00000000000000000000, hashMerkleRoot=3c2d8f85fa, nTime=1345084287, nBits=1d00ffff, nNonce=2179302059, vtx=1, vchBlockSig=) Coinbase(hash=3c2d8f85fa, nTime=1345083810, ver=1, vin.size=1, vout.size=1, nLockTime=0) CTxIn(COutPoint(0000000000, -1), coinbase 04ffff001d020f274b4d61746f6e69732030372d4155472d3230313220506172616c6c656c2043757272656e6369657320416e642054686520526f61646d617020546f204d6f6e65746172792046726565646f6d) CTxOut(empty) vMerkleTree: 3c2d8f85fa SetBestChain: new best=0000000032fe677166d5 height=0 trust=1 moneysupply=0.00 Upgrade Info: v0.5+ txdb initialization Upgrade Info: no txdb upgrade v0.3->v0.4 detected. Upgrade Info: v0.5+ no txdb upgrade detected. Shutdown requested. Exiting. DBFlush(false) addr.dat refcount=0 addr.dat checkpoint addr.dat closed blkindex.dat refcount=0 blkindex.dat checkpoint blkindex.dat closed StopNode() DBFlush(true) addr.dat refcount=0 addr.dat checkpoint addr.dat closed PPCoin exiting

Edit: Same result using an old data dir.[/quote]

Is that fresh install? Or did you already have .ppcoin directory?[/quote]

I’ve been able to reproduce that error…

If I start ppcoin with “ppcoind”, everything will go well.

Doing it with sudo systemctl enable ppcoind@pi.service gave me the above error, even with empty folders.

[quote=“willy, post:18, topic:3783”][quote=“peerchemist, post:4, topic:3783”][quote=“willy, post:3, topic:3783”]Trying to sync from scratch with that client:

PPCoin version v0.5.1.0-gba4163d-beta () Default data directory /home/pi/.ppcoin Loading addresses... dbenv.open LogDir=/home/pi/.ppcoin/database ErrorFile=/home/pi/.ppcoin/db.log Loaded 51 addresses addresses 173ms Loading block index... PPCoin Network: genesis=0x0000000032fe677166d5 nBitsLimit=0x1d00ffff nBitsInitial=0x1c00ffff nStakeMinAge=2592000 nCoinbaseMaturity=500 nModifierInterval=21600 0000000032fe677166d54963b62a4677d8957e87c508eaa4fd7eb1c880cd27e3 0000000032fe677166d54963b62a4677d8957e87c508eaa4fd7eb1c880cd27e3 3c2d8f85fab4d17aac558cc648a1a58acff0de6deb890c29985690052c5993c2 CBlock(hash=0000000032fe677166d5, ver=1, hashPrevBlock=00000000000000000000, hashMerkleRoot=3c2d8f85fa, nTime=1345084287, nBits=1d00ffff, nNonce=2179302059, vtx=1, vchBlockSig=) Coinbase(hash=3c2d8f85fa, nTime=1345083810, ver=1, vin.size=1, vout.size=1, nLockTime=0) CTxIn(COutPoint(0000000000, -1), coinbase 04ffff001d020f274b4d61746f6e69732030372d4155472d3230313220506172616c6c656c2043757272656e6369657320416e642054686520526f61646d617020546f204d6f6e65746172792046726565646f6d) CTxOut(empty) vMerkleTree: 3c2d8f85fa SetBestChain: new best=0000000032fe677166d5 height=0 trust=1 moneysupply=0.00 Upgrade Info: v0.5+ txdb initialization Upgrade Info: no txdb upgrade v0.3->v0.4 detected. Upgrade Info: v0.5+ no txdb upgrade detected. Shutdown requested. Exiting. DBFlush(false) addr.dat refcount=0 addr.dat checkpoint addr.dat closed blkindex.dat refcount=0 blkindex.dat checkpoint blkindex.dat closed StopNode() DBFlush(true) addr.dat refcount=0 addr.dat checkpoint addr.dat closed PPCoin exiting

Edit: Same result using an old data dir.[/quote]

Is that fresh install? Or did you already have .ppcoin directory?[/quote]

I’ve been able to reproduce that error…

If I start ppcoin with “ppcoind”, everything will go well.

Doing it with sudo systemctl enable ppcoind@pi.service gave me the above error, even with empty folders.[/quote]

Search for “Upgrade Info” in your debug.log
I believe you should see “Upgrade Info: txdb upgrade to v0.5 detected at timestamp %d\n” and the upgrade time should be set to zero if txdb is initialized

What version were you running before this?
There could be new transaction databases (txdb) which were part of the 0.4 network that didn’t exist in 0.3.
I say this because of the line “no txdb upgrade v0.3->v0.4 detected.”
I believe getting “Upgrade Info: v0.5+ no txdb upgrade detected” means that you never had to upgrade, and the database was created with v0.5 but that these errors are resulting from the missing txdb’s from v0.3->v0.4 .

Just a theory. Hopefully someone more qualified than me can shed some light on the matter.
Here is a similar discussion: https://www.peercointalk.org/index.php?topic=2473.75

I’m not concerned about the upgrade info log lines, I’m concerned about “Shutdown requested. Exiting.”

That seems to come from systemctl.

Edit: Btw, 24 hours on tor, still 8 connections.