mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-10 17:44:22 +01:00
73ba5acca98e0c408d63fa42cfc0fc21eea71d3b
As reported by mmeijeri on r/Bitcoin: https://www.reddit.com/r/Bitcoin/comments/3dlxw4/reaching_the_ground_with_lightning_lightning/ct80xpp As the signature doesn't cover the input itself, you could replace the secret key from the escape transaction with 0, and it will use the "A and B" branch of the output. (This also fixes a bug in the anchor output where the OP_IF consumed the secret). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
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.
Languages
C
74.9%
Python
20.7%
Rust
1.5%
Makefile
1.1%
Assembly
0.9%
Other
0.8%