Commit Graph

  • 652d10aa5f Remove LNBackups object: no longer needed since LNWorker is instantiated by default. ThomasV 2021-03-09 09:55:55 +0100
  • ef661050c8 lnworker: set request status after LN payment ThomasV 2021-03-09 09:35:43 +0100
  • a125cd5392
    tests: test payreq status after getting paid via LN SomberNight 2021-03-08 22:18:06 +0100
  • f662859e5c
    test_lnpeer: (trivial) prepare_invoice to return both LnAddr and str SomberNight 2021-03-08 21:46:56 +0100
  • 4069b455d0
    lnaddr: add get_features method SomberNight 2021-03-08 21:36:27 +0100
  • 196b4c00a3 Use new value of option_trampoline_routing flag, add it to our invoices. Keep supporting old value for Eclair/Phoenix. Do not add trampoline_routing_hints in invoices. ThomasV 2021-03-08 18:49:52 +0100
  • 0491da2c66
    lnpeer: (trivial) log htlc in on_update_add_htlc SomberNight 2021-03-08 18:51:52 +0100
  • fd48b96335 follow-up prev commit ThomasV 2021-03-08 17:45:00 +0100
  • 308b02ca7d lnworker: fix amount in htlc_log after mpp bucket failure ThomasV 2021-03-08 17:23:52 +0100
  • 5df4466812 rm fixme; it was for intermediate stage, between commits. ThomasV 2021-03-08 13:30:51 +0100
  • cf5bf5d1af
    windows build: skip building pyinstaller if already there SomberNight 2021-03-08 03:03:31 +0100
  • 41233a4bc7
    windows build: minor clean-up SomberNight 2021-03-07 22:58:44 +0100
  • dded25f398
    windows build: cache pip downloads SomberNight 2021-03-07 22:12:26 +0100
  • f1f584c4c4
    windows build: separate 32/64 bit build caches SomberNight 2021-03-07 14:28:16 +0100
  • e07f615bbb
    windows binaries: update pyinstaller to 4.2 SomberNight 2021-03-07 16:21:42 +0100
  • 7698ab4ccb
    android build: update kivy, and python SomberNight 2021-03-06 14:42:01 +0100
  • edb214aeca
    lnworker.pay_to_node: re overpayment, raise before actually it happens SomberNight 2021-03-06 14:23:00 +0100
  • 6ddd02506e test_lnpeer: add missing parameter in pay_to_route ThomasV 2021-03-06 10:59:29 +0100
  • 83993768e5 trampoline: do not add node in trampoline hints if it already is the last trampoline of the route ThomasV 2021-03-06 00:26:55 +0100
  • 5663e59863 lnworker: fix amount_inflight. (amount with routing fees were used on htlc failures) ThomasV 2021-03-06 10:45:52 +0100
  • d3d476f44c lnpeer: fix error code in logs ThomasV 2021-03-06 00:31:30 +0100
  • 31919d0425 lnworker: add assert amount_inflight <= amount_to_pay ThomasV 2021-03-06 00:29:37 +0100
  • 529e96aaf9
    synchronizer: (trivial) add comment SomberNight 2021-03-05 21:04:20 +0100
  • 1dbff51fce
    synchronizer: fix rare race where synchronizer could get stuck SomberNight 2021-03-05 20:46:41 +0100
  • 34413a9c30
    python 3.6 compat: asyncio.Task.set_name was added in 3.8 SomberNight 2021-03-05 20:11:54 +0100
  • 5207c40cc3 fix trampoline forwarding: add_received_htlc must be indexed by payment_secret ThomasV 2021-03-05 17:02:10 +0100
  • 59547d0513 test_lnpeer: variables must be declared in MockLNWallet.__init__ ThomasV 2021-03-05 17:04:06 +0100
  • 762ebb12b2
    lnpeer: increase max_accepted_htlcs (5->30) SomberNight 2021-03-05 16:12:01 +0100
  • f397b315ac remove trampoline and forwarding regtests, as they are covered by unittests ThomasV 2021-03-05 13:18:44 +0100
  • 1f60d5d8ee test_lnpeer: add test for trampoline ThomasV 2021-03-05 13:00:24 +0100
  • eda9097e89 trampoline forwarding: return UNKNOWN_NEXT_PEER if we cannot find a route ThomasV 2021-03-05 12:47:18 +0100
  • 6cc3480356 follow-up prev commit ThomasV 2021-03-05 10:23:00 +0100
  • 16554afa1b follow-up previous commit (this was for testing) ThomasV 2021-03-05 10:14:26 +0100
  • 2e4f45ec74 use two trampolines: fix blacklisting, use local variables for trampoline_fee_level and use_two_trampolines ThomasV 2021-03-05 10:07:02 +0100
  • ec6baa12f8
    follow-up prev SomberNight 2021-03-04 17:50:52 +0100
  • 064670bd75
    network: close interfaces more aggressively (abort after 2 seconds) SomberNight 2021-03-04 17:47:49 +0100
  • ff485cee62
    use functools.wraps() for some wrappers SomberNight 2021-03-04 16:44:13 +0100
  • 859f8ccf8e
    fix wallet.clear_history() SomberNight 2021-03-04 14:25:41 +0100
  • 5a2a724cb9 Receive MPP: Use persisted payment status to decide whether to fulfill HTLCs. Without this commit, we might timeout a part of a payment if the client is shut down before all parts are fulfilled. ThomasV 2021-03-04 14:08:31 +0100
  • e25602ab3b
    wallet: don't put partial tx as UTXO into psbt SomberNight 2021-03-04 13:20:49 +0100
  • 785fe6aeea
    lnutil: (trivial) add ShortChannelID.from_str() method SomberNight 2021-03-04 12:14:47 +0100
  • 738411e32b Trampoline forwarding: - fix regression in create_routes: fwd_trampoline_onion was not added to the tuple - fix onion structure for e2e - maybe_fulfill_htlc: check the mpp_status of the outer onion, return trampoline_onion to be forwarded ThomasV 2021-03-03 20:36:48 +0100
  • ba4d6bc8b3 trampoline MPP: fix total_msat in trampoline onion, and bucketing ThomasV 2021-03-04 10:05:09 +0100
  • 253907fb60 lnworker: move buckets logic inside first branch of if statement (refactoring commit) ThomasV 2021-03-04 08:50:22 +0100
  • f84f13529a
    lnhtlc: fix deadlock SomberNight 2021-03-03 22:05:09 +0100
  • adbfb2dcc8
    lnworker.pay_to_node: (fix) pass correct total_msat to pay_to_route SomberNight 2021-03-03 20:35:48 +0100
  • 920e1e94fa
    kivy: InvoiceDialog: make LN invoice QR code scannable SomberNight 2021-03-03 17:31:08 +0100
  • 1aec982b27
    kivy: SendScreen: reliably show LN payment attempt progress for invoice SomberNight 2021-03-03 16:57:54 +0100
  • 7ca64ebbd8 fix #7078 ThomasV 2021-03-03 15:35:00 +0100
  • 95b7c976e0
    lnrouter.get_distances: fix exception due to rare race SomberNight 2021-03-03 14:10:57 +0100
  • 3fa1aed8cd add unit test for basic mpp ThomasV 2021-03-03 12:52:52 +0100
  • ca6ecd56f2 fix route for non-trampoline MPP ThomasV 2021-03-03 12:30:29 +0100
  • 1adde4c54a qt channels_list: use monospace font for channel capacity ThomasV 2021-03-03 11:20:24 +0100
  • 6cf79dcfb2 qt: update all tabs when base_unit changes ThomasV 2021-03-03 11:19:41 +0100
  • 222c70ada6 qt swap_dialog: use a single button to toggle direction ThomasV 2021-03-03 10:45:46 +0100
  • 51f3c613a5 (minor) fix typos and indentation ThomasV 2021-03-03 10:03:29 +0100
  • 44059ec116
    lnpeer: more detailed logging in maybe_fulfill_htlc SomberNight 2021-03-02 18:53:08 +0100
  • 9310e9023e
    test_lnpeer: add test: multihop payment that routes around failure SomberNight 2021-03-02 18:35:07 +0100
  • 750d8cfab5
    lnworker: run create_route_for_payment end-to-end, incl private edges SomberNight 2021-03-02 18:00:31 +0100
  • 4445cef033
    lnutil: turn global forwarding fee params into Channel attributes SomberNight 2021-03-02 12:10:17 +0100
  • 259dacd56f Trampoline MPP aggregation: - trampoline node is the final recipient of MPP - each trampoline receives a bucket of HTLCs - if a HTLC from a bucket fails, wait for the entire bucket to fail - move trampoline route and onion code into trampoline module ThomasV 2021-02-27 09:45:19 +0100
  • 2da90add8f maybe_fulfill_htlc: add failure reason to logs ThomasV 2021-03-02 14:26:16 +0100
  • 693583edc5 lnworker: amount passed in HtlcLog must be without fees ThomasV 2021-03-02 10:23:30 +0100
  • 06ea06f7d3
    _calc_routing_hints_for_invoice: incl max 15 chans to avoid qr overflow SomberNight 2021-03-01 21:55:41 +0100
  • 6f894b9f88
    _calc_routing_hints_for_invoice: also incl chans < invoice amount SomberNight 2021-03-01 21:51:17 +0100
  • 1139720b58
    lnworker: fix handle_error_code_from_failed_htlc for private channels SomberNight 2021-03-01 21:26:05 +0100
  • b3b87555dc
    qt/kivy: lightning_tx_dialog: show LN invoice SomberNight 2021-03-01 20:56:45 +0100
  • c3ae1c0965
    android build: (trivial) build arm64 apk first SomberNight 2021-03-01 20:45:52 +0100
  • a9185b0846
    follow-up prev SomberNight 2021-03-01 18:20:33 +0100
  • 6094f2751e
    kivy channel dialog: fix unit of displayed feerate SomberNight 2021-03-01 17:09:04 +0100
  • 7d7dcf0795
    qt/kivy ChannelsList: if node alias is unknown, display node id SomberNight 2021-03-01 16:41:54 +0100
  • dd37151d65
    qt ChannelsList: (trivial) format_fields should not know column order SomberNight 2021-03-01 16:28:18 +0100
  • bf7129d57e
    synchronizer/verifier: ensure fairness between wallets (follow-up) SomberNight 2021-03-01 13:08:01 +0100
  • e0cfb2179d
    bech32: another around 10% speedup for bech32_decode SomberNight 2021-02-28 18:13:06 +0100
  • b83f7159a9
    bech32: around 5% speedup for bech32_decode SomberNight 2021-02-28 16:53:21 +0100
  • d7597d96d0
    lnaddr: 15x speedup for lndecode SomberNight 2021-02-28 16:26:15 +0100
  • 2b693d3498
    tests: fix test_lnpeer.test_payment_race SomberNight 2021-02-28 13:58:31 +0100
  • bc1ec6ac34 Qt: fix running GUI offline ThomasV 2021-02-28 13:34:24 +0100
  • 5175a97671 test_payment_race: increase delay ThomasV 2021-02-28 09:43:46 +0100
  • f32d49b8ca revert 'keep invoice INFLIGHT', check HTLCs before payment attempt ThomasV 2021-02-28 09:01:31 +0100
  • 38652cffb0 fix test_lnpeer (follow-up prev commit) ThomasV 2021-02-27 20:48:15 +0100
  • b6b13217b4 lnworker: keep invoice status INFLIGHT as long as HTLCs are inflight ThomasV 2021-02-27 20:26:58 +0100
  • 2f223cdf46
    qt channels dialog: fix for channel backups SomberNight 2021-02-27 15:15:09 +0100
  • d85e910262
    logging: eliminate "fee_estimates" log spam SomberNight 2021-02-27 12:27:26 +0100
  • 7f61f22857 MPP receive: allow payer to retry after mpp timeout ThomasV 2021-02-27 11:48:14 +0100
  • 0ce6adffcc
    Merge pull request #6968 from HardCorePawn/issue6664 ghost43 2021-02-27 08:31:17 +0000
  • f9f49daad7
    tx dialog: uniform high fee warnings between GUIs SomberNight 2021-02-26 19:02:24 +0100
  • fc3009918c
    follow-up prev: some clean-up SomberNight 2021-02-26 15:53:01 +0100
  • e01a2014b1
    qt tx dialog: also display fiat amounts hcp 2021-01-25 23:16:02 +0100
  • 84326cf1f7
    qt tx dialog: add legend for input/output colouring SomberNight 2021-02-25 18:54:55 +0100
  • 6fda9add28
    Merge pull request #7026 from SomberNight/20210213_wallet_bumpfee ghost43 2021-02-25 14:48:50 +0000
  • d2019fd928
    qt bump fee: rename "Final" checkbox to "Keep Replace-By-Fee enabled" SomberNight 2021-02-15 10:15:30 +0100
  • 4c36c45664
    qt bump fee: add "advanced" button, allow choosing strategy SomberNight 2021-02-15 10:06:14 +0100
  • 058d9ab6bb
    wallet.bump_fee: add new strategy: decrease payment amounts SomberNight 2021-02-15 10:03:08 +0100
  • 8fe7d750f7
    qt: move RBF dialog out of main_window.py into its own file SomberNight 2021-02-15 06:59:08 +0100
  • 254f57bce5
    lnpeer.maybe_fulfill_htlc: fix error case FINAL_INCORRECT_HTLC_AMOUNT SomberNight 2021-02-25 12:49:06 +0100
  • 31bdb5c344
    lnpeer.maybe_fulfill_htlc: follow BOLTs re some errors SomberNight 2021-02-25 12:12:44 +0100
  • 61e7f7e75e
    Merge pull request #7065 from SomberNight/20210224_mpp_recv_amt_sum ThomasV 2021-02-25 10:27:55 +0100
  • 5dc7b5bffe
    Merge pull request #7069 from bitromortac/2102-mpp-split-params ThomasV 2021-02-25 10:26:01 +0100
  • bf87169469
    mpp_split: tweak split parameters bitromortac 2021-02-25 08:37:39 +0100