Bitcoin Forum
April 26, 2024, 04:41:32 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Basic Bitcoin Generation Techniques???  (Read 1478 times)
gigabytecoin (OP)
Sr. Member
****
Offline Offline

Activity: 280
Merit: 252


View Profile
March 08, 2011, 09:43:05 AM
 #1

Can somebody please explain the basics as to how bitcoins are generated?

What are the very minimum requirements for generating bitcoins in any programming language?

I assume it goes something like...

1. Download block of hashed information to crack from the network (where exactly?)
2. Repeat mathematical process on your machine until you crack it (what process?)
3. Submit for verfication (to where?)
4. Rinse and repeat?

Any information (or links to previous threads a noob might not know of?) you can provide would be greatly appreciated!
1714149692
Hero Member
*
Offline Offline

Posts: 1714149692

View Profile Personal Message (Offline)

Ignore
1714149692
Reply with quote  #2

1714149692
Report to moderator
1714149692
Hero Member
*
Offline Offline

Posts: 1714149692

View Profile Personal Message (Offline)

Ignore
1714149692
Reply with quote  #2

1714149692
Report to moderator
1714149692
Hero Member
*
Offline Offline

Posts: 1714149692

View Profile Personal Message (Offline)

Ignore
1714149692
Reply with quote  #2

1714149692
Report to moderator
Every time a block is mined, a certain amount of BTC (called the subsidy) is created out of thin air and given to the miner. The subsidy halves every four years and will reach 0 in about 130 years.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714149692
Hero Member
*
Offline Offline

Posts: 1714149692

View Profile Personal Message (Offline)

Ignore
1714149692
Reply with quote  #2

1714149692
Report to moderator
elFarto
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
March 08, 2011, 09:51:51 AM
 #2

From my understanding, it goes something like this:

1.The client creates a new block, containing the previous block's hash, the current outstanding transactions, and a nonce (among other things).
2. The client calculates the hash for this new block:
    a) If it's less than the difficulty it publishes that block to all it's peers.
    b) If it's above the difficulty it increments the nonce and tries again.

Verification is done by all the peers. They will only accept a block if it has the correct hash.
All the existing blocks are downloaded from the peers.

Regards
elFarto
gigabytecoin (OP)
Sr. Member
****
Offline Offline

Activity: 280
Merit: 252


View Profile
March 08, 2011, 10:20:37 AM
 #3

Thanks for the quick response elFarto!

How exactly would I know the previous block's hash? Is it posted somewhere once it is found? And which "block" are we talking about? The lottery (+50BTC) block? Or any block in particular?
Pieter Wuille
Legendary
*
qt
Offline Offline

Activity: 1072
Merit: 1174


View Profile WWW
March 08, 2011, 10:23:15 AM
 #4

You should read https://en.bitcoin.it/wiki/Block_hashing_algorithm and https://en.bitcoin.it/wiki/Block_chain. The blocks in the block chain indeed have two functions: 1) ordering transactions and 2) generating new bitcoins.

I do Bitcoin stuff.
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!