Author

Topic: Basic Bitcoin Generation Techniques??? (Read 1501 times)

legendary
Activity: 1072
Merit: 1181
March 08, 2011, 05: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.
sr. member
Activity: 280
Merit: 252
March 08, 2011, 05: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?
newbie
Activity: 4
Merit: 0
March 08, 2011, 04: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
sr. member
Activity: 280
Merit: 252
March 08, 2011, 04: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!
Jump to: