User:Aakselrod/Draft

From Bitcoin Wiki
Revision as of 05:22, 2 February 2013 by Aakselrod (talk | contribs) (Draft proposal of a decentralized, peer-to-peer payment clearing network which uses Bitcoin for settlement and bitcoins as a unit of account)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Proposal Background and Summary

The basic concept of a peer-to-peer payment network which allows nodes to transact off the blockchain has been proposed before[1]. Proponents see multiple advantages such as instant transactions which require no additional confirmations, higher scalability due to individual transactions taking place off the blockchain, and feasibility of widespread micropayments. The proposals use micropayment channels between payers, payees, and intermediaries in order to allow such transactions.

For example, if Alice is a customer and Bob is a merchant, Alice may have a micropayment channel open to Carol, her payment processor, who may have a channel open to Dan, Bob's payment processor, which also has a channel open to Bob. Alice would increment the allocation going to Carol through her channel by the amount she wants to pay Bob, and Carol and Dan would do the same down the line. Bob would then be paid, and none of this would hit the blockchain except as part of aggregate settlement transactions closing the micropayment channels.

This proposal aims to bring closer the realization of such a network by discussing the following solutions:

  • Additional scalability of micropayment channel setup transactions by having intermediaries combine them
  • Two-step commit through multiple chained micropayment channels, reducing the risk that an intermediary will accept a payment but not forward it on and enabling two-party escrow transactions through the payment network
  • Extraction of routing and reputation information from the blockchain and memory pool as a side effect of the way micropayment channels are open and closed

The proposal will also discuss possible side effects of its adoption, both positive and negative.

Micropayment Channels

The original concept of the micropayment channel is explained well on the Contracts page. One issue for current attempts at implementation of these proposal is that transaction replacement is not currently enabled on the Bitcoin network. This makes it more difficult to prevent denial of service (locking up money, potentially permanently depending on whether it's for ransom or not) by an intermediary or a party to a 2-of-2 escrow transaction.

This proposal is designed to work around the current lack of transaction replacement on the network. It can likely be made simpler and more effective against such DoS attacks when transaction replacement is enabled. A future version of this proposal may include the changes that would be necessary to improve the design by the use of transaction replacement.

Two types of proposals have been suggested to discourage and/or make expensive denial of service attacks: risk deposits[2] and reputation systems[3]. This proposal uses both techniques to help reduce the risk.

Risk deposits are designed to make it unprofitable to blackmail or ransom a micropayment channel peer to pay