Author

Topic: Lightweight bitcoin relay node, how to setup. Does the network need it anyway? (Read 1312 times)

legendary
Activity: 1022
Merit: 1008
Delusional crypto obsessionist
With this you mean a relay node without blockchain, right? (sorry for my noobness)
It's fine, yes. I mean a relay without a blockchain at all.  I think I misread your post as saying you had 1GB storage, but I'm guessing now that you have 1GB ram.

That's right, I was not clear about that. I have 1GB DDR3 Ram and everything else is running from a 8GB micro SD card, although 1,5 GB is used.

Quote
Soon-ish (probably in 0.11) we'll support running pruned nodes which could fully verify things but won't need the whole blockchain. They'll still require a couple gigs of storage and that amount will grow (but much slower, unless things that spam the utxo set become popular)... which might fit better on a small device like that, though it would be useful it wouldn't be as useful as something with the whole history.

Sounds great! Smiley Just what I need.

Quote
Quote
So I can better attach a USB HDD and run a full node.
That you could do. Though right now you'll need, say, 60 gigs of storage though better if you have more since you'd be able to keep serving old blocks long into the future.  (Actual usage is more like 32GB at the moment, but since it can grow at a rate of about 25-50GB/yr, it's best to have plenty of headroom if you're going to store a full chain.
Yes, I'm aware of the blockchain size. Since I wanted to have a low power server for 24/7 tasks I was very happy I received one of those MK802 devices from a collegue of mine (came from an obsolete project, smart lighting).

Quote
USB flash sticks often wear out quickly when there are many writes, so you'd want an actual SSD or spinning hard drive. On newegg it looks like one can get a 500GB usb external drive for under $50.

I'm aware of the wear. I might hook up some old hardware I have laying around but I rather keep this device low profile without all the extras.
After receiving some exorbitant donations for my TOR node (oniontip) I might upgrade to a high end server.  Wink

Quote
Quote
Are full nodes still useful for the network? Also when running on a low end machine (but 15Mbps bandwidth)?
I only want to run the node when it's really useful, otherwise it doesn't make sense.
Absolutely. One thing that would be pretty useful is to run a hidden service bitcoin node,  we're rather short on HS nodes and you can use tor to limit the bandwidth. ("BandwidthRate" in torrc). The maximum long term average data rate for the blockchain is about 14kbit/sec. So even just a few megabits can do a lot to help keep more peers connected.

I was already looking into that, but was in doubt what was better.
Does the "normal" bitcoin network also use the hidden network? Or are they seperate.
Well, since they both need the same blockchain, they probably work together, right? Otherwise you would end up with two different coins. So at certain places the hidden network connects to the normal network.

If this is true I'm definitely going to run a hidden service and not a normal service when I upgrade to better hardware or when an MK802 is good enough for 0.11.

Thanks for the detailed answers.


staff
Activity: 4284
Merit: 8808
With this you mean a relay node without blockchain, right? (sorry for my noobness)
It's fine, yes. I mean a relay without a blockchain at all.  I think I misread your post as saying you had 1GB storage, but I'm guessing now that you have 1GB ram.

Soon-ish (probably in 0.11) we'll support running pruned nodes which could fully verify things but won't need the whole blockchain. They'll still require a couple gigs of storage and that amount will grow (but much slower, unless things that spam the utxo set become popular)... which might fit better on a small device like that, though it would be useful it wouldn't be as useful as something with the whole history.

Quote
So I can better attach a USB HDD and run a full node.
That you could do. Though right now you'll need, say, 60 gigs of storage though better if you have more since you'd be able to keep serving old blocks long into the future.  (Actual usage is more like 32GB at the moment, but since it can grow at a rate of about 25-50GB/yr, it's best to have plenty of headroom if you're going to store a full chain.

USB flash sticks often wear out quickly when there are many writes, so you'd want an actual SSD or spinning hard drive. On newegg it looks like one can get a 500GB usb external drive for under $50.

Quote
Are full nodes still useful for the network? Also when running on a low end machine (but 15Mbps bandwidth)?
I only want to run the node when it's really useful, otherwise it doesn't make sense.
Absolutely. One thing that would be pretty useful is to run a hidden service bitcoin node,  we're rather short on HS nodes and you can use tor to limit the bandwidth. ("BandwidthRate" in torrc).

The maximum long term average data rate for the blockchain is about 14kbit/sec. So even just a few megabits can do a lot to help keep more peers connected.
legendary
Activity: 1022
Merit: 1008
Delusional crypto obsessionist
A relay node that doesn't filter for validity is not very useful for Bitcoin

With this you mean a relay node without blockchain, right? (sorry for my noobness)
So I can better attach a USB HDD and run a full node.
Are full nodes still useful for the network? Also when running on a low end machine (but 15Mbps bandwidth)?

I only want to run the node when it's really useful, otherwise it doesn't make sense.

staff
Activity: 4284
Merit: 8808
A relay node that doesn't filter for validity is not very useful for Bitcoin (and can easily be caused to get banned by all its other peers) and at worst is an attack amplifier.

It's great that you want to support the network, but running another node on that host is probably not the best way that you can do so right now.
legendary
Activity: 1022
Merit: 1008
Delusional crypto obsessionist
Yesterday I set up a TOR relay server on a 1GB google tv arm stick running linaro.
Everything went fairly smooth but I see that I have some resources left for running something else.

I was thinking about running a bitcoin node but since I do not have enough space to store the blockchain I figured it could only be a relay node.
I have a few questions:

  • Does the network need another low power relay bitcoin node?
  • If yes,  how do I set up this on armhf? I'm a moderate noob on linux but I want to learn
  • Is there something like https://oniontip.com with running a bitcoin relay node? I would love to receive some satoshis for contributing to the network if possible, just for the fun of it.

edit:
In my search I found this website describing to set up a hidden bitcoin node
Since the machine already runs tor, wouldn't it be better to make the bitcoin node a hidden onion service as well?


Jump to: