Laundry list of inter-peer wire protocol changes

Posted by Rusty Russell

Jan 29, 2016/02:35 UTC

The Amiko Pay protocol is discussed in detail by Rusty Russell, who highlights the various concept choices. The transport layer used is TCP, although it will be re-implemented in a higher layer as it isn't good enough and works well over TOR. For serialization, JSON with some added conventions will be used, which is bloated but easily debuggable and extensible. Message confirmation will be done manually so that a node knows which messages were received/need re-transmitted even after a crash and restart. Bi-directional routing is an important part of the protocol, allowing both payer and payee to route towards a meeting point without either needing a routable address on the network. Multiple channels per link are also available, and different channel classes are used for micro-transactions. Furthermore, reserving before locking is utilized for optimisation purposes.

Link to Raw Post
Bitcoin Logo

TLDR

Join Our Newsletter

We’ll email you summaries of the latest discussions from authoritative bitcoin sources, like bitcoin-dev, lightning-dev, and Delving Bitcoin.

Explore all Products

ChatBTC imageBitcoin searchBitcoin TranscriptsSaving SatoshiBitcoin Transcripts Review
Built with 🧡 by the Bitcoin Dev Project
View our public visitor count

We'd love to hear your feedback on this project?

Give Feedback