Category Archives: Bitcoin

BTC-E | Bitcoin Exchange, Namecoin Exchange, Litecoin …

happytreefriends: Yup. chasers

DBOOTYNABBER: people sell for small profits cause they have been faqed over so many times by false profits

Khajiit: LTC ---> $4

DBOOTYNABBER: don't be so greedy

KizunaAikawa: its gonna cool back down a bit first

francis105d1: Buy buy last cheap coins before we hit $250

KizunaAikawa: ^ jesus christ

peter86: buy LTC now and u can retire. otherwise ull be working in mcdonalds forever

indyanon: KizunaAikawa, just have to stir the tanks before the next engine burn

ltcminer786: ye aint gettin me coins mate

fcoiner: massive ppc bull run?

happytreefriends: there will always be profiteering pullbacks. Either be strong, buy a ton and walk away for a week or two, or daytrade at hit the 1-3% swings 4x a day. But then you need to be glued to the screen and exchanges so you can see the movements. Can make you go crazy

happytreefriends: With both LTC and BTC rising 10% in 2 days, life IS GOOD. 🙂

francis105d1: Bye bye i mean buy buy buy

Khajiit: "10%? Ha!" - Bitcoin

DBOOTYNABBER: buy and cry

ltcminer786: ltc getting ready for round 3

Rathtain: I just powned my boss thanks to ashley madison leak. He talks to people like they are dogs and brings up integrity and loyalty, but has none for his wife. I too have banged chicks after marriage but have not lied to my wife about it. Why should i?

DBOOTYNABBER: look at those red chinese dildos

bullhammer87: never under 3 again

techn0: bullhammer87, wanna bet 2000 ltc ont hat

KizunaAikawa: bout to drop

techn0: Rathtain, chears have great intentions for their own wife they just like variety as well.

DBOOTYNABBER: wheres all those chasers?

Kindaichi2013: hello $2.8

digibucks: KizunaAikawa, LTC is still undervalued.

Blackfriar: Yes, drop soon

Kindaichi2013: sell now

Rathtain: KizunaAikawa, drops are temporary Crypto will replace fiat in time

KizunaAikawa: i like metal more but yeah

DBOOTYNABBER: ok coin getting hit hard

katarbit: the sar chart sign about be on top on 1 red candle soon = crash

francis105d1: Pump incoming

techn0: anyone internetested in a bitmain S4 2Th/s for 2 btc free shipping?

Kindaichi2013: pump fail = dump incoming

indyanon: i got 95 s3 for sale too with psu

thestash: we're all gonna diiiiiiiiiieeeeeeee

Rathtain: techn0, I have no problem with men wanting some strange vagina once in a while it is as natural as women wanting a stable relationship. I have a problem with people who say one thing and do another or punish others for things they do themselves.

techn0: agreed

kingpen414: Look at the volume, btc coming back to life!!

Sign in to write.

Go here to read the rest:
BTC-E | Bitcoin Exchange, Namecoin Exchange, Litecoin ...

bitaddress.org

Open Source JavaScript Client-Side Bitcoin Wallet Generator

Private Key (Wallet Import Format)

SECRET

A Bitcoin wallet is as simple as a single pairing of a Bitcoin address with its corresponding Bitcoin private key. Such a wallet has been generated for you in your web browser and is displayed above.

To safeguard this wallet you must print or otherwise record the Bitcoin address and private key. It is important to make a backup copy of the private key and store it in a safe location. This site does not have knowledge of your private key. If you are familiar with PGP you can download this all-in-one HTML page and check that you have an authentic version from the author of this site by matching the SHA256 hash of this HTML with the SHA256 hash available in the signed version history document linked on the footer of this site. If you leave/refresh the site or press the "Generate New Address" button then a new private key will be generated and the previously displayed private key will not be retrievable. Your Bitcoin private key should be kept a secret. Whomever you share the private key with has access to spend all the bitcoins associated with that address. If you print your wallet then store it in a zip lock bag to keep it safe from water. Treat a paper wallet like cash.

Add funds to this wallet by instructing others to send bitcoins to your Bitcoin address.

Check your balance by going to blockchain.info or blockexplorer.com and entering your Bitcoin address.

Spend your bitcoins by going to blockchain.info and sweep the full balance of your private key into your account at their website. You can also spend your funds by downloading one of the popular bitcoin p2p clients and importing your private key to the p2p client wallet. Keep in mind when you import your single key to a bitcoin p2p client and spend funds your key will be bundled with other private keys in the p2p client wallet. When you perform a transaction your change will be sent to another bitcoin address within the p2p client wallet. You must then backup the p2p client wallet and keep it safe as your remaining bitcoins will be stored there. Satoshi advised that one should never delete a wallet.

Comma Separated Values: Index,Address,Private Key (WIF)

The traditional approach to accepting bitcoins on your website requires that you install the official bitcoin client daemon ("bitcoind"). Many website hosting packages don't support installing the bitcoin daemon. Also, running the bitcoin daemon on your web server means your private keys are hosted on the server and could get stolen if your web server is hacked. When using a Bulk Wallet you can upload only the bitcoin addresses and not the private keys to your web server. Then you don't have to worry about your bitcoin wallet being stolen if your web server is hacked.

Unconfirmed transactions can be viewed at: http://blockchain.info/ You should see the transaction there within 30 seconds.

Private Key (Wallet Import Format):

Copy and paste the above into the Your-Part-Public-Key field in the Vanity Pool Website.

Copy and paste the above Private Key field into a text file. Ideally save to an encrypted drive. You will need this to retrieve the Bitcoin Private Key once the Pool has found your prefix.

The above is your new address that should include your required prefix.

The above is the Public Key in hexadecimal format.

The above is the Private Key to load into your wallet.

Bitcoin v0.6+ stores public keys in compressed format. The client now also supports import and export of private keys with importprivkey/dumpprivkey. The format of the exported private key is determined by whether the address was generated in an old or new wallet.

Public Key (130 characters [0-9A-F]):

Public Key (compressed, 66 characters [0-9A-F]):

Private Key Hexadecimal Format (64 characters [0-9A-F]):

Private Key Base64 (44 characters):

Private Key Mini Format (22, 26 or 30 characters, starts with an 'S'):

Private Key Base6 Format (99 characters [0-5]):

Private Key BIP38 Format (58 characters base58, starts with '6P'):

An important part of creating a Bitcoin wallet is ensuring the random numbers used to create the wallet are truly random. Physical randomness is better than computer generated pseudo-randomness. The easiest way to generate physical randomness is with dice. To create a Bitcoin private key you only need one six sided die which you roll 99 times. Stopping each time to record the value of the die. When recording the values follow these rules: 1=1, 2=2, 3=3, 4=4, 5=5, 6=0. By doing this you are recording the big random number, your private key, in B6 or base 6 format. You can then enter the 99 character base 6 private key into the text field above and click View Details. You will then see the Bitcoin address associated with your private key. You should also make note of your private key in WIF format since it is more widely used.

Excerpt from:
bitaddress.org

Everything you need to know about Bitcoin mining What is …

Currently, based on (1) price per hash and (2) electrical efficiency the best Bitcoin miner options are:

Manufacturer

$474.97

