Bitcoin Forum
December 09, 2016, 05:54:51 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Basic Bitcoin Generation Techniques???  (Read 1250 times)
gigabytecoin
Sr. Member
****
Offline Offline

Activity: 280


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!
1481262891
Hero Member
*
Offline Offline

Posts: 1481262891

View Profile Personal Message (Offline)

Ignore
1481262891
Reply with quote  #2

1481262891
Report to moderator
1481262891
Hero Member
*
Offline Offline

Posts: 1481262891

View Profile Personal Message (Offline)

Ignore
1481262891
Reply with quote  #2

1481262891
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481262891
Hero Member
*
Offline Offline

Posts: 1481262891

View Profile Personal Message (Offline)

Ignore
1481262891
Reply with quote  #2

1481262891
Report to moderator
1481262891
Hero Member
*
Offline Offline

Posts: 1481262891

View Profile Personal Message (Offline)

Ignore
1481262891
Reply with quote  #2

1481262891
Report to moderator
1481262891
Hero Member
*
Offline Offline

Posts: 1481262891

View Profile Personal Message (Offline)

Ignore
1481262891
Reply with quote  #2

1481262891
Report to moderator
elFarto
Newbie
*
Offline Offline

Activity: 4


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
Sr. Member
****
Offline Offline

Activity: 280


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: 1036


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.

aka sipa, core dev team

Tips and donations: 1KwDYMJMS4xq3ZEWYfdBRwYG2fHwhZsipa
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!