sstone
90a5a20651
check that preimage size is 32 bytes
...
see 1245ffaae3
and
https://lists.linuxfoundation.org/pipermail/lightning-dev/2016-May/000529.html
2016-05-27 16:19:16 +02:00
sstone
0b4d3cc161
use lightning.proto from lightning-c v0.3-2016-05-26 "Nakamoto's Genesis Coins"
2016-05-27 12:36:08 +02:00
sstone
0396b5589d
Merge branch 'wip-bolt2' of https://github.com/ACINQ/eclair into wip-bolt2
2016-05-26 18:25:22 +02:00
sstone
d517fa6ec2
fix encryption/decryption bug
2016-05-26 17:45:41 +02:00
Pierre-Marie Padiou
07d489c0d0
Replaced 'find' by 'collect' ( #8 )
...
* replaced 'find' by 'collect'
* fixed bug ourChanges->theirChanges
2016-05-26 14:34:54 +02:00
sstone
6ecbc29144
store all changes from both sides
...
each side stores all changes from both sides, and use them to create both commit tx
from scratch.
2016-05-25 16:43:28 +02:00
sstone
26ac967bfc
revert to creating standard (non-segwit) anchor tx
...
this will eventually have to be fixed to avoid malleability issues
2016-05-25 15:55:04 +02:00
sstone
834d2829c5
implement commitment spec update
2016-05-24 23:06:40 +02:00
sstone
b886388b88
fix initial signature exchange
2016-05-23 18:54:54 +02:00
sstone
7903e2b53f
upgrade to segwit
2016-05-23 17:14:42 +02:00
pm47
4bde8bf018
new protocol (WIP!)
2016-05-23 15:55:17 +02:00
pm47
30fb6c18eb
merged from wip-akka-http
2016-04-29 14:51:45 +02:00
pm47
f7b7fe13cf
updated protobuf and bumped version number
2016-04-29 10:13:47 +02:00
pm47
8c7484256e
includes all IN msg in commit tx
2016-04-28 19:07:47 +02:00
pm47
8904aefbb1
added complete add/fulfill test and fixed various related bugs
2016-04-28 18:20:58 +02:00
pm47
a333011915
now using fixtures
2016-04-28 10:58:50 +02:00
pm47
cad20a2534
mocking bitcoinclient instead of blockchain watcher in tests
2016-04-26 18:19:19 +02:00
sstone
774cb719dc
fix ChannelSpec test
2016-04-26 12:14:08 +02:00
sstone
89bc862b91
add Channel test (partial)
2016-04-25 23:31:19 +02:00
pm47
9f1cdac445
removed deprecated tests
2016-04-25 14:28:01 +02:00
pm47
09b9d9dd14
all update msgs are now staged
2016-04-25 14:19:00 +02:00
pm47
1042469d54
fixed pkt parsing
2016-04-19 17:01:06 +02:00
pm47
3726fe95c2
merged from master
2016-04-18 17:40:22 +02:00
sstone
c7e8255a35
update lightning crypto
2016-04-18 17:27:43 +02:00
sstone
0e8614b9f5
implement AEAD using chacha20-poly1305
2016-04-18 14:45:28 +02:00
sstone
0ecab84ecc
update mvn version to avoid conflicts with other branches
2016-04-18 14:18:14 +02:00
pm47
305ba1757c
updated protobuf
2016-04-18 11:47:12 +02:00
pm47
5b4f8b6b29
put path logic in register actor and use resolveOne
2016-03-20 15:44:29 +01:00
pm47
5ef8de485f
using actorselection instead of register
2016-03-19 21:26:30 +01:00
pm47
e28849c21e
set version to 0.1-routing-SNAPSHOT (because incompatible protobuf)
2016-03-19 17:45:22 +01:00
sstone
3cc70654d5
propagate add_htlc and fulfill_htlc
2016-03-15 18:15:41 +01:00
sstone
5b3fad247c
add basic channel routing simulator
2016-03-08 15:33:34 +01:00
sstone
794c5c33ce
add basic routing info to lightning.proto
2016-03-08 15:32:53 +01:00
sstone
988856ba38
make register actor aware of node ids and channel ids
2016-02-26 16:29:21 +01:00
sstone
d081eb2e3c
revert our previous commit and use the old cs locktime conversion
2016-02-25 17:10:05 +01:00
pm47
39774b232d
merged from master
2016-02-25 16:52:12 +01:00
sstone
14e36e9ac8
update CSV timeout-out conversion to match bitcoin's
2016-02-25 12:08:25 +01:00
sstone
b3f5ce4e38
upgrade CSV handling
2016-02-24 17:32:47 +01:00
pm47
c63c71db11
Merge branch 'master' into wip-akkahttp
2016-02-24 16:14:46 +01:00
pm47
158994f21a
Merge branch 'master' into wip-akkahttp
2016-02-24 16:09:09 +01:00
Fabrice Drouin
b530a15cf7
Merge pull request #2 from ACINQ/wip-keys
...
random nodeid, commit and final keys
2016-02-24 15:40:53 +01:00
pm47
1caead39b6
nodeid, commit and final keys are now randomly generated
2016-02-23 19:08:43 +01:00
pm47
851f5dc3de
removed WatchConfirmedBasedOnOutputs ans simplified flow
2016-02-22 20:23:44 +01:00
pm47
f48c39c9c5
fixed inconsistency in WatchSpent(Anchor) between funder and fundee
2016-02-22 13:33:34 +01:00
pm47
e82c7c20e8
updated to akka 2.4.2 and replaced spray by akka-http
2016-02-20 18:36:50 +01:00
sstone
5f1aab1fde
simplify channel initialization, which now takes a reference to "the other side" of the channel
2016-02-19 15:09:09 +01:00
sstone
030a7cf2d3
set version to 0.1-SNAPSHOT
...
Squashed commit of the following:
commit 668e6c5b1df18a4e1a1e6d293bc2667dcce67f21
Author: sstone <samuel.stone@hotmail.co.za>
Date: Wed Feb 17 16:11:30 2016 +0100
format pom.xml properly
commit ab8f626145a0e6291da80000b47b4ac42a943b3c
Author: sstone <samuel.stone@hotmail.co.za>
Date: Wed Feb 17 15:47:22 2016 +0100
fix pom.xml
commit 068afa08d6b498ec2f46b5b4addea676e199d228
Author: sstone <samuel.stone@hotmail.co.za>
Date: Wed Feb 17 15:20:07 2016 +0100
mvn does not need . on the PATH anymore
2016-02-17 16:16:46 +01:00
sstone
de4caeb1fd
fix race condition in ChannelSpec test
2016-02-17 12:10:14 +01:00
pm47
9a839ffe58
added a 'help' method
2016-02-17 11:57:37 +01:00
pm47
d33fb21157
cleaned up logging
2016-02-17 11:35:50 +01:00