SomberNight
|
44761972cb
|
lnchannel: ctx output-ordering: identical htlcs are ordered by CLTV
|
2019-08-20 09:03:12 +02:00 |
|
ThomasV
|
4dc6c6c82e
|
fix tests (follow up prev commit)
|
2019-08-20 09:03:11 +02:00 |
|
Janus
|
e56e849505
|
lnchan refactor
- replace undoing logic with new HTLCManager class
- separate SENT/RECEIVED
- move UpdateAddHtlc to lnutil
|
2019-08-20 09:03:11 +02:00 |
|
Janus
|
2c1fcb2f54
|
ln: remove EncumberedTransaction
|
2019-08-20 09:03:11 +02:00 |
|
SomberNight
|
595cfcbb65
|
move sweeping methods from lnchan.py to new file
also sweep "received" htlcs from "our" ctx
also sweep htlcs from their ctx (non-breach)
extract ctn; included_htlcs_in_their_latest_ctxs
|
2019-08-20 09:03:11 +02:00 |
|
Janus
|
d6f62d4e7f
|
follow-up redeeming of local outgoing htlc outputs, fix tests
|
2019-08-20 09:03:10 +02:00 |
|
Janus
|
eabe23f6b8
|
make function for determining who pays fee
|
2019-08-20 09:03:10 +02:00 |
|
Janus
|
1763d02b05
|
rename lnhtlc->lnchan, HTLCStateMachine->Channel
|
2019-08-20 09:03:10 +02:00 |
|
Janus
|
efc8d50570
|
move connection string decoding to lnworker, fix test_lnutil
|
2019-08-20 09:03:10 +02:00 |
|
SomberNight
|
c02cc9bb3b
|
persist recent peers. implement dns seed bootstrapping.
dns seeds are currently disabled though, as they always seem to return mainnet nodes.
|
2019-08-20 09:03:10 +02:00 |
|
Janus
|
3c06b3cee1
|
ln: use START_INDEX instead of 2**48-1
|
2019-08-20 09:03:10 +02:00 |
|
Janus
|
35adc3231b
|
lightning: fixup after rebasing on restructured master
|
2019-08-20 09:03:10 +02:00 |
|