Bitcoin Forum
May 05, 2024, 01:10:09 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How Blocks Functions in Bitcoin Blockchain ?  (Read 178 times)
ansdb (OP)
Newbie
*
Offline Offline

Activity: 80
Merit: 0


View Profile
November 30, 2018, 03:54:15 PM
 #1

Hi Everyone

i'm a niewbie and i was so confused about how the blocks work and Function in Bitcoin blockchain i’ve many questions and i want if someone here has a good knowledge in blockchain to answer my questions ?

1- is the blocks can only contains one transaction or more ?

2- we know that the miners doing calculation through POW ? is it the same calculation of the hash tx ?

3- is the block that is created by a miner doesn’t valide untill it is validated by all the miners in the network ? is that correct ? and how it is considered as a valide block ?

4- is every miner considered as Node in Bitcoin Network ?
1714914609
Hero Member
*
Offline Offline

Posts: 1714914609

View Profile Personal Message (Offline)

Ignore
1714914609
Reply with quote  #2

1714914609
Report to moderator
The forum strives to allow free discussion of any ideas. All policies are built around this principle. This doesn't mean you can post garbage, though: posts should actually contain ideas, and these ideas should be argued reasonably.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714914609
Hero Member
*
Offline Offline

Posts: 1714914609

View Profile Personal Message (Offline)

Ignore
1714914609
Reply with quote  #2

1714914609
Report to moderator
ranochigo
Legendary
*
Offline Offline

Activity: 2954
Merit: 4166


View Profile
November 30, 2018, 04:00:13 PM
Merited by dbshck (3)
 #2

1- is the blocks can only contains one transaction or more ?
At least one. The block must have a coinbase transaction. The output of the transaction doesn't matter but the coinbase transaction must exist.
2- we know that the miners doing calculation through POW ? is it the same calculation of the hash tx ?
They hash the block headers which contains a wide array of data and the result is the block hash.
3- is the block that is created by a miner doesn’t valide untill it is validated by all the miners in the network ? is that correct ? and how it is considered as a valide block ?
A block is valid if the nodes in the network think that it is valid. If the miner follows the protocol rules, then those who also follow the protocol rules should agree that the block is valid. If not, then they would be on a different fork since they don't accept that block while those who do builds on it.

The requirement for the block to be valid is quite broad, the crux of it is just that it follows the protocol rules which all of the reference nodes follow.
4- is every miner considered as Node in Bitcoin Network ?
Technically, it used to be. However, when pools came out, people found it more worthwhile to be mining together instead of separately. Most of the miners now don't run a node anymore due to the numerous benefits of pools.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
ansdb (OP)
Newbie
*
Offline Offline

Activity: 80
Merit: 0


View Profile
November 30, 2018, 04:29:38 PM
 #3

first of all thanks a lot for your help i really appreciate it cuz it was a long time looking for the answer of these questions  Smiley


2- we know that the miners doing calculation through POW ? is it the same calculation of the hash tx ?

They hash the block headers which contains a wide array of data and the result is the block hash.
is the block headers are transactions informations (the sender the receiver/time/amount .. etc)
3- is the block that is created by a miner doesn’t valide untill it is validated by all the miners in the network ? is that correct ? and how it is considered as a valide block ?
A block is valid if the nodes in the network think that it is valid. If the miner follows the protocol rules, then those who also follow the protocol rules should agree that the block is valid. If not, then they would be on a different fork since they don't accept that block while those who do builds on it.

The requirement for the block to be valid is quite broad, the crux of it is just that it follows the protocol rules which all of the reference nodes follow.
so the validity of a transaction depends on the Bitcoin Blockchain Algorithm Rules (Mathematically) is this correct ?

4- is every miner considered as Node in Bitcoin Network ?

Technically, it used to be. However, when pools came out, people found it more worthwhile to be mining together instead of separately. Most of the miners now don't run a node anymore due to the numerous benefits of pools.

so the pool alse could be called as huge Node, is this correct ?
ranochigo
Legendary
*
Offline Offline

Activity: 2954
Merit: 4166


View Profile
November 30, 2018, 04:55:30 PM
 #4

is the block headers are transactions informations (the sender the receiver/time/amount .. etc)
No. The block headers contains the merkel root which contains the transaction hashes which are assembled. They do not contain specific transaction information persay.
so the validity of a transaction depends on the Bitcoin Blockchain Algorithm Rules (Mathematically) is this correct ?
Protocol rules: https://en.bitcoin.it/wiki/Protocol_rules.

so the pool alse could be called as huge Node, is this correct ?
Pools should be running a node, probably not a reference implementation though. Pools do not have to run a node explicitly, the only thing that they need is the transaction information, previous block hash and all that. These can be easily obtained from various sources.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
ansdb (OP)
Newbie
*
Offline Offline

Activity: 80
Merit: 0


View Profile
November 30, 2018, 05:09:46 PM
 #5

is the block headers are transactions informations (the sender the receiver/time/amount .. etc)
No. The block headers contains the merkel root which contains the transaction hashes which are assembled. They do not contain specific transaction information persay.
so the validity of a transaction depends on the Bitcoin Blockchain Algorithm Rules (Mathematically) is this correct ?
Protocol rules: https://en.bitcoin.it/wiki/Protocol_rules.

so the pool alse could be called as huge Node, is this correct ?
Pools should be running a node, probably not a reference implementation though. Pools do not have to run a node explicitly, the only thing that they need is the transaction information, previous block hash and all that. These can be easily obtained from various sources.

Thanks a million for your help, so helpful thanks a lot again  Smiley
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!