Janus
|
6c8ceef1c3
|
lnhtlc: merge config and state, remove unnecessary properties
|
7 years ago |
Janus
|
5359624d67
|
lnhtlc: remove lookup_htlc, use heterogeneously typed lists
|
7 years ago |
ThomasV
|
315ff4bfb7
|
fix previous commit
|
7 years ago |
ThomasV
|
46cc9cd5b6
|
follow-up 1c8a4bcfa497b117e4511c2f108dbca8a1adb793
|
7 years ago |
SomberNight
|
4972e8e7d7
|
lnbase: handle some error codes re htlc failures ('UPDATE' flag)
|
7 years ago |
SomberNight
|
f3bb66d258
|
lnonion: use IntEnum and IntFlag for failure codes
|
7 years ago |
SomberNight
|
e9e5f1bd6d
|
handle failing htlc after restart
|
7 years ago |
SomberNight
|
03dc812087
|
clean up local/global features
|
7 years ago |
SomberNight
|
3c4697b842
|
on_channel_reestablish: try to get remote to force close channel if out-of-sync.
see ACINQ/eclair#727 and lightningnetwork/lnd#1904
|
7 years ago |
SomberNight
|
6ce3223cdc
|
on_update_fail_htlc: don't send commitment without changes
c-lightning was force-closing channels with us: "[lnbase:127.0.0.1] error commit_sig with no changes"
|
7 years ago |
SomberNight
|
0ecc1c9dfa
|
simplify ChannelDB.on_channel_update
|
7 years ago |
SomberNight
|
8266ec50ef
|
use 'r' field in invoice when making payments (routing hints)
|
7 years ago |
SomberNight
|
02ce9a3bea
|
make our channels private, and put routing hints in invoices we create
|
7 years ago |
ThomasV
|
1b99849474
|
follow-up previous commit
|
7 years ago |
SomberNight
|
3afbc59af3
|
follow-up lnwatcher changes
|
7 years ago |
ThomasV
|
f8b79ae621
|
aiosafe: define user visible exception class
|
7 years ago |
ThomasV
|
f2b798394d
|
lnbase: propagate error messages received in on_error to their relevant coroutines
|
7 years ago |
ThomasV
|
c1b8c6f863
|
create sweep transaction outside of lnwatcher
|
7 years ago |
SomberNight
|
bc8895cc36
|
lnbase: Peer handles its own disconnection instead of lnworker
|
7 years ago |
SomberNight
|
acc8bdab6f
|
make key derivation reasonable
no more hardcoded secrets, no more key-reuse
|
7 years ago |
Janus
|
2063c1756e
|
ln: fix opening of channels (NameErrors)
|
7 years ago |
Janus
|
e86ca97fc1
|
lnbase: update gui after accomodating channel opening request
|
7 years ago |
Janus
|
96c992ab86
|
accept channel opening requests initiated by remote
|
7 years ago |
Janus
|
afa0708158
|
lnworker.pay(): lightning-integration support
|
7 years ago |
Janus
|
5f005e74db
|
lnbase: remove code duplication by introducing send_commitment(chan)
|
7 years ago |
Janus
|
17c1eba1b5
|
lnbase: remove unnecessary branching and duplicated code in receive_commitment_revoke_ack
|
7 years ago |
ThomasV
|
08d10af69c
|
avoid code duplication between methods that send channel updates
|
7 years ago |
Janus
|
3a5d19de7d
|
ln: commit fee updates as soon as possible
|
7 years ago |
Janus
|
393282d038
|
ln fees: avoid resending same fee update before it has been committed to, docs
|
7 years ago |
Janus
|
52afa2cd6c
|
avoid reading from queues concurrently in pay()
|
7 years ago |
ThomasV
|
e18ecdfccf
|
add pong handler to reduce verbosity
|
7 years ago |
Janus
|
e0d0905d43
|
keep htlc history in case a htlc fails
|
7 years ago |
Janus
|
43592d6019
|
add command to clear ln blacklist, prevent error in pay() from killing Peer
|
7 years ago |
SomberNight
|
d49bb1fd4a
|
fix prev
|
7 years ago |
ThomasV
|
f9e55b2b57
|
lnbase: save_channel in revoke
|
7 years ago |
ThomasV
|
1c353390de
|
fix: broadcast_transaction from non network thread
|
7 years ago |
ThomasV
|
04b18311d9
|
partial revert of df24fb00578309b5db27876769306196238ec3f2: process_message should not be async
|
7 years ago |
Janus
|
6fa4f2fefd
|
ln: cooperative close with remote peer initiating
|
7 years ago |
Janus
|
25c6ffea60
|
lnhtlc: don't settle htlc with HTLCStateMachine too early
|
7 years ago |
Janus
|
b0bb556a1f
|
lnhtlc: save logs and feeupdates
|
7 years ago |
Janus
|
dbe6a45477
|
lnwatcher rebased
|
7 years ago |
Janus
|
7d54e180c2
|
lightning: post aiorpcx rebase fixup
|
7 years ago |
SomberNight
|
d0ff4c352c
|
remove our closed channels from channeldb. note some FIXMEs
payment were attempting to use the closed channels.
|
7 years ago |
SomberNight
|
23fecae0aa
|
lnbase: fix payments
|
7 years ago |
SomberNight
|
1b11a9228d
|
rebase follow-up: use namedtuples from master in new code (TxOutput, TxMinedStatus)
|
7 years ago |
SomberNight
|
1e4b1948ef
|
decode onion errors to failure message type
|
7 years ago |
SomberNight
|
9099658382
|
lnbase.pay: test if htlc can be added
|
7 years ago |
SomberNight
|
1cd0ee935b
|
ln onchain fees: use 2 block ETAs with 150 s/b fallback
|
7 years ago |
SomberNight
|
a4dc488905
|
more reliable peer and channel re-establishing
|
7 years ago |
SomberNight
|
0f6532d962
|
persist recent peers. implement dns seed bootstrapping.
dns seeds are currently disabled though, as they always seem to return mainnet nodes.
|
7 years ago |