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
pm47
6fe60c73f6
re-enabled tests on CLOSING state
2017-01-17 19:09:06 +01:00
sstone
09c6832359
Merge branch 'wip-bolt3' of https://github.com/ACINQ/eclair into wip-bolt3
2017-01-17 17:36:25 +01:00
pm47
d938920ca4
re-enabled tests on NEGOTIATING state
2017-01-17 17:31:14 +01:00
sstone
c8eaf6f5ee
add fee calculation for 'htlc delayed' and 'main penalty' tx
2017-01-17 17:31:00 +01:00
pm47
8d04c414ce
re-enabled tests on SHUTDOWN state
2017-01-17 15:49:09 +01:00
pm47
261e0b936c
added 'spendability' checks to uniclose tests
2017-01-17 14:46:55 +01:00
pm47
34dd7e20c8
added handling of local current commit
2017-01-17 11:58:40 +01:00
pm47
4002365d4e
added (limited) handling of remote revoked commit
2017-01-16 17:23:13 +01:00
pm47
98be1efb39
added encoding/decoding of txnumber in sequence+locktime
2017-01-16 15:30:09 +01:00
pm47
af30b268ee
added handling of remote current commit
2017-01-16 15:30:09 +01:00
pm47
26767054fb
workaround in PeerWatcher so that WatchConfirmed is not triggered multiple times in tests
2017-01-16 15:30:08 +01:00
pm47
3ddefdb124
added CMD_CLOSE/Shutdown tests to NORMAL
2017-01-16 15:30:08 +01:00
sstone
e04a7d47c3
add key derivation test vectors
2017-01-16 15:02:41 +01:00
pm47
d5566a485f
enabled back tests on NORMAL->Closing
2017-01-06 20:02:01 +01:00
pm47
3ae139934b
fixed UpdateFailHtlc tests
2017-01-06 17:53:04 +01:00
pm47
f96f261902
added more tests on RevokeAndAck
2017-01-06 17:30:29 +01:00
pm47
d0980cb315
added CommitSig tests with multiple htlcs
2017-01-06 16:58:09 +01:00
pm47
8e85d4ab63
now check signature of htlc-success txs
2017-01-06 14:54:12 +01:00
pm47
14a71b01e3
now using a non-zero pushMsat by default in tests
2017-01-06 11:45:01 +01:00
pm47
df4e9b57cc
fixed CommitSig test (htlc amount)
2017-01-05 18:22:11 +01:00
pm47
2fa70e2000
merged
2017-01-03 18:04:24 +01:00
pm47
c5260e8414
fixed fee issue
2017-01-03 17:59:51 +01:00
sstone
ec0920143c
bolt3: implement "obscured commit tx number"
2017-01-03 14:54:01 +01:00
pm47
e1773d464b
added an isFunder attribute
2017-01-03 12:01:10 +01:00
pm47
eca496e041
added tx fees (wip)
2016-12-21 14:18:15 +01:00
pm47
91f5d7d87e
using MilliSatoshi class
2016-12-20 14:46:55 +01:00
pm47
83bd8d6f3c
implemented signature (wip)
2016-12-19 19:26:31 +01:00
sstone
1bf264bbc5
bolt 3: add fee computation example
2016-12-19 18:11:17 +01:00
pm47
e1ae6d2a2e
updated bitcoin-lib to 0.9.8
2016-12-19 16:15:50 +01:00
pm47
4fb26c6c89
removed Common/Input/Output scripts subsections
2016-12-19 12:39:25 +01:00
pm47
8447270445
replaced TxTemplate by TransactionWithInputInfo
2016-12-16 19:25:11 +01:00
pm47
d334fe068e
first step towards htlc tx sigs (wip)
2016-12-14 11:42:09 +01:00
pm47
2a666919b6
first shot at generating success/timeout templates
2016-12-13 18:55:03 +01:00
pm47
2cf61dd95a
added htlc output templates
2016-12-13 17:08:04 +01:00
pm47
1e97d4e0a6
moved OldScripts into Scripts
2016-12-13 14:23:11 +01:00
pm47
b05f52b412
Merge branch 'wip-bolt2' into wip-bolts
2016-12-13 14:15:23 +01:00
pm47
2a95767089
fixed NodeAnnouncement.alias encoding and added tests
2016-12-13 13:37:39 +01:00
pm47
0581449929
added routing-related messages
2016-12-12 19:38:52 +01:00
pm47
28818d9e5e
fixed some NORMAL state tests
2016-12-12 13:47:25 +01:00
pm47
76afa1a4bb
making TestBitcoinClient send BITCOIN_FUNDING_DEPTHOK
2016-12-12 11:40:25 +01:00
pm47
eef13e369c
fixed tests covering OPEN->NORMAL
2016-12-09 17:08:16 +01:00
pm47
e8f0749864
replaced BinaryData by Point/Scalar
2016-12-08 19:38:07 +01:00
pm47
f5b770448a
fixed WaitForAcceptChannel and WaitForOpenChannel tests
2016-12-08 18:02:29 +01:00
pm47
f213f79821
merged from wip-bolt3
2016-12-08 17:36:23 +01:00
pm47
4665ce8d4b
completed rewiring of OPEN->NORMAL
2016-12-08 14:57:50 +01:00
pm47
4e1980b41f
working on channel opening
2016-12-08 11:12:36 +01:00
pm47
f7183968eb
removed all parameters
2016-12-07 18:28:22 +01:00
sstone
fa9096655b
add local/remote/delayed key derivation function
2016-12-07 15:39:15 +01:00
pm47
a8cb35f744
updated wire messages
2016-12-07 14:34:49 +01:00
pm47
046cd9d788
moved Scripts to OldScripts
2016-12-07 14:07:13 +01:00
pm47
3bfe7292c4
project-wide auto-reformatting
2016-12-07 12:52:59 +01:00
pm47
81739cb0e6
removed unused functions from Helpers
2016-12-07 12:49:28 +01:00
pm47
84650f8147
separated Commitments, CommitmentSpec and TxTemplate
2016-12-07 12:27:40 +01:00
pm47
5f7a2718ef
removed Change type, separated TxTemplate from Channel
2016-12-07 11:11:16 +01:00
pm47
6e21988156
removed unused states
2016-12-06 18:22:07 +01:00
pm47
21c5b44b80
renamed tests so that they match states
2016-12-06 17:47:24 +01:00
pm47
91d913d442
removed all protobuf messages but auth & routing
2016-12-06 17:37:48 +01:00
pm47
ca59994481
project now compiles (still wip!)
2016-12-05 16:22:06 +01:00
sstone
49ec2e8aca
bolt 3: add Rusty's shachain tests
2016-12-05 16:14:32 +01:00
pm47
a274867136
added init and error messages
2016-12-05 12:10:24 +01:00
pm47
ed56401333
using 2 bytes to code message type
2016-12-05 11:59:55 +01:00
pm47
e182afd6b7
wip
2016-12-02 15:08:59 +01:00
sstone
9225d5a796
use bip69 ordering for tx inputs/outputs
2016-11-30 17:21:50 +01:00
sstone
21d90905a0
fix labels in bolt3 tests
2016-11-29 14:11:58 +01:00
sstone
4e29d2b9fe
implement revocation key derivation
2016-11-28 18:39:13 +01:00
sstone
1fe8b8feb2
compute tx base size, total size and weight
2016-11-28 17:32:45 +01:00
sstone
7ff9e4cb19
bolt 3 tests: fix amounts
...
commit tx total output was wrong
2016-11-25 15:34:58 +01:00
pm47
6d63ba8dc4
added firstPerCommitmentPoint to OpenChannel
2016-11-25 10:54:13 +01:00
sstone
ae60464663
bolt3 tests: print tx size
2016-11-24 18:03:07 +01:00
pm47
6d3c6eda41
wip (does not work yet!)
2016-11-24 17:55:05 +01:00
pm47
a3ab3a7857
updated types and added htlc-related messages
2016-11-24 11:54:19 +01:00
sstone
b767edad10
use CHECK(MULTI)SIG instead of CHECK(MULTI)SIGVERIFY
...
it makes the witness scripts nicer
2016-11-23 18:11:20 +01:00
sstone
67e7124b46
bolt 3: implement missing use cases
2016-11-23 18:02:12 +01:00
sstone
84cf1a9c94
dump tx hex (so they can be tested on regtest)
2016-11-22 17:48:38 +01:00
sstone
d09286631d
implement commit tx, HTLC success tx and HTLC timeout tx
2016-11-22 14:47:55 +01:00
sstone
6387afe2a7
(very) partial implementation of bolt 3
2016-11-21 18:58:28 +01:00
pm47
a8eca868a2
renamed types file to Types.scala and removed bitcoin-lib-style serialization
2016-11-17 13:48:22 +01:00
pm47
cc11ec8d14
moved wire from a module to a package
2016-11-17 13:12:28 +01:00
pm47
810fe1fc99
better handle bad bitcoind rpc credentials (see #21 )
2016-11-14 17:07:53 +01:00
pm47
3fc25da461
now using akka-http-json and akka-http-client (removed acinq-tools dependency)
2016-11-08 19:32:01 +01:00
pm47
6cd0198fc3
better manage initialization errors
2016-11-08 14:33:53 +01:00
pm47
bf57cb338b
use default receive method
2016-11-08 14:33:06 +01:00
pm47
f69f9ea74d
fixed typo
2016-11-08 14:32:35 +01:00
pm47
ab1229432c
formatting
2016-11-08 14:19:27 +01:00
pm47
e6973e7d36
moved payment-related stuff to a dedicated package
2016-11-08 11:32:10 +01:00
pm47
71c082bc7c
PaymentSpawner->PaymentInitiator PaymentManager->PaymentLifecycle
2016-11-08 11:10:42 +01:00
pm47
f70eba79fb
fixed imports in GUIUpdater
2016-11-03 16:25:52 +01:00
pm47
ce3892f654
fixed unit bug
2016-11-03 16:25:10 +01:00
pm47
2d85118615
now using a *fake* bitcoin client (and cleaned up real bitcoin client)
2016-11-03 16:00:47 +01:00
pm47
529d55150f
temporary disabled SecureRandom (linux bug)
2016-11-03 15:42:07 +01:00
pm47
8c05b270c1
added license to about
2016-11-03 15:37:25 +01:00
dpad85
8845be794a
Balance and capacity are now in bits (mBTC) by default
2016-10-18 14:13:11 +02:00
dpad85
e5195460c0
Fixed dynamic length of node id in status bar
2016-10-18 14:11:43 +02:00
dpad85
cff5ed2d3f
Moved eclair setup out of fx thread
2016-10-17 16:25:23 +02:00
dpad85
2dd76c3b7b
Removed bg color in tcp/http
2016-10-17 16:23:26 +02:00
dpad85
f0d55c36be
Condensed channel display
2016-10-17 16:22:39 +02:00
dpad85
e6a262a4b0
Improved look of error message in splash window
2016-10-17 16:21:16 +02:00
pm47
e12e5316cf
merged from master
2016-10-17 14:23:40 +02:00
pm47
29b6df7bed
Merge branch 'master' into wip-gui
2016-10-17 14:10:49 +02:00
pm47
cc066369f1
removed initial_amount_* in CommitmentSpec
2016-10-17 13:59:55 +02:00
pm47
ac3ec81578
changed default port to 9735
2016-10-17 13:59:02 +02:00
dpad85
a4971723c6
Added missing close image
2016-10-17 13:28:39 +02:00
sstone
3975bb77aa
tests: make sure that Alice has transitioned before getting her data
2016-09-29 15:24:09 +02:00
sstone
0d422dcee3
fix travis failures
2016-09-29 14:07:36 +02:00
dpad85
4d7bc214c6
WIP Graphic User Interface
...
* Moved all interface code into FXML/CSS files (resources/gui)
* Moved all logic into controllers
* Added Validators to forms (open/send/receive)
* Added a context menu action (right click) on some labels (node id,
channel id) to copy the value in clipboard
* Added an 'About' modal window
* Reworked the look of the UI
* Added a blur animation to splash window
2016-09-28 19:41:14 +02:00
Pierre-Marie Padiou
45a4f96372
Wip Alternateroute ( #20 )
...
* added a basic channel selector that just keeps track of balances
* added a payment fsm that manages a single payment and handles errors
* cleaned up actors after each single state test
* interop test: use our Setup class instead of doing things manually
* interop test: upgrade lightningd
* interop test: checkout lightning fce9ee29e3c37b4291ebb050e6a687cfaa7df95a
2016-09-07 14:21:17 +01:00
Fabrice Drouin
851ae371ea
travis: run interoperability test with lightnind ( #19 )
...
* update lightning binaries with versions where most dependencies are statically linked
* run interop tests on travis
* tell travis to use the trusty beta
* interop test: download bitcoind, checkout and compile lightningd
* interop test: fix travis script
* travis interop test: duh...
* interop test: minor cleanup
* reformatting
2016-09-01 16:07:41 +02:00
pm47
0d2fc5f6c9
fixed relaying issues w/ multiple downstream channels
2016-08-29 18:45:31 +02:00
sstone
617bdd2a06
update bitcoind and bitcoin to 0.13.0
...
binaries downloaded and verified from bitcoin.org
2016-08-29 15:04:58 +02:00
sstone
029d64449d
upgrade bitcoin-lib to 0.9.6
2016-08-29 11:02:06 +02:00
pm47
24305ec26b
removed TestActorRef when not needed
2016-08-26 18:40:26 +02:00
pm47
a1afe74c40
renamed eclair-demo to eclair-node
2016-08-26 18:31:12 +02:00