Bitcoin Forum
April 19, 2024, 09:59:47 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Hash & Block in Bitcoin  (Read 147 times)
Sudhik (OP)
Jr. Member
*
Offline Offline

Activity: 266
Merit: 5


View Profile WWW
February 19, 2018, 03:53:19 AM
Last edit: February 20, 2018, 01:48:15 AM by Sudhik
 #1

Hello everyone, Because I never see post about Hash & Block in this forum, I want to share you about Hash and Block, and I'm sorry if I posting on wrong place, because i don't know where I should post about this, please tell be if I wrong!

This Little about Hash and Block in Bitcoin

HASH
In computer term, hash is results of complex from mathematic calculation which is easy to reproduction but quite difficult to repeat, and quite difficult to predicted. The function of Hash is an algorithm that changes the text or message to be series of random characters. That random characters has some same characters inside. In cryptography technique , Hash categorized as cryptography without key. Hash also known as "One Way Function".

In Bitcoin, we often hear about Secure Hash Algoritm (SHA). This SHA algorithm was originally developed by the National Institute and Standard Technologi (NIST) on 1993. The first generation is SHA-0. After that come second generation is SHA-1, then come SHA-2 algorithmon 2001 with some selection of number of usable bits, namely 224, 256, 384, and 512.

Between SHA-1 and SHA-2 basically has a more or less similar algorithm. The difference is just at amount of output characters. SHA-1 has output 40, SHA-256 has output 32, and SHA-516 has output 64.


BLOCK
Block is a collection of transaction data that becomes a basic element of digital assets such as Bitcoin. When a Bitcoin transaction occurs, information about the transaction is collected and when the data reaches a predefined size, the data is merged with another Bitcoin transaction then assembled into a block. The block will be processed by the miners and verified the truth. When a transaction has entered into a block and successfully verified, that's when the Bitcoin transaction gets a confirmation.

Link source of Block (indonesian) : https://blog.bitcoin.co.id/blok/
1713563987
Hero Member
*
Offline Offline

Posts: 1713563987

View Profile Personal Message (Offline)

Ignore
1713563987
Reply with quote  #2

1713563987
Report to moderator
"You Asked For Change, We Gave You Coins" -- casascius
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713563987
Hero Member
*
Offline Offline

Posts: 1713563987

View Profile Personal Message (Offline)

Ignore
1713563987
Reply with quote  #2

1713563987
Report to moderator
1713563987
Hero Member
*
Offline Offline

Posts: 1713563987

View Profile Personal Message (Offline)

Ignore
1713563987
Reply with quote  #2

1713563987
Report to moderator
1713563987
Hero Member
*
Offline Offline

Posts: 1713563987

View Profile Personal Message (Offline)

Ignore
1713563987
Reply with quote  #2

1713563987
Report to moderator
ranochigo
Legendary
*
Offline Offline

Activity: 2954
Merit: 4161


View Profile
February 19, 2018, 04:09:40 AM
 #2

BLOCK
Block is a collection of transaction data that becomes a basic element of digital assets such as Bitcoin. When a Bitcoin transaction occurs, information about the transaction is collected and when the data reaches a predefined size, the data is merged with another Bitcoin transaction then assembled into a block. The block will be processed by the miners and verified the truth. When a transaction has entered into a block and successfully verified, that's when the Bitcoin transaction gets a confirmation.
The block contains the transactions that the miner wishes to include. They don't have to include any of the transaction that they see.

The data is never merged with another Bitcoin transaction. The miner doesn't explicitly process a block but they assemble a set of transaction and hash them to form a merkle root, which is a part of other values in a block header. The block headers is hashed repeatedly, changing the values in the block header after every hash. The miner verifies the transaction data but that happens with any other nodes on the network.

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

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

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

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

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

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











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











▄▄▄▄█
ranochigo
Legendary
*
Offline Offline

Activity: 2954
Merit: 4161


View Profile
February 19, 2018, 07:20:01 AM
 #3

BLOCK
Block is a collection of transaction data that becomes a basic element of digital assets such as Bitcoin. When a Bitcoin transaction occurs, information about the transaction is collected and when the data reaches a predefined size, the data is merged with another Bitcoin transaction then assembled into a block. The block will be processed by the miners and verified the truth. When a transaction has entered into a block and successfully verified, that's when the Bitcoin transaction gets a confirmation.
The block contains the transactions that the miner wishes to include. They don't have to include any of the transaction that they see.

