Bitcoin Forum

Bitcoin => Bitcoin Discussion => Topic started by: bkelly13 on October 29, 2023, 05:28:08 PM



Title: Should I, we, run a bitcoin node?
Post by: bkelly13 on October 29, 2023, 05:28:08 PM
A few days ago I found an article that stated the number of bitcoin node has dropped from some high value, something like 40,000 nodes (but I did not take careful note), down to something like 10,000 nodes.  Then again, this site:  Bitcoin network node count sets new all-time high (cointelegraph.com), dated JUL 15, 2021,  states that for the first time the node count has exceeded 13,000.  Maybe that 40,000 count was something I misread.

Side thought, found this site:  Tor-enabled Bitcoin nodes are back after bug on network (cointelegraph.com) that mentioned as many as 25% of the Bitcoin nodes run on TOR.  
Why use TOR for a Bitcoin node?

Back to the main topic.

I have a basic, only very basic, concept of the need to run a node.  This includes the need to make the entire Bitcoin system resilient and prevent a 51% attack.  That attack would be rather difficult to do right now, but if the node count drops, might become a problem.

This site presents some advantages of running a full note:  Why should I run a bitcoin node? — 7 reasons - Unchained
https://unchained.com/blog/why-run-bitcoin-node/#:~:text=7%20reasons%20to%20run%20your%20own%20bitcoin%20node,...%207%207.%20Increase%20your%20bitcoin%20knowledge%20

Edit, when first posted, the link did not work out well.  Just edited to add that link and test it.

But there are no direct advantages.  No minor amount of Satoshis seem gained, meaning no financial gain.  The disadvantage is the cost of the computer and storage space, and the cost of electricity and cost to cool my house.

Still, I am considering it.  The tentative plan is to buy a five year old (about) computer, install about 8 or 16 Gig of memory, Maybe a Terra byte drive for the OS and the node code, then a raid of SSD Terra byte drives for the block chain.  (I presume the block chain changes little so SSDs will last quite a while and use less power.  Make it a RAID-5 (not positive) in the event that when one drive fails it can easily be replaced with no loss of data.)  This will not be my daily use computer and will be dedicated to the node.

To the question:  Have you considered running a Bitcoin node?  Why did you or why did you not start a node?  If you are running a node, private or working for a company, have you any important thoughts to share?


Title: Re: Should I, we, run a bitcoin node?
Post by: Findingnemo on October 29, 2023, 05:54:30 PM
 
Why use TOR for a Bitcoin node?

For enhanced privacy, when you are connected to other nodes your IP will be exposed which can be a threat to your privacy.

But there are no direct advantages.  No minor amount of Satoshis seem gained, meaning no financial gain.  The disadvantage is the cost of the computer and storage space, and the cost of electricity and cost to cool my house.

There is no financial gain but you can't say there is no direct advantage while running your own node, cause you don't need to rely to 3rd party to validate your transaction. Also when you run your own node the privacy of the address and transaction history seems to be more valuable than few sats.

prevent a 51% attack.

AFAIK, nodes have no role in the 51% attack, and it's completely related to the hash rates of miners which confimrs the transactions but nodes have the ability to validate which makes high decentralized when the number of running nodes is higher.


Title: Re: Should I, we, run a bitcoin node?
Post by: bkelly13 on October 29, 2023, 05:57:18 PM
...
There is no financial gain but you can't say there is no direct advantage while running your own node, cause you don't need to rely to 3rd party to validate your transaction. Also when you run your own node the privacy of the address and transaction history seems to be more valuable than few sats.

I don't understand something here.  When I use an exchange, such as Coinbase, they do all the work. Or at least get it started. When I use a wallet, such as Trezor, the request is submitted to the Bitcoin network and some number of the Bitcoin nodes validate the transaction.  In the response you wrote, I get the hint that I might need to do something more to validate the transaction.  Please explain a bit more.


