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 78174a09e2 bitcoin/varint: fix varint reading for multibyte varints. 9 years ago
bitcoin bitcoin/varint: fix varint reading for multibyte varints. 9 years ago
ccan daemon: use siphash for hashes. 9 years ago
daemon key_from_base58 / pubkey_from_privkey: don't support non-compressed keys. 9 years ago
doc Minor fixes 9 years ago
secp256k1 libsecp256k1: update. 9 years ago
test libsecp256k1: update. 9 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 INSTALL: mention bitcoind needs segwit, Ubuntu 16.04 protobuf fixed. 9 years ago
LICENSE licensing: Make license explicit. 9 years ago
Makefile libsecp256k1: update. 9 years ago
README.md test: detect segwit correctly, assume master branch. 9 years ago
TODO.md TODO: update to reflect progress 9 years ago
check-bolt.c check-bolt: handle references to early-drafts too. 9 years ago
close_tx.c protocol: add output script to close_clearing message. 9 years ago
close_tx.h base58, script, protobuf_convert: don't use temporary secp256k1 context. 9 years ago
commit_tx.c htlc: store which side created the HTLC. 9 years ago
commit_tx.h pubkey: don't carry around DER encoding. 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
lightning.pb-c.c protocol: add routing information. 9 years ago
lightning.pb-c.h protocol: add routing information. 9 years ago
lightning.proto protocol: add routing information. 9 years ago
names.c daemon: allow commands during commit. 9 years ago
names.h daemon: allow commands during commit. 9 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 commit_tx: keep permutation map. 9 years ago
permute_tx.h commit_tx: keep permutation map. 9 years ago
protobuf_convert.c protobuf_convert: use libsecp256k1 to serialize. 9 years ago
protobuf_convert.h bitcoin: implement sig_valid. 9 years ago
remove_dust.c remove_dust: don't ever create dust outputs. 9 years ago
remove_dust.h remove_dust: don't ever create dust outputs. 9 years ago
state.c daemon: always terminate waiting manual update command on failure. 9 years ago
state.h daemon: use htlc pointers everywhere. 9 years ago
state_types.h daemon: allow commands during commit. 9 years ago
utils.c utils: tal_hexstr() helper. 9 years ago
utils.h utils: tal_hexstr() helper. 9 years ago
version.c source cleanup: sort include lines into alpha order 9 years ago
version.h header cleanup: sort include lines into alpha order, after config.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").

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

So far, we are working on the inter-node encryption and transaction negotiation phases.

Later steps will enhance the protocol to network individual daemons, advertise 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.

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

Welcome aboard!

Rusty.