You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Rusty Russell 3311580c62 scripts/test.sh: fix bitcoin case. 9 years ago
bitcoin script: HTLC support. 9 years ago
ccan ccan: add ripemd160 9 years ago
doc doc: document HTLC 2drop optimization. 9 years ago
secp256k1 Import secp256k1 (schnorr version) 9 years ago
test-cli scripts/test.sh: fix bitcoin case. 9 years ago
.gitignore Update .gitignore. 9 years ago
LICENSE LICENSE: Make MIT licensing clear. 9 years ago
Makefile test-cli/create-htlc-spend-tx: new util. 9 years ago
README.md README.md: Note Elements requirement. 9 years ago
close_tx.c protocol: switch to single-funder anchor model. 9 years ago
close_tx.h protocol: switch to single-funder anchor model. 9 years ago
commit_tx.c commit_tx: add HTLCs. 9 years ago
commit_tx.h channel_state: encapsulate funding of channel in one place. 9 years ago
find_p2sh_out.c Sort include lines (ignoring hacky cli test utils). 9 years ago
find_p2sh_out.h find_p2sh_out: extract helper. 10 years ago
funding.c channel_state: add htlcs array. 9 years ago
funding.h channel_state: add htlcs array. 9 years ago
lightning.pb-c.c protocol: rename locktime fields to "delay" and "expiry" 9 years ago
lightning.pb-c.h protocol: rename locktime fields to "delay" and "expiry" 9 years ago
lightning.proto protocol: rename locktime fields to "delay" and "expiry" 9 years ago
opt_bits.c opt_bits: parsing routines for 'bits' == 100 satoshi. 10 years ago
opt_bits.h opt_bits: parsing routines for 'bits' == 100 satoshi. 10 years ago
overflows.h open-anchor-sig, many fixes for open-channel. 10 years ago
permute_tx.c permute: use BIP69 order. 9 years ago
permute_tx.h permute: use BIP69 order. 9 years ago
pkt.c test-cli/update-channel-htlc-remove: new util. 9 years ago
pkt.h test-cli/update-channel-htlc-remove: new util. 9 years ago
protobuf_convert.c proto_to_locktime: abs and relative locktime handlers. 9 years ago
protobuf_convert.h proto_to_locktime: abs and relative locktime handlers. 9 years ago

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.