Title: Re: Should I, we, run a bitcoin node?
Post by: Zaguru12 on October 29, 2023, 06:27:14 PM
I don't understand something here.  When I use an exchange, such as Coinbase, they do all the work. Or at least get it started. When I use a wallet, such as Trezor, the request is submitted to the Bitcoin network and some number of the Bitcoin nodes validate the transaction.  In the response you wrote, I get the hint that I might need to do something more to validate the transaction.  Please explain a bit more.


What he meant was that those wallet or exchange that you use to broadcast your transactions rely on third party nodes to validate your transactions and this will hinder your privacy because your IP address can get exposed, there by exposing your physical location. With your personal node you wouldn’t also rely on block explorers to verify the status of your transaction, because with your personal node you have the entire blockchain stored except if it is a pruned node and not a full node


Title: Re: Should I, we, run a bitcoin node?
Post by: stompix on October 29, 2023, 06:41:00 PM
I have a basic, only very basic, concept of the need to run a node.  This includes the need to make the entire Bitcoin system resilient and prevent a 51% attack.  That attack would be rather difficult to do right now, but if the node count drops, might become a problem.

The 51% attack refers to hashrate!
You can have 100 000 nodes and the attacker only one, if he has more rate than the rest of the network he can attack it.
What multiple nodes can prevent is a sybil attack (https://en.bitcoin.it/wiki/Weaknesses#Sybil_attack).

But there are no direct advantages.  No minor amount of Satoshis seem gained, meaning no financial gain.  The disadvantage is the cost of the computer and storage space, and the cost of electricity and cost to cool my house.

There are no direct financial advantages! A slight difference to no advantage at all, which weirdly enough are listed on that article you linked.
Also, cooling your house from running a node? Common!  ::)


Title: Re: Should I, we, run a bitcoin node?
Post by: FatFork on October 29, 2023, 09:03:04 PM
<cut>
The disadvantage is the cost of the computer and storage space, and the cost of electricity and cost to cool my house.

You can run Bitcoin node even on a Raspberry Pi or similar computer hardware. The power consumption of a Raspberry Pi is approximately 4W, which is on par with a standard home Internet router. And no, there's no need for special cooling in your home because of such a device.


Title: Re: Should I, we, run a bitcoin node?
Post by: bkelly13 on October 30, 2023, 04:15:09 AM
Ok, I was a bit overboard on the power and cooling.  On the other hand, a Raspberry Pi cannot run a full node with the entire block chain.  But no reader has admitted to running a node.  I would really like to hear thoughts and comments from someone running a full node.


Title: Re: Should I, we, run a bitcoin node?
Post by: FatFork on October 30, 2023, 07:48:52 AM
Ok, I was a bit overboard on the power and cooling.  On the other hand, a Raspberry Pi cannot run a full node with the entire block chain. 

Why would you think that? Of course it can. But if you want to run a Bitcoin node even cheaper, you can check out this guide.
[Guide] How to run a Bitcoin Core full node for under 50 bucks! (https://bitcointalk.org/index.php?topic=5364742.0)

But no reader has admitted to running a node.  I would really like to hear thoughts and comments from someone running a full node.

I admit, I've been running a Bitcoin Core full node for well over a year now.  ;)


Title: Re: Should I, we, run a bitcoin node?
Post by: apogio on October 30, 2023, 09:17:08 AM
On the other hand, a Raspberry Pi cannot run a full node with the entire block chain.

An RPi can definetely run a full node. You only need to add an SSD to store the blockchain.

To the question:  Have you considered running a Bitcoin node?  Why did you or why did you not start a node?  If you are running a node, private or working for a company, have you any important thoughts to share?

I am running 2 bitcoin full nodes:

1. I run umbrel on a raspberry pi 4 model B with 8 GB Ram. I connect to it via TOR, which umbrel makes very easy.
2. I run a custom node on another device. When I say custom, I mean I installed Bitcoin Core and ElectrS and I install manually anything I want to add to it. I have set TOR, so I connect to it via TOR.

You should be running a node for privacy. You will never be private if every interaction you have with the Bitcoin network happens through another person's electrum server.

You should be running a node to help the network too. One more node setting the rules of the network and have a clear picture of the blockchain is a good thing.


Title: Re: Should I, we, run a bitcoin node?
Post by: Accardo on October 30, 2023, 12:28:22 PM
...
There is no financial gain but you can't say there is no direct advantage while running your own node, cause you don't need to rely to 3rd party to validate your transaction. Also when you run your own node the privacy of the address and transaction history seems to be more valuable than few sats.

I don't understand something here.  When I use an exchange, such as Coinbase, they do all the work. Or at least get it started. When I use a wallet, such as Trezor, the request is submitted to the Bitcoin network and some number of the Bitcoin nodes validate the transaction.  In the response you wrote, I get the hint that I might need to do something more to validate the transaction.  Please explain a bit more.

Bitcoin nodes play vital roles in the verification of transactions in bitcoin network. Verifying and adhering to the consensus rules set aside to guide transactions and blocks is the main or primary duty of a bitcoin node. In line with what he said, your node will participate in going through all transactions and block to determine if they'll be accepted to join the block with the most chain work; honest block. You're not required any task. It's left for miners to add new transactions to the blockchain. While the node verify if the transactions are eligible to be included to the block; before agreeing to add them in the blockchain. Nodes follow the block with the most work, which creates a possibility for 51% attack. But, it's almost impossible for a single individual or institution to possess a computing power that is more than all the computers used by miners across the globe, that can validate a block's difficulty; the number of hash-rate required to mine a block. Even possessing 39% of the computing power can perform a 51% attack thereby enforcing double spending. When a node sees such a block from a suspicious miner it'll involuntarily accept it to the block as the block with the most work and the miner can take the advantage of reversing his funds or double spend.


Title: Re: Should I, we, run a bitcoin node?
Post by: Catenaccio on October 31, 2023, 02:04:49 AM
Running a Bitcoin full node will help you to secure your privacy and anonymity. By using Tor to hide your IP address, don't rely on other nodes to broadcast your transactions and I am sure with a wallet software that can be used to run a Bitcoin full node, you can use Coin control feature so that you can have anonymity too.

[Guide] How to run a Bitcoin Core full node for under 50 bucks! (https://bitcointalk.org/index.php?topic=5364742.0)


Title: Re: Should I, we, run a bitcoin node?
Post by: franky1 on October 31, 2023, 06:48:09 AM
...
There is no financial gain but you can't say there is no direct advantage while running your own node, cause you don't need to rely to 3rd party to validate your transaction. Also when you run your own node the privacy of the address and transaction history seems to be more valuable than few sats.

I don't understand something here.  When I use an exchange, such as Coinbase, they do all the work. Or at least get it started. When I use a wallet, such as Trezor, the request is submitted to the Bitcoin network and some number of the Bitcoin nodes validate the transaction.  In the response you wrote, I get the hint that I might need to do something more to validate the transaction.  Please explain a bit more.

when you log into coinbase. you are not logging into any network. you are viewing coinbase website data. which they can remove your access to or manipulate the data or be hacked. yep the balance you see in coinbase is not of soe locked coins with your name on.. the coins you deposited into coinbase get co-mingled with other customers and become coinbases assets in their cold wallet. none of the coins in their cold wallet have your name on it. #not-your-key-not-your-coin

by you having coin on a key which only you have the privat/secret/seed to control signing movements of. you control the funds. and then to ensure no one can edit a database/ledger of who has what. having access to the decentralised immutable blockchain means you are sure the data is clean and shows you own the funds

running a node removes the middleman. you can inspect the data, analyse the data without concern that someone is telling you lies
knowing you can independently see transactions destined to you arrive is more confident then relying on a third party that makes mistakes, gets hacked, cheats, lies, or simply ignores or disavows access


Title: Re: Should I, we, run a bitcoin node?
Post by: NotATether on October 31, 2023, 07:13:04 AM
...
There is no financial gain but you can't say there is no direct advantage while running your own node, cause you don't need to rely to 3rd party to validate your transaction. Also when you run your own node the privacy of the address and transaction history seems to be more valuable than few sats.

I don't understand something here.  When I use an exchange, such as Coinbase, they do all the work. Or at least get it started. When I use a wallet, such as Trezor, the request is submitted to the Bitcoin network and some number of the Bitcoin nodes validate the transaction.  In the response you wrote, I get the hint that I might need to do something more to validate the transaction.  Please explain a bit more.

Transactions are automatically validated by the node without you having to do anything. Invalid transactions are rejected and dropped - these will not get confirmed.

The wallet software is responsible for making sure that the transactions which it broadcasts to the network are made in the correct format so that they are valid.


Title: Re: Should I, we, run a bitcoin node?
Post by: Yamane_Keto on October 31, 2023, 09:59:11 AM
In some regions of the world, the option of running a full node is not possible due to the slowness of the Internet, as downloading the blockchain may take several weeks. Here, these people must use SPV wallets, or at least trust a trusted person who manages a full node with a connection via Tor.
If you have the option to manage an entire node, you should do so, not to enhance privacy, but to decentralize the network.


You don't need 1TB SSD for OS and code/software. Although these days SSD with 1/2 or 1 TB capacity have good price/capacity ratio than SSD with lower capacity.
I don't think storage will be a problem as the cost of TB/USD is falling every year and Moore's Law says it will fall even further.



Title: Re: Should I, we, run a bitcoin node?
Post by: Plaguedeath on October 31, 2023, 02:37:00 PM
If you want to make money from Bitcoin, you need to become a miner where you have to buy ASICs instead of run a full node. Running a full node make Bitcoin become more decentralized because it's add a new participant which is you, but it's not mean without you Bitcoin will become centralized.

The effect is almost zero for you, you don't have to run a full node to invest or hold Bitcoin.


Title: Re: Should I, we, run a bitcoin node?
Post by: bkelly13 on October 31, 2023, 09:19:04 PM
Presume we are running a full node under some version of Linux. Let's say 2 to 3 Ghz clock rate, 16 Gig of memory, and nothing running but the Bitcoin full node software.  About how much will the CPU be utilized?  Will it be fairly steady?  Or I suspect with significant peaks for each block that is validated and stored? 

I mostly use Windows, but, am quite certain that Linux is much better at this task.

If you are running a full node, please advise as to some of your system specifications.

After the full blockchain has been gathered and stored, what is the average and peak network bandwidth?

Thank you for your time and patience.


Title: Re: Should I, we, run a bitcoin node?
Post by: pixie85 on October 31, 2023, 10:18:24 PM
There are node kits available if you want to try with ease. Basically plug and play stuff that guide you step by step through the process.

A node can be an interesting thing to do when you don't have enough money to mine bitcoin but want to be able to say that you actively support the network.

A PI node with a small LCD screen is an interesting decoration and a conversation starter when someone visits you.

There are no direct financial advantages! A slight difference to no advantage at all, which weirdly enough are listed on that article you linked.
Also, cooling your house from running a node? Common!  ::)

There's some money involved if you run a lightning node, but this requires owning bitcoin, so I doubt that's what OP is asking about and what he's able to do at the moment.


Title: Re: Should I, we, run a bitcoin node?
Post by: Z-tight on October 31, 2023, 10:43:28 PM
However, it may not be financially rewarding in the short term, and you should be prepared for ongoing maintenance and costs.
It is not financially rewarding in both the short and long term, running a BTC node isn't for financial reward, it is for a better privacy and security, because you verify everything locally and you don't have to connect to third party servers.
If you want to make money from Bitcoin, you need to become a miner where you have to buy ASICs instead of run a full node.
As a miner, you must run a full node.
The effect is almost zero for you, you don't have to run a full node to invest or hold Bitcoin.
You don't have to run a full node to buy BTC, but if you want better privacy and you don't want to expose your BTC addresses and IP addresses to third parties, you have to run your own node.


Title: Re: Should I, we, run a bitcoin node?
Post by: OgNasty on October 31, 2023, 10:54:59 PM
There was a time when running a node was important, but I don’t think that time is here anymore. Unless you’re running some sort of mining pool or accepting BTC through some sort of automated storefront it doesn’t make a ton of sense to do. It’s more a waste of resources than anything and will likely have a negative effect on your hardware.


Title: Re: Should I, we, run a bitcoin node?
Post by: paid2 on October 31, 2023, 11:10:49 PM
There was a time when running a node was important, but I don’t think that time is here anymore. Unless you’re running some sort of mining pool or accepting BTC through some sort of automated storefront it doesn’t make a ton of sense to do. It’s more a waste of resources than anything and will likely have a negative effect on your hardware.

It's interesting, it's not common to read this opinion.  Can you please explain why it should be less important today than in the past?  Do you mean that there are already enough nodes today?

Ideally, shouldn't there be one per user, or as many as possible?


Title: Re: Should I, we, run a bitcoin node?
Post by: Pocketchange on October 31, 2023, 11:24:36 PM
Not your node- not your confirmation.  ;)

