Commit Graph

  • 520b5703a4 lnbase: resend revoke_and_ack if necessary Janus 2018-10-12 18:42:57 +0200
  • 30753ed475 watchtower: use network job, catch exceptions ThomasV 2018-10-12 16:23:53 +0200
  • 680b129b4a remote watchtower: initial commit ThomasV 2018-10-12 14:53:22 +0200
  • 94a10e6307 rebase fixup: use new broadcast_transaction API Janus 2018-10-12 16:27:12 +0200
  • 601356f5d1 lnbase: use 45000 feerate on regtest for eclair compatibility Janus 2018-10-12 15:29:21 +0200
  • 46cf18ce5f open_channel: improved success message ThomasV 2018-10-11 18:28:38 +0200
  • 6efe5db0d0 run open_channel in a WaitingDialog ThomasV 2018-10-11 18:10:31 +0200
  • 1763d02b05 rename lnhtlc->lnchan, HTLCStateMachine->Channel Janus 2018-10-11 17:15:25 +0200
  • b26dc66567 lnhtlc: only store feerate once, don't store heights since we do not roll back Janus 2018-10-11 17:06:37 +0200
  • e8471e483b lnhtlc: merge config and state, remove unnecessary properties Janus 2018-10-10 22:54:30 +0200
  • 1d4c113a35 lnhtlc: remove lookup_htlc, use heterogeneously typed lists Janus 2018-10-10 19:52:46 +0200
  • 699368b0b7 lnhtlc: save settled htlc amounts separately Janus 2018-10-10 16:58:31 +0200
  • 18d06dd6b4 qt channels_list: use repr() and not str() for exceptions Janus 2018-10-10 13:47:23 +0200
  • d439b3c308 fix previous commit ThomasV 2018-10-10 10:31:00 +0200
  • 1ebd1baebf follow-up 1c8a4bcfa497b117e4511c2f108dbca8a1adb793 ThomasV 2018-10-10 10:29:57 +0200
  • 8d4a5bd1d7 lnbase: handle some error codes re htlc failures ('UPDATE' flag) SomberNight 2018-10-09 21:48:17 +0200
  • a8ace7ef4f lnonion: use IntEnum and IntFlag for failure codes SomberNight 2018-10-09 21:23:22 +0200
  • 864efa029b handle failing htlc after restart SomberNight 2018-10-09 20:37:09 +0200
  • eced61123d clean up local/global features SomberNight 2018-10-09 20:10:26 +0200
  • 4d32478f30 on_channel_reestablish: try to get remote to force close channel if out-of-sync. SomberNight 2018-10-09 17:41:24 +0200
  • 1946254ef2 on_update_fail_htlc: don't send commitment without changes SomberNight 2018-10-09 16:34:49 +0200
  • bf25d765d9 simplify ChannelDB.on_channel_update SomberNight 2018-10-09 15:35:42 +0200
  • c1473ca97d travis: don't build binaries on ln branch SomberNight 2018-10-09 02:27:47 +0200
  • a06b49ae40 when paying and there are multiple 'r' hints, use one at random SomberNight 2018-10-08 21:14:56 +0200
  • 97393d05aa use 'r' field in invoice when making payments (routing hints) SomberNight 2018-10-08 20:36:46 +0200
  • 029ec5a5ab make our channels private, and put routing hints in invoices we create SomberNight 2018-10-08 20:31:15 +0200
  • 09c3e52e62 lnworker: fix race SomberNight 2018-10-08 20:26:44 +0200
  • 53802ba382 lnaddr: clean up imports SomberNight 2018-10-08 20:22:51 +0200
  • c1b34dafe2 follow-up previous commit ThomasV 2018-10-08 18:35:26 +0200
  • 4441233596 get rid of callbacks in lnwatcher, use network events instead ThomasV 2018-10-08 18:33:23 +0200
  • 242ab5ae56 lightning: fix tests ThomasV 2018-10-08 17:20:31 +0200
  • 5fbadafdb1 follow-up lnwatcher changes SomberNight 2018-10-08 15:37:08 +0200
  • 6e5b36e661 lnwatcher simplification: remove ctn tests and pubkeys ThomasV 2018-10-08 14:49:44 +0200
  • 9a88b5605a add more fields to list_channels ThomasV 2018-10-08 11:30:51 +0200
  • 6b9de278d4 aiosafe: define user visible exception class ThomasV 2018-10-08 10:08:39 +0200
  • 6f3c2b30ed lnbase: propagate error messages received in on_error to their relevant coroutines ThomasV 2018-10-07 12:19:34 +0200
  • 11c3ca281c create sweep transaction outside of lnwatcher ThomasV 2018-10-05 19:37:55 +0200
  • 72eb179c7a fix race between lnwatcher/lnworker SomberNight 2018-10-05 19:11:24 +0200
  • d44afd9633 fix tests SomberNight 2018-10-05 18:54:23 +0200
  • 707c7d569d lnbase: Peer handles its own disconnection instead of lnworker SomberNight 2018-10-05 16:33:35 +0200
  • f3dd7ce615 follow-up prev: avoid storage key collision with old 'lightning_privkey' SomberNight 2018-10-05 15:45:12 +0200
  • 17457327ef make key derivation reasonable SomberNight 2018-10-05 15:37:47 +0200
  • 5859054095 fix lnwatcher for channels initiated by remote Janus 2018-10-04 16:38:59 +0200
  • fb8deecb57 lnutil: missing import SomberNight 2018-10-04 16:22:15 +0200
  • c5b7deac6b lnhtlc: don't save FeeUpdates to disk, only keep FeeUpdate in memory while in progress Janus 2018-10-04 16:05:23 +0200
  • 8bd6dc2425 ln: fix opening of channels (NameErrors) Janus 2018-10-04 15:19:34 +0200
  • bdf36ac649 lnbase: update gui after accomodating channel opening request Janus 2018-10-04 14:44:58 +0200
  • 0405f0d9ad accept channel opening requests initiated by remote Janus 2018-10-04 14:03:29 +0200
  • b18a17ef79 lnchannelverifier: (minor) use named fields of namedtuple SomberNight 2018-10-03 20:15:22 +0200
  • c430b39b7d fix lnworker.choose_preferred_address SomberNight 2018-10-03 19:56:07 +0200
  • 139f773c2e new network API: use broadcast_transaction with run_from_other_thread Janus 2018-10-02 21:13:17 +0200
  • 1a7b06b690 lnhtlc: multiply weight by feerate before rounding Janus 2018-10-02 17:13:45 +0200
  • 646881f437 lnworker.pay(): lightning-integration support Janus 2018-10-01 18:06:47 +0200
  • a071aafcc7 lnhtlc: generalize balance/pending_commitment code over htlc direction Janus 2018-09-28 16:40:32 +0200
  • c8dc17012f lnworker: add missing import Janus 2018-09-28 16:35:49 +0200
  • cef3a30c5a lnbase: remove code duplication by introducing send_commitment(chan) Janus 2018-09-27 20:27:52 +0200
  • addd8928bf lnbase: remove unnecessary branching and duplicated code in receive_commitment_revoke_ack Janus 2018-09-27 19:22:18 +0200
  • e5f42a3973 lnhtlc: save settled or failed htlcs Janus 2018-09-27 18:59:06 +0200
  • efc8d50570 move connection string decoding to lnworker, fix test_lnutil Janus 2018-09-27 16:43:33 +0200
  • 24cf4e7eb0 qt channels_list: min width, not fixed with (for hiDPI displays), use OK as default button Janus 2018-09-27 17:55:48 +0200
  • 9862fe5c0c ecc_fast: require libsecp256k1 on lightning, channel graph breaks electrum without Janus 2018-09-27 16:41:03 +0200
  • 1988b552e1 commands: add dumpgraph command to see which nodes electrum knows about Janus 2018-09-27 16:39:14 +0200
  • 6bec42d18a requirements: require bitstring for lnaddr, cryptography for lnbase Janus 2018-09-27 16:34:12 +0200
  • 75dd56eff0 avoid code duplication between methods that send channel updates ThomasV 2018-09-26 19:35:38 +0200
  • 5e7117dddd ln: commit fee updates as soon as possible Janus 2018-09-26 19:15:59 +0200
  • 5753cf9e05 ln fees: avoid resending same fee update before it has been committed to, docs Janus 2018-09-26 15:08:57 +0200
  • 22b06ddec2 lnwatcher: fix parameters to broadcast_transaction ThomasV 2018-09-26 08:07:48 +0200
  • d07adda3c0 lnhtlc: decrease next_htlc_id counter when removing htlcs when saving Janus 2018-09-25 21:28:06 +0200
  • 1127d3f467 simplify syntax ThomasV 2018-09-25 19:30:30 +0200
  • 878dc17acb ln: don't save htlcs that are not locked in Janus 2018-09-25 18:48:22 +0200
  • 2c6925e526 lnhtlc: bip69 ordering of htlc signatues we generate Janus 2018-09-25 18:04:00 +0200
  • e23e0d6c6e ln: avoid duplicated htlc filter code, support multiple htlcs better Janus 2018-09-25 17:08:46 +0200
  • e18a3b5a3d lnutil: remove LI01 sort after Tx.from_io: fixup after rebase on da9d1e6001 Janus 2018-10-02 13:47:38 +0200
  • 50b3bc939c avoid reading from queues concurrently in pay() Janus 2018-09-24 20:22:43 +0200
  • a54631b873 add pong handler to reduce verbosity ThomasV 2018-09-25 11:57:37 +0200
  • a04e37d050 keep htlc history in case a htlc fails Janus 2018-09-24 18:10:14 +0200
  • cf4f0c5d3a add command to clear ln blacklist, prevent error in pay() from killing Peer Janus 2018-09-24 18:09:35 +0200
  • 200b012e57 lnchannelverifier: some clean-up SomberNight 2018-09-24 17:55:58 +0200
  • c91fe27e7d fix lnwatcher: network triggers were renamed SomberNight 2018-09-24 16:38:59 +0200
  • d29191b010 rename LNChanAnnVerifier SomberNight 2018-09-24 15:14:00 +0200
  • fc0009206b fix prev SomberNight 2018-09-24 14:48:10 +0200
  • 31b1243f25 lnbase: save_channel in revoke ThomasV 2018-09-24 13:54:11 +0200
  • 8df569962d fix: broadcast_transaction from non network thread ThomasV 2018-09-24 11:44:28 +0200
  • 180eb6d101 partial revert of df24fb00578309b5db27876769306196238ec3f2: process_message should not be async ThomasV 2018-09-24 11:36:49 +0200
  • dc0f03de99 channel verifier: fix request_chunk args ThomasV 2018-09-23 18:26:10 +0200
  • 08448fd2f0 add lnworker in start_network ThomasV 2018-09-23 17:43:51 +0200
  • 5c5982d9f7 lnwatcher: do not assume addr_sync.synchronizer ThomasV 2018-09-23 17:08:19 +0200
  • cc7ef49c43 lnhtlc: also check received htlcs when validating commitment sigs Janus 2018-09-21 20:44:51 +0200
  • 224226f427 ln: cooperative close with remote peer initiating Janus 2018-09-21 19:18:34 +0200
  • ff902a55ee lnhtlc: don't settle htlc with HTLCStateMachine too early Janus 2018-09-19 22:33:07 +0200
  • d5d9270d0c lnhtlc: save logs and feeupdates Janus 2018-09-18 18:38:57 +0200
  • eca5545004 lnhtlc: don't throw away fee updates or htlcs Janus 2018-09-13 19:59:12 +0200
  • 02eca03486 lnhtlc: cleanup and save settled htlcs Janus 2018-09-12 23:37:45 +0200
  • 6f5209ef85 lnhtlc: test that sent amount is received Janus 2018-09-12 21:01:00 +0200
  • 261fefb6f3 lnwatcher rebased Janus 2018-09-12 16:17:10 +0200
  • 3eabd70df5 lightning: post aiorpcx rebase fixup Janus 2018-09-10 18:01:55 +0200
  • 7edba63341 remove our closed channels from channeldb. note some FIXMEs SomberNight 2018-08-16 15:58:02 +0200
  • 08d20ce187 lnbase: fix payments SomberNight 2018-08-15 18:10:15 +0200
  • 1b030fca78 rebase follow-up: use namedtuples from master in new code (TxOutput, TxMinedStatus) SomberNight 2018-08-15 17:48:40 +0200
  • bab9f163f7 decode onion errors to failure message type SomberNight 2018-08-01 19:06:43 +0200