The data is never merged with another Bitcoin transaction. The miner doesn't explicitly process a block but they assemble a set of transaction and hash them to form a merkle root, which is a part of other values in a block header. The block headers is hashed repeatedly, changing the values in the block header after every hash. The miner verifies the transaction data but that happens with any other nodes on the network.
Thanks for revision my post, but my post based on trusted site and I merged it into one post, but why our opinion different? Can you show me where you get that's opinion? Or that's your private opinion? Thank you
https://en.bitcoin.it/wiki/Block_hashing_algorithm.

There's really nothing about opinions in this kind of stuff. It's just cold hard facts. I'd like to clarify that the transactions is indeed hashed together with the other transactions to form the merkle root but I feel that "merging" sounds wrong. And if its copied from elsewhere, it really isn't your opinion, but someone elses.

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

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

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

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

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

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











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











▄▄▄▄█
HeRetiK
Legendary
*
Offline Offline

Activity: 2912
Merit: 2066


Cashback 15%


View Profile
February 19, 2018, 07:47:33 AM
 #4

HASH
In computer term, hash is results of complex from mathematic calculation which is easy to reproduction but quite difficult to repeat, and quite difficult to predicted.

What do you mean by difficult to repeat? The amount of processing power that goes into hashing the data? That entirely depends on the hashing algorithm being used. All (cryptographic) hashing algorithms are by definition easy to reproduce and hard to predict. However, by design, some require more processing power than others. Compared to some more modern hashing algorithms, SHA-256 uses only few resources.


The function of Hash is an algorithm that changes the text or message to be series of random characters. That random characters has some same characters inside.

Both the input and output of a hashing function is just binary data. It's just that in the case of text or messages the input is usually depicted as Unicode characters or similar, while the output is usually depicted in a hexadecimal format, which encompasses only a subset of characters (0-9a-f).


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

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

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

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

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

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











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











▄▄▄▄█
nullius
Copper Member
Hero Member
*****
Offline Offline

Activity: 630
Merit: 2610


If you don’t do PGP, you don’t do crypto!


View Profile WWW
February 19, 2018, 07:58:34 AM
 #5

Thanks for revision my post, but my post based on trusted site and I merged it into one post, but why our opinion different? Can you show me where you get that's opinion? Or that's your private opinion? Thank you

What is your source?  Please be advised, plagiarism is a bannable offense.  If you don’t promptly edit your post to add links to whatever source(s) you “merged” this from, then I will report you as a plagiarist so your account can be nuked.

This thread has been archived for reference.

As for the rest, it is not a matter of “opinion”.  In point of fact:  ranochigo is right, you are wrong—and if you copied that from a “trusted site”, then you trusted the wrong site.

(ranochigo didn’t even cover all the problems with your post, but I think that’s because it’s not even worthwhile.  Now I see HeRetiK hitting other points...  Not worthwhile until we see a source!)

amishmanish
Legendary
*
Offline Offline

Activity: 1904
Merit: 1158


View Profile
February 19, 2018, 12:01:43 PM
 #6

Is it just me or are we seeing an upsurge in these "new posts" being created for discussion/ disseminating information? When such information is readily available by a google searcg or on other websites..Grin
Exhibit A

To the OP:

I don't know if such posts should be encouraged or discouraged. In my opinion, basic information like what is a hash, block or what is mining are readily available on internet and bitcoin wiki.

Starting such topics feels like you are just looking to increase your post count as these topics have nothing new to add. Instead you should try going for some of the latest topics like LN, Schnorr Signatures, Pegged Sidechains (None of these are latest but they haven't been discussed to death already).

Finally, Your English could use some improvement. Its a pain to read so you may altogether avoid posting such introductory information by starting a New Topic.
If you think you understand a concept well enough and really want to start a topic then take care of two things:

First, keep your sentences short. 6-7 words per sentence. That makes it easier to understand. Believe me. That makes for much better posts.

Second advice I always want to give to those who have weak english but want to sincerely participate, Please...please...for the love of god, don't be constantly apologetic and unnecessarily humble while posting your opinions. Avoid the salutations of 'Sir' and 'Sorry again if I am wrong' like the plague. Those sugar coated words are a complete turn off.

Understanding bitcoin and contributing for its growth is a serious endeavor. Lets start behaving like responsible men here.



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!