Commit Graph

  • e05cd2006a fix get_payments ThomasV 2020-02-18 17:40:13 +0100
  • d1fc4399e6
    lnwatcher: use is_mine(addr) instead of (addr in get_addresses()) SomberNight 2020-02-18 17:16:46 +0100
  • 72f4e83333 fix race in check_onchain_situation ThomasV 2020-02-18 17:06:54 +0100
  • b90cbeb0ba fix flake8 test ThomasV 2020-02-18 14:05:28 +0100
  • 6696f40e36 follow-up previous commit: show onchain tx dialog for channel open/close transactions ThomasV 2020-02-18 13:58:17 +0100
  • feb47b0a6f Add lightning tx dialog (qt and kivy) ThomasV 2020-02-18 12:34:09 +0100
  • b3a3267ede follow-up a6302b3a12 ThomasV 2020-02-18 12:39:18 +0100
  • 46d8080c76
    ln gossip: don't put own channels into db; always pass them to fn calls SomberNight 2020-02-17 20:38:41 +0100
  • 7d65fe1ba3
    Qt ChannelsList: cosmetics (set font, enable sorting) SomberNight 2020-02-17 19:45:27 +0100
  • b50c47c5ce
    qt exc reporter: add FIXME re HTML tags in traceback SomberNight 2020-02-17 19:44:12 +0100
  • 16626a3386
    lnutil.split_host_port: fix for IPv6 connection string SomberNight 2020-02-17 19:43:21 +0100
  • 0723355a0f
    util.Satoshis: note that sometimes this actually has 'msat' precision SomberNight 2020-02-17 16:52:25 +0100
  • a6302b3a12
    fix wallet history order: incl both on-chain and LN, sorted by time SomberNight 2020-02-17 16:33:54 +0100
  • 0869e09275 Qt: fix balance column ThomasV 2020-02-17 14:55:10 +0100
  • 4dc74870e1 Catch exceptions raised in LNWorker._pay_to_route Reset payment status if an exception is caught. Also, do not pass status to the 'invoice_status' network callback. This fixes #5869, #5870, #5964. ThomasV 2020-02-17 12:11:33 +0100
  • 472c0defee fix lnchannel.get_payments: unsettled htlcs may have overwritten the returned results. ThomasV 2020-02-17 12:19:18 +0100
  • 6e6e829ef7 breach remedy: get spender transaction from LNWatcher's db ThomasV 2020-02-17 09:19:23 +0100
  • 098af02789 kivy: pass message to password_dialog (follow-up d9172ade71) ThomasV 2020-02-17 09:16:29 +0100
  • 58a0a9b160 kivy send screen: always show field separators. fix on_clear. ThomasV 2020-02-16 23:48:23 +0100
  • eb28f57051 (minor) kivy: initialize invoice_popup ThomasV 2020-02-16 19:32:18 +0100
  • 938fab86d1 detect redeemed channels (fix #5963) ThomasV 2020-02-16 18:54:27 +0100
  • f8da0f87a7 follow-up previous commit ThomasV 2020-02-16 14:45:04 +0100
  • 3a35f90aa0 Do not use network callback to update channel states; call LNWorker methods directly instead. A callback was used because a single LNWnwatcher object used to be shared for all wallets. Since wallet now have their own LNWatcher instance, this can be simplified. ThomasV 2020-02-16 14:26:07 +0100
  • 36f32651cc Define network.try_broadcasting() method. Use it when rebroadcasting a force-close tx, because the channel state is already set. ThomasV 2020-02-16 12:59:09 +0100
  • dba6cb8a96 lnwatcher: use height == TX_HEIGHT_LOCAL to determine channel onchain state ThomasV 2020-02-16 12:57:25 +0100
  • e7c02f1935 switch menus: status <-> wallets ThomasV 2020-02-15 18:36:55 +0100
  • bb739f4de9
    Merge pull request #5951 from spesmilo/ln_backups ThomasV 2020-02-15 17:31:14 +0100
  • 5ae6e43323 message formatting ThomasV 2020-02-15 17:27:33 +0100
  • e3ccfe6449 kivy: make backups optional ThomasV 2020-02-15 17:26:03 +0100
  • d9172ade71 kivy: use password + pin_code - password is per wallet, is retained in memory - pin code is saved in config ThomasV 2020-02-15 13:01:19 +0100
  • 497d6019e1 kivy/android: ask for STORAGE permission at runtime SomberNight 2020-02-14 19:02:43 +0100
  • d5dc8d1ab2 kivy: save pin code in memory ThomasV 2020-02-14 16:08:54 +0100
  • 2dad87cbb4 Automate backups: - backup wallet file on each channel creation - on android, a backup password is entered in settings - on desktop, the backup path is in settings ThomasV 2020-02-13 13:43:10 +0100
  • cee8607218 save_backup: use db.dump() to clone the db ThomasV 2020-02-13 11:49:05 +0100
  • 88d5cdf87c fix test_lnpeer ThomasV 2020-02-12 19:23:09 +0100
  • 87b7d2c0c0 wallet backup function for kivy/android ThomasV 2020-02-12 19:13:18 +0100
  • d6b4b19824 kivy: allow generic passwords for wallets SomberNight 2019-12-19 20:39:12 +0100
  • 2f10bc2f4d reestablish: force_close if we are a recent backup ThomasV 2020-02-12 15:57:12 +0100
  • 62eceeb573 Save and read lighting backups (Qt) ThomasV 2020-01-30 11:43:59 +0100
  • edc00b448f
    fix lightning "init" msg assertion error SomberNight 2020-02-15 15:25:41 +0100
  • a6e3a244e8
    add comment re lnchannel channel_states SomberNight 2020-02-14 16:15:25 +0100
  • bb21e01823 (minor) call lnwatcher.add_channel from lnworker.add_channel ThomasV 2020-02-14 14:15:15 +0100
  • 471fdd1d97 follow-up previous commit ThomasV 2020-02-14 13:37:45 +0100
  • 2a7b5081c9 channel states: make sure that closing_txid is saved if channel is closed ThomasV 2020-02-14 13:25:04 +0100
  • 111ef9ebb1
    follow-up fixes to storage-db separation SomberNight 2020-02-13 20:00:12 +0100
  • 5d8d8f743a
    kivy: more reliable saving of "last wallet" SomberNight 2020-02-13 03:12:32 +0100
  • 091f6ced58
    android build: update buildozer and p4a versions SomberNight 2020-02-13 02:16:02 +0100
  • ab4e2dd9f0
    wallet: fix is_mine/can_sign. don't just rely on ks, also check script SomberNight 2020-02-12 18:07:08 +0100
  • 0d33da2f95
    wallet: (sanity) is_mine now guaranteed to handle 'None' input SomberNight 2020-02-12 17:07:04 +0100
  • 07f5d6b745
    keystore: 'get_tx_derivations' no longer public SomberNight 2020-02-12 16:41:58 +0100
  • beee880dba fix data_loss_protect (missing return, json conversion) ThomasV 2020-02-12 14:19:31 +0100
  • 9734546fe9 test_lnpeer: use less side-effects ThomasV 2020-02-12 10:32:55 +0100
  • e3630d87b2 test_lnpeer: test_reestablish_with_old_state ThomasV 2020-02-12 10:22:22 +0100
  • 3377627070 reestablish_channel: shorter varnames ThomasV 2020-02-12 06:18:22 +0100
  • 69ef9aa3d7 channel_reestablish: assume that DLP is enabled, because we require it ThomasV 2020-02-11 21:32:10 +0100
  • e42e17779d
    windows: dll-load 'hack' needs to be applied not only from main script SomberNight 2020-02-11 20:53:03 +0100
  • 23a93ef7ad
    windows: when running from source, load DLLs from main dir SomberNight 2020-02-11 20:37:03 +0100
  • e8118e1845
    gitignore: add .so/.dll in inner 'electrum' folder SomberNight 2020-02-11 20:24:48 +0100
  • 9ccfa318f8 add new peer_state for the case where we are waiting for the remote party to force close a channel ThomasV 2020-02-11 20:55:52 +0100
  • 8688a6530a reestablish_channel: do not send second channel_reestablish message if they are ahead (they should know it) ThomasV 2020-02-11 20:42:02 +0100
  • ece75c3244 test_lnpeer: simple test of channel_reestablish ThomasV 2020-02-11 19:53:21 +0100
  • 28dc1928a0
    Merge pull request #5947 from SomberNight/202002_ecdsa ThomasV 2020-02-11 19:05:12 +0100
  • f78589ec77
    update README to mention libsecp SomberNight 2020-02-11 17:33:06 +0100
  • 5b84e714f2
    build: workaround for 'realpath' missing on macOS SomberNight 2020-02-11 16:06:32 +0100
  • 4cec098d2d
    build: create a standalone build script for libsecp256k1 SomberNight 2020-02-10 19:20:23 +0100
  • 1d72585b7d
    ecc: hard fail if libsecp256k1 is not found/usable SomberNight 2020-02-06 21:31:58 +0100
  • de1ca27d63
    tests: rm "needs_test_with_all_ecc_implementations" decorator SomberNight 2020-02-06 21:08:37 +0100
  • 0a5ad9fda4
    ecc: small API clean-up SomberNight 2020-02-06 20:59:57 +0100
  • 288d793893
    ecc: use libsecp256k1 for pubkey recovery (from sig and msg) SomberNight 2020-02-06 20:44:46 +0100
  • ab0c70e291
    ecc: use libsecp256k1 for signature conversions SomberNight 2020-02-06 19:13:21 +0100
  • ad408ea832
    ecc: use libsecp256k1 for sign/verify/mul/add SomberNight 2020-02-05 21:47:22 +0100
  • 2cf2135528
    ecc: abstract away some usage of python-ecdsa: bytes<->int conversions SomberNight 2020-02-04 19:41:06 +0100
  • 004acb906d
    ecc: abstract away some usage of python-ecdsa: randrange SomberNight 2020-02-04 18:17:12 +0100
  • a600873cf9 move wrapper definition outside of main_window class ThomasV 2020-02-11 11:08:33 +0100
  • e1ce3aace7 Separate db from storage - storage is content-agnostic - db and storage are passed to wallet contructor ThomasV 2020-02-05 15:13:37 +0100
  • c61e5db6a9 fixes for text interface ThomasV 2020-02-08 12:33:07 +0100
  • f9960a5fe2
    qt: don't clear send tab in broadcast_done SomberNight 2020-02-07 20:11:08 +0100
  • 34392e82b9
    cosigner pool: easy fix (works but with worse than previous behaviour) SomberNight 2020-02-07 20:09:40 +0100
  • 4313bde4c2
    appimage: update libudev-dev (#5936) Jin Eguchi 2020-02-07 20:41:04 +0900
  • 7bd29ed8fc regtest: wait_for_balance ThomasV 2020-02-05 08:56:58 +0100
  • 9d2629c5c3
    blockchain.fork: better exception if datadir was deleted while running SomberNight 2020-02-04 19:04:38 +0100
  • f545d2b716
    qt update checker: use longer timeout SomberNight 2020-02-04 18:34:24 +0100
  • 3835157f41
    cli: history commands: only json-encode once SomberNight 2020-02-04 17:56:52 +0100
  • dbceed2647 Restructure wallet storage: - Perform json deserializations in wallet_db - use StoredDict class that keeps tracks of its modifications ThomasV 2020-02-04 13:35:58 +0100
  • 0a9e7cb04e (minor) rename class: StoredAttr -> StoredObject ThomasV 2020-02-04 13:34:57 +0100
  • 7507942b7a (minor) json_db: add file header, fix formatting ThomasV 2020-02-04 12:43:04 +0100
  • b08947a506 storage upgrade: convert lists to dict (txi, txo, revocation_store channels) ThomasV 2020-02-04 12:11:18 +0100
  • 63963323be storage: take the DB lock when writing to disk. ThomasV 2020-02-03 17:08:34 +0100
  • 73e656522e regests: organize tests in two classes ThomasV 2020-02-03 15:15:29 +0100
  • 149cd9598a Separate JsonDB and WalletDB ThomasV 2020-02-03 12:35:50 +0100
  • 8118bd1d72 use setEnabled() for Qt menu items: Network, Lightning, Watchtower ThomasV 2020-02-02 22:40:23 +0100
  • 4ec86d36a8 faster and improved regtests - print the test name before each test - start only needed agents (alice, bob, carol) - set settle_delay using setconfig instead of restarting daemon - test the watchtower ctn in test_watchtower ThomasV 2020-02-02 14:50:08 +0100
  • cded582fe9 Start watchtower if run_watchtower is set, even if lightning is not activated (fix #5896). Fix parameters of sweepstore.add_sweep_tx, rm dead code. ThomasV 2020-02-02 12:10:10 +0100
  • e876cb0d93
    Merge pull request #5913 from roth-a/master ThomasV 2020-02-01 19:38:22 +0100
  • b6a5f6f2fc Added coloring to the AddressPopup dialog: Alexander Roth 2020-01-26 20:55:45 +0100
  • aa51df0a1a Use attr.s for Feeupdates and Outpoints Storage upgrade to version 23 ThomasV 2020-02-01 16:30:02 +0100
  • 7472eba78c lnpeer: code factorization ThomasV 2020-01-31 13:33:38 +0100
  • 757467782a Use attr.s instead of namedtuples for channel config ThomasV 2020-01-30 18:09:32 +0100
  • 9bd633fb0b
    Merge pull request #5917 from wakiyamap/fix_travis_appimage ThomasV 2020-01-29 13:47:46 +0100
  • a9463cb245
    Merge pull request #5918 from wakiyamap/fix_travis_regtest ThomasV 2020-01-29 13:46:32 +0100