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
sstone
f5ea399f71
channel: use a "forwarder" to store and send messages on transition
2017-02-27 19:19:32 +01:00
sstone
eaca287922
move db into nodeParams
2017-02-27 18:26:41 +01:00
sstone
6a94a62a69
testnet chain is called "test", not "testnet"
...
the chain returned by getblockchaininfo is "test" in testnet mode
2017-02-27 18:09:39 +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
sstone
6c834289ec
minor fixes
...
- call setup.bootsrap in headless mode
- don't save router transient fields
2017-02-27 15:38:46 +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
2a3d96b745
restore watches on re-connection
2017-02-26 20:29:34 +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
27b2c4f42c
make codec output serializable
2017-02-26 13:17:31 +01:00
sstone
071f705df4
channel: use chanel id in outgoing error messages
2017-02-25 21:31:17 +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
dpad85
4d99e39184
(gui) Notifications use a PopupWindow instead of a Stage
2017-02-24 14:46:49 +01:00
dpad85
4e2bf2b047
(gui) reconnect is enabled if state=offline and node is funder
2017-02-24 14:46:49 +01:00
dpad85
ed70d0299c
(gui) Improved channelpane structure and responsive behaviour
2017-02-24 14:46:48 +01:00
dpad85
41f17471d4
(gui) fixed context menu of channel panel
2017-02-24 14:46:48 +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
3d08c7e391
improved watcher logs
2017-02-23 15:27:41 +01:00
pm47
71a38e5e95
made function names consistent
2017-02-23 15:12:08 +01:00
pm47
a33d5ef1a0
mitigated race condition between FundingLocked and AnnouncementSignatures
2017-02-23 14:52:10 +01:00
pm47
a8c25e8cf9
reformatting
2017-02-23 14:51:31 +01:00
pm47
4d180003e9
improved uniclose logs
2017-02-23 14:07:33 +01:00
pm47
c2b3f727ba
added HasChannelId trait to Error message
2017-02-23 13:47:56 +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
dpad85
9835bd6b52
(gui) Inline stage transparency (loading css can take some time)
2017-02-22 12:12:15 +01:00
pm47
b8fac57ac0
fixed issue with state data in ChannelChangedState (stateData->nextStateData)
2017-02-21 11:39:33 +01:00
dpad85
5255d68f13
(gui) typos
2017-02-20 18:02:15 +01:00
dpad85
6c97d82e95
(gui) Handle non fatal exception when creating connection
...
* pubkey conversion to binary from string is prone to failure
2017-02-20 17:09:55 +01:00
dpad85
8c7f6967e8
(gui) validator pubkey must be 66 chars
2017-02-20 15:22:07 +01:00
dpad85
aa71968ec8
(gui) set min size to stages
2017-02-20 15:21:14 +01:00
dpad85
2dab76e2eb
(gui) notification border changes color with type
2017-02-20 14:25:58 +01:00
dpad85
0e49dc537e
(gui) Fixed notif close button; added app name in title
2017-02-20 14:19:29 +01:00
dpad85
bf03423818
(gui) renamed eclair icons
2017-02-20 14:18:26 +01:00
dpad85
543567bf12
(gui) smaller icon in notifications
2017-02-20 14:13:42 +01:00
dpad85
861fce351a
(gui) color of close notification button
2017-02-20 14:08:32 +01:00
dpad85
e39f52c360
(gui) Notification is dismissed after a few seconds
2017-02-20 12:08:31 +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
dpad85
07298ff740
Use custom JavaFX Notification System
...
* Removed all AWT dependency (tray icon) because of stability issues
* Notifications are handled in the Notifications Stage
* Notifications type can be SUCCESS, INFO, ERROR with NONE by default.
* Notification icon changes with type
2017-02-17 20:10:24 +01:00