1
0
Fork 0
mirror of https://github.com/ACINQ/eclair.git synced 2025-02-22 22:25:26 +01:00
Commit graph

385 commits

Author SHA1 Message Date
pm47
92819f3835 added windows standalone installer 2017-03-15 17:54:50 +01:00
pm47
a65d411f5b added safety measures to PeerWatcher 2017-03-10 17:07:07 +01:00
pm47
ade9ca0121 ignoring INPUT_DISCONNECTED in CLOSED state 2017-03-10 17:07:07 +01:00
pm47
e66d25a561 fixed potentially no-unique channel actor name 2017-03-10 17:07:07 +01:00
pm47
40e22f3dec channel updates are now cleaned up when channel is torn down 2017-03-10 17:07:06 +01:00
dpad85
7ca2431511 (gui) improved status bar resizing behaviour 2017-03-10 16:00:26 +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
dpad85
876d6f61fd (gui) added node alias and RGB in status bar 2017-03-09 19:22:51 +01:00
dpad85
0b2993ea6a (gui) set node IP column width 2017-03-09 19:03:31 +01:00
dpad85
4b5fa0c92b (gui) fixed missing parenthesis in rgb 2017-03-09 19:02:53 +01:00
dpad85
02dd347158 (gui) nodes/channels tables use Announcement as underlying datas
Also added a IP column to nodes table
2017-03-09 18:55:19 +01:00
dpad85
af691d6e9b (gui) refactored variable names of nodes/channels in network 2017-03-09 18:55:03 +01:00
pm47
045dfe589a fixed bug in router where spent channels wheren't cleaned up 2017-03-09 18:44:59 +01:00
pm47
746bf08963 replaced map by collect 2017-03-09 17:45:53 +01:00
pm47
394c0caf0a watcher is now replaying txes since parent confirmed when an output has already been spent 2017-03-09 17:24:52 +01:00
pm47
f840ec9835 made the disctinction between binding-ip and public-ip in conf 2017-03-09 17:24:52 +01:00
dpad85
d511796f90 (gui) when channel is offline, close button label is 'Force close' 2017-03-09 16:46:23 +01:00
dpad85
245ed99baa (gui) send payment parameters are checked asap 2017-03-09 16:44:29 +01:00
dpad85
8a9d14e61c Handling gui logs when logging with colors 2017-03-09 15:04:11 +01:00
dpad85
dc63f74e0b (gui) Removing terminated local channels from list 2017-03-09 15:04:11 +01:00
pm47
144bfe7760 CMD_CLOSE in OFFLINE now results in an unilateral close 2017-03-09 15:03:38 +01:00
pm47
fe0df3d97d shutdown message is now acknowledged by closing_signed 2017-03-09 14:52:17 +01:00
pm47
3454fb784a Register now uses 'forward' instead of '!' 2017-03-09 14:06:46 +01:00
pm47
0283631fdd refactored CMD_CLOSE handling 2017-03-09 12:03:54 +01:00
pm47
4ea6fdcea7 fixed bug when channel disappears 2017-03-09 11:51:44 +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
sstone
076011bd35 channel: fix init -> offline transition
don't persist and don't send anything when transitioning from INIT to OFFLINE
2017-03-07 14:52:49 +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
f3db1ea15c moved extractOutgoingMessages to Helpers 2017-03-02 17:03:50 +01:00
pm47
c017a9a217 routing announcements are now stored individually 2017-03-01 20:09:22 +01:00
pm47
b05444fa77 peersDb is now a simple cache containing valid ip addresses 2017-03-01 19:01:09 +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
adda1a4a58 channel: stay in CLOSING mode when disconnected
there is no need to switch to OFFLINE
2017-03-01 10:11:21 +01:00
sstone
7bf5331802 router: start with an empty state if nothing was saved
if there is no persisted router record, start with an empty state
2017-03-01 10:11:21 +01:00
dpad85
074b8f7263 (gui) enable reconnect button if offline and funder 2017-02-28 19:18:56 +01:00
sstone
1172281248 Merge branch 'wip-bolts' of https://github.com/ACINQ/eclair into wip-bolts 2017-02-28 18:06:26 +01:00
sstone
254eb80b95 channel: switch to CLOSING state when restoring a CLOSING channel 2017-02-28 18:03:53 +01:00
dpad85
eb8d3022b4 (gui) host regex accepts 2017-02-28 17:25:46 +01:00
dpad85
5dc01d6922 (gui) use futures to handle new connection params
* InetAddress creation can take some time (network traffic) and should not
  be handled in the JavaFX thread (UI freeze)
2017-02-28 17:22:53 +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
b4af63b728 Merge branch 'wip-persist3-pm' into wip-bolts 2017-02-28 14:19:53 +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
df6633eed0 peer watcher: confirmed already spent txs rihgt away
When processing WatchConfirmed messages, check if the tx has already been confirmed and
trigger the watch immediately if possible. This will let us detect if a channel has been
confirmed while the node was offline or turned off
2017-02-27 19:23:57 +01:00
dpad85
698808b90f (gui) channel pane context always built in JavaFX thread 2017-02-27 19:20:25 +01:00