Rusty Russell 3260fb2ed1 protocol: add commitment fee logic.
Both sides elect a commitment fee, and the lowest is chosen.  That means
you can't game the other side (but if you offer too low, then can error
out of course).

Fees are split 50-50 if possible: originally the whole fee has to be
paid by the (single) funder.  Neither side can withdraw funds which
would make them unable to pay fees.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2015-07-29 16:16:24 +09:30
2015-07-09 15:26:13 +09:30
2015-07-24 16:00:07 +09:30
2015-06-09 14:13:21 +09:30
2015-07-29 16:16:24 +09:30
2015-07-29 16:16:24 +09:30
2015-06-12 13:30:39 +09:30
2015-07-20 14:07:44 +09:30
2015-07-20 14:07:44 +09:30
2015-07-29 16:16:24 +09:30
2015-07-29 16:16:24 +09:30

Strawman protocol for lightning channels.

The wire protocol is documented in lightning.proto (a protobuf definition file).

There are command line utilities to create and process various packets in test-cli.

It requires features not currently in bitcoin, so it runs on top of the sidechain Elements Alpha

This is very much a testbed and work in progress; expect All The Things to change, all the time.

Cheers,

Rusty.

Description
No description provided
Readme MIT 55 MiB
Languages
C 74.9%
Python 20.7%
Rust 1.5%
Makefile 1.1%
Assembly 0.9%
Other 0.8%