314 Commits (bf4b2a15a68979fb689fc7d54e86de2d2359a187)

Author SHA1 Message Date
Janus 8274a963e6 lnworker: save outgoing invoice when initiating payment 7 years ago
Janus 5f1feee331 move lightning message encoding to new lnmsg module 7 years ago
ThomasV d5006e83e7 test_forwarding: do not set HOME 7 years ago
ThomasV 954e4c8892 lnbase: rename methods, fix tests 7 years ago
ThomasV 909f1e77de script that tests htlc forwarding 7 years ago
ThomasV 8e753f998a fix tests 7 years ago
ThomasV b5482e4470 create transport and perform handshake before creating Peer 7 years ago
ThomasV 2af178a586 Store boolean is_received in lightning invoices. Sort lightning history with timestamp. Minor fixes 7 years ago
Janus 4e3b2b5479 tests: update lnbase test to use 4-tuple for invoices 7 years ago
Janus d5ed4309bb revert low max_htlc_value_in_flight_msat, fix test 7 years ago
ThomasV 0a08ccc1c6 rename paying -> inflight 7 years ago
Janus 8fc1779b0d ln: add test_lnwatcher 7 years ago
Janus e56e849505 lnchan refactor 7 years ago
Janus 2c1fcb2f54 ln: remove EncumberedTransaction 7 years ago
Janus 06d4224101 lnchan: remove debugging code, commented out code 7 years ago
Janus 2323118bda lnchan: only sign force_close_tx when demanded, assure consistency, fix test 7 years ago
Janus 1d8fe52fa3 lnchan: make force_close_tx() assure that tx is valid, trigger failure in test 7 years ago
ThomasV 7e34554d1e fix test_lnchan 7 years ago
Janus 133e5ec8c3 use gossip_timestamp_filter instead of request_initial_sync 7 years ago
SomberNight 595cfcbb65 move sweeping methods from lnchan.py to new file 7 years ago
ThomasV 78896897cb lnchan: replace properties with functions 7 years ago
Janus e3409d32ef channel details with list of htlcs 7 years ago
Janus ecac8f2880 tests/lnbase: stub on_channels_updated 7 years ago
ThomasV 3430d1aaa3 follow-up prev commit 7 years ago
Janus 1520338f37 fix ln tests 7 years ago
Janus 783cac1f23 function that returns map from commitment number to list of HTLCs 7 years ago
Janus 9cf7aa054d call force_close_channel on LNWorker, not Peer 7 years ago
Janus 0ea87278fb move force_close_channel to lnbase, test it, add FORCE_CLOSING state 7 years ago
Janus 39fa13b938 lnchan: use NamedTuple for logs instead of dict with static keys (adds, locked_in, settles, fails) 7 years ago
Janus 72187a4341 lnchan: make sign_next_commitment revert state 7 years ago
SomberNight c0ae7b5534 after rebase clean-up 7 years ago
Janus 7e76e82152 test_lnbase: add test that pays to another local electrum 7 years ago
Janus f5201327d1 add lnd copyright boilerplate to lnchan, test_lnchan 7 years ago
Janus 85789d8a09 lnbase: mark initialized later, add tests, etc 7 years ago
Janus a5a7c1406e lightning channels reserves: use pretty balance in Qt, fix bugs, add tests 7 years ago
Janus 15b0720f5e lightning channel reserves 7 years ago
Janus d6f62d4e7f follow-up redeeming of local outgoing htlc outputs, fix tests 7 years ago
SomberNight 2364de930b lnrouter: run Dijkstra in reverse direction 7 years ago
SomberNight ded11b4d9e lnonion: implement error packet construction 7 years ago
Janus ac68c8f531 lnchan: add available_to_spend() 7 years ago
SomberNight e6a0b641d5 lnaddr: encode min_final_cltv into invoice 7 years ago
SomberNight 2e5552816c if payment fails with UPDATE onion error, also utilise channel_update for private channels 7 years ago
Janus 962f70c7da ln: add lightning_listen config option 7 years ago
Janus eabe23f6b8 make function for determining who pays fee 7 years ago
ThomasV 409a336071 fix tests (follow-up previous commit) 7 years ago
SomberNight 0578bbd5d0 fix tests 7 years ago
SomberNight 7589bdc6a9 fix tests 7 years ago
Janus 1763d02b05 rename lnhtlc->lnchan, HTLCStateMachine->Channel 7 years ago
Janus b26dc66567 lnhtlc: only store feerate once, don't store heights since we do not roll back 7 years ago
Janus e8471e483b lnhtlc: merge config and state, remove unnecessary properties 7 years ago