Commit Graph

  • 30e942bead fix: delete from channel_db ThomasV 2019-07-11 13:50:21 +0200
  • 32fcad5bc3 channel_db: update channels_for_node when removing channel ThomasV 2019-07-04 10:50:23 +0200
  • 2be68ac4d2 Use one LNWatcher instance per wallet ThomasV 2019-07-03 08:46:00 +0200
  • 4d76e84218 improve regtest.sh with wait functions ThomasV 2019-07-03 08:40:18 +0200
  • 6b90d501ab fix type: list ThomasV 2019-07-03 08:15:41 +0200
  • 94fe28b576 regtest: remove cost limit ThomasV 2019-07-01 23:10:20 +0200
  • c7b9bdc5f5 lnwatcher: wait until lnwatcher is fully synchronized before check_onchain_situation ThomasV 2019-07-01 20:26:58 +0200
  • a8ce8109be Perform breach remedy without sweepstore: - add functions to lnsweep - lnworker: analyze candidate ctx and htlc_tx - watchtower will be optional - add test for breach remedy with spent htlcs - save tx name as label ThomasV 2019-06-24 11:13:18 +0200
  • 238f3c949c get rid of sql_alchemy ThomasV 2019-06-27 09:03:34 +0200
  • 0eab1692d6 Do not store message payloads in channel db. Use single primary key for addresses. ThomasV 2019-06-26 09:54:00 +0200
  • f2d58d0e3f optimize channel_db: - use python objects mirrored by sql database - write sql to file asynchronously - the sql decorator is awaited in sweepstore, not in channel_db ThomasV 2019-06-18 13:49:31 +0200
  • 180f6d34be separate channel_db module ThomasV 2019-06-22 09:47:08 +0200
  • 06b5299b0f comment out convert, add logging statement ThomasV 2019-06-17 16:55:12 +0200
  • a54cb30cf3 kivy: simplify open_channel dialog ThomasV 2019-06-17 08:29:17 +0200
  • c15267e1f6 pycryptodomex for android SomberNight 2019-06-14 20:45:46 +0200
  • 115113f492 remove expensive sql request, python set comparison is faster ThomasV 2019-06-17 09:30:14 +0200
  • af7d7e883c Rework wallet history methods: - wallet.get_full_history returns onchain and lightning - capital gains are returned by get_detailed_history - display lightning history in kivy - command line: separate lightning and onchain history ThomasV 2019-06-14 13:01:23 +0200
  • 7e8be3d2e7 lnpeer: some exception handling clean up SomberNight 2019-06-13 19:06:47 +0200
  • efc8948c00 lnworker: set DATA_LOSS_PROTECT flag for LNGossip too SomberNight 2019-06-13 18:52:07 +0200
  • e6fc8868b1 qt channels list: add "short channel id" column SomberNight 2019-06-13 18:04:00 +0200
  • aa4027298f do not "import *" SomberNight 2019-06-13 17:59:25 +0200
  • 3413eb05b9 qt ChannelsList: some clean-up SomberNight 2019-06-13 17:56:00 +0200
  • 5e3e3e41a1 qt receive tab: fix update_receive_address_styling SomberNight 2019-06-13 17:33:21 +0200
  • 63217c1ca7 qt main window: hide "Channels" tab if lightning is disabled SomberNight 2019-06-13 17:32:07 +0200
  • 70cd29f9e1 GUI refactoring for Kivy and lightning. This also touches Qt and wallet code. ThomasV 2019-06-10 14:05:02 +0200
  • 1a23dcb8d5 display lightning payment attempts using signal ThomasV 2019-06-07 10:45:10 +0200
  • 049857d528 on_revoke_and_ack: be robust to exceptions raised in lnwatcher ThomasV 2019-06-08 18:45:35 +0200
  • dff1822c37 fix watchtower: sweep_tx must not be None ThomasV 2019-06-08 18:37:15 +0200
  • d477e3489f lnworker: fix reestablish_peer_for_given_channel by passing chan explicitly ThomasV 2019-06-08 17:46:53 +0200
  • 0f00f4f655 fix encode_msg: optional fields were not sent ThomasV 2019-06-08 15:14:23 +0200
  • 67f1ade798 send data_loss_protect fields if we support it ThomasV 2019-06-07 12:28:06 +0200
  • 9eddb9844c on_commitment_signed: distinguish between exceptions ThomasV 2019-06-07 12:24:46 +0200
  • 0913194a53 qt: add clear button to receive tab, show invoice right after it is added ThomasV 2019-06-06 09:50:07 +0200
  • 234591624e request_lists: remove non-sense ThomasV 2019-06-06 09:43:25 +0200
  • b8d908d63e lnworker improvements: - enable option data_loss_protect - separate add_peer from open_channel - display exceptions raised in open_channel ThomasV 2019-06-05 11:08:16 +0200
  • d2dfa8c558 regtest: use while loops instead of fine-tuned delays ThomasV 2019-06-04 15:55:38 +0200
  • d9b041e64d encapsulate detect_who_closed in channel ThomasV 2019-06-04 11:37:29 +0200
  • 24cc3599c7 lnworker: catch exceptions raised by add_future_tx ThomasV 2019-06-04 10:51:29 +0200
  • 740ef09883 simplify_lnsweep ThomasV 2019-06-03 22:00:44 +0200
  • 9abbd077a5 lnhtlc: use boolean instead of int in ctn_latest ThomasV 2019-05-31 11:55:34 +0200
  • 69bffac86a lnhtlc: fix adding htlc between sending commitment_signed and receiving revoke_and_ack SomberNight 2019-05-30 22:17:38 +0200
  • 50479086b5 raise PaymentFailure in case of timeout (follow-up previous commit) ThomasV 2019-05-30 21:46:30 +0200
  • dbe8b75659 move lnpay attempts logic to lnworker.pay ThomasV 2019-05-30 21:04:35 +0200
  • 3349e941de lnsweep: minor fix ThomasV 2019-05-30 16:49:25 +0200
  • 81d340b19c lnworker: do not create sweep transactions before outputs can be redeemed ThomasV 2019-05-30 13:17:17 +0200
  • 2b04cb3bc4 fix tests broken by previous commit ThomasV 2019-05-30 11:36:51 +0200
  • 8d99fe8243 Let lnworker sweep HTLC outputs after breach, instead of lnwatcher ThomasV 2019-05-30 10:11:15 +0200
  • 3dacc525e6 on_network_update: check if channel is closed ThomasV 2019-05-29 22:08:53 +0200
  • 7be4cdaf18 redeem htlcs: - fix bug in lnsweep: lnwatcher transactions were indexed by prev_txid - add test for breach remedy with unsettled htlcs - add timeout option to lnpay, and replace DO_NOT_SETTLE with SETTLE_DELAY so that we can read intermediate commitment tx in regtest ThomasV 2019-05-29 17:34:12 +0200
  • 7418bd4552 lnsweep: simplify a few methods ThomasV 2019-05-29 11:56:51 +0200
  • 6bbdbf7596 rework on_channel_closed in LNWorker: - use detect_who_closed; this allows us to redeem to_remote of breach ctx - do not redeem to_local of breach ctx, because it is redundant with lnwatcher - rename a few methods ThomasV 2019-05-25 06:02:23 +0200
  • 930d21c31c channel close handling: detect situation based on output addresses SomberNight 2019-05-23 16:13:28 +0200
  • acbb458ef7 set default to_self_delay to 1 day SomberNight 2019-05-28 20:47:22 +0200
  • 9a0ba7fa79 ChannelDB: trivial bugfix for get_channels_for_node SomberNight 2019-05-28 20:45:43 +0200
  • c38afe8b07 add to_remote to breach test ThomasV 2019-05-28 13:11:21 +0200
  • 765114faf7 add function new_blocks to simplify regtests ThomasV 2019-05-28 12:17:37 +0200
  • 18a2a169c7 qt ChannelDetails: fix show_tx SomberNight 2019-05-26 07:27:29 +0200
  • 6d8c605307 move lnworker.first_block to constants SomberNight 2019-05-26 05:58:29 +0200
  • a0764c017c lnpeer: process gossip in chunks SomberNight 2019-05-26 05:30:02 +0200
  • 62f58c18fe ChannelDB.on_node_announcement: some speed-up SomberNight 2019-05-26 05:29:05 +0200
  • cffb89002c fix ChannelDB.compare_channels: was raising "too many SQL variables" SomberNight 2019-05-26 05:27:29 +0200
  • 60cd885f74 tests/regtest: stop using "bitcoin-cli generate" (deprecated) SomberNight 2019-05-23 21:05:27 +0200
  • 84c6a464e8 gui: channel_details minor fix ThomasV 2019-05-23 15:16:14 +0200
  • a70441f0f1 minor fixes: remove_channel ThomasV 2019-05-23 14:26:08 +0200
  • 6d9ef29690 redo LNWorker pay: - wait until htlc has been fulfilled - raise if htlc is not fulfilled - return boolean success - try multiple paths in GUI ThomasV 2019-05-23 12:37:24 +0200
  • 669b84fbd6 gui channels_list fixes ThomasV 2019-05-23 11:58:25 +0200
  • 32e517f407 improve lightning_dialog GUI settings ThomasV 2019-05-22 12:30:45 +0200
  • 15eecab978 update electrumx starting script ThomasV 2019-05-21 12:06:43 +0200
  • a5570d94f3 channel blacklist: minor fix ThomasV 2019-05-20 10:26:19 +0200
  • fed6c96693 add option to remove channel after it has been closed ThomasV 2019-05-19 13:24:29 +0200
  • 3c0df28c98 do not include 'force_closing' in channel states, because it is not part of the peer protocol ThomasV 2019-05-19 11:55:55 +0200
  • 0acd0c23d3 fix: key must be unique (sql) ThomasV 2019-05-18 13:15:42 +0200
  • d30307b29e gui: improve display of lightning status ThomasV 2019-05-18 11:03:51 +0200
  • eb4e6bb0de improve filter_channel_updates blacklist channels that do not really get updated ThomasV 2019-05-16 19:00:44 +0200
  • f4b3d7627d query_short_channel_ids: use Event instead of Lock ThomasV 2019-05-16 11:47:55 +0200
  • d30e894aaf fix: add_channel_update ThomasV 2019-05-16 11:32:14 +0200
  • b055eeace2 prune channels older than two weeks from database ThomasV 2019-05-16 09:56:16 +0200
  • 522ce5bb9f verify channel updates in peer's TaskGroup ThomasV 2019-05-15 16:09:23 +0200
  • 308dc6aa6b use a single queue for gossip messages, so that they are processed in the correct order ThomasV 2019-05-15 12:30:19 +0200
  • e68f318b12 verify node and channel announcements before entering sql lock ThomasV 2019-05-15 10:27:57 +0200
  • fbafc77f01 lnpeer query_short_channel_ids: BOLT-07 says ids must be sorted SomberNight 2019-05-14 21:24:38 +0200
  • afc5717cf0 lnpeer reply_channel_range: handle lnd SomberNight 2019-05-14 20:52:07 +0200
  • 0e42fd9f17 parallelize short_channel_id requests ThomasV 2019-05-13 22:33:56 +0200
  • 1011245c5e LNGossip: sync channel db using query_channel_range ThomasV 2019-05-13 14:30:02 +0200
  • 95376226e8 save lightning invoice descriptions as labels and allow user to edit them ThomasV 2019-05-08 12:41:57 +0200
  • b1f8c42424 post-rebase fix ThomasV 2019-05-07 10:34:21 +0200
  • f5c58c5e19 lightning network dialog ThomasV 2019-05-07 09:10:23 +0200
  • db60634774 use config instead of watchtower_window to decide if we close the app ThomasV 2019-05-07 08:38:28 +0200
  • e53ecb9b77 add labels to lightning history ThomasV 2019-05-06 16:52:25 +0200
  • c4081284bd lightning: GUI improvements ThomasV 2019-05-06 15:58:12 +0200
  • 670424f080 get_payments: do not include failed payments ThomasV 2019-05-06 12:35:04 +0200
  • 2ec82433b4 wallet: add lnworker in constructor for CLI ThomasV 2019-05-06 12:26:53 +0200
  • 446a8b0dd9 fix column names ThomasV 2019-05-06 12:01:26 +0200
  • 31684abb51 do not SPV channel announcements; this is too resource intensive ThomasV 2019-05-05 13:34:31 +0200
  • d134937269 update regexp syntax ThomasV 2019-05-05 13:19:47 +0200
  • 746dd725c6 follow-up previous ThomasV 2019-05-03 20:52:11 +0200
  • 842fff832f enable lightning through command line option ThomasV 2019-05-03 16:42:52 +0200
  • 9a3a63d18e logging (follow-up rebase) ThomasV 2019-05-02 18:33:29 +0200
  • e4ed15f683 fix tests SomberNight 2019-05-02 18:09:11 +0200
  • cc57da704b logging: adapt lightning branch to logging changes SomberNight 2019-05-02 17:59:11 +0200