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

190 commits

Author SHA1 Message Date
pm47
05e2bd34d4 now storing conf, seed and db in a datadir (default ~/.eclair) 2017-03-15 18:06:02 +01:00
pm47
a65d411f5b added safety measures to PeerWatcher 2017-03-10 17:07:07 +01:00
Pierre-Marie Padiou
f2c49c275a Switch to 32B channel-id (#28)
* implemented long channel-id + delayed announcements

* we now handle the case when disconnected before having sent announcement sigs

* channel-id is now computed as a txHash ^ outputIndex
2017-03-10 11:47:19 +01:00
pm47
f840ec9835 made the disctinction between binding-ip and public-ip in conf 2017-03-09 17:24:52 +01:00
pm47
fe0df3d97d shutdown message is now acknowledged by closing_signed 2017-03-09 14:52:17 +01:00
sstone
4d3a344a69 bolt 3: update test vectors 2017-03-08 10:48:24 +01:00
sstone
c1cf96e4f8 BOLT 3: check that we can directly spend htlc outputs 2017-03-07 23:06:26 +01:00
sstone
08bf37c1dc make htlc output directly spendable with the revocation key
see https://github.com/lightningnetwork/lightning-rfc/pull/105
and https://github.com/lightningnetwork/lightning-rfc/pull/123
test vectors pending
2017-03-07 17:44:40 +01:00
Pierre-Marie Padiou
a24bebf666 Implemented long channel-id + delayed announcements (#27)
* implemented long channel-id + delayed announcements

* added a ShortChannelIdAssigned event
2017-03-06 17:19:55 +01:00
sstone
e18a12c565 forward payments through register
we ask register, which maintains of active channels, to forward payments instead
of relying on actor selection/actor path.
2017-03-06 15:25:01 +01:00
pm47
c017a9a217 routing announcements are now stored individually 2017-03-01 20:09:22 +01:00
pm47
453dc699ed removed ChannelState and moved dbs declarations to Dbs 2017-03-01 18:27:20 +01:00
pm47
be73ba7900 reworked Forwarder and made it manage OFFLINE->X transitions 2017-03-01 16:21:05 +01:00
sstone
14da69a612 router: consistency fixes
- use the same signature for main and mainWithLogs
- remove useless fields from Router.State
- start in 'uninitialized' mode and wait for State message (either empty or retrieved from db)
2017-02-28 15:14:03 +01:00
pm47
4796ad8bc4 removed ChannelParams 2017-02-27 23:52:08 +01:00
pm47
074f79f83b merged from wip-persist3 2017-02-27 23:24:13 +01:00
pm47
103daf90aa reworked channel events 2017-02-27 23:17:06 +01:00
sstone
eaca287922 move db into nodeParams 2017-02-27 18:26:41 +01:00
sstone
817704f5da Merge branch 'wip-bolts' into wip-persist3 2017-02-27 16:35:01 +01:00
pm47
b8379ed461 replace absolute reserveSatoshi in nodeParams by a ratio 2017-02-27 15:45:21 +01:00
pm47
5b718bffac factored state tests initialization 2017-02-27 15:26:04 +01:00
sstone
f6289795d2 ShaChain: add scodec serializer 2017-02-26 23:26:16 +01:00
sstone
967404a82d persist channels, peers, and router
- channels are pesisted using the transition callback
2017-02-26 19:30:13 +01:00
pm47
24a3801961 removed Globals, nodeParams are now passed in constructors 2017-02-26 17:47:19 +01:00
pm47
89db03fe91 added a NodeParams class 2017-02-26 16:06:41 +01:00
sstone
1826fb6e6a channel: use transition change callback to send outgoing messages 2017-02-25 21:25:21 +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