$499.97

$33.87

Bitcoin mining is the process of adding transaction records to Bitcoin's public ledger of past transactions or blockchain. This ledger of past transactions is called the block chain as it is a chain of blocks. The block chain serves to confirm transactions to the rest of the network as having taken place.

Bitcoin nodes use the block chain to distinguish legitimate Bitcoin transactions from attempts to re-spend coins that have already been spent elsewhere.

Bitcoin mining is intentionally designed to be resource-intensive and difficult so that the number of blocks found each day by miners remains steady. Individual blocks must contain a proof of work to be considered valid. This proof of work is verified by other Bitcoin nodes each time they receive a block. Bitcoin uses the hashcash proof-of-work function.

The primary purpose of mining is to allow Bitcoin nodes to reach a secure, tamper-resistant consensus. Mining is also the mechanism used to introduce Bitcoins into the system: Miners are paid any transaction fees as well as a "subsidy" of newly created coins.

This both serves the purpose of disseminating new coins in a decentralized manner as well as motivating people to provide security for the system.

Bitcoin mining is so called because it resembles the mining of other commodities: it requires exertion and it slowly makes new currency available at a rate that resembles the rate at which commodities like gold are mined from the ground.

A proof of work is a piece of data which was difficult (costly, time-consuming) to produce so as to satisfy certain requirements. It must be trivial to check whether data satisfies said requirements.

Producing a proof of work can be a random process with low probability, so that a lot of trial and error is required on average before a valid proof of work is generated. Bitcoin uses the Hashcash proof of work.

Bitcoin mining a block is difficult because the SHA-256 hash of a block's header must be lower than or equal to the target in order for the block to be accepted by the network.

This problem can be simplified for explanation purposes: The hash of a block must start with a certain number of zeros. The probability of calculating a hash that starts with many zeros is very low, therefore many attempts must be made. In order to generate a new hash each round, a nonce is incremented. See Proof of work for more information.

The Bitcoin mining network difficulty is the measure of how difficult it is to find a new block compared to the easiest it can ever be. It is recalculated every 2016 blocks to a value such that the previous 2016 blocks would have been generated in exactly two weeks had everyone been mining at this difficulty. This will yield, on average, one block every ten minutes.

As more miners join, the rate of block creation will go up. As the rate of block generation goes up, the difficulty rises to compensate which will push the rate of block creation back down. Any blocks released by malicious miners that do not meet the required difficulty target will simply be rejected by everyone on the network and thus will be worthless.

When a block is discovered, the discoverer may award themselves a certain number of bitcoins, which is agreed-upon by everyone in the network. Currently this bounty is 25 bitcoins; this value will halve every 210,000 blocks. See Controlled Currency Supply.

Additionally, the miner is awarded the fees paid by users sending transactions. The fee is an incentive for the miner to include the transaction in their block. In the future, as the number of new bitcoins miners are allowed to create in each block dwindles, the fees will make up a much more important percentage of mining income.

View post:
Everything you need to know about Bitcoin mining What is ...

The Bitcoin Foundation | Supporting the development of Bitcoin

Welcome to the new and under construction website for the Bitcoin Foundation.

Weve undergone a migration from the old site.

What we had: An overly complex and non-functioning site spread accross 8 servers and two hosting companies. The ambitious aim had been to have integration with Lighthouse, ERIS, community building apps and other features. This was well intentioned by those who worked on it but not as functional as it should be.

We we have now Weve migrated everything over to one, straightforward server. The new system will allow much easier updates and the easy ability for committee chairs, board members, staff and others to make updates and create pages.

Current status The old site at Rackspace was not functioning and Rackpsace does not provide support so we made the decision to move to the new site rather than fix the old one before moving. So right now this site is UNDER CONSTRUCTION the forums still need to be migrated and activated, there might be some floating lorum ipsum text or a non functional donate button but this format is the general format of the new site.

We should have the member section, forums and other features ironed out by weeks end.

Thank you!

See the rest here:
The Bitcoin Foundation | Supporting the development of Bitcoin

Bitcoin – MarketWatch.com Topics

6:36 a.m. Sept. 2, 2015 - By Francine McKenna

Blythe Masters back in business with blockchain for banksMasters and her blockchain start-up get the profile treatment; ICE promotes its credit default swaps automated platform; Senate Democrats want the SEC to watchdog corporate political spending; Argentine central bank dictates local HSBC management change

12:30 p.m. Aug. 28, 2015 - By J. Cameron Morgan

How to create your family financial albumYou can use one simple school supply to get your financial house in order: a three-ring binder.

7:19 a.m. Aug. 28, 2015 - By Carla Mozee

Londons alternative cash turns shoppers into activists Just how easy is it to shop using alternative currencies?Alternatives to official money like the Brixton Pound have been springing up all over the globe. But how easy are they to use, and why do people use them?

7:51 a.m. Aug. 25, 2015 - By Jurica Dujmovic

6 services that make hackers rich Their skills are in high demandTheir skills are in high demand, says Jurica Dujmovi.

3:00 a.m. Aug. 18, 2015 - By Joseph Adinolfi

Some digital-currency startups are fleeing New York 15 exchanges block N.Y. state IP addressesAt least 15 digital-currency exchanges are blocking New York state residents from accessing their servicesand at least one that was founded in New York City has packed up and movedinstead of complying with new regulations.

11:03 a.m. Aug. 5, 2015 - By Matthew Lynn

Gold wont have been tested until the crap really hits the fan Nothing too awful has happened yet in Greece, China, UkraineGold hasnt fulfilled its role as a safe haven during the latest crises, but we havent had a real crisis yet, says Matthew Lynn.

8:47 a.m. Aug. 1, 2015 - By Silvia Ascarelli

Former head of Mt. Gox bitcoin exchange arrested in TokyoThe man who ran the now-collapsed bitcoin exchange Mt. Gox was arrested in Tokyo on Saturday, according to numerous press reports. Japanese police allege Mark Karpeles accessed the exchange's computer system and inflated his dollar account by $1 million. If found guilty, he could face up to five years in prison or be fined about $4,000. Karpeles denies wrongdoing, his lawyer said. Mt. Gox once accounted for 80% of all bitcoin trading. In early 29014, it blamed hacking attacks and software glitches for the loss of 850,000 bitcoins, worth about $500 million at the time. It filed for bankruptcy protection soon after.

7:03 a.m. July 31, 2015 - By Francine McKenna

Sheila Bair quits board of largest Spanish bankBair quits Santander board; Obama administration asks Supreme Court to look at insider trading decision; Influential central banker group says bank pay must support stronger ethics; Clintons defend apparent quid pro quo in UBS IRS settlement;

6:59 a.m. July 22, 2015 - By Victor Reklaitis

Goldmans Currie expects gold to fall under $1,000Gold on Wednesday is suffering through its 10th down day in a row, and plenty of the yellow metals detractors have been speaking up lately. Now Jeffrey Currie of Goldman Sachs has made fresh downbeat comments on gold.

5:42 a.m. July 22, 2015 - By Francine McKenna

SEC penny-stock scam charges may be related to J.P. Morgan computer hackThe New York Times ties SEC charges to additional criminal arrests and possibly the banks data theft

