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 5dc9cd16f9 create-steal-tx: actually output the steal tx, not the commit tx! 10 years ago
bitcoin script: make DER for signature encoding optional. 10 years ago
ccan ccan: add local copy. 10 years ago
secp256k1 Import secp256k1 (schnorr version) 10 years ago
test-cli create-steal-tx: actually output the steal tx, not the commit tx! 10 years ago
.gitignore TAGS: Improve support. 10 years ago
LICENSE LICENSE: Make MIT licensing clear. 10 years ago
Makefile script: make DER for signature encoding optional. 10 years ago
README.md Actually commit the README.md. 10 years ago
anchor.c tx: prepare for Elements Alpha. 10 years ago
anchor.h check-anchor-scriptsigs: dump out anchor tx if scriptsigs make expected tx. 10 years ago
close_tx.c Sort include lines (ignoring hacky cli test utils). 10 years ago
close_tx.h close-channel / create-close-tx: take into account updates. 10 years ago
commit_tx.c tx: prepare for Elements Alpha. 10 years ago
commit_tx.h update-channel-accept: accept the channel update. 10 years ago
find_p2sh_out.c Sort include lines (ignoring hacky cli test utils). 10 years ago
find_p2sh_out.h find_p2sh_out: extract helper. 10 years ago
lightning.pb-c.c protocol: restore locktime in blocks option. 10 years ago
lightning.pb-c.h protocol: restore locktime in blocks option. 10 years ago
lightning.proto protocol: restore locktime in blocks option. 10 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 Sort include lines (ignoring hacky cli test utils). 10 years ago
permute_tx.h Move bitcoin stuff into bitcoin subdir. 10 years ago
pkt.c pkt: add pkt_totlen() helper. 10 years ago
pkt.h pkt: add pkt_totlen() helper. 10 years ago
protobuf_convert.c signature: fix invalid S check. 10 years ago
protobuf_convert.h protocol: restore locktime in blocks option. 10 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.

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

Cheers,

Rusty.