Running peercoind on a router

Turris Omnia router is a open source router with a very flexible software stack.
For example, you can run LXC containers on it. And it comes with 2GB of ram, more than enough for a router.

https://www.turris.com/en/omnia/overview/

1) get LXC installed

Create a Debian-Buster container:

Mind, it has to be Buster!

2) enter the container

lxc-attach -n “peercoin”

Now simply follow the guide and install peercoind from the deb-repo:

After it’s done just run peercoind:

peercoind -daemon

image

Have fun!

4 Likes

Just a small update on resource consumption:

lxc-info -n peercoin
Name:           peercoin
State:          RUNNING
PID:            21218
CPU use:        21.72 seconds
Memory use:     255.02 MiB
KMem use:       2.53 MiB
Link:           vethCXWRD5
 TX bytes:      101.87 KiB
 RX bytes:      432.95 KiB
 Total bytes:   534.82 KiB

Basically negligible.

1 Like

Hi Peerchemist,
Thanks for this tutorial. I’m not sure I understood the role of peercoind.
Is it just a demon that is able to connect to the peercoin network and download the blockchain from peers and perhaps answer to queries about the blocks ? or is it a way to have a permanent presence on the network to validate transactions , minting, receive payment , … ? can we use it the daemon in front of the wallet application ?

Hello and welcome.

You kinda got it already.

It is a full blown client for the network. It validates blocks, transactions, talks to other peers, …, all the usual. Given some Peercoins it can also participate in the proof of stake consensus and produce new blocks.

Well it is a wallet. One can send coins to it and have it participate in proof of stake consensus and also send coins and recieve coins.

AFAIK there are no clients which would connect to a daemon via RPC and present something graphical to the user, but such a tool can’t be too hard to make.

2 Likes