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
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
sstone
a914b88bc1
replace assert with require
2017-01-27 19:42:50 +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
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