SomberNight
|
2fafd01945
|
protect against getting robbed through routing fees
|
6 years ago |
SomberNight
|
d511ecdc00
|
start failing htlcs
|
6 years ago |
Janus
|
eabe23f6b8
|
make function for determining who pays fee
|
6 years ago |
ThomasV
|
a0acec9720
|
gather definitions of LN exceptions
|
6 years ago |
ThomasV
|
409a336071
|
fix tests (follow-up previous commit)
|
6 years ago |
ThomasV
|
445252284f
|
move transport code to its own file
|
6 years ago |
Janus
|
b26dc66567
|
lnhtlc: only store feerate once, don't store heights since we do not roll back
|
6 years ago |
Janus
|
e8471e483b
|
lnhtlc: merge config and state, remove unnecessary properties
|
6 years ago |
SomberNight
|
eced61123d
|
clean up local/global features
|
6 years ago |
ThomasV
|
11c3ca281c
|
create sweep transaction outside of lnwatcher
|
6 years ago |
SomberNight
|
17457327ef
|
make key derivation reasonable
no more hardcoded secrets, no more key-reuse
|
6 years ago |
Janus
|
5859054095
|
fix lnwatcher for channels initiated by remote
|
6 years ago |
SomberNight
|
fb8deecb57
|
lnutil: missing import
|
6 years ago |
Janus
|
efc8d50570
|
move connection string decoding to lnworker, fix test_lnutil
|
6 years ago |
Janus
|
e23e0d6c6e
|
ln: avoid duplicated htlc filter code, support multiple htlcs better
|
6 years ago |
Janus
|
e18a3b5a3d
|
lnutil: remove LI01 sort after Tx.from_io: fixup after rebase on da9d1e6001
|
6 years ago |
Janus
|
224226f427
|
ln: cooperative close with remote peer initiating
|
6 years ago |
Janus
|
d5d9270d0c
|
lnhtlc: save logs and feeupdates
|
6 years ago |
Janus
|
eca5545004
|
lnhtlc: don't throw away fee updates or htlcs
also add inject_fees debug command
|
6 years ago |
Janus
|
261fefb6f3
|
lnwatcher rebased
|
6 years ago |
SomberNight
|
1b030fca78
|
rebase follow-up: use namedtuples from master in new code (TxOutput, TxMinedStatus)
|
6 years ago |
SomberNight
|
4d1785799b
|
lnbase.pay: test if htlc can be added
|
6 years ago |
SomberNight
|
c02cc9bb3b
|
persist recent peers. implement dns seed bootstrapping.
dns seeds are currently disabled though, as they always seem to return mainnet nodes.
|
6 years ago |
SomberNight
|
bc06ded4b9
|
persist nodes in channel_db on disk
|
6 years ago |
Janus
|
a841fa3602
|
ln: save htlc signatures
|
6 years ago |
SomberNight
|
a5b44d25b0
|
persist channel db on disk. verify channel gossip sigs.
|
6 years ago |
Janus
|
9853cc6f31
|
ln: do not use mSAT accuracy for commitment fees
|
6 years ago |
Janus
|
35adc3231b
|
lightning: fixup after rebasing on restructured master
|
6 years ago |
SomberNight
|
63d2c3aaf4
|
lnwatcher: sweep to_remote and to_local outputs if they close
|
6 years ago |
Janus
|
8573dd3b6a
|
ln: revoke before sending bare ctx in pay(), remove subtraction of trimmed amt from fee
|
6 years ago |
Janus
|
03c2b954d9
|
lnhtlc: fee update upgrade and passes ReciverCommits and SenderCommits tests, fix NameErrors in lnbase
|
6 years ago |
Janus
|
4515c859c4
|
ln: avoid code duplication
|
6 years ago |
Janus
|
fe973a5137
|
ln: avoid recursive dependencies, make new lnutil
|
6 years ago |