1:42 p.m. July 21, 2015 - By Christopher M. Matthews

U.S. charges five in cases connected to J.P. Morgan hack Four arrested in Florida and Israel while a fifth person is at largeFive people were charged Tuesday in connection to a cyberattack on J.P. Morgan Chase & Co. last year.

6:10 a.m. July 21, 2015 - By David Weidner

Why gold is falling and wont get up again The precious metal will rally again, but not with the same glitterThe precious metal will rally again, but not with the same glitter, writes David Weidner.

6:36 a.m. July 15, 2015 - By Robert J. Shilller

Markets still arent close to being perfectly efficient Financial singularity is a mirage, says Robert ShillerDespite advances in big data and powerful computers, markets are no closer to being perfectly efficient than ever, writes Robert Shiller.

10:55 a.m. July 10, 2015 - By Therese Poletti

Creator of surging Reddit rival Voat: We will avoid same mistakes Tiny forum Voat hopes to avoid Reddit issues, creator saysVoat, a small social news and forum site that promises no censorship, has become a refuge for angry Reddit users, but the sites creator tells Marketwatch he plans to avoid the mistakes made by others, including the so-called front page of the Internet.

Bitcoin Investment Trust started at outperform with $40 stock price target at Wedbush

3:11 a.m. July 10, 2015

View original post here:
Bitcoin - MarketWatch.com Topics

XBT – Bitcoin rates, news, and tools – XE.com

Bitcoin information Bitcoin is a decentralized virtual currency. This currency is exchanged digitally and managed by a peer-to-peer network, rather than a central bank or authority. The supply of Bitcoins is automated and released to mining servers; with a limit of 21 million Bitcoins being reached by 2140. Each Bitcoin is a piece of code that has its own transaction log with timestamps. The coins are stored in an owner's virtual wallet and can be transferred and exchanged for goods and services. Transactions are public and although they are relatively anonymous, it is possible trace identities back to real-life individuals. There is debate as to whether or not Bitcoin should be considered a currency, a commodity, or a hybrid of both.

Risks in Using Bitcoins Bitcoins are associated with a high level of risk, as they are volatile, not time-tested, and currently under no regulation or legislation. There have been incidents of online Bitcoin wallets being compromised by hackers leading to theft of Bitcoins.

Bitcoin Currency Code Bitcoin is not recognized by the ISO and therefore does not have an official ISO 4217 code. A currency code is generally built from the two-digit ISO 3316 country code and a third letter for the currency. Although "BTC" is often used in the Bitcoin community, BT is the country code of Bhutan. An X-code reflects currencies that are used internationally and so, XE has chosen to use XBT to represent Bitcoin.

Bitcoin History Introduced in 2009, Bitcoin was created by a developer or group of developers going by the pseudonym Satoshi Nakamoto. Initially the value of the currency was set by users on forums until the first exchange outlet was established. It is known as a "crypto-currency"; meaning that the money and transactions are secured and controlled through encrypted passwords. Since its introduction, Bitcoins have been gaining momentum worldwide, with over 1,000 merchants accepting the currency.

Relevant Links For more information on Bitcoin, we encourage you to visit the links below.

Read this article:
XBT - Bitcoin rates, news, and tools - XE.com

Bitcoin: Pictures, Videos, Breaking News – The Huffington Post

If your kid downloads Tor or knows other kids who are on it, it's important to talk about the implications. The Deep Web isn't a safe place to hang out.

The blockchain is a key part of the system that underlies recordkeeping and transactions for Bitcoin, the virtual currency. But there are much bigger opportunities ahead for this decentralized recordkeeping system.

Techonomy

How Tech Transforms Business and Society

As I walked around TechCrunch Disrupt NYC recently, I was bombarded with messaging, product demos and pitches. Until I met a young lady who didn't know I was a tech journo. She had one goal, after I announced that "Bitcoin isn't my thing." To change my mind.

Bill_Robinson

Business, Technology, Entrepreneurship & Rock 'n Roll Journalist

THE STORY Bitcoin is still a thing -- a thing people are confused by. Turns out being a currency that could change the future of payments isn't easy. ...

theSkimm

theSkimm makes it easier to be smarter. We read. You Skimm. Sign up at http://www.theskimm.com/huffpo to start your day off right.

If you know what Bitcoin is and have been following its development, you've probably heard the news. Stock exchanges have begun to take bitcoins seriously. This looks like a breakthrough, especially considering the fact that the NYSE now uses Bitcoin-like mechanisms when issuing securities.

Escalating tensions between the US and China, while ominous, offer a useful reminder that the artificial division of our world into separate nation-states may no longer serve us, and present a compelling reason to consider a better model.

Activists can improve their alternative media success by embracing alternative currencies like Bitcoin. I live in Britain where I've just witnessed an entire generation of activists get their clock's cleaned by a Conservative sweep in the May 7th Parliamentary elections.

Max Keiser

CEO, co-founder, StartCOIN Hldgs. Crypto Currency and Crowdfunding Pioneer. Created HSX.com.

Just as a true artist lives by his or her art--creating and being remembered through a legacy of masterpieces--Nakamoto's anonymity perfectly mirrors the anonymity of his Bitcoin masterpiece.

The Comcast-Time Warner Cable deal may have been killed because regulators didn't believe that the resultant mega-ISP could be trusted as a central authority, but we are just a few years away from the emergence of a trustless society where digital citizens, like you and me, would have taken away that danger.

Shelly Palmer

Business Advisor, Author, Commentator and Host of Fox Television's Shelly Palmer Digital Living.

At the core of the next generation of the Internet is the technology underlying the digital currency Bitcoin: the blockchain. At its most basic, the blockchain is a global spreadsheet, an incorruptible digital ledger of financial transactions that can be programmed to record virtually everything of value and importance to humankind.

Don Tapscott

Advisor to government and business leaders; Author, The Digital Economy, 20th Anniversary Edition

The notion of national currencies and fiat money is central to modern economies and government financing. I can't see a world in the foreseeable future, where sovereign nation states give up the control over what currency must be used for conducting its business.

Late last month, ISIS was driven out of the Syrian city of Kobani, thanks to over 100 days of US-led airstrikes and the actions of Kurdish fighters. But this could also be bad news for other parts of the country and potential targets abroad, as this Sunni extremist organization reorients its focus. What can we expect of ISIS in the coming months?

Dr. Maha Hosain Aziz

Professor, Consultant, Blogger, Cartoonist in Political Risk, Prediction & Strategy

The general acceptance of Bitcoin could have profound consequences, leading to a more egalitarian distribution of wealth and a more stable society. But in order for that to happen, there are two important things we must do.

We must not allow this new "Freecoin" to be owned or bought and sold with real money. For the moment that a currency becomes interest-bearing and is subject to transaction and storage charges, it becomes a tradable commodity itself and it loses its equalizing value.

In mid December, Time Inc. was the latest in a string of companies to announce that it would start accepting bitcoin in payment, following on the heel...

April Rudin

Wealth Marketing Strategies, The Rudin Group

A world where much of the communication, transactions, commerce have to be over a dark web would be a pretty effed up place, like one where people had to pass along literature through samizdat and do commerce in back alleys.

