hip webinar automating integration workflow 800x100 (1)
WP_Term Object
(
    [term_id] => 151
    [name] => General
    [slug] => general
    [term_group] => 0
    [term_taxonomy_id] => 151
    [taxonomy] => category
    [description] => 
    [parent] => 0
    [count] => 441
    [filter] => raw
    [cat_ID] => 151
    [category_count] => 441
    [category_description] => 
    [cat_name] => General
    [category_nicename] => general
    [category_parent] => 0
)

The Future of Money is Digital – Part 2

The Future of Money is Digital – Part 2
by Sam Beal on 02-23-2014 at 11:30 am

BitCoin Algorithm
Invented by a mystery person/group with the alias “Satoshi Nakamoto”. [You can read a consolidation of the paper here]. The essential elements are:

· Peer to Peer Network with self-validation
· Exponentially increasing compute cost
· Finite supply with exponential conversion
· Hidden in plain view anonymity


Peer-to-peer electronic cash eliminates the cost burden of mediation – i.e. the 3rd party escrow or handling fee. The compute task and self-validation are embodied in an open-source chain of digital cryptographic signatures on a time-stamp server. A timestamp server works by taking a hash of a block of items to be timestamped and widely publishing the hash.

Sell the House and Join the Gold Rush

Not so fast. First key point: The reward for mining a block is currently 25 BTC and it halves every 210K blocks. Second key point: Block generation is self-regulated to average 6 blocks per hour by imposing a scaling factor [termed DIFFICULTY] on the nounce calculation.

In other words the faster the network hash rate, the harder it becomes to generate a generate a valid block. In simple terms there is only so much Gold in the hills and every minute another miner shows up with picks and pans.
The time to mine a block can be estimated by
time = difficulty * 2**32 / hashrate

The current DIFFICULTY is ~2.6E9. If you powered up a ButterFly Labs Monarch with 600GH/sec at 350W you could earn ~3 BTC in the next month, which would almost recover the $2100 cost at today’s exchange rate. But everyday you wait the income rate drops as the network hashrate increases. At some point, payback becomes infinite. And there is a waiting list on the hardware. You can track mining operations in real time here. https://blockchain.info

Bit Mining Algorithm

The Bitcoin miner code downloads are available on GitHub. The basical computation is
While ()
HDR [kNouncePos]++
IF (SHR256 (SHR256(HDR)) < (65535 << 208)/DIFFICULTY
Return;


The calculations follow known cryptographic routines involving chained 32bit add / rotate, xor, etc., that FPGAs are well suited for. ASICs provide significant gains in cost and power.

The timestamp network implements a proof-of-work by incrementing a nonce in the block until a value is found that gives the block’s hash the required zero bits. Once the CPU effort has been expended to make it satisfy the proof-of-work, the block cannot be changed without redoing the work. As later blocks are chained after it, the work to change the block would include redoing all the blocks after it.

The mining process is a series of autonomous yet network dependent steps:
[LIST=1]

  • New Transactions are broadcast to all nodes
  • Each node collects new transactions into a block
  • Each nodes works on finding a difficult proof of work for it’s block
  • When a node finds a proof of work, it transmits it to all nodes.
  • Nodes accept the block only if all transactions in it are valid and not already spent
  • Nodes express their acceptance of the block by staring the next block in the chain using the hash of the accepted block.
  • Nodes always consider the longest chain to be the correct one
  • Ties may occur but are eventually broken as the chain extends and the shorter chain is abandoned.
  • Minting and transferring of coins is public but the entities on each end of the transaction are encrypted.

    The Future of Money is Digital – BitCoin Introduction

    Table Reference: “Bitcoin and The Age of Bespoke Silicon” Michael Taylor, UCSD, 2013

    lang: en_US

    Share this post via:

  • Comments

    0 Replies to “The Future of Money is Digital – Part 2”

    You must register or log in to view/post comments.