I feel like I have learned a lot from running a node. 



Title: Re: Should I, we, run a bitcoin node?
Post by: bkelly13 on November 01, 2023, 01:55:01 AM
There's some money involved if you run a lightning node, but this requires owning bitcoin, so I doubt that's what OP is asking about and what he's able to do at the moment.

How much BTC is needed to run a lightning node?  Is that BTC tied up with the node?  Is it put at a risk?

And on that risk note, answers in this thread indicate that my transactions are more secure if I have my own full node.  Looking in the other direction, my transactions are at more risk when I do not have my own node.  Just how much more risk is there?

If I am running a wallet such as Trezor, and I send or receive some BTC, how much risk am I exposed to?

I suspect that if I am using Coinbase, and put in a buy or sell for BTC, the only risk is that the dollar cost of BTC changes while the transaction is being consummated.  Is there another risk I am not aware of?



Title: Re: Should I, we, run a bitcoin node?
Post by: franky1 on November 01, 2023, 02:42:38 AM
How much BTC is needed to run a lightning node?  Is that BTC tied up with the node?  Is it put at a risk?

that silly network requires you to lock funds up, predicting your spending habit of more then a month. some suggest atleast 10 payments of value as the minimum utility to be worth the effort of getting a good fee per payment vs the open close fee cost

