sstone
|
fc9ccf8524
|
bolt 3: improve reference test
format test output to match the reference test vectors
|
2017-02-15 14:20:51 +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
|
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
|
1e10074f27
|
added support for channel-reserve parameters
|
2017-02-10 14:36:03 +01:00 |
|
pm47
|
2d5d8a00a9
|
punishment -> penalty
|
2017-02-09 15:56:58 +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
|
f19231e883
|
make it an error to have an htlc expiry < 3 blocks
|
2017-02-09 13:58:15 +01:00 |
|
sstone
|
4b6dca7a0a
|
make SignTransactionResponse a static class
|
2017-02-09 11:44:27 +01:00 |
|
pm47
|
ba515a921a
|
relayer now extracts preimages from the blockchain
|
2017-02-07 15:12:31 +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 |
|
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 |
|
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
|
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
|
e3ac554bd7
|
add an isTransactionOuputSpendable method to our bitcoin client
|
2017-02-03 17:25:31 +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 |
|
pm47
|
92d297b3d9
|
announcement are now signed, better handling of relayed htlcs
|
2017-02-03 11:55:06 +01:00 |
|
dpad85
|
de52502da7
|
Using Long for amount in CreatePayment
|
2017-02-02 17:41:20 +01:00 |
|
pm47
|
f325d2a3f8
|
renamed *Testkit.scala -> *StateSpec.scala
|
2017-02-02 14:17:40 +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 |
|
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
|
0bfec544ba
|
BOLT3: use local-key instead of local-delayed-key in HTLC outputs
|
2017-01-30 18:28:06 +01:00 |
|
pm47
|
1a0ab56d66
|
merged from wip-bolts
|
2017-01-30 14:56:31 +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
|
69b82990e9
|
re-enabled route computation, next step build the onion
|
2017-01-27 20:22:42 +01:00 |
|
sstone
|
a914b88bc1
|
replace assert with require
|
2017-01-27 19:42:50 +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
|
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
|
966f0f2e0b
|
bolt 3 test vectors: label private keys properly, and display the associated public keys
|
2017-01-25 11:22:01 +01:00 |
|