Bitcoin is so vast that I often wonder if I can truly understand it. I get that a lot of people are drawn to it mainly for the profits, and honestly, I want that too. But I feel it’s important to dig deeper into how it works and its technology. That's why I’ve started exploring this side of things. It’s kind of fascinating to me, and I want to clear up any misconceptions I might have had over the years while also looking into Bitcoin investments.
I hope you guys don’t mind if I mess up some terms or concepts, but I’ve found myself really confused reading through this forum. The more I read, the more complicated it feels, and I can’t seem to find clear definitions. Maybe that’s just my lack of experience talking.
One term that keeps popping up is NODE. If you look around, you’ll see it mentioned a lot. I tried to look it up online, and it says that a NODE is basically a physical device like a computer that helps confirm and store Bitcoin data. So, does that mean any computer that’s involved in confirming and storing Bitcoin is considered a node?
If that’s the case, how do you connect your personal computer to a complex system like the blockchain network? Can anyone run a node and handle confirmation tasks with just one computer?
Understanding Nodes and How to Run One
19 replies 318 views
HyperRavenFull Member
Posts: 175 · Reputation: 633
#2May 26, 2023, 11:16 PM
Nodes don't confirm transactions, but miners do. They do so by including transactions in blocks and inserting into the blockchain thereafter.
You'd most likely find the term nodes when talking about Bitcoin full nodes. Full nodes are those that validates every single block and transactions before relaying it to their peers. Hence, it is called a node because it is supposed to connect to other full nodes, and optionally allow other nodes to connect to it. Anyone can run a node, you just need to run Bitcoin Core.
Not confirmation (as in adding transaction into a block), but rather verification of all blocks and transactions. And while node usually store all Bitcoin data, it's possible to only store recent blocks.
As reminder, Bitcoin Core isn't the only Bitcoin full node software out there. Although Bitcoin Core is most popular ones while using computational resource efficiently.
You can find system requirements for running a full node here
You will also find instructions on how to downloAd the proper software (Bitcoin core) and how to setup.
https://bitcoin.org/en/full-node#special-cases
People above said it all, but I want to make things even simpler.
A node is device that runs bitcoin software. Bitcoin is a piece of software.
If you are absolutely new to the concept and have no idea at all, you can follow this link: https://bitcoincore.org/en/download/ and download Bitcoin Core.
It will take some time (some days) to sync and then you will be running a node. It's simple as that.
Once the node runs a pending tnx,the miners complete the hash and a nonce session using their minning hardwares for the process to open a new block which is collected by the node to store the hashed contents and other datas does forming a blockchain and this is because previous hash from previous blocks are included in the new blocks successively to prevent any form of tampering .
Therefore the nodes collects hashed to store as a form of blockchain, anyone can run a node it's free to run.
Once the validation is done, each node runned by each users gets a copy of the block and if another is validated you get another block forming blocks of transactions on a blockchain.
Miners are sometimes confused for nodes and yes they are nodes but a human node (a type of full node) ,which take part in the validation process just as the node does
You don't necessarily need to run a Bitcoin node to understand how Bitcoin works. It's a piece of software that runs on your computer and talks to other similar pieces of software over the internet. There's not terribly much to see when such a node is doing its "thing".
Work through beginner and technical pages at https://learnmeabitcoin.com and you'll learn more about Bitcoin, what nodes do and how "Bitcoin works" than running a node yourself with little prior Bitcoin knowledge.
Do I run a node? Yes, and for particular purposes I run more than a single Bitcoin node. The very main reason why I run at least one full non-pruning Bitcoin node and an Electrum server is that I don't want to have my Electrum or Sparrow wallet(s) communicate with foreign Electrum servers. I prefer that my wallet software only talks to my own blockchain data providers. No other foreign computer needs to know details about my wallet's addresses and their history. I value privacy and pay the price for it (running my own node and Electrum server). All I need is a Raspi 4B and a 1TB SSD to run my Bitcoin Core node.
Oh it isnt confirmation but validation. While confirmation is subject to miners, validation has got to do with anyone running nodes. Okay, I get that although, I cant help it but notice a lot of similarity in these words confirmation and validation. Ive had to check them up while,
Confirmation talks about having to confirm that there is something and with respect to the context of discussion, Ill say confirming that there is a Bitcoin transaction been sent
is that it?
Does this have to do with arranging it in blocks too?
Validation on the other hand talks more about, having to approve or making something official and in this case, I understand it to be, making the blocks a legal document by storing the confirmed blocked transactions
(hope am getting this right though).
Well, this talks about having to download, install, set up and have it running on your system which seems rather simple to archive but, after reading through this:
It doesnt seem like a very simple thing to do with the systems to breakdown as per data limits, upload limits, means to wallet protection and many other instructions or requirements that needs to be followed. I get it that it aint something that would be grasped all at once and it is something that wouldnt be all understood from a theoretical approach but, I really hope to be grounded enough to take up the task should I wish to.
The article provided didnt talk more on what could result as per breakdowns in terms of the disruption of the data upload by limits of due to the network providers.
What effect could this have on me and on the network if any?
paul.stakeHero Member
Posts: 651 · Reputation: 3798
#9May 30, 2023, 04:24 PM
Read this:
- In validation, you validate the authenticity. If someone tries to counterfeit bitcoins, for instance by spending non-existent inputs, the Bitcoin software will treat this as invalid.
- In confirmation, you confirm that it's been included in the chain with the most work. Mining is what increases the confirmation of a transaction.
Can you give us an example of a breakdown that would disrupt the network?
I just did a quick read at what you already provided but am sure to take a second and more calm look at I later though, I can say it seems to be worth the read and clears things up a bit, having to read on the Consensus rule (softfork and hardfork) as highlighted in your quote response, its good you did bring this up to my notice, thanks.
About this,
The article as provided by Bitmover (https://bitcoin.org/en/full-node#special-cases) which i did quote in my early response talked about problems that could occur in terms of running a full node and some of those was,
Bandwidth limit: this had to do with having a defined limit for your bitcoin core and might be over run at times due to excessive usage and when your service provider or internet plan doesnt support, it could result in a sudden halt or disruption. The article also talked about,
Attack targets: where Bitcoin core users are being attacked with an intention to disrupt the network as Bitcoin core powers Peer to peer services which would in a way limit bandwidth limits.
paul.stakeHero Member
Posts: 651 · Reputation: 3798
#11Jun 1, 2023, 04:49 AM
Usually, Internet providers don't enforce bandwidth limits that influence the operation of such a non-expensive protocol. There are protocols like BitTorrent that work flawlessly, and with much greater bandwidth. These policies vary based on region and specific providers; it has never been a problem for the Bitcoin network as far as I'm concerned. You can also choose to not accept incoming connections (which is the default) and reduce your total bandwidth by a lot.
There are over 50,000 nodes as we speak, 20%+ of them operating under a hidden service. I very much doubt you can effectively disrupt the network in that way.
Bitcoin Core have maxuploadtarget to limit upload size every 24 hours. As for download, there's upper limit following maximum block size which can be used to estimated total download size.
Bitcoin Core (which have feature to ban misbehaving peers) and firewall (to prevent DDoS and close most network port) should mitigate such attack.
Responses so far gives the idea that nothing could really go wrong and any possible flaw that could have result have been prepared or mitigated for. Hence, an attack through the exploitation of limits by sending several requests to initiate a Distributed Distribution of Service isnt possible, I get that.
Its a perfect system after all, that seems to be the case!
What i actually imply is such attack is very unlikely to succeed. And FYI, there's no thing such as perfect system or perfect security.
Does this have to do with the consensus rule, in the sense that, its very unlikely to succeed given that the majority is still with the lot of users running nodes and as such, an attacker cant hope to override everyone and have a majority consensus on there side.
Mainly, you cannot possibly hope to spawn the thousands of servers required to carry out such an attack without spending millions of dollars on hosting costs first.
I guess if someone wanted to, they could try that. But Bitcoin Core has a built-in feature to ban peers as ABCbits just said, so it's highly likely that someone will be able to find most of the attacker's IP addresses and make a script that bans them all and upload it to the internet for other people to use.
Not related with consensus rule, i was talking about attack which disrupt network connectivity. But if someone want to change consensus rule of running node, they need to take control over the server first and replace the full node software.
Or they could pay someone to find vulnerability on either Bitcoin Core or certain firewall about performing network attack without getting banned.
HyperCipherFull Member
Posts: 220 · Reputation: 780
#18Jun 5, 2023, 08:43 AM
Plus one of the main strengths of the system is, although OP's concern that a disruption of the network is probable, the nodes could always connect back to the network and sync to the current state of the blockchain, then continue like the disruption didn't happen.
HyperRavenFull Member
Posts: 175 · Reputation: 633
#19Jun 5, 2023, 09:39 AM
Actually firewalls doesn't stop DDoS, or at least to the extent that you think it does. ISPs and server providers are more keen to blackhole your traffic than to deal with the traffic.
Consensus rules isn't defined by the proportion of the nodes. Each node would have the set of consensus rules to follow, and you can't change the rules by spawning a whole bunch of nodes enforcing another rule. It'll just be labelled as misbehaving and they would have their own fork.
HyperCipherFull Member
Posts: 220 · Reputation: 780
#20Jun 5, 2023, 11:15 AM
And the difference between that, and BIP-148 as proposed by shaolinfry, is that it has no upgrade - Segwit- that the majority of the community wanted to be activated. The "fork" would just be ignored by both the miners and the economic majority. Exchanges today won't waste precious resources to list the forked shitcoin.
?Reply
Sign in to reply to this topic
Related topics
- Understanding the Difference Between Traditional and Simplified Chinese Mnemonic Words 6
- Understanding square and cube roots in secp224k1 6
- What's up with nodes keeping high relay fees? 16
- Bitcoin Core displaying coins (UTXOs) in a new tab 13
- Are you in favor of BIP-110? Let's get a Bitcoin poll going. 0
- Erlay seems to have some issues here’s a better proposal for a bitcoin protocol without invites 3