Originally posted here:
Bitcoin: Pictures, Videos, Breaking News - The Huffington Post

How the Bitcoin protocol actually works | DDI

Many thousands of articles have been written purporting to explain Bitcoin, the online, peer-to-peer currency. Most of those articles give a hand-wavy account of the underlying cryptographic protocol, omitting many details. Even those articles which delve deeper often gloss over crucial points. My aim in this post is to explain the major ideas behind the Bitcoin protocol in a clear, easily comprehensible way. Well start from first principles, build up to a broad theoretical understanding of how the protocol works, and then dig down into the nitty-gritty, examining the raw data in a Bitcoin transaction.

Understanding the protocol in this detailed way is hard work. It is tempting instead to take Bitcoin as given, and to engage in speculation about how to get rich with Bitcoin, whether Bitcoin is a bubble, whether Bitcoin might one day mean the end of taxation, and so on. Thats fun, but severely limits your understanding. Understanding the details of the Bitcoin protocol opens up otherwise inaccessible vistas. In particular, its the basis for understanding Bitcoins built-in scripting language, which makes it possible to use Bitcoin to create new types of financial instruments, such as smart contracts. New financial instruments can, in turn, be used to create new markets and to enable new forms of collective human behaviour. Talk about fun!

Ill describe Bitcoin scripting and concepts such as smart contracts in future posts. This post concentrates on explaining the nuts-and-bolts of the Bitcoin protocol. To understand the post, you need to be comfortable with public key cryptography, and with the closely related idea of digital signatures. Ill also assume youre familiar with cryptographic hashing. None of this is especially difficult. The basic ideas can be taught in freshman university mathematics or computer science classes. The ideas are beautiful, so if youre not familiar with them, I recommend taking a few hours to get familiar.

It may seem surprising that Bitcoins basis is cryptography. Isnt Bitcoin a currency, not a way of sending secret messages? In fact, the problems Bitcoin needs to solve are largely about securing transactions making sure people cant steal from one another, or impersonate one another, and so on. In the world of atoms we achieve security with devices such as locks, safes, signatures, and bank vaults. In the world of bits we achieve this kind of security with cryptography. And thats why Bitcoin is at heart a cryptographic protocol.

My strategy in the post is to build Bitcoin up in stages. Ill begin by explaining a very simple digital currency, based on ideas that are almost obvious. Well call that currency Infocoin, to distinguish it from Bitcoin. Of course, our first version of Infocoin will have many deficiencies, and so well go through several iterations of Infocoin, with each iteration introducing just one or two simple new ideas. After several such iterations, well arrive at the full Bitcoin protocol. We will have reinvented Bitcoin!

This strategy is slower than if I explained the entire Bitcoin protocol in one shot. But while you can understand the mechanics of Bitcoin through such a one-shot explanation, it would be difficult to understand why Bitcoin is designed the way it is. The advantage of the slower iterative explanation is that it gives us a much sharper understanding of each element of Bitcoin.

Finally, I should mention that Im a relative newcomer to Bitcoin. Ive been following it loosely since 2011 (and cryptocurrencies since the late 1990s), but only got seriously into the details of the Bitcoin protocol earlier this year. So Id certainly appreciate corrections of any misapprehensions on my part. Also in the post Ive included a number of problems for the author notes to myself about questions that came up during the writing. You may find these interesting, but you can also skip them entirely without losing track of the main text.

So how can we design a digital currency?

On the face of it, a digital currency sounds impossible. Suppose some person lets call her Alice has some digital money which she wants to spend. If Alice can use a string of bits as money, how can we prevent her from using the same bit string over and over, thus minting an infinite supply of money? Or, if we can somehow solve that problem, how can we prevent someone else forging such a string of bits, and using that to steal from Alice?

These are just two of the many problems that must be overcome in order to use information as money.

As a first version of Infocoin, lets find a way that Alice can use a string of bits as a (very primitive and incomplete) form of money, in a way that gives her at least some protection against forgery. Suppose Alice wants to give another person, Bob, an infocoin. To do this, Alice writes down the message I, Alice, am giving Bob one infocoin. She then digitally signs the message using a private cryptographic key, and announces the signed string of bits to the entire world.

(By the way, Im using capitalized Infocoin to refer to the protocol and general concept, and lowercase infocoin to refer to specific denominations of the currency. A similar useage is common, though not universal, in the Bitcoin world.)

This isnt terribly impressive as a prototype digital currency! But it does have some virtues. Anyone in the world (including Bob) can use Alices public key to verify that Alice really was the person who signed the message I, Alice, am giving Bob one infocoin. No-one else could have created that bit string, and so Alice cant turn around and say No, I didnt mean to give Bob an infocoin. So the protocol establishes that Alice truly intends to give Bob one infocoin. The same fact no-one else could compose such a signed message also gives Alice some limited protection from forgery. Of course, after Alice has published her message its possible for other people to duplicate the message, so in that sense forgery is possible. But its not possible from scratch. These two properties establishment of intent on Alices part, and the limited protection from forgery are genuinely notable features of this protocol.

I havent (quite) said exactly what digital money is in this protocol. To make this explicit: its just the message itself, i.e., the string of bits representing the digitally signed message I, Alice, am giving Bob one infocoin. Later protocols will be similar, in that all our forms of digital money will be just more and more elaborate messages [1].

A problem with the first version of Infocoin is that Alice could keep sending Bob the same signed message over and over. Suppose Bob receives ten copies of the signed message I, Alice, am giving Bob one infocoin. Does that mean Alice sent Bob ten different infocoins? Was her message accidentally duplicated? Perhaps she was trying to trick Bob into believing that she had given him ten different infocoins, when the message only proves to the world that she intends to transfer one infocoin.

What wed like is a way of making infocoins unique. They need a label or serial number. Alice would sign the message I, Alice, am giving Bob one infocoin, with serial number 8740348. Then, later, Alice could sign the message I, Alice, am giving Bob one infocoin, with serial number 8770431, and Bob (and everyone else) would know that a different infocoin was being transferred.

To make this scheme work we need a trusted source of serial numbers for the infocoins. One way to create such a source is to introduce a bank. This bank would provide serial numbers for infocoins, keep track of who has which infocoins, and verify that transactions really are legitimate,

In more detail, lets suppose Alice goes into the bank, and says I want to withdraw one infocoin from my account. The bank reduces her account balance by one infocoin, and assigns her a new, never-before used serial number, lets say 1234567. Then, when Alice wants to transfer her infocoin to Bob, she signs the message I, Alice, am giving Bob one infocoin, with serial number 1234567. But Bob doesnt just accept the infocoin. Instead, he contacts the bank, and verifies that: (a) the infocoin with that serial number belongs to Alice; and (b) Alice hasnt already spent the infocoin. If both those things are true, then Bob tells the bank he wants to accept the infocoin, and the bank updates their records to show that the infocoin with that serial number is now in Bobs possession, and no longer belongs to Alice.

This last solution looks pretty promising. However, it turns out that we can do something much more ambitious. We can eliminate the bank entirely from the protocol. This changes the nature of the currency considerably. It means that there is no longer any single organization in charge of the currency. And when you think about the enormous power a central bank has control over the money supply thats a pretty huge change.

