Bitcoin Forum
May 02, 2024, 02:20:46 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: how Bitcoin Core software implement the consensus rules  (Read 101 times)
cafter (OP)
Full Member
***
Offline Offline

Activity: 448
Merit: 222



View Profile WWW
April 01, 2023, 10:58:18 AM
 #1

how Bitcoin Core software implement the consensus rules that define the valid format and structure of Bitcoin transactions,
and how does it ensure that all nodes in the network agree on the validity of each transaction through the process of transaction verification?
and this frustrating captcha ... Embarrassed Embarrassed Cry
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, which will follow the rules of the network no matter what miners do. Even if every miner decided to create 1000 bitcoins per block, full nodes would stick to the rules and reject those blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714616446
Hero Member
*
Offline Offline

Posts: 1714616446

View Profile Personal Message (Offline)

Ignore
1714616446
Reply with quote  #2

1714616446
Report to moderator
1714616446
Hero Member
*
Offline Offline

Posts: 1714616446

View Profile Personal Message (Offline)

Ignore
1714616446
Reply with quote  #2

1714616446
Report to moderator
1714616446
Hero Member
*
Offline Offline

Posts: 1714616446

View Profile Personal Message (Offline)

Ignore
1714616446
Reply with quote  #2

1714616446
Report to moderator
ertil
Jr. Member
*
Offline Offline

Activity: 31
Merit: 77


View Profile
April 01, 2023, 11:46:19 AM
 #2

Quote
and this frustrating captcha
Look into your calendar. Or this topic: https://bitcointalk.org/index.php?topic=5447077.0

Edit: Posted without solving captcha, it can be easily skipped if you want.

Quote
how Bitcoin Core software implement the consensus rules that define the valid format and structure of Bitcoin transactions,
There are many rules, you can download and read the code here: https://github.com/bitcoin/bitcoin/

Quote
and how does it ensure that all nodes in the network agree on the validity of each transaction through the process of transaction verification?
1. By checking Proof of Work of the whole chain. The strongest valid chain is the correct one.
2. The valid chain is determined by the code, as I mentioned, there are many rules, and each full node has to independently validate everything from the very beginning, to the latest block.
sha420hashcollision
Member
**
Offline Offline

Activity: 98
Merit: 26


View Profile WWW
April 01, 2023, 06:50:37 PM
 #3

how Bitcoin Core software implement the consensus rules that define the valid format and structure of Bitcoin transactions,
and how does it ensure that all nodes in the network agree on the validity of each transaction through the process of transaction verification?
and this frustrating captcha ... Embarrassed Embarrassed Cry

dont worry about captcha its april fools joke lol (https://bitcointalk.org/index.php?topic=5447077.0)
odolvlobo
Legendary
*
Offline Offline

Activity: 4298
Merit: 3214



View Profile
April 03, 2023, 12:24:19 AM
 #4

how Bitcoin Core software implement the consensus rules that define the valid format and structure of Bitcoin transactions,
and how does it ensure that all nodes in the network agree on the validity of each transaction through the process of transaction verification?

Each node validates the transactions and blocks that it receives. It rejects any that are not valid. The implementation is in the node's software.

A node does not ensure that all nodes agree. Consensus is not enforced, it is only followed.

If a node considers a block to be valid when other nodes consider it to be invalid, then the chain will diverge into two branches, and that is called a fork. Nodes that consider one branch to be valid will follow that branch, and nodes that consider the other branch to be valid will follow the other branch.

Join an anti-signature campaign: Click ignore on the members of signature campaigns.
PGP Fingerprint: 6B6BC26599EC24EF7E29A405EAF050539D0B2925 Signing address: 13GAVJo8YaAuenj6keiEykwxWUZ7jMoSLt
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!