25 June 2016

Stores of Value

The previous post mentioned, 'While working through [bitcoin] lectures, I've noted a few topics worth pursuing on this blog. The first is' Core Developers. The second should have been this current post, but I'm taking a short detour because of the excitement and chaos provoked by Brexit, aka United Kingdom withdrawal from the European Union (wikipedia.org).
The UK electorate again addressed the question on 23 June 2016, in a referendum on the country's membership. This referendum was arranged by Parliament when it passed the European Union Referendum Act 2015. The result of this referendum held in June 2016 was 51.9% in support of an exit (17,410,742 votes) and 48.1% (16,141,241 votes) to remain.

On a whim, I looked at 'bitcoin brexit', and discovered that the bitcoin price spiked as the result of the vote became known. Since the price of gold also spiked, I wondered if there was any correlation. The following charts, from finance.yahoo.com, show the price action in both commodities over the last week.

Bitcoin (BTCUSD=X)

Gold Futures,Aug-2016

Although other factors were moving the price of bitcoin on the days before the vote, the Brexit result moved the price over the next hours before finding an equilibrium. Bitcoin enthusiasts like to promote the crypto-currency as a stable Store of value (wikipedia.org again)...

A store of value is the function of an asset that can be saved, retrieved and exchanged at a later time, and be predictably useful when retrieved. The most common store of value in modern times has been money, currency, or a commodity like gold, or financial capital. The point of any store of value is risk management due to a stable demand for the underlying asset.

...but is it really? One point of view is Bitcoin as a Store of Value, Unit of Account, and Medium of Exchange (nakamotoinstitute.org), illustrated with a picture of King Kong.

18 June 2016

Core Developers

While continuing to follow the Online Bitcoin Course (started March 2016), I received a message from the domain hosting the course.
In 2014, Coursera began developing a new technology platform to improve your learning experience, and to allow courses to run more frequently. The majority of our courses are now offered on the new platform. This month, we are closing the old platform. One or more courses you joined are on the old platform. Effective June 30, 2016, courses on the old platform will no longer be available. You should use this opportunity to save any relevant course materials or assignments.

That meant I had to finish the course by the end of this month. I'm already on the last lecture -- 'Lecture 11: The Future of Bitcoin' -- with only a 'bonus' lecture to follow, so I should finish in time. In any case, the last lectures are somewhat less interesting than the first, as they deal with topics that are mainly of interest to the academic community.

While working through the lectures, I've noted a few topics worth pursuing on this blog. The first is shown below.


Lecture 7.2 - Bitcoin core software (3:00)

Pictured are a handful of core developers at the time the course was created, around mid-2014. While researching this post, I discovered that the term 'bitcoin core developers' means different things to different people. Exluding Satoshi Nakamoto, the other five are listed on the page Bitcoin Development (bitcoin.org), under 'Bitcoin Core contributors (ordered by number of commits)'. Their names, along with the number of results returned by a Google search are as follows:-

  • Wladimir van der Laan (10.800 results)
  • Gavin Andresen (107.000)
  • Jeff Garzik (42.700)
  • Gregory Maxwell (84.700)
  • Pieter Wuille (16.900)

A Reddit.com discussion appeared this week titled A thank you to Bitcoin Core developers. Although it's largely political, as is much of the noise around bitcoin, it's a sentiment shared by many.

11 June 2016

Ethereum Crash Course

In the previous post, Bitcoin in the News : 2016-05, I wrote,
Trendy names are part of the bitcoin mystique. Here's another one. [Ethereum news story] A Google search on this blog picks up scattered transient references to 'Ethereum', apparently from the embedded news feeds in the right navbar, plus a couple of real references, including News : 2016-03. Time for a separate post on this topic?

Yes, it's time. The main site for the product/service is Ethereum Project (ethereum.org). It starts,

Ethereum is a decentralized platform that runs smart contracts: applications that run exactly as programmed without any possibility of downtime, censorship, fraud or third party interference. These apps run on a custom built blockchain, an enormously powerful shared global infrastructure that can move value around and represent the ownership of property.