The idea is to make it so everyone (collectively) is the bank. In particular, well assume that everyone using Infocoin keeps a complete record of which infocoins belong to which person. You can think of this as a shared public ledger showing all Infocoin transactions. Well call this ledger the block chain, since thats what the complete record will be called in Bitcoin, once we get to it.

Now, suppose Alice wants to transfer an infocoin to Bob. She signs the message I, Alice, am giving Bob one infocoin, with serial number 1234567, and gives the signed message to Bob. Bob can use his copy of the block chain to check that, indeed, the infocoin is Alices to give. If that checks out then he broadcasts both Alices message and his acceptance of the transaction to the entire network, and everyone updates their copy of the block chain.

We still have the where do serial number come from problem, but that turns out to be pretty easy to solve, and so I will defer it to later, in the discussion of Bitcoin. A more challenging problem is that this protocol allows Alice to cheat by double spending her infocoin. She sends the signed message I, Alice, am giving Bob one infocoin, with serial number 1234567 to Bob, and the messageI, Alice, am giving Charlie one infocoin, with [the same] serial number 1234567 to Charlie. Both Bob and Charlie use their copy of the block chain to verify that the infocoin is Alices to spend. Provided they do this verification at nearly the same time (before theyve had a chance to hear from one another), both will find that, yes, the block chain shows the coin belongs to Alice. And so they will both accept the transaction, and also broadcast their acceptance of the transaction. Now theres a problem. How should other people update their block chains? There may be no easy way to achieve a consistent shared ledger of transactions. And even if everyone can agree on a consistent way to update their block chains, there is still the problem that either Bob or Charlie will be cheated.

At first glance double spending seems difficult for Alice to pull off. After all, if Alice sends the message first to Bob, then Bob can verify the message, and tell everyone else in the network (including Charlie) to update their block chain. Once that has happened, Charlie would no longer be fooled by Alice. So there is most likely only a brief period of time in which Alice can double spend. However, its obviously undesirable to have any such a period of time. Worse, there are techniques Alice could use to make that period longer. She could, for example, use network traffic analysis to find times when Bob and Charlie are likely to have a lot of latency in communication. Or perhaps she could do something to deliberately disrupt their communications. If she can slow communication even a little that makes her task of double spending much easier.

How can we address the problem of double spending? The obvious solution is that when Alice sends Bob an infocoin, Bob shouldnt try to verify the transaction alone. Rather, he should broadcast the possible transaction to the entire network of Infocoin users, and ask them to help determine whether the transaction is legitimate. If they collectively decide that the transaction is okay, then Bob can accept the infocoin, and everyone will update their block chain. This type of protocol can help prevent double spending, since if Alice tries to spend her infocoin with both Bob and Charlie, other people on the network will notice, and network users will tell both Bob and Charlie that there is a problem with the transaction, and the transaction shouldnt go through.

In more detail, lets suppose Alice wants to give Bob an infocoin. As before, she signs the message I, Alice, am giving Bob one infocoin, with serial number 1234567, and gives the signed message to Bob. Also as before, Bob does a sanity check, using his copy of the block chain to check that, indeed, the coin currently belongs to Alice. But at that point the protocol is modified. Bob doesnt just go ahead and accept the transaction. Instead, he broadcasts Alices message to the entire network. Other members of the network check to see whether Alice owns that infocoin. If so, they broadcast the message Yes, Alice owns infocoin 1234567, it can now be transferred to Bob. Once enough people have broadcast that message, everyone updates their block chain to show that infocoin 1234567 now belongs to Bob, and the transaction is complete.

This protocol has many imprecise elements at present. For instance, what does it mean to say once enough people have broadcast that message? What exactly does enough mean here? It cant mean everyone in the network, since we dont a priori know who is on the Infocoin network. For the same reason, it cant mean some fixed fraction of users in the network. We wont try to make these ideas precise right now. Instead, in the next section Ill point out a serious problem with the approach as described. Fixing that problem will at the same time have the pleasant side effect of making the ideas above much more precise.

Suppose Alice wants to double spend in the network-based protocol I just described. She could do this by taking over the Infocoin network. Lets suppose she uses an automated system to set up a large number of separate identities, lets say a billion, on the Infocoin network. As before, she tries to double spend the same infocoin with both Bob and Charlie. But when Bob and Charlie ask the network to validate their respective transactions, Alices sock puppet identities swamp the network, announcing to Bob that theyve validated his transaction, and to Charlie that theyve validated his transaction, possibly fooling one or both into accepting the transaction.

Theres a clever way of avoiding this problem, using an idea known as proof-of-work. The idea is counterintuitive and involves a combination of two ideas: (1) to (artificially) make it computationally costly for network users to validate transactions; and (2) to reward them for trying to help validate transactions. The reward is used so that people on the network will try to help validate transactions, even though thats now been made a computationally costly process. The benefit of making it costly to validate transactions is that validation can no longer be influenced by the number of network identities someone controls, but only by the total computational power they can bring to bear on validation. As well see, with some clever design we can make it so a cheater would need enormous computational resources to cheat, making it impractical.

Thats the gist of proof-of-work. But to really understand proof-of-work, we need to go through the details.

Suppose Alice broadcasts to the network the news that I, Alice, am giving Bob one infocoin, with serial number 1234567.

As other people on the network hear that message, each adds it to a queue of pending transactions that theyve been told about, but which havent yet been approved by the network. For instance, another network user named David might have the following queue of pending transactions:

I, Tom, am giving Sue one infocoin, with serial number 1201174.

I, Sydney, am giving Cynthia one infocoin, with serial number 1295618.

I, Alice, am giving Bob one infocoin, with serial number 1234567.

David checks his copy of the block chain, and can see that each transaction is valid. He would like to help out by broadcasting news of that validity to the entire network.

However, before doing that, as part of the validation protocol David is required to solve a hard computational puzzle the proof-of-work. Without the solution to that puzzle, the rest of the network wont accept his validation of the transaction.

What puzzle does David need to solve? To explain that, let be a fixed hash function known by everyone in the network its built into the protocol. Bitcoin uses the well-known SHA-256 hash function, but any cryptographically secure hash function will do. Lets give Davids queue of pending transactions a label, , just so its got a name we can refer to. Suppose David appends a number (called the nonce) to and hashes the combination. For example, if we use Hello, world! (obviously this is not a list of transactions, just a string used for illustrative purposes) and the nonce then (output is in hexadecimal)

The puzzle David has to solve the proof-of-work is to find a nonce such that when we append to and hash the combination the output hash begins with a long run of zeroes. The puzzle can be made more or less difficult by varying the number of zeroes required to solve the puzzle. A relatively simple proof-of-work puzzle might require just three or four zeroes at the start of the hash, while a more difficult proof-of-work puzzle might require a much longer run of zeros, say 15 consecutive zeroes. In either case, the above attempt to find a suitable nonce, with , is a failure, since the output doesnt begin with any zeroes at all. Trying doesnt work either:

We can keep trying different values for the nonce, . Finally, at we obtain:

This nonce gives us a string of four zeroes at the beginning of the output of the hash. This will be enough to solve a simple proof-of-work puzzle, but not enough to solve a more difficult proof-of-work puzzle.

