1
0
Fork 0
mirror of https://github.com/ACINQ/eclair.git synced 2025-03-06 18:40:08 +01:00
Commit graph

165 commits

Author SHA1 Message Date
pm47
89db03fe91 added a NodeParams class 2017-02-26 16:06:41 +01:00
pm47
810aed301d added capacity to ChannelDiscovered event 2017-02-24 16:01:21 +01:00
pm47
550707004d using bits instead of bytes for features 2017-02-24 13:23:43 +01:00
pm47
c9d6a20954 updated api 2017-02-23 18:46:19 +01:00
pm47
107beee854 merged from wip-disconnect 2017-02-23 11:56:27 +01:00
pm47
6ebe5b4ff2 made commitment functions no-op when replaying known messages, improved fuzzy tests 2017-02-23 11:50:58 +01:00
pm47
1ef1a4a6a1 added (manual) test on spending of csv tx 2017-02-22 17:03:09 +01:00
pm47
169add4c02 now handling the case where remote publishes its 'next' commit 2017-02-22 13:57:13 +01:00
sstone
27b41a580f bolt 3: match against latest tx test vectors 2017-02-20 11:39:01 +01:00
sstone
620fdd78d1 Merge branch 'wip-bolts' of https://github.com/ACINQ/eclair into wip-bolts 2017-02-20 10:43:22 +01:00
pm47
1eea11cf44 NORMAL<->OFFLINE now fully supported, added fuzzy tests 2017-02-20 00:31:21 +01:00
pm47
3e1b0fe202 added fuzzy disconnection test (wip) 2017-02-17 20:46:35 +01:00
pm47
7e9d07b9b4 merged from wip-bolts 2017-02-17 19:07:54 +01:00
pm47
559afff522 automatically sign back on revocation when necessary, removed scheduled sig 2017-02-17 18:52:07 +01:00
pm47
a0318d6ade added support for disconnections (wip) 2017-02-16 19:03:02 +01:00
pm47
27572c519e DATA_WAIT_FOR_FUNDING_LOCKED_INTERNAL -> DATA_WAIT_FOR_FUNDING_CONFIRMED 2017-02-16 15:15:03 +01:00
sstone
4bfec41041 bolt 3 test vectors: formatting fixes 2017-02-16 10:28:57 +01:00
pm47
1e58a69918 WAIT_FOR_FUNDING_LOCKED_INTERNAL->WAIT_FOR_FUNDING_CONFIRMED 2017-02-15 19:46:58 +01:00
pm47
a43dc181c6 removed special handling of CMD_CLOSE from WAIT_FOR_FUNDING_LOCKED_INTERNAL->NORMAL 2017-02-15 19:39:18 +01:00
pm47
4e7021d7c8 fixed fee not taken into account when offering htlcs 2017-02-15 18:37:02 +01:00
pm47
7da6df008a merged from wip-bolts 2017-02-15 18:13:22 +01:00
pm47
7d79f65bf2 channels are now multiplexed over single connections between nodes 2017-02-15 18:08:44 +01:00
sstone
fc9ccf8524 bolt 3: improve reference test
format test output to match the reference test vectors
2017-02-15 14:20:51 +01:00
pm47
e2fc3fbecc added support for 'initial_routing_sync' feature bit 2017-02-13 16:15:32 +01:00
pm47
6bd14bb089 added AnnouncementSignatures message, added support for feature bits 2017-02-13 14:45:26 +01:00
pm47
e8a74899f3 now take fees into account when accepting htlcs 2017-02-13 12:04:06 +01:00
Pierre-Marie Padiou
a3b906898b Refactored fee calculation (added trim functions) (#25)
* refactored fee calculation (added trim functions)

* now running BOLT 2 fee tests automatically
2017-02-13 11:11:54 +01:00
pm47
c72a2a5d8d router now checks announcement signatures 2017-02-10 18:05:06 +01:00
pm47
2b479aade6 enforcing sequential zero-based htlc ids 2017-02-10 16:55:43 +01:00
pm47
cb5189b3c7 added support for htlc-minimum-msat parameter 2017-02-10 16:01:34 +01:00
pm47
2d223ea51c added support for max-accepted-htlcs parameter 2017-02-10 15:50:07 +01:00
pm47
2a035bd005 added support for max-htlc-value-in-flight-msat parameter 2017-02-10 15:22:43 +01:00
pm47
1e10074f27 added support for channel-reserve parameters 2017-02-10 14:36:03 +01:00
pm47
2d5d8a00a9 punishment -> penalty 2017-02-09 15:56:58 +01:00
pm47
51fd685595 fixed bug in payment-preimage extraction, handle failures in uniclose tx generation 2017-02-09 14:04:08 +01:00
pm47
f19231e883 make it an error to have an htlc expiry < 3 blocks 2017-02-09 13:58:15 +01:00
sstone
4b6dca7a0a make SignTransactionResponse a static class 2017-02-09 11:44:27 +01:00
pm47
ba515a921a relayer now extracts preimages from the blockchain 2017-02-07 15:12:31 +01:00
Pierre-Marie Padiou
0d763e8551 close channel when an htlc times out in either commitment tx (#24) 2017-02-07 15:04:59 +01:00
sstone
dadc52b4c4 bolt 3: update tx test vectors to match the specs 2017-02-07 11:27:27 +01:00
sstone
85e94b97ec bolt3 test vectors: swap local and remote funding privkeys 2017-02-07 09:51:40 +01:00
sstone
7810abf08a bolt3 test vectors: add tests
tests are copied from Rusty's PR
2017-02-05 22:28:53 +01:00
sstone
06a610a413 fix fee computations 2017-02-05 22:28:27 +01:00
sstone
be9ebee471 BOLT 3: add test vector generation 2017-02-03 20:11:59 +01:00
pm47
5fb2b9a86b removed BufferedWriter and added a test 2017-02-03 19:52:11 +01:00
pm47
3a3b8c6eb1 fixed bug when remote close during opening of the channel 2017-02-03 19:14:52 +01:00
pm47
1b74f1c6cb moved funding tx creation to Transactions 2017-02-03 18:24:38 +01:00
pm47
6d28879ebb added dot generation in router 2017-02-03 18:18:31 +01:00
pm47
d182d9db6e watch for network channel close and properly announce events 2017-02-03 18:18:30 +01:00
sstone
64561a6fc0 fix transport handler test 2017-02-03 17:46:33 +01:00