SomberNight
|
5538b9bb8a
|
lnonion: implement error packet construction
|
2018-11-05 20:23:58 +01:00 |
|
Janus
|
0b2f539c81
|
lnchan: add available_to_spend()
|
2018-11-05 20:23:54 +01:00 |
|
SomberNight
|
97d1438f5d
|
lnaddr: encode min_final_cltv into invoice
|
2018-11-05 20:23:53 +01:00 |
|
SomberNight
|
3d89cc355d
|
if payment fails with UPDATE onion error, also utilise channel_update for private channels
|
2018-11-05 20:23:49 +01:00 |
|
Janus
|
34dff98919
|
ln: add lightning_listen config option
|
2018-11-05 20:23:49 +01:00 |
|
Janus
|
e85226a6b3
|
make function for determining who pays fee
|
2018-11-05 20:23:46 +01:00 |
|
ThomasV
|
560a8e99ac
|
fix tests (follow-up previous commit)
|
2018-11-05 20:23:44 +01:00 |
|
SomberNight
|
a124e7ebf9
|
fix tests
|
2018-11-05 20:23:42 +01:00 |
|
SomberNight
|
4e8d019d8d
|
fix tests
|
2018-11-05 20:19:05 +01:00 |
|
Janus
|
12bc0a75f8
|
rename lnhtlc->lnchan, HTLCStateMachine->Channel
|
2018-11-05 20:19:01 +01:00 |
|
Janus
|
e1f37a17f3
|
lnhtlc: only store feerate once, don't store heights since we do not roll back
|
2018-11-05 20:19:00 +01:00 |
|
Janus
|
ab2ca4d018
|
lnhtlc: merge config and state, remove unnecessary properties
|
2018-11-05 20:19:00 +01:00 |
|
Janus
|
ab991ce207
|
lnhtlc: remove lookup_htlc, use heterogeneously typed lists
|
2018-11-05 20:18:59 +01:00 |
|
Janus
|
7cb76fee84
|
lnhtlc: save settled htlc amounts separately
|
2018-11-05 20:18:59 +01:00 |
|
SomberNight
|
8a14993f9b
|
fix tests
|
2018-11-05 20:18:47 +01:00 |
|
Janus
|
4b2fa6a828
|
move connection string decoding to lnworker, fix test_lnutil
|
2018-11-05 20:18:38 +01:00 |
|
Janus
|
0e0f8a7d8f
|
avoid reading from queues concurrently in pay()
|
2018-11-05 20:18:31 +01:00 |
|
SomberNight
|
af16e32257
|
rename LNChanAnnVerifier
|
2018-11-05 20:18:28 +01:00 |
|
Janus
|
d79ccb1c4c
|
lnhtlc: save logs and feeupdates
|
2018-11-05 20:16:12 +01:00 |
|
Janus
|
48dce17263
|
lnhtlc: don't throw away fee updates or htlcs
also add inject_fees debug command
|
2018-11-05 20:16:11 +01:00 |
|
Janus
|
40dc5ed28f
|
lnhtlc: cleanup and save settled htlcs
|
2018-11-05 20:16:11 +01:00 |
|
Janus
|
211de74f47
|
lnhtlc: test that sent amount is received
|
2018-11-05 20:16:10 +01:00 |
|
Janus
|
d3a1c8ce42
|
lnwatcher rebased
|
2018-11-05 20:16:10 +01:00 |
|
SomberNight
|
fdc71e47f9
|
fix tests
|
2018-11-05 20:16:03 +01:00 |
|
SomberNight
|
a16388dbc8
|
persist recent peers. implement dns seed bootstrapping.
dns seeds are currently disabled though, as they always seem to return mainnet nodes.
|
2018-11-05 20:16:03 +01:00 |
|
SomberNight
|
4537f2bcd5
|
persist nodes in channel_db on disk
|
2018-11-05 20:15:57 +01:00 |
|
SomberNight
|
766297da31
|
move bolt-04 onion stuff to its own module
|
2018-11-05 20:08:49 +01:00 |
|
Janus
|
add2ef5d87
|
ln: share more code with control path for failed htlc, verify ctx'es
|
2018-11-05 20:08:49 +01:00 |
|
Janus
|
fb4afb2383
|
ln: use START_INDEX instead of 2**48-1
|
2018-11-05 20:08:47 +01:00 |
|
Janus
|
d4c00ee986
|
ln: save htlc signatures
|
2018-11-05 20:08:47 +01:00 |
|
SomberNight
|
8f67b93e25
|
channeldb: allow injecting trusted edges
|
2018-11-05 20:08:46 +01:00 |
|
SomberNight
|
6742654681
|
persist channel db on disk. verify channel gossip sigs.
|
2018-11-05 20:07:42 +01:00 |
|
Janus
|
593552b3cb
|
ln: do not use mSAT accuracy for commitment fees
|
2018-11-05 20:06:00 +01:00 |
|
Janus
|
cd4d8e0598
|
ln: fundee must commit to fee first
|
2018-11-05 20:06:00 +01:00 |
|
Janus
|
d9208f3245
|
move channel_state into HTLCStateMachine
|
2018-11-05 20:05:51 +01:00 |
|
Janus
|
8276d023c2
|
lightning: fixup after rebasing on restructured master
|
2018-11-05 20:05:44 +01:00 |
|
SomberNight
|
34569d172f
|
wallet: make importing thousands of addr/privkeys fast
fixes #3101
closes #3106
closes #3113
|
2018-10-27 17:36:10 +02:00 |
|
SomberNight
|
082a83dd85
|
rename crypto.Hash to sha256d
|
2018-10-25 22:28:24 +02:00 |
|
SomberNight
|
a88a2dea82
|
split bip32 from bitcoin.py
|
2018-10-25 22:20:33 +02:00 |
|
SomberNight
|
c4e09fa874
|
simplify Plugins constructor
|
2018-10-22 18:21:38 +02:00 |
|
SomberNight
|
7c4d6c6801
|
fix #4771
|
2018-10-13 04:22:53 +02:00 |
|
SomberNight
|
5afdc14913
|
util: small clean-up re format_satoshis
related #4771
|
2018-10-13 04:21:07 +02:00 |
|
SomberNight
|
1233309ebd
|
cli/rpc: 'restore' and 'create' commands are now available via RPC
|
2018-10-11 20:57:15 +02:00 |
|
SomberNight
|
626828e980
|
fix sweeping
|
2018-10-01 05:16:03 +02:00 |
|
SomberNight
|
4d43d12abf
|
transaction: don't convert p2pk to p2pkh address when displaying
also closes #4742
|
2018-10-01 04:58:26 +02:00 |
|
SomberNight
|
ce5cc135cd
|
transaction: make get_address_from_output_script safer
closes #4743
|
2018-09-29 19:47:55 +02:00 |
|
SomberNight
|
9d7cf12244
|
follow-up prev: fix tests
|
2018-09-25 17:00:43 +02:00 |
|
SomberNight
|
7221fb3231
|
interface: further simplifications for fork resolution
|
2018-09-17 22:30:25 +02:00 |
|
SomberNight
|
b3a2bce213
|
interface: simplify fork resolution logic
|
2018-09-17 22:30:21 +02:00 |
|
SomberNight
|
da23e71db1
|
interface: block header search simplifications
|
2018-09-16 07:34:05 +02:00 |
|