What makes this puzzle hard to solve is the fact that the output from a cryptographic hash function behaves like a random number: change the input even a tiny bit and the output from the hash function changes completely, in a way thats hard to predict. So if we want the output hash value to begin with 10 zeroes, say, then David will need, on average, to try different values for before he finds a suitable nonce. Thats a pretty challenging task, requiring lots of computational power.

Obviously, its possible to make this puzzle more or less difficult to solve by requiring more or fewer zeroes in the output from the hash function. In fact, the Bitcoin protocol gets quite a fine level of control over the difficulty of the puzzle, by using a slight variation on the proof-of-work puzzle described above. Instead of requiring leading zeroes, the Bitcoin proof-of-work puzzle requires the hash of a blocks header to be lower than or equal to a number known as the target. This target is automatically adjusted to ensure that a Bitcoin block takes, on average, about ten minutes to validate.

(In practice there is a sizeable randomness in how long it takes to validate a block sometimes a new block is validated in just a minute or two, other times it may take 20 minutes or even longer. Its straightforward to modify the Bitcoin protocol so that the time to validation is much more sharply peaked around ten minutes. Instead of solving a single puzzle, we can require that multiple puzzles be solved; with some careful design it is possible to considerably reduce the variance in the time to validate a block of transactions.)

Alright, lets suppose David is lucky and finds a suitable nonce, . Celebration! (Hell be rewarded for finding the nonce, as described below). He broadcasts the block of transactions hes approving to the network, together with the value for . Other participants in the Infocoin network can verify that is a valid solution to the proof-of-work puzzle. And they then update their block chains to include the new block of transactions.

For the proof-of-work idea to have any chance of succeeding, network users need an incentive to help validate transactions. Without such an incentive, they have no reason to expend valuable computational power, merely to help validate other peoples transactions. And if network users are not willing to expend that power, then the whole system wont work. The solution to this problem is to reward people who help validate transactions. In particular, suppose we reward whoever successfully validates a block of transactions by crediting them with some infocoins. Provided the infocoin reward is large enough that will give them an incentive to participate in validation.

In the Bitcoin protocol, this validation process is called mining. For each block of transactions validated, the successful miner receives a bitcoin reward. Initially, this was set to be a 50 bitcoin reward. But for every 210,000 validated blocks (roughly, once every four years) the reward halves. This has happened just once, to date, and so the current reward for mining a block is 25 bitcoins. This halving in the rate will continue every four years until the year 2140 CE. At that point, the reward for mining will drop below bitcoins per block. bitcoins is actually the minimal unit of Bitcoin, and is known as a satoshi. So in 2140 CE the total supply of bitcoins will cease to increase. However, that wont eliminate the incentive to help validate transactions. Bitcoin also makes it possible to set aside some currency in a transaction as a transaction fee, which goes to the miner who helps validate it. In the early days of Bitcoin transaction fees were mostly set to zero, but as Bitcoin has gained in popularity, transaction fees have gradually risen, and are now a substantial additional incentive on top of the 25 bitcoin reward for mining a block.

You can think of proof-of-work as a competition to approve transactions. Each entry in the competition costs a little bit of computing power. A miners chance of winning the competition is (roughly, and with some caveats) equal to the proportion of the total computing power that they control. So, for instance, if a miner controls one percent of the computing power being used to validate Bitcoin transactions, then they have roughly a one percent chance of winning the competition. So provided a lot of computing power is being brought to bear on the competition, a dishonest miner is likely to have only a relatively small chance to corrupt the validation process, unless they expend a huge amount of computing resources.

Of course, while its encouraging that a dishonest party has only a relatively small chance to corrupt the block chain, thats not enough to give us confidence in the currency. In particular, we havent yet conclusively addressed the issue of double spending.

Ill analyse double spending shortly. Before doing that, I want to fill in an important detail in the description of Infocoin. Wed ideally like the Infocoin network to agree upon the order in which transactions have occurred. If we dont have such an ordering then at any given moment it may not be clear who owns which infocoins. To help do this well require that new blocks always include a pointer to the last block validated in the chain, in addition to the list of transactions in the block. (The pointer is actually just a hash of the previous block). So typically the block chain is just a linear chain of blocks of transactions, one after the other, with later blocks each containing a pointer to the immediately prior block:

Occasionally, a fork will appear in the block chain. This can happen, for instance, if by chance two miners happen to validate a block of transactions near-simultaneously both broadcast their newly-validated block out to the network, and some people update their block chain one way, and others update their block chain the other way:

This causes exactly the problem were trying to avoid its no longer clear in what order transactions have occurred, and it may not be clear who owns which infocoins. Fortunately, theres a simple idea that can be used to remove any forks. The rule is this: if a fork occurs, people on the network keep track of both forks. But at any given time, miners only work to extend whichever fork is longest in their copy of the block chain.

Suppose, for example, that we have a fork in which some miners receive block A first, and some miners receive block B first. Those miners who receive block A first will continue mining along that fork, while the others will mine along fork B. Lets suppose that the miners working on fork B are the next to successfully mine a block:

After they receive news that this has happened, the miners working on fork A will notice that fork B is now longer, and will switch to working on that fork. Presto, in short order work on fork A will cease, and everyone will be working on the same linear chain, and block A can be ignored. Of course, any still-pending transactions in A will still be pending in the queues of the miners working on fork B, and so all transactions will eventually be validated.

Likewise, it may be that the miners working on fork A are the first to extend their fork. In that case work on fork B will quickly cease, and again we have a single linear chain.

No matter what the outcome, this process ensures that the block chain has an agreed-upon time ordering of the blocks. In Bitcoin proper, a transaction is not considered confirmed until: (1) it is part of a block in the longest fork, and (2) at least 5 blocks follow it in the longest fork. In this case we say that the transaction has 6 confirmations. This gives the network time to come to an agreed-upon the ordering of the blocks. Well also use this strategy for Infocoin.

With the time-ordering now understood, lets return to think about what happens if a dishonest party tries to double spend. Suppose Alice tries to double spend with Bob and Charlie. One possible approach is for her to try to validate a block that includes both transactions. Assuming she has one percent of the computing power, she will occasionally get lucky and validate the block by solving the proof-of-work. Unfortunately for Alice, the double spending will be immediately spotted by other people in the Infocoin network and rejected, despite solving the proof-of-work problem. So thats not something we need to worry about.

A more serious problem occurs if she broadcasts two separate transactions in which she spends the same infocoin with Bob and Charlie, respectively. She might, for example, broadcast one transaction to a subset of the miners, and the other transaction to another set of miners, hoping to get both transactions validated in this way. Fortunately, in this case, as weve seen, the network will eventually confirm one of these transactions, but not both. So, for instance, Bobs transaction might ultimately be confirmed, in which case Bob can go ahead confidently. Meanwhile, Charlie will see that his transaction has not been confirmed, and so will decline Alices offer. So this isnt a problem either. In fact, knowing that this will be the case, there is little reason for Alice to try this in the first place.