the next thing is they say to guarantee a path to destination, depending on how big the amounts you want to move, dictates how successful a payment will be.. so you should have upto 4+ channel(accounts) meaning 4x the expected spend for that time scale if your spending big.
 
the next thing is they want you to allocate some of your funds to route other people payments. meaning you dont get to use all your funds so again you need to 2x the value of each channel if you want to offer 50% of liquidity to the routing network

many people find they on average lock up $160 of value. but only able to successfully make payments 100% attempts for values under $16 per payment
EG $16 * 10payments *1 channels= $160 (allocate 50% to other users routed payments =$320)

if you are looking to make more then $16 a payment and do more then 10 payments before closing the channel then you may need to to lock up and split up more then the multiplier of total liquidity by having more channels to ensure better success attempts when making payments.

EG 2 channels if payments are ~$75 and if doing 20 payments per open-close session
$75 * 20payments *2 channels= $3000 (allocate 50% to other users routed payments =$6000)


the silly network is not simple have funds spend funds


Title: Re: Should I, we, run a bitcoin node?
Post by: Sarah Azhari on November 01, 2023, 03:22:38 AM
To the question:  Have you considered running a Bitcoin node?  Why did you or why did you not start a node?  If you are running a node, private or working for a company, have you any important thoughts to share?
I don't run a Bitcoin node yet, because I don't have a stable internet network in my local town. But, I installed Bitcoin core wallet which always running on my PC to download the blockchain daily and the wallet always ran automatically when my PC started, so never forget to update block. Beside unstable internet, I also have difficult to setting network configurations, I always don’t have inbound connections. Maybe I have a problem and have wrong step to setting internet modem (router), and Configuring DHCP. I always read The instruction (https://bitcoin.org/en/full-node#port-forwarding) several times. But the connection never connected so far.


Title: Re: Should I, we, run a bitcoin node?
Post by: Poker Player on November 01, 2023, 05:19:39 AM
There was a time when running a node was important, but I don’t think that time is here anymore. Unless you’re running some sort of mining pool or accepting BTC through some sort of automated storefront it doesn’t make a ton of sense to do. It’s more a waste of resources than anything and will likely have a negative effect on your hardware.

It's interesting, it's not common to read this opinion.  Can you please explain why it should be less important today than in the past?  Do you mean that there are already enough nodes today?

Ideally, shouldn't there be one per user, or as many as possible?

I too would be interested in a more detailed explanation of that opinion, although I am sure it will be controversial because I think most of the forum will disagree. For privacy, for example, I think it is a good reason to run a node, as mentioned. Also, as for the node network, in principle, it seems that the more the better, no?


Title: Re: Should I, we, run a bitcoin node?
Post by: Hispo on November 01, 2023, 10:57:47 AM

The effect is almost zero for you, you don't have to run a full node to invest or hold Bitcoin.


There is an effect, if we consider where the person who is running the node lives and the associated costs to running a node: internet, electricity and the price of the hardware. Here in my country one would not be able to run a full node and keep it on, withiut having to pay for a descent internet connection (which is expensive to anyone here) However, because of the altruistic nature of running a node, so the network can be more decentralized, I would dare to say it is one of the most reliable ways to know someone is a true Bitcoiner which loves this community truly by heart.
I hope to be able to run my own node someday, eventually, at least for a couple of years.  :)


Title: Re: Should I, we, run a bitcoin node?
Post by: hd49728 on November 01, 2023, 01:09:52 PM
Not your node- not your confirmation.  ;)

I feel like I have learned a lot from running a node. 
As a Bitcoin node, you don't make confirmations. You do not have a power to do this but who can do it?

Bitcoin miners mine blocks, make confirmation for Bitcoin transactions and deliver those transactions to Bitcoin network. Bitcoin node validate those transactions and if valid, the node will propagate those transactions to other nodes on Bitcoin network.


Title: Re: Should I, we, run a bitcoin node?
Post by: pixie85 on November 01, 2023, 08:29:50 PM
There's some money involved if you run a lightning node, but this requires owning bitcoin, so I doubt that's what OP is asking about and what he's able to do at the moment.

How much BTC is needed to run a lightning node?  Is that BTC tied up with the node?  Is it put at a risk?

Depends. The lowest amount to start a channel is the transaction fee + amount of coins you want to put in the channel. The less you put there the less transactions you will process.
Nodes are chosen based on capacity and they have their own rank. If you want your node to have high rank you need a lot of capacity. I don't run my own so I'm only telling you what I know about it, not from experience.

I saw a few people share their experience and usually if they had between 1 and 2 bitcoin locked in the network they were able to earn $10-20 a month from it. 

BTC is tied to the node but it's not at risk.


Quote
And on that risk note, answers in this thread indicate that my transactions are more secure if I have my own full node.  
Yes. You can route your transactions through your own node.
Quote
Looking in the other direction, my transactions are at more risk when I do not have my own node.  Just how much more risk is there?

I'd say very little. Node proponents tell you to run it because it contributes to the network. The more nodes the more robust the network becomes and if you have a lot of bitcoin you want the network to work well. For someone with 10m dollars in bitcoin, spending $500 on a plug and play bitcoin node is dust.

Quote
If I am running a wallet such as Trezor, and I send or receive some BTC, how much risk am I exposed to?

If your system is not infected and you don't make any mistakes like send it to a wrong address or set the fee too high, you're not at risk. I've sent hundreds of transactions in the last 6 or 7 years and none of them was blocked, hijacked or lost.

Quote
I suspect that if I am using Coinbase, and put in a buy or sell for BTC, the only risk is that the dollar cost of BTC changes while the transaction is being consummated.  Is there another risk I am not aware of?

Yes, but if you're paying for something and that transaction is sent, it's over. Payment processors send information to the store and it's the same with ATMs. If you exchanged bitcoin at 30000 dollars and by the time it confirmed the price was 29500, they won't cancel it or send the money back to you.