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
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
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
2e3031fafd
Merge branch 'wip-bolts' into wip-disconnect
2017-02-17 16:30:06 +01:00
pm47
f061f59803
only forward cross-signed htlcs
2017-02-17 16:10:19 +01:00
pm47
a0318d6ade
added support for disconnections (wip)
2017-02-16 19:03:02 +01:00
dpad85
3b65269c9a
(gui) set limit to column width in network tables
2017-02-16 16:16:37 +01:00
dpad85
e1051a8743
(gui) Removed duplicate stage icon in splash
2017-02-16 16:16:36 +01:00
pm47
27572c519e
DATA_WAIT_FOR_FUNDING_LOCKED_INTERNAL -> DATA_WAIT_FOR_FUNDING_CONFIRMED
2017-02-16 15:15:03 +01:00
pm47
002464d2be
simplified error handling when there are no commitments yet
2017-02-16 15:04:48 +01:00
dpad85
b4c0494d9f
(gui) using system tray and os notifications only if os is Windows/MacOs
...
Prevent issues with AWT in Linux
2017-02-16 12:25:14 +01:00
dpad85
c355dd4578
(gui) Fixed responsive behaviour of status bar
2017-02-16 12:25:14 +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
dpad85
c22165ec0d
Removed timestamp from sendPayment notification
2017-02-15 16:01:29 +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
sstone
8589b8847d
update htlc success/timeout tx weights
...
see https://github.com/lightningnetwork/lightning-rfc/pull/104
2017-02-15 14:17:55 +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
8334350576
separated NodeDiscovered/NodeUpdated events
2017-02-10 17:06:46 +01:00
pm47
e3e93dc95f
removing channel updates when channel disappears
2017-02-10 17:01:45 +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
8122b58229
refusing to boot if bitcoind's sync progress is <= 0.99
2017-02-10 14:41:42 +01:00
pm47
1e10074f27
added support for channel-reserve parameters
2017-02-10 14:36:03 +01:00
dpad85
0b2b3ea106
Simplified display of validation error display in gui
...
* reordered FXML elements
* removed dedicated error rows
2017-02-09 19:26:36 +01:00
dpad85
ef58ef0935
Code clean up
2017-02-09 16:34:39 +01:00
dpad85
105c7950bb
Fixed context menu of channel
2017-02-09 16:34:39 +01:00
pm47
522c7e52f1
removed unused code
2017-02-09 15:56:58 +01:00
pm47
2d5d8a00a9
punishment -> penalty
2017-02-09 15:56:58 +01:00
dpad85
b9ec691dcd
Fixed regex matching in GUIValidators
2017-02-09 15:06:45 +01:00
dpad85
a623810518
Handling of decimal amount when generating payment request
...
* if the amount unit is milliBTC or Satoshi, the input accepts decimal
value. The amount must then be parsed and converted to mSat
* if the unit is milli satoshi, no decimal is allowed
* the decimal character is `.`
* improves the UX
2017-02-09 14:13:49 +01:00
dpad85
e5d73eec45
Updated host regex in gui
2017-02-09 14:13:49 +01:00
dpad85
654e4bfad3
Set log level to DEBUG for gui package
2017-02-09 14:13:49 +01:00
pm47
a481ea1bf3
improved logback_colors
2017-02-09 14:04:08 +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
8bc4e8349e
PeerHandler now asks for segwit tx, fixed split bug in PeerClient
2017-02-09 14:04:07 +01:00
pm47
583b5af15c
keeping last 1000 txes in memory so that WatchSpent can look in the past
2017-02-09 13:58:16 +01:00
pm47
f3fb3c2ae8
extended bitcoin client now returns 0 conf tx
2017-02-09 13:58:16 +01:00
pm47
f19231e883
make it an error to have an htlc expiry < 3 blocks
2017-02-09 13:58:15 +01:00
sstone
3b271cb6c2
make PeerClient ask for witness tx
2017-02-09 11:44:27 +01:00
sstone
20e91c1710
remove dead code
2017-02-09 11:44:27 +01:00
sstone
4b6dca7a0a
make SignTransactionResponse a static class
2017-02-09 11:44:27 +01:00
sstone
f75706df9d
PeerHandler: fix tcp framing issue
2017-02-09 11:44:27 +01:00
dpad85
958e39d4e7
Select the payment request when it is generated
2017-02-08 19:29:57 +01:00
dpad85
729fdf7df5
Ignored ENTER and TAB in send payment textarea
2017-02-08 19:26:17 +01:00
dpad85
1c18a5b819
Updated tray icon wording (removed alias)
2017-02-08 18:46:32 +01:00
dpad85
cdd0f59e9b
Added channel local params to gui controller
2017-02-08 18:37:34 +01:00
dpad85
f1227f25a9
Display a system notification when payment sent
...
* send payment handler can now handle the success/failure
* paymentlifecycle send failure reason in WAITING_FOR_PAYMENT_COMPLETE
2017-02-08 18:37:34 +01:00
dpad85
54d43f03c0
Added a System Tray Icon
...
* enables notifications (in handlers class)
* added menu to show/minimize app when right click on tray icon
2017-02-08 18:37:34 +01:00
dpad85
7df8e97aa4
Added root style
2017-02-08 18:37:34 +01:00
dpad85
5bcbf15a69
Added unit selection when receiving payment
2017-02-08 18:37:34 +01:00
pm47
ba515a921a
relayer now extracts preimages from the blockchain
2017-02-07 15:12:31 +01:00
pm47
08281dc109
updated relayer actor name
2017-02-07 15:05:43 +01:00
pm47
80356cefdc
updated logback_colors
2017-02-07 15:05:43 +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
dpad85
1858cdf01b
Added context actions on nodes/channels lists
2017-02-06 16:38:14 +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
dpad85
de282aea48
Added Export to DOT action in menu
2017-02-03 20:13:43 +01:00
dpad85
a2ceafed63
Added node1 & node2 in channels table; added color in nodes table
2017-02-03 20:13:37 +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
ea3480b9f8
dot graph are now exported as a string
2017-02-03 19:46:18 +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
sstone
365476c5ae
transport handler: do not stop when the connection is closed
...
When the connection to the peer is closed, send an error to the channel
and wait. when the channel stops, the corresponding transport handler will
stop too.
2017-02-03 17:25:31 +01:00
sstone
e3ac554bd7
add an isTransactionOuputSpendable method to our bitcoin client
2017-02-03 17:25:31 +01:00
dpad85
b9d031dea2
Added 2 tabs to monitor network nodes and channels
...
* Using NodeDiscovered, NodeLost, ChannelDiscovered and ChannelLost events
to update node and channel tables
2017-02-03 15:44:47 +01:00
sstone
85f96e5cf6
update dependencies
2017-02-03 13:55:25 +01:00
sstone
1435fb4257
fix htlc timeout/success tx
...
output should be local-delayedkey, not local-key
2017-02-03 13:06:39 +01:00
sstone
8b275cfd5c
htlc success/timeout tx: input sequence should be 0
2017-02-03 13:06:39 +01:00
pm47
92d297b3d9
announcement are now signed, better handling of relayed htlcs
2017-02-03 11:55:06 +01:00
pm47
a33f2dc703
Merge branch 'wip-bolts' of github.com:ACINQ/eclair into wip-bolts
2017-02-02 17:58:59 +01:00
dpad85
de52502da7
Using Long for amount in CreatePayment
2017-02-02 17:41:20 +01:00
dpad85
71c555e469
Added amount max validation in sending payment window
2017-02-02 17:29:31 +01:00
dpad85
47f28855c5
Max Funding is 2^24, max Push mSat is 1000 * 2^24
2017-02-02 16:43:57 +01:00
dpad85
c3772268c9
Received amount must no be greater than 4 294 967 295 msat
2017-02-02 16:39:52 +01:00
pm47
015e56456f
improved transport-level serializer
2017-02-02 16:26:16 +01:00
dpad85
2d7d9a7528
Increased font size of error/description messages
2017-02-02 16:09:49 +01:00
dpad85
9955f7cdbc
Added working links in About, and changed wording
...
* also removed obsolete modal.css
2017-02-02 15:14:29 +01:00
pm47
f7c558871c
now sending network events (Node/Channel Lost not yet implemented)
2017-02-02 15:01:41 +01:00
pm47
7a8420c170
added error handlers to NORMAL/SHUTDOWN/NEGOTIATION states
2017-02-02 14:24:14 +01:00
pm47
f325d2a3f8
renamed *Testkit.scala -> *StateSpec.scala
2017-02-02 14:17:40 +01:00
dpad85
f62e7553bb
Fixed selected tab style
2017-02-02 13:22:54 +01:00
dpad85
15445125b4
Added details on splash error message
2017-02-02 13:22:26 +01:00
dpad85
4fcee8ee07
Updated gui to a more standard design
...
* flat styles are centralised in themes/flat.css, not used for now
2017-02-01 19:20:35 +01:00
pm47
5efa71eb5d
Merge branch 'wip-bolt7' into wip-bolts
2017-02-01 19:13:23 +01:00
pm47
b7bd2c80bf
re-enabled payment relay
2017-02-01 19:12:50 +01:00
pm47
3fad3fd012
Blob -> Bob
2017-02-01 19:12:49 +01:00
dpad85
bece607b8f
Added validation rules in GUI
...
* opening channel: 0 < funding <= 0.1 BTC
* receive payment: 0 < amount <= 0.042 BTC
2017-01-31 18:53:11 +01:00
dpad85
827ea63abf
Increased context separator padding
2017-01-31 16:56:47 +01:00
dpad85
625bf64800
Made channels and form data selectable in GUI
...
* Using TextField instead of Label to make text selectable
* Improved channel's labels behaviour when resizing
2017-01-31 16:40:36 +01:00
pm47
5eec190bf6
Merge branch 'wip-bolt7' of github.com:ACINQ/eclair into wip-bolt7
2017-01-31 16:24:36 +01:00
pm47
85c52b2efa
removed old protobuf dependency and related module
2017-01-31 16:23:35 +01:00
pm47
c02c17b6b0
re-enabled payment state machine and tests
2017-01-31 15:52:49 +01:00
pm47
287bb60d94
build the onion
2017-01-31 11:25:47 +01:00
sstone
055d64122e
BOLT 3 test vectors: remove old test vectors
2017-01-30 19:41:12 +01:00
sstone
686789b389
Merge branch 'wip-bolts' of https://github.com/ACINQ/eclair into wip-bolts
2017-01-30 18:28:52 +01:00
sstone
0bfec544ba
BOLT3: use local-key instead of local-delayed-key in HTLC outputs
2017-01-30 18:28:06 +01:00
dpad85
d04b7de90a
Added description in receive payment modal
2017-01-30 16:51:39 +01:00
dpad85
b553cc27d2
Added border to all buttons
...
* default colors is background color
* keeps buttons' height consistent even if border is not visible
2017-01-30 16:42:11 +01:00
dpad85
fd47c7cfb5
Removed min height condition on main window
2017-01-30 16:34:42 +01:00
dpad85
521a0ed117
Merged channel pane context in one
2017-01-30 16:22:33 +01:00
dpad85
dda0c0c4f2
Improved handling of node id context in main window
2017-01-30 16:02:42 +01:00
dpad85
167efe3cb9
Added channels count in Tab label
2017-01-30 15:27:40 +01:00
dpad85
e38cbcaba1
Increased GUI main window preferred height
2017-01-30 15:07:17 +01:00
pm47
1a0ab56d66
merged from wip-bolts
2017-01-30 14:56:31 +01:00
dpad85
de99fdb566
Added pushMsat param when connecting to a channel
...
* pushMsat is an optional field in millisatoshi, default is 0
* In channel creation, `amount` parameter has been renamed to fundingSatoshis
to make code more readable
* Added pushMsat field in open channel modal GUI
* Added description label in open channel modal to improve user experience
2017-01-30 14:47:59 +01:00
Pierre-Marie Padiou
0d4a117f94
fixed typo in assert message
2017-01-30 14:21:25 +01:00
sstone
2ca7e72f44
BOLT 3: use P2WPKH instead of P2PKH
...
see https://github.com/lightningnetwork/lightning-rfc/pull/94
2017-01-30 11:38:08 +01:00
pm47
2d2ecdabf2
improved logging in router
2017-01-27 20:28:38 +01:00
pm47
69b82990e9
re-enabled route computation, next step build the onion
2017-01-27 20:22:42 +01:00
pm47
9dbddf748d
removed irc dependency
2017-01-27 20:22:41 +01:00
pm47
37b00f708c
small scaladoc fixes
2017-01-27 20:22:41 +01:00
pm47
488b854a2a
routing announcements are transmitted as soon as connection is open
2017-01-27 20:22:41 +01:00
pm47
5df27783da
fixed typo in log
2017-01-27 20:22:41 +01:00
dpad85
b03d3a71e2
Added Copy URI in context menu
2017-01-27 19:47:32 +01:00
sstone
a914b88bc1
replace assert with require
2017-01-27 19:42:50 +01:00
dpad85
9996af4e61
Modified buildCopyContext to handle multiple copy actions
...
* Added a utility CopyAction class to describe the action
2017-01-27 19:32:56 +01:00
dpad85
ba8cff0b26
Added a label parameter to buildCopyContext
2017-01-27 19:03:18 +01:00
dpad85
d5dae98c2e
Wording
2017-01-27 18:37:51 +01:00
dpad85
5ab892ca97
Fixed width of open channel modal
2017-01-27 18:36:44 +01:00
dpad85
67c518db7c
FXML namespace version set to 8
2017-01-27 18:13:45 +01:00
dpad85
6d387f6ea6
Removed unused imports
2017-01-27 18:02:35 +01:00
pm47
ec07cc46ab
implemented basic announcement broadcast
2017-01-27 17:28:02 +01:00
pm47
6d16f315fe
updated node announcement message format
2017-01-27 17:23:54 +01:00
sstone
b3e2258aff
TransportHandler: process all incoming messages asap
...
This fixes an issue where, if a received packet contains the last handshake message plus
encrypted payloads, we would not process the payloads immediately
2017-01-27 16:30:37 +01:00
sstone
a38989e40f
remove unused code
2017-01-27 16:30:20 +01:00
sstone
50e3145371
gui: new node url format pubkey@host:port
2017-01-26 17:05:08 +01:00
sstone
81072bfe9f
bitcoin client: add support for short tx id (heigt + index)
2017-01-26 17:03:05 +01:00
sstone
7f68e67efb
update tests because to-remote is a P2PKH output
2017-01-25 14:41:07 +01:00
sstone
9eb6bdc2f9
fix bolt3 test vectors
...
- to-remote is a P2PKH output
- sign transactions
2017-01-25 14:28:32 +01:00
sstone
637f4767e6
commit tx: to-remote is a P2PKH output (not a P2WPKH output)
2017-01-25 14:00:27 +01:00
sstone
966f0f2e0b
bolt 3 test vectors: label private keys properly, and display the associated public keys
2017-01-25 11:22:01 +01:00
sstone
96e0d8f88b
in fee-per-kw, kilo is 1000 not 1024
...
see 18a083b628
2017-01-25 11:19:41 +01:00
sstone
08f1c893ff
minor fixes
2017-01-23 15:53:35 +01:00
sstone
b83cf24e09
improve TransportHandler
2017-01-23 15:46:33 +01:00
pm47
ef586fe4ad
now checking final scriptpubkey validity
2017-01-20 19:03:35 +01:00
pm47
2badd3d7c2
closing fees are now properly estimated
2017-01-20 18:41:34 +01:00
pm47
4d1264d130
optimized imports
2017-01-20 18:02:57 +01:00
Fabrice Drouin
85a8ec5867
use improved private/public key types from bitcoin-lib 0.9.9 ( #23 )
...
* use bitcoin-lib 0.9.9
* use scalar/point/public key types instead of binary data
* minor fix: scalar are encoded on 32 bytes
* fix number encoding error
numbers between 0 and 16 were not encoded properly in redeem scripts
* removed some useless calls to constructors
2017-01-20 17:47:45 +01:00
pm47
373df9cdd0
removed Publish, now we always use PublishAsap
2017-01-20 14:09:34 +01:00
pm47
8a29a7cd02
reduced 'expectNoMsg' delay from 3s to 1s in tests
2017-01-20 13:26:11 +01:00
pm47
e4edd7b596
main outputs are now sent to finalPubkeyScript in all cases
2017-01-20 13:23:43 +01:00
pm47
bcc5cb8f7b
renamed ClaimHtlcDelayedTx to ClaimDelayedOutputTx
2017-01-19 17:30:20 +01:00
pm47
22789d9395
added logs and slightly changed signature of claimRevokedRemoteCommitTxOutputs
2017-01-19 17:02:07 +01:00
pm47
a58befd1ed
minor: removed useless statements
2017-01-19 16:42:34 +01:00
pm47
fbe2867001
re-enabled isFunder label in GUI
2017-01-19 16:00:29 +01:00
pm47
bba07d0881
fixed htlc workflow (relay still disabled), re-enabled autosign interval
2017-01-19 16:00:29 +01:00
pm47
8763258a5b
set TransportHandler log level to INFO
2017-01-19 16:00:29 +01:00
pm47
1c8bae6336
minor: fixed comments
2017-01-19 16:00:29 +01:00
pm47
11935151a2
using a different seed for alice and bob in tests
2017-01-19 16:00:28 +01:00
pm47
b4cb612f4a
final adress now pays back to bitcoind
2017-01-19 16:00:28 +01:00
sstone
a12f7068c8
commitment index should be a Long (48 bits), not an Int
2017-01-18 18:58:20 +01:00
sstone
b333de0d03
fix compilation warnings
2017-01-18 18:42:38 +01:00
pm47
692e47f3ea
optimized imports
2017-01-18 14:53:36 +01:00
pm47
b5b7f37ab7
Merge branch 'wip-bolt3' into wip-bolts
2017-01-18 13:04:58 +01:00
pm47
3cc3438037
fixed c8eaf6f5ee
to make it consistent with existing code
2017-01-18 12:31:10 +01:00
pm47
b5ae50b316
updated tests as per c8eaf6f5ee
2017-01-17 19:25:43 +01:00
pm47
e1dbdb70e7
removed useless tests, re-enabled rustytests
2017-01-17 19:09:06 +01:00