SomberNight
|
ce1ff477d0
|
lnutil: restructure channel config namedtuples (local/remote config)
|
2018-11-07 17:54:46 +01:00 |
|
SomberNight
|
dbb482a512
|
after rebase fixes
|
2018-11-05 20:29:44 +01:00 |
|
Janus
|
a9412041ca
|
lnwatcher: more detailed logging, support notifying test suite of txs
|
2018-11-05 20:24:14 +01:00 |
|
Janus
|
0a8d836d13
|
remove incorrect docstrings, attribute docstring sources where applicable
|
2018-11-05 20:24:12 +01:00 |
|
SomberNight
|
0b2993cd06
|
add licence headers to more files
|
2018-11-05 20:24:10 +01:00 |
|
Janus
|
36d03f4762
|
lightning channel reserves
|
2018-11-05 20:24:05 +01:00 |
|
Janus
|
94b0631ccc
|
fix co-op close
|
2018-11-05 20:24:04 +01:00 |
|
SomberNight
|
5ce88014c8
|
lnutil.make_funding_input: don't return payment pubkeys
order depends on who is initiator anyway
|
2018-11-05 20:24:03 +01:00 |
|
Janus
|
3afb9c8ca3
|
redeem htlc outputs of our local commitment transaction back to wallet
|
2018-11-05 20:24:02 +01:00 |
|
SomberNight
|
78ca70887a
|
fix confusion re max path length
|
2018-11-05 20:23:59 +01:00 |
|
SomberNight
|
4fcc766ba5
|
protect against getting robbed through routing fees
|
2018-11-05 20:23:59 +01:00 |
|
SomberNight
|
f1ea73a2c6
|
start failing htlcs
|
2018-11-05 20:23:58 +01:00 |
|
Janus
|
e85226a6b3
|
make function for determining who pays fee
|
2018-11-05 20:23:46 +01:00 |
|
ThomasV
|
42ada7ffc4
|
gather definitions of LN exceptions
|
2018-11-05 20:23:44 +01:00 |
|
ThomasV
|
560a8e99ac
|
fix tests (follow-up previous commit)
|
2018-11-05 20:23:44 +01:00 |
|
ThomasV
|
0e3e43f522
|
move transport code to its own file
|
2018-11-05 20:23:43 +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 |
|
SomberNight
|
ea6406c5be
|
clean up local/global features
|
2018-11-05 20:18:56 +01:00 |
|
ThomasV
|
607eda3a29
|
create sweep transaction outside of lnwatcher
|
2018-11-05 20:18:48 +01:00 |
|
SomberNight
|
3b938160d1
|
make key derivation reasonable
no more hardcoded secrets, no more key-reuse
|
2018-11-05 20:18:45 +01:00 |
|
Janus
|
0a67872e83
|
fix lnwatcher for channels initiated by remote
|
2018-11-05 20:18:45 +01:00 |
|
SomberNight
|
d12107e743
|
lnutil: missing import
|
2018-11-05 20:18:45 +01:00 |
|
Janus
|
4b2fa6a828
|
move connection string decoding to lnworker, fix test_lnutil
|
2018-11-05 20:18:38 +01:00 |
|
Janus
|
a028af9dec
|
ln: avoid duplicated htlc filter code, support multiple htlcs better
|
2018-11-05 20:18:32 +01:00 |
|
Janus
|
67734d5db2
|
lnutil: remove LI01 sort after Tx.from_io: fixup after rebase on da9d1e6001
|
2018-11-05 20:18:31 +01:00 |
|
Janus
|
137bf72602
|
ln: cooperative close with remote peer initiating
|
2018-11-05 20:16:13 +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
|
d3a1c8ce42
|
lnwatcher rebased
|
2018-11-05 20:16:10 +01:00 |
|
SomberNight
|
9b0ac5cc45
|
rebase follow-up: use namedtuples from master in new code (TxOutput, TxMinedStatus)
|
2018-11-05 20:16:08 +01:00 |
|
SomberNight
|
85407414ed
|
lnbase.pay: test if htlc can be added
|
2018-11-05 20:16:07 +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 |
|
Janus
|
d4c00ee986
|
ln: save htlc signatures
|
2018-11-05 20:08:47 +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
|
8276d023c2
|
lightning: fixup after rebasing on restructured master
|
2018-11-05 20:05:44 +01:00 |
|