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 93b72332bd Handle anchor in a run of blocks. 8 years ago
bitcoin routing: Added IRC announcement glue 8 years ago
ccan ccan: update, add cppmagic. 8 years ago
daemon Handle anchor in a run of blocks. 8 years ago
doc doc: manpages for the various lightning RPC calls. 8 years ago
secp256k1 libsecp256k1: update. 9 years ago
test protocol: no signature in update_commit if receiver has no outputs. 8 years ago
.gitignore check-bolt: check that comments in code match the specs. 9 years ago
.gitmodules daemon/jsmn: Add submodule for jsmn. 9 years ago
HACKING.md Fill out TODO.md into a useful list (mainly by grepping for FIXMEs). 9 years ago
INSTALL.md README.md: include libmysql-dev 8 years ago
LICENSE licensing: Make license explicit. 9 years ago
Makefile getinfo: add version information 8 years ago
README.md doc: manpages for the various lightning RPC calls. 8 years ago
TODO.md TODO: remove to-dones. 8 years ago
check-bolt.c check-bolt: make it compile cleanly with -Wextra. 8 years ago
close_tx.c permute_tx: don't save permutation map. 8 years ago
close_tx.h base58, script, protobuf_convert: don't use temporary secp256k1 context. 9 years ago
find_p2sh_out.c scripteq: simple helper for comparing scripts. 9 years ago
find_p2sh_out.h Remove unused script functions now we use witness. 9 years ago
irc.c routing: Added simple IRC library based on io_loop 8 years ago
irc.h routing: Added simple IRC library based on io_loop 8 years ago
lightning.pb-c.c htlc: save fail message in HTLC. 8 years ago
lightning.pb-c.h htlc: save fail message in HTLC. 8 years ago
lightning.proto htlc: save fail message in HTLC. 8 years ago
names.c db.c: database API. 8 years ago
names.h db.c: database API. 8 years ago
opt_bits.c opt_bits: parsing routines for 'bits' == 100 satoshi. 10 years ago
opt_bits.h header cleanup: sort include lines into alpha order, after config.h 9 years ago
overflows.h daemon: routing infrastructure. 9 years ago
permute_tx.c permute_tx: don't save permutation map. 8 years ago
permute_tx.h permute_tx: don't save permutation map. 8 years ago
protobuf_convert.c protobuf_convert: expose helpers for unwrapping protobufs into tal heirarchies 8 years ago
protobuf_convert.h protobuf_convert: expose helpers for unwrapping protobufs into tal heirarchies 8 years ago
remove_dust.h channel: remove htlcs array. 8 years ago
state.c db: save error, return it when we commit transaction. 8 years ago
state.h peer: do not send anchor depth input twice. 8 years ago
state_types.h protocol: rename clearing to shutdown. 8 years ago
utils.c routing: Added IRC announcement glue 8 years ago
utils.h routing: Added IRC announcement glue 8 years ago
version.c getinfo: add version information 8 years ago
version.h getinfo: add version information 8 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").

This implementation is being developed in parallel with the protocol definition, which you can find on my fork of the protocol description repository.

If you're interested in using the daemon to test payments, the JSON-RPC interface is documented in the following manual pages:

So far, we have inter-node encryption and transaction negotiation.

Routing between non-adjacent nodes is currently done manually using the 'dev-addroute' command; later on daemons will advertise their IP addresses, and publish routes and fees. These details are currently being hashed out on the mailing list and the IRC channel #lightning-dev on Freenode.

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

Welcome aboard!

Rusty.