Wikipedia's main article is Ethereum:-

Ethereum is a public blockchain platform with programmable transaction functionality. It provides a decentralized virtual machine that can execute peer-to-peer contracts using a cryptocurrency called Ether. [...] History: Ethereum was initially described in a white paper by Russian Canadian Vitalik Buterin, a programmer involved with Bitcoin, in late 2013 with a goal of building decentralized applications. As opposed to other "bitcoin 2.0" projects that were being built on top of the Bitcoin protocol, Ethereum created its own blockchain to provide greater development flexibility by inclusion of a Turing complete programming language.'

The phrase 'Turing complete' is computer science jargon for a full programming language. Also relevant is Wikipedia's Smart contract:-

Smart contracts are computer protocols that facilitate, verify, or enforce the negotiation or performance of a contract, or that make a contractual clause unnecessary. Smart contracts usually also have a user interface and often emulate the logic of contractual clauses.

The Wikipedia 'Ethereum' page references Ethereum, a Virtual Currency, Enables Transactions That Rival Bitcoin’s by Nathaniel Popper (nytimes.com):-

A new virtual gold rush is underway. Even as Bitcoin, riven by internal divisions, has struggled, a rival virtual currency -- known as Ethereum -- has soared in value, climbing 1,000 percent over the last three months. [...] Since Bitcoin was invented, there have been many so-called alt-coins that have tried to improve on Bitcoin, but none have won the following of Ethereum.

I had already picked up the NYT article in News : 2016-03, but neglected to mention Popper. He first appeared in News : 2016-01:-

[Two] stories were by Nathaniel Popper, writing for NYT's DealBook. Popper is the author of 'Digital Gold: Bitcoin and the Inside Story of the Misfits and Millionaires Trying to Reinvent Money' (Harper, 2015).

That's enough for this post. Keywords: smart contracts, gold rush.

04 June 2016

Bitcoin in the News : 2016-05

I ended last month's Bitcoin in the News : 2016-04 with a prediction.
Now I'll look into the crystal ball at 'Bitcoin in the News : 2016-05', because there's one bitcoin story that was, that is, and that ever will be.

I could have said 'an easy prediction'. The latest 'Who is Satoshi?' furore lasted about a week.

Australia also figured in the bitcoin news towards the end of the month.

  • Australia to sell £8m of seized bitcoins (bbc.com); 'A collection of bitcoins worth about £8m, which had been confiscated by police in Australia, will be auctioned off in June. The 24,518 bitcoins will be sold mostly in blocks of 2,000 - each with a market value of about £680,000.'

Other sources reported the total value in dollars as a range $12m - $16m, reflecting uncertainty over the pound-to-dollar exchange rate, the dollar-to-bitcoin rate, and the auction bids. The current price of bitcoin is $573. What would I bid for 2,000 of them?

That post 'News : 2016-04' also made the not-so-startling observation that 'web "journalism" is based on lists'. The current post, 'News : 2016-05', once again confirms this.

What's 'Consensus' when you start the word with an upper-case 'C'? The Yahoo article explained, 'The big bitcoin conference Consensus descended on Manhattan this week, and a number of significant companies chose it as a venue to announce news.' Trendy names are part of the bitcoin mystique. Here's another one.

A Google search on this blog picks up scattered transient references to 'Ethereum', apparently from the embedded news feeds in the right navbar, plus a couple of real references, including News : 2016-03. Time for a separate post on this topic?

Another story interested me because long ago I made a couple of business trips to the town. It's small stories like this one that make the big picture.

  • Why a Swiss Tax Haven is Embracing Bitcoin (fortune.com); 'Zug wants to be "Crypto Valley" : Municipal bosses in the Swiss town of Zug have decided to accept the bitcoin cryptocurrency for payments up to the value to 200 francs ($206), in a new pilot project.'

I'll skip this month's scandals and jump to future months' news.

Both stories will certainly appear in a follow-up news post. And let's not forget the Australian auction -- $573 times 2000 -- suppose I bid an even million? (Australian dollars, of course, because I have no idea what they're worth either. Maybe I should just place my bid in bitcoin myself : 'Bidding 2000 bitcoin for 2000 bitcoin'. Is that really so silly? Do I buy the bitcoin to pay the bitcoin before or after the auction? And how much is the auctioneer's commission?)

28 May 2016

Bitcoin Deanonymization

How's it going with that 'online bitcoin course', last mentioned in Going Deeper into Bitcoin (March 2016)? At that time I wrote,
It took me exactly a week to work through the first two lectures. I'm sure that I won't be able to maintain this pace week after week, and I only skimmed the readings.

I've reached lecture six where I found an interesting image in '6.2 Overview of Bitcoin Deanonymization'. At about 11:40 into the video, the following chart is shown.

A similar chart can be found in the paper A Fistful of Bitcoins: Characterizing Payments Among Men with No Names Sarah Meiklejohn et al. The caption there (p.9) says,

Figure 6: A visualization of the user network. The area of the cluster represents the external incoming value; i.e., the bitcoins received from other clusters but not itself, and for an edge to appear between two nodes there must have been at least 200 transactions between them. The nodes are colored by category: blue nodes are mining pools; orange are fixed-rate exchanges; green are wallets; red are vendors; purple are (bank) exchanges; brown are gambling; pink are investment schemes; and grey are uncategorized.

Also interesting -- to me, at least -- are the 16 bitcoin services listed in the chart:-

bitcoin.de, bitcoinica, bitmit, bitpay, bitstamp, btc-e, deepbit, gibse, instawallet, mtgox, mybitcoin, okpay, ozcoin, satoshi btc dice, silk road, slush

Since few of those are household names, I'll look at them in another post.

21 May 2016

The MIT Connection

Adsense is everywhere. A few days ago I was working on a different topic when Google served an ad for bitcoin. I followed it and received something about an MIT white paper. Going further required me to enter an email address and since the ad promised only an 'excerpt' of the document, I stopped there. Afterwards I started to wonder if I could locate the original document. Using the obvious search terms I discovered Enigma (enigma.media.mit.edu).
Enigma is a decentralized cloud platform with guaranteed privacy. Private data is stored, shared and analyzed without ever being fully revealed to any party. Secure multi-party computation, empowered by the blockchain, is the magical technology behind it. [...] Want to dive in the technical details? See our whitepaper!

Sounds interesting, but first I wanted to look into the MIT Media Lab, a group whose name pops up repeatedly in bitcoin discussions. More search terms led to The Media Lab Digital Currency Initiative.

The goal of the Media Lab Digital Currency initiative is to bring together global experts in areas ranging from cryptography, to economics, to privacy, to distributed systems, to take on this important new area of research.

Anything else of interest from MIT? There's the MIT Bitcoin Club (bitcoin.mit.edu; 'Come discover Bitcoin!').

We believe Bitcoin has the potential to be not just a digital currency, but the future of money. While it is still in the early stages, we see Bitcoin as a protocol or platform on which financial and non-financial transactions can be conducted and verified as part of a global public ledger. Bitcoin lies at the intersection of several important academic research areas, including cryptography, distributed computing, graph theory, finance, and economics. The MIT Bitcoin Club seeks to provide forums where Bitcoin-related ideas, projects, programs, events, and businesses can be studied, discussed, and developed. Through club activities, we seek to increase awareness and use of Bitcoin within and beyond the MIT community.

There are also several recent stories on MIT's $900k Bitcoin Developer Fund (28 March 2016; coindesk.com).

MIT announced today it has raised $900,000 to fund the work of three bitcoin developers. The Bitcoin Developer Fund, backed by venture capitalist Fred Wilson, LinkedIn co-founder Reid Hoffman and others is intended to give the three bitcoin coders working to resolve the block-size debate and other similar technical challenges an academic platform from which to work.

These days $900K doesn't buy much development time ('the money will cover salaries, travel and support of bitcoin protocol development efforts'), but with bitcoin evolving so quickly, short time frames are probably best.

14 May 2016

Lightning, Malleability, Getting Hammered

The previous post, Bitcoin in the News : 2016-04, included an obvious follow-up.
The most repeated stories involved a couple of products. The first product was something called 'lightning'. [...] Since neither story explained what 'lightning' is, I'll pursue that in a future post.

The obvious search parameters lead to the product's home page (the term 'service' would be more accurate): Lightning Network, 'Scalable, Instant Bitcoin/Blockchain Transactions', explained with a 55 minute video. The site's 'How it Works' page explains,

The Lightning Network is dependent upon the underlying technology of the blockchain. By using real Bitcoin/blockchain transactions and using its native smart-contract scripting language, it is possible to create a secure network of participants which are able to transact at high volume and high speed.

Let's go back a year, to Could the Bitcoin Lightning Network Solve Blockchain Scalability? (coindesk.com; March 2015):-

The blockchain's increasing size continues to raise concerns about its ability to accommodate transaction growth. But, could a decentralised system where transactions are sent over a network of off-blockchain micropayment channels solve the ledger's scalability problems? Joseph Poon and Thaddeus Dryja, the developers behind the Bitcoin Lightning Network, think so.

That article points to a (much-referenced) white paper, the lightning-network paper-DRAFT-0.5.pdf:-

Abstract: • The bitcoin protocol can encompass the global financial transaction volume in all electronic payment systems today, without a single custodial 3rd party holding funds or requiring participants to have any more than a computer on a home broadband connection. A decentralized system is proposed whereby transactions are sent over a network of micropayment channels (a.k.a. payment channels or transaction channels) whose transfer of value occurs off-blockchain. If Bitcoin transactions can be signed with a new sighash type which addresses malleability, these transfers may occur between untrusted parties along the transfer route by contracts which are enforceable via broadcast over the bitcoin blockchain in the event of uncooperative or hostile participants, through a series of decrementing timelocks.

Malleability?

simple.wikipedia.org: • Malleability is the ability of a metal to be hammered into thin sheets. Gold and silver are highly malleable. When a piece of hot iron is hammered it takes the shape of a sheet. The property is not seen in non-metals.

Bitcoin malleability? From bitcoin.org/en/glossary, Transaction Malleability, Mutability:-

The ability of someone to change (mutate) unconfirmed transactions without making them invalid, which changes the transaction’s txid, making child transactions invalid.

I think I get it. Imagine the blockchain getting hammered. It turns out this happened last year; The Who, What, Why and How of the Ongoing Transaction Malleability Attack (bitcoinmagazine.com; October 2015):-

For the past several days, the Bitcoin network has been plagued by a so-called “transaction malleability attack.” Bitcoin users have experienced a number of annoyances, causing confusion and frustration. And while the transaction malleability issue is well-known and has plagued the Bitcoin network before, to many it is still unclear what it is, why it is a problem, who is causing the attack right now, and what can be done about it.

That's good to know, but I'm getting off track. Malleability might be an issue, but there are more fundamental concerns. From Debunking the 11 Most Stubborn Lightning Network Myths (bitcoinmagazine.com; October 2015, a week after the previous link -- a coincidence?):-

Earlier this year, [Poon & Dryja] released the Lightning Network white paper. In it they theorize how a layer on top of the Bitcoin blockchain can allow for instant and cheap bitcoin transactions, while vastly improving its scalability. As a result of the block-size limit debate, the Lightning Network has been getting a lot of attention lately. But, unfortunately, wild myths have started to dominate the discourse. Suddenly thrown in the middle of a long-lasting conflict of visions, Poon and Dryja's concept is hailed both as the great savior solving all of Bitcoin's problems – and as a source of deep corruption within Bitcoin's development community. [...]
• Myth #1: Core developers are crippling Bitcoin to force users onto the Lightning Network.
• Myth #2: There is no conflict of interest for the Core developers employed by Blockstream.
[...]
• Myth #11: The Lightning Network is urgently needed.

That's enough for now. I might not know how Lightning works in detail, but I know enough to understand that it's controversial. I'll let the controversies play out and come back to the subject if its evolution merits a deeper look.