mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-17 19:03:42 +01:00
Core Lightning — Lightning Network implementation focusing on spec compliance and performance
3260fb2ed1
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> |
||
---|---|---|
bitcoin | ||
ccan | ||
doc | ||
secp256k1 | ||
test-cli | ||
.gitignore | ||
close_tx.c | ||
close_tx.h | ||
commit_tx.c | ||
commit_tx.h | ||
find_p2sh_out.c | ||
find_p2sh_out.h | ||
funding.c | ||
funding.h | ||
LICENSE | ||
lightning.pb-c.c | ||
lightning.pb-c.h | ||
lightning.proto | ||
Makefile | ||
opt_bits.c | ||
opt_bits.h | ||
overflows.h | ||
permute_tx.c | ||
permute_tx.h | ||
pkt.c | ||
pkt.h | ||
protobuf_convert.c | ||
protobuf_convert.h | ||
README.md |
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.