Rusty Russell
dd35260ce8
|
9 years ago | |
---|---|---|
bitcoin | 9 years ago | |
ccan | 9 years ago | |
daemon | 9 years ago | |
doc | 9 years ago | |
secp256k1 | 9 years ago | |
test | 9 years ago | |
test-cli | 9 years ago | |
.gitignore | 10 years ago | |
.gitmodules | 9 years ago | |
LICENSE | 9 years ago | |
Makefile | 9 years ago | |
README.md | 9 years ago | |
close_tx.c | 9 years ago | |
close_tx.h | 9 years ago | |
commit_tx.c | 9 years ago | |
commit_tx.h | 9 years ago | |
find_p2sh_out.c | 9 years ago | |
find_p2sh_out.h | 9 years ago | |
funding.c | 9 years ago | |
funding.h | 9 years ago | |
lightning.pb-c.c | 9 years ago | |
lightning.pb-c.h | 9 years ago | |
lightning.proto | 9 years ago | |
names.c | 9 years ago | |
names.h | 9 years ago | |
opt_bits.c | 10 years ago | |
opt_bits.h | 9 years ago | |
overflows.h | 9 years ago | |
permute_tx.c | 9 years ago | |
permute_tx.h | 9 years ago | |
protobuf_convert.c | 9 years ago | |
protobuf_convert.h | 9 years ago | |
state.c | 9 years ago | |
state.h | 9 years ago | |
state_types.h | 9 years ago | |
version.c | 9 years ago | |
version.h | 9 years ago |
README.md
Lightning Protocol Reference Implementation
In this repository we're developing a reference implementation of bitcoin lightning (see: http://lightning.network which proposed the original "lightning network").
The first step was to develop a wire protocol for nodes to talk to each other. 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.
The second step is to create a daemon which uses that protocol to communicate with others to set up channels and make simple payments. This also involves monitoring the blockchain for transactions. This is where development is currently occurring.
Later steps will enhance the protocol to network individual daemons, advertize their IP addresses, publish routes and fees, and use that information to pay specific nodes. These details are currently being hashed out on the mailing list and the IRC channel #lightning-dev on Freenode.
The protocol requires features not currently in bitcoin, so by default it runs on top of the sidechain Elements Alpha. It can be tested with bitcoin (on testnet) with OP_NOP substitution, at the top level Makefile.
Final note: This is very much a testbed and work in progress; expect All The Things to change, all the time.
Welcome aboard!
Rusty.