Showing posts with label Currencies. Show all posts
Showing posts with label Currencies. Show all posts

30 March 2015

Could the Bitcoin Lightning Network Solve Blockchain Scalability?

Source: Coindesk

 (@yessi_kbello) |Published on March 26, 2015 at 16:16 BST

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.
Although still in its nascent stage, the Lightning Network – based on a recent white paper – aims to solve the scalability issue by implementing hashed timelock contracts between users.
The Bitcoin Lightning Network came to life in 2013, when Poon, "like many before him", he says, had the idea for hub and spoke payment channels. Dryja came on board soon after, making scripting and transactions more compact.
Poon told CoinDesk:
"I think that it is important to look at the way financial systems work because bitcoin development is replaying the history of money. The Lightning Network has significant similarities with how existing financial systems solve this problem."
"We hope to help solve bitcoin scalability and instant transactions, enabling bitcoin to encompass all transactions – even many thousands of micropayments per person," he concluded.
Initial challenges included the realisation that the solution required the implementation of a soft-fork; a change to the bitcoin protocol that serves to invalidate pervious blocks and transactions, although the old nodes still recognise the new blocks as valid.

The scalability problem

Full bitcoin nodes are required to store a record of every single transaction that takes place, and as this record grows, that in turn is decreasing the amount of people willing to pay for the escalating costs of running nodes.
For this reason, the developers believe that bitcoin's open ledger does not suffice as a lone payment platform.
To put this into perspective, according to the white paper, the Visa payment network is believed to complete 45,000 transactions per second during a standard holiday period. This increases to hundreds of millions on an average business day.
Bitcoin currently supports approximately seven transactions per second, and is limited to one megabyte of block space. To achieve more than 45,000 transactions per second, Poon and Dryja say that bitcoin transactions must be conducted off the blockchain itself.
The white paper notes:
"If only two parties care about a transaction, it's not necessary for all other nodes in the bitcoin network to know about that transaction. It is instead preferable to only have the bare minimum of information on the blockchain."
It continues: "It is desirable for two individuals to net out their relationship at a later date, rather than detailing every transaction on the blockchain. This can be achieved by using timelocks as a component to global consensus."

The Bitcoin Lightning Network

While this may sound complicated, essentially it works like this – If all bitcoin transactions are being discussed in an open forum, its public ledger, the lightning network allows parties to enter into a closed room for a period of time, conduct transactions during that period, and at the end of the agreed time, broadcast these transactions to the network.
The white paper states:
"The obligation to deliver funds to an end-recipient is achieved through a process of chained delegation. Each participant along the path assumes the obligation to deliver a particular recipient. They pass on this obligation to the next participant in the path."
Supporters of the proposal suggest this is an improvement over the current transaction systems employed by bitcoin services companies like Coinbase, where transactions are conducted off-blockchain, or away from the network.
They argue that in such scenarios, bitcoins on the network are controlled by Coinbase to avoid the complications of settling small transactions in real-time on the network. Lightning, they argue, presents an alternative where users are in control of funds.
The Lightning Network is not the only project seeking for a sustainable solution to micropayments, however.
BlockCypher recently proposed a solution by which it plans to "calculate miners' fees opportunistically" to ensure microtransactions are added to the blockchain. The system is already in use by Zapchain, the bitcoin-focused social network that recently launched a dedicated micropayments channel.

Decrementing timelocks

A hash-time locked contract is first opened by creating a transaction output which only the final recipient can redeem.
The recipient will generate random data 'R', and then hash 'R' using hash(R) to produce 'H'. This information is passed on directly from the receiver to the sender of the funds, along with the recipient's bitcoin address.
The sender then routes the payment to the receiver. Once the receiver has received an updated transaction in a micropayment channel, the recipient may elect to redeem the transaction by disclosing 'R', pulling the funds form the sender.
Fig Bitcoin Lightning network
Source: The Bitcoin Lightning Network White Paper
The purpose of the hash locked contract is to require message 'R' to be disclosed in order for the transaction to be broadcast on the blockchain before a certain date.
However, if Dave does not produce 'R' for Carol within the established time limit, then Carol will be able to close the hash locked time contract.
The receiver will never disclose 'R' unless they are certain that they will receive payment from one of the channel's counterparties. If a party disconnects the channel, the counterparty will be responsible for broadcasting the current commitment transaction state on the blockchain.

Associated risks

However, Poon's and Dryja's proposal does not come without an element of associated risk.
Time is of essence. Participants have to give each other enough time to complete the transaction. If not, invalid transactions may pass off as valid, enabling coins to be stolen.
Additionally, the developers explain that it is unlikely that all participants are honest. If a malicious party creates various channels and makes them all expire at once, this would overwhelm data capacity and would mean that the transaction would have to broadcast on to the chain.
This "mass spamming" of the bitcoin network could potentially delay transactions to the point where other timelocked transactions are also validated.
Then there's the issue of connectivity. In this system, all parties must be online to use private keys. If someone's computer is compromised, counterparty theft may also take place.
The counterparty may also be able to steal funds if one of the participants losses data. This can be mitigated by installing a third-party data storage service where encrypted data gets sent to this third party service. Additionally, the white paper notes:
"One should choose channel counterparties who are responsible and willing to provide the current state, with some periodic tests of honesty."

Community reaction

The Bitcoin Lightning network is certainly a bold attempt at solving the blockchain's scalability issues. But, is it a viable one?
Peter Todd, a bitcoin core developer, believes it is, although he says that it needs to be contextualised further.
Speaking to CoinDesk, Todd, said:
"If the bitcoin blockchain were a horse, ordinary hub-and-spoke payment channel proposals would be proposing to replace that horse with a truck; the Lightning guys are proposing to replace that horse with a rocket ship."
The prominent core developer said that while he was sure that Lightning could be a good system. He was noted that it will require more work to realise, as it's a much bigger project, one that also requires consensus from the community. "It'll also require a soft fork to get off the ground," he concluded.
Despite these relative shortcomings, Todd praised the system. He said that Lightning was proposing that users change how they use bitcoin in exchange for allowing the system to scale, without decreasing its security. He pointed out that for those who think that bitcoin is potentially under threat of regulation or attack, this was a good trade off to make.
Dryja and Poon coincide with Todd's reservations, agreeing that more works needs to be done before the project can completely take off. Dryja said:
"There's some foundational work that's needed before Lightning Network can be built out, not just the malleability fix and confirmations opcode. There's no widely used way to transfer data between participants; this impedes use of multi-sig even today."
The developer confirmed that they were still looking into easy-to-use messaging and authentication, independent of the bitcoin network.
Poon confirmed that they are expecting to release a revised version of the white paper and that next steps would probably include the "BIP (Bitcoin Improvement) and community input".
Pete Rizzo contributed reporting.

What do you think about the proposal? Let us know in the comments section below.

British Banking Association: Bitcoin is a Real Threat to Banks

Source: Coindesk

 (@emilyspaven) |Published on March 27, 2015 at 13:47 BST

As cryptocurrencies grow in popularity, they will continue to threaten revenue streams of the traditional banking system, according to a new report from the British Banking Association (BBA).
A section of The Digital Disruption: UK Banking Report looks specifically at cryptocurrencies and the impact they have already had, and will continue to have, on people's perceptions of monetary transfer.
"Cryptocurrencies increasingly look like becoming ubiquitous challengers to more familiar, established currencies. And, as they grow in popularity, so too will the risks for banks," the report reads.
It goes on to emphasise issues presented and faced by bitcoin, including its volatility, its perception as a haven for illegal payments activityand its relatively low market cap ($3.4bn at press time).
However, the report concedes that the risks presented to the banking system by bitcoin should not be ignored:
"Bitcoin users can handle many of their daily payments needs themselves, without the need for interaction with banks, and avoiding the need to incur bank fees. In the same way, value stored in PayPal accounts moves outside of the bank’s payment systems, depriving banks of valuable payments revenue."
The BBA believes it is important for banks to take action now, investing time and energy in understanding how best to use the technology behind bitcoin.

"Banks must accept that they are increasingly part of the broader ecosystems that customers are constructing around themselves. However, their place in these ecosystems is far from secure," the report concludes.

Turkey ready to settle deals with Russia in local currencies

Source: RT
Published time: March 30, 2015 15:27

​Turkey’s Ministry of Economy is to consider using local currency, either the Russian ruble or Turkish lira, in major investment projects with Moscow.

“We would like payments in rubles and lira to be introduced at least for the larger investment projects in Russia and Turkey,” Turkey’s Deputy Economy Minister Adnan Yyldyrm, said at a joint Russian-Turkish business council meeting, TASS reported.

Yyldyrm said Turkey is now waiting for Russia to take reciprocal steps to set up a platform for settlements in rubles and lira. The countries are discussing allowing Russian tourists in Turkey to use rubles, according to Russia's Chamber of Commerce and Industry (RCCI), Georgy Petrov.

Trade between Russia and Turkey reached $32.7 billion in 2014, making Turkey Russia’s eighth largest trading partner, while Russia is Turkey’s second largest trading partner, after the European Union.
In February, Russia’s Sberbank and its Turkish subsidiary Denizbank announced plan to settle payments in national currencies.

Banknotes aside, Moscow and Ankara have been growing closer on a plethora of issues, from a new gas pipeline deal, to Turkey possibly joining the Russia-led Eurasian Economic Union.

The two countries share no land border but both border the Black Sea, where the new Turkish Stream pipeline will be routed, delivering 15.75 billion cubic meters (bcm) of gas to Turkey, and another potential 47 bcm to Europe via Greece.

Turkey joining Russia, Belarus, and Kazakhstan in the newly forced Eurasian Economic Union has been floated by both Moscow and Ankara. Turkey has been in a formal Customs Union agreement with the European Union since 1995, but has made little progress in joining the bloc.