1

Let's say I am a node and I am connected to 7 other nodes.

4 of those nodes transmit me a tx or a block and say it's valid.

(I am aware they do not explicitly send a message saying that something they sent is valid or not they would not send it in the first place.)

So will my node accept the block/tx as most of the nodes I am connected to agree that this "x" tx or block is valid?

2 Answers 2

6

No, every node validates transactions and blocks independently according to a shared ruleset. It doesn't matter if someone creates a hundred nodes to connect to you and send you invalid transactions and blocks, your node will simply reject them and in most cases disconnect from those nodes.

2
  • Thank you so much! Was just a bit confused after reading the full white paper. Thanks again! Feb 5 at 9:18
  • 1
    In practice the ruleset may be shared, but more importantly, your node evaluates the data according to the local ruleset of the software that you chose to install!
    – Murch
    Feb 6 at 21:49
2

I think it is worth reading the short "white paper" by the inventor of Bitcoin in 2008. They said their objective was to create a system where one person could pay a second person without any trusted third parties.

Bitcoin does not require you to trust anyone in the Bitcoin network. You only have to trust that the second party, the recipient of the money, will deliver the goods or services you are paying for.

As Vojtěch Strnad wrote, all wallets verify all the data that can be verified. The network protocols etc are designed to make that possible.

1
  • Yes I had read the white paper. I was just a bit confused tho I was expecting this answer all along. Thanks! Feb 5 at 9:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.