ThomasV
|
42d1e0c790
|
add lnworker in start_network
|
6 years ago |
ThomasV
|
118db7831d
|
lnwatcher: do not assume addr_sync.synchronizer
|
6 years ago |
Janus
|
8241ba14ee
|
lnhtlc: also check received htlcs when validating commitment sigs
|
6 years ago |
Janus
|
6fa4f2fefd
|
ln: cooperative close with remote peer initiating
|
6 years ago |
Janus
|
25c6ffea60
|
lnhtlc: don't settle htlc with HTLCStateMachine too early
|
6 years ago |
Janus
|
b0bb556a1f
|
lnhtlc: save logs and feeupdates
|
6 years ago |
Janus
|
c7494d5390
|
lnhtlc: don't throw away fee updates or htlcs
also add inject_fees debug command
|
6 years ago |
Janus
|
7a094e8c04
|
lnhtlc: cleanup and save settled htlcs
|
6 years ago |
Janus
|
71c3602a4e
|
lnhtlc: test that sent amount is received
|
6 years ago |
Janus
|
dbe6a45477
|
lnwatcher rebased
|
6 years ago |
Janus
|
7d54e180c2
|
lightning: post aiorpcx rebase fixup
|
6 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
|
44f1b29852
|
qt: pay_lightning_invoice - attempt paying multiple times in case of failure
|
7 years ago |
SomberNight
|
9099658382
|
lnbase.pay: test if htlc can be added
|
7 years ago |
SomberNight
|
a742552c68
|
qt send tab: hide fee fields when paying with lightning
|
7 years ago |
SomberNight
|
20caff1b75
|
qt open channel dialog: allow pasting invoices to open a channel
|
7 years ago |
SomberNight
|
9feb97f2ee
|
lnrouter: use 'disable' flags from channel updates in path finding
|
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
|
f2db608753
|
lnworker: fix confusion re what is in self.peers
|
7 years ago |
SomberNight
|
58cde6ee8a
|
don't connect to same peer multiple times
|
7 years ago |
SomberNight
|
c9d1c315ce
|
fix tests
|
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 |
SomberNight
|
897447f40b
|
persist nodes in channel_db on disk
|
7 years ago |
SomberNight
|
1a8de1e88a
|
move bolt-04 onion stuff to its own module
|
7 years ago |
Janus
|
cf7c9b24eb
|
ln: share more code with control path for failed htlc, verify ctx'es
|
7 years ago |
Janus
|
0e8cb7a789
|
ln: fix forwarded payment fees by removing separation between fee and amount in htlc objects
|
7 years ago |
Janus
|
7f37d6ab5c
|
ln: verify received commitment transactions during payment
|
7 years ago |
Janus
|
ef8dd18c9a
|
ln: use START_INDEX instead of 2**48-1
|
7 years ago |
Janus
|
5c386b7a20
|
ln: save htlc signatures
|
7 years ago |
Janus
|
1b6b6855b0
|
ln: avoid dust sends breaking channel, avoid inline functions
|
7 years ago |
SomberNight
|
28eddf9c3a
|
channeldb: allow injecting trusted edges
|
7 years ago |
Janus
|
f72dc2809b
|
special case receiving payment after fee update, fee update injector
|
7 years ago |
SomberNight
|
e2ecc4fa73
|
persist channel db on disk. verify channel gossip sigs.
|
7 years ago |
SomberNight
|
0d81444f27
|
start using electrum protocol 1.4
|
7 years ago |
Janus
|
2d0541eeff
|
lightning.json with gossip_queries
|
7 years ago |
SomberNight
|
4af95e4676
|
constants.py: remove duplicate Simnet declaration
|
7 years ago |
Janus
|
9d4bf77ef2
|
ln: do not use mSAT accuracy for commitment fees
|
7 years ago |
Janus
|
a05254c95f
|
ln: fundee must commit to fee first
|
7 years ago |
SomberNight
|
03917bcecd
|
bolt-08 handshake must use ephemeral key
|
7 years ago |
SomberNight
|
882a0d6573
|
avoid crash if don't have peer for open channel
|
7 years ago |
Janus
|
607c8d17b1
|
use correct dust limit for their to_local/to_remote outputs
|
7 years ago |
Janus
|
f49fc9c172
|
ln: initialize genesis with object, fix method name typo, use depth_target_to_fee
|
7 years ago |
ThomasV
|
6cf6ecf517
|
lnwatcher: pass address instead of wallet reference
|
7 years ago |
ThomasV
|
b037a97ead
|
encapsulate funding_address_for_channel
|
7 years ago |
SomberNight
|
17ba18e0c5
|
allow paying invoice without amount. min feerate 253 sat/kw.
|
7 years ago |
Janus
|
f608280580
|
lnbase: fee handling: add todo since depth_to_fee is inappropriate
|
7 years ago |