An important variant on double spending is if Alice = Bob, i.e., Alice tries to spend a coin with Charlie which she is also spending with herself (i.e., giving back to herself). This sounds like it ought to be easy to detect and deal with, but, of course, its easy on a network to set up multiple identities associated with the same person or organization, so this possibility needs to be considered. In this case, Alices strategy is to wait until Charlie accepts the infocoin, which happens after the transaction has been confirmed 6 times in the longest chain. She will then attempt to fork the chain before the transaction with Charlie, adding a block which includes a transaction in which she pays herself:

Unfortunately for Alice, its now very difficult for her to catch up with the longer fork. Other miners wont want to help her out, since theyll be working on the longer fork. And unless Alice is able to solve the proof-of-work at least as fast as everyone else in the network combined roughly, that means controlling more than fifty percent of the computing power then she will just keep falling further and further behind. Of course, she might get lucky. We can, for example, imagine a scenario in which Alice controls one percent of the computing power, but happens to get lucky and finds six extra blocks in a row, before the rest of the network has found any extra blocks. In this case, she might be able to get ahead, and get control of the block chain. But this particular event will occur with probability . A more general analysis along these lines shows that Alices probability of ever catching up is infinitesimal, unless she is able to solve proof-of-work puzzles at a rate approaching all other miners combined.

Of course, this is not a rigorous security analysis showing that Alice cannot double spend. Its merely an informal plausibility argument. The original paper introducing Bitcoin did not, in fact, contain a rigorous security analysis, only informal arguments along the lines Ive presented here. The security community is still analysing Bitcoin, and trying to understand possible vulnerabilities. You can see some of this research listed here, and I mention a few related problems in the Problems for the author below. At this point I think its fair to say that the jury is still out on how secure Bitcoin is.

The proof-of-work and mining ideas give rise to many questions. How much reward is enough to persuade people to mine? How does the change in supply of infocoins affect the Infocoin economy? Will Infocoin mining end up concentrated in the hands of a few, or many? If its just a few, doesnt that endanger the security of the system? Presumably transaction fees will eventually equilibriate wont this introduce an unwanted source of friction, and make small transactions less desirable? These are all great questions, but beyond the scope of this post. I may come back to the questions (in the context of Bitcoin) in a future post. For now, well stick to our focus on understanding how the Bitcoin protocol works.

Lets move away from Infocoin, and describe the actual Bitcoin protocol. There are a few new ideas here, but with one exception (discussed below) theyre mostly obvious modifications to Infocoin.

To use Bitcoin in practice, you first install a wallet program on your computer. To give you a sense of what that means, heres a screenshot of a wallet called Multbit. You can see the Bitcoin balance on the left 0.06555555 Bitcoins, or about 70 dollars at the exchange rate on the day I took this screenshot and on the right two recent transactions, which deposited those 0.06555555 Bitcoins:

Suppose youre a merchant who has set up an online store, and youve decided to allow people to pay using Bitcoin. What you do is tell your wallet program to generate a Bitcoin address. In response, it will generate a public / private key pair, and then hash the public key to form your Bitcoin address:

You then send your Bitcoin address to the person who wants to buy from you. You could do this in email, or even put the address up publicly on a webpage. This is safe, since the address is merely a hash of your public key, which can safely be known by the world anyway. (Ill return later to the question of why the Bitcoin address is a hash, and not just the public key.)

The person who is going to pay you then generates a transaction. Lets take a look at the data from an actual transaction transferring bitcoins. Whats shown below is very nearly the raw data. Its changed in three ways: (1) the data has been deserialized; (2) line numbers have been added, for ease of reference; and (3) Ive abbreviated various hashes and public keys, just putting in the first six hexadecimal digits of each, when in reality they are much longer. Heres the data:

Lets go through this, line by line.

Line 1 contains the hash of the remainder of the transaction, 7c4025..., expressed in hexadecimal. This is used as an identifier for the transaction.

Line 2 tells us that this is a transaction in version 1 of the Bitcoin protocol.

Lines 3 and 4 tell us that the transaction has one input and one output, respectively. Ill talk below about transactions with more inputs and outputs, and why thats useful.

Line 5 contains the value for lock_time, which can be used to control when a transaction is finalized. For most Bitcoin transactions being carried out today the lock_time is set to 0, which means the transaction is finalized immediately.

Line 6 tells us the size (in bytes) of the transaction. Note that its not the monetary amount being transferred! That comes later.

Lines 7 through 11 define the input to the transaction. In particular, lines 8 through 10 tell us that the input is to be taken from the output from an earlier transaction, with the given hash, which is expressed in hexadecimal as 2007ae.... The n=0 tells us its to be the first output from that transaction; well see soon how multiple outputs (and inputs) from a transaction work, so dont worry too much about this for now. Line 11 contains the signature of the person sending the money, 304502..., followed by a space, and then the corresponding public key, 04b2d.... Again, these are both in hexadecimal.

One thing to note about the input is that theres nothing explicitly specifying how many bitcoins from the previous transaction should be spent in this transaction. In fact, all the bitcoins from the n=0th output of the previous transaction are spent. So, for example, if the n=0th output of the earlier transaction was 2 bitcoins, then 2 bitcoins will be spent in this transaction. This seems like an inconvenient restriction like trying to buy bread with a 20 dollar note, and not being able to break the note down. The solution, of course, is to have a mechanism for providing change. This can be done using transactions with multiple inputs and outputs, which well discuss in the next section.

Lines 12 through 14 define the output from the transaction. In particular, line 13 tells us the value of the output, 0.319 bitcoins. Line 14 is somewhat complicated. The main thing to note is that the string a7db6f... is the Bitcoin address of the intended recipient of the funds (written in hexadecimal). In fact, Line 14 is actually an expression in Bitcoins scripting language. Im not going to describe that language in detail in this post, the important thing to take away now is just that a7db6f... is the Bitcoin address.

You can now see, by the way, how Bitcoin addresses the question I swept under the rug in the last section: where do Bitcoin serial numbers come from? In fact, the role of the serial number is played by transaction hashes. In the transaction above, for example, the recipient is receiving 0.319 Bitcoins, which come out of the first output of an earlier transaction with hash 2007ae... (line 9). If you go and look in the block chain for that transaction, youd see that its output comes from a still earlier transaction. And so on.

There are two clever things about using transaction hashes instead of serial numbers. First, in Bitcoin theres not really any separate, persistent coins at all, just a long series of transactions in the block chain. Its a clever idea to realize that you dont need persistent coins, and can just get by with a ledger of transactions. Second, by operating in this way we remove the need for any central authority issuing serial numbers. Instead, the serial numbers can be self-generated, merely by hashing the transaction.

In fact, its possible to keep following the chain of transactions further back in history. Ultimately, this process must terminate. This can happen in one of two ways. The first possibilitty is that youll arrive at the very first Bitcoin transaction, contained in the so-called Genesis block. This is a special transaction, having no inputs, but a 50 Bitcoin output. In other words, this transaction establishes an initial money supply. The Genesis block is treated separately by Bitcoin clients, and I wont get into the details here, although its along similar lines to the transaction above. You can see the deserialized raw data here, and read about the Genesis block here.

The second possibility when you follow a chain of transactions back in time is that eventually youll arrive at a so-called coinbase transaction. With the exception of the Genesis block, every block of transactions in the block chain starts with a special coinbase transaction. This is the transaction rewarding the miner who validated that block of transactions. It uses a similar but not identical format to the transaction above. I wont go through the format in detail, but if you want to see an example, see here. You can read a little more about coinbase transactions here.

Something I havent been precise about above is what exactly is being signed by the digital signature in line 11. The obvious thing to do is for the payer to sign the whole transaction (apart from the transaction hash, which, of course, must be generated later). Currently, this is not what is done some pieces of the transaction are omitted. This makes some pieces of the transaction malleable, i.e., they can be changed later. However, this malleability does not include the amounts being paid out, senders and recipients, which cant be changed later. I must admit I havent dug down into the details here. I gather that this malleability is under discussion in the Bitcoin developer community, and there are efforts afoot to reduce or eliminate this malleability.

In the last section I described how a transaction with a single input and a single output works. In practice, its often extremely convenient to create Bitcoin transactions with multiple inputs or multiple outputs. Ill talk below about why this can be useful. But first lets take a look at the data from an actual transaction:

Lets go through the data, line by line. Its very similar to the single-input-single-output transaction, so Ill do this pretty quickly.

Line 1 contains the hash of the remainder of the transaction. This is used as an identifier for the transaction.

Line 2 tells us that this is a transaction in version 1 of the Bitcoin protocol.

Lines 3 and 4 tell us that the transaction has three inputs and two outputs, respectively.

Line 5 contains the lock_time. As in the single-input-single-output case this is set to 0, which means the transaction is finalized immediately.

Line 6 tells us the size of the transaction in bytes.

Lines 7 through 19 define a list of the inputs to the transaction. Each corresponds to an output from a previous Bitcoin transaction.

The first input is defined in lines 8 through 11.

In particular, lines 8 through 10 tell us that the input is to be taken from the n=0th output from the transaction with hash 3beabc.... Line 11 contains the signature, followed by a space, and then the public key of the person sending the bitcoins.

Lines 12 through 15 define the second input, with a similar format to lines 8 through 11. And lines 16 through 19 define the third input.

Lines 20 through 24 define a list containing the two outputs from the transaction.

The first output is defined in lines 21 and 22. Line 21 tells us the value of the output, 0.01068000 bitcoins. As before, line 22 is an expression in Bitcoins scripting language. The main thing to take away here is that the string e8c30622... is the Bitcoin address of the intended recipient of the funds.

The second output is defined lines 23 and 24, with a similar format to the first output.

Go here to see the original:
How the Bitcoin protocol actually works | DDI

Beginner’s Guide to Mining Bitcoin

One of the biggest problems I ran into when I was looking to start mining Bitcoin for investment and profit was most of the sites were written for the advanced user. I am not a professional coder, I have no experience with Ubuntu, Linux and minimal experience with Mac. So, this is for the individual or group that wants to get started the easy way.

First thing you need to do is get a Bitcoin Wallet. Because Bitcoin is an internet based currency, you need a place to keep your Bitcoins. Got to http://www.bitcoin.org and download the Bitcoin client for your Operating System. Install it the client will begin to download the blockchain. Downloading the blockchain can take a long time and will be over 6GB of data. If you have data caps, I would recommend ordering a copy of the blockchain on DVD to keep from going over as it is growing exponentially. Click to order the bitcoin blockchain by mail. Once the client is up to date, click New to get your wallet address. It will be a long sequence of letters and numbers. One of most important things you can do is make sure you have a copy of the wallet.dat file on a thumb drive and print a copy out and keep it in a safe location. You can view a tutorial on how to create a secure wallet by clicking the link on the top of the page. The reason is that if you computer crashes and you do not have a copy of your wallet.dat file, you will lose all of your Bitcoins. They wont go to someone else, they will disappear forever. It is like burning cash.

Now that you have a wallet and the client, you are probably roaring to go, but if you actually want to make Bitcoin (money), you probably need to join a pool. A pool is a group that combines their computing power to make more Bitcoins. The reason you shouldnt go it alone is that Bitcoins are awarded in blocks, usually 50 at a time, and unless you get extremely lucky, you will not be getting any of those coins. In a pool, you are given smaller and easier algorithms to solve and all of your combined work will make you more likely to solve the bigger algorithm and earn Bitcoins that are spread out throughout the pool based on your contribution. Basically, you will make a more consistent amount of Bitcoins and will be more likely to receive a good return on your investment.

The pool that Im involved in is called Slushs Pool so I will be giving instructions on how to join there but feel free to look at other options. Follow the link to go to their site and click the Sign up here link at the top of their site and follow their step by step instructions. After you have your account set up, you will need to add a Worker. Basically, for every miner that you have running, you will need to have a worker ID so the pool can keep track of your contributions.

If you are mining with an ASIC, please go to our Mining with ASICs page. The following will only pertain to GPU miners.

Most of the mining programs out there are pretty complicated to setup and will frustrate your average user. Recently a great program has come out to get the most basic of users started. The program is called GUIMiner. Click the link and download the program (Be careful, some of the ads are set up to look like the file download). Install and run the program and add in your information from Slushs Pool. Remember that the user name is actually the worker name. The worker name will be your user name, dot, worker ID (username.worker ID) and the password from that worker ID.

Mac users should look into using Astroid

Now that you are set up, you can start mining. If you feel like you want to make more Bitcoins, you might want to invest in mining hardware.

To see how much your current hardware will earn mining Bitcoins, head over to the Bitcoin Profitability Calculator.

If you found this information helpful, please donate to 1G1ehppEgjiFTUSHFz2xs9KLSQuWLPYF2o

See original here:
Beginner's Guide to Mining Bitcoin

Bitcoin Price Technical Analysis for 3/8/2015 Whats …

The weekend brought pain for Bitcoin, but that was always on the cards. My Fridays Bitcoin price technical analysis Palpable Strain concluded on a bearish note saying that a close below $286 could bring in further decline, and as can be seen, the cryptocurrency did slump intraday to $276.57 before taking support from near the previous consolidation level of $275.

Bitcoin is currently trading at $281.26.

Now, the important question that must concern the trading community is: Is this relief from the support level for real or is it a trap? This analysis will aim to provide some answers.

Image: https://www.tradingview.com/x/qpzvELmb/

Bitcoin Chart Structure The recent decline from $298 to $276 diminishes the probability of an immediate higher top. A careful observation of the above-presented daily BTC-USD price chart reveals that Bitcoin is in a descending triangle a bearish technical chart pattern which successfully matures 60-70% of the time. The Resistance has been marked by the downward sloping red line while the Support is horizontal.

Fibonacci Retracements As stated previously many times, the 38.2% Fibonacci retracement level of $280 did provide aninterim cushion to the Bitcoin. A decisive breach below this should set the next target at $268 the 50% retracement.

Moving Average Convergence Divergence The Histogram has sunk lower in the negative territory as MACD extends its slide. The latest values of Histogram, MACD and Signal Line are -2.3278, 3.9254 and 6.2531 respectively.

Momentum The Momentum indicator has a present value of -7.7500.

Money Flow Index As stated in theprevious analysis, the divergence between MFI and price has brought losses to Bitcoin. The MFI now reads 59.7792.

Read more:
Bitcoin Price Technical Analysis for 3/8/2015 Whats ...