Commit Graph

  • 34400c0710 Set channel state to OPENING as soon as we receive 'funding_signed', instead of when the funding transaction has been broadcast, because we have no reliable way to know when it will be broadcast. ThomasV 2020-02-27 15:22:22 +0100
  • d04b8c05e2 (minor) fix typo in comment ThomasV 2020-02-27 14:48:08 +0100
  • f5053cc242 follow-up e54c69b861c2990adf9cf618b68c6f1c7dd3ebea: we must settle HTCLs after during shutdown ThomasV 2020-02-27 14:40:58 +0100
  • e159b1d468 test_close: add unsettled htlc (fails with the current code) ThomasV 2020-02-27 13:41:40 +0100
  • c744fc4e3d
    follow-up prev: do all checks, and add tests SomberNight 2020-02-27 05:13:31 +0100
  • a987a2bbbe
    keystore: make add_key_origin "API-user-friendly" SomberNight 2020-02-27 04:18:27 +0100
  • bea038ea6b
    Qt tx dialog: warn if user asked for full bip32 paths but info missing SomberNight 2020-02-27 03:31:14 +0100
  • 22861b70ee
    Qt tx dialog: make "export with xpubs" option always available SomberNight 2020-02-27 03:14:13 +0100
  • 6703521f56
    rm more cruft from test_lnchannel SomberNight 2020-02-27 02:53:03 +0100
  • 6161853941
    lnpeer: reduce log spam due to incompatible feature bits SomberNight 2020-02-26 21:10:33 +0100
  • e54c69b861
    add lnchannel.can_send_ctx_updates. just drop illegal updates for now SomberNight 2020-02-26 20:35:46 +0100
  • 9d1fa4cc99
    (trivial) lnworker: move LNGossip.peer_closed to parent class SomberNight 2020-02-26 20:31:51 +0100
  • 3d0c1dbd5c restore log lines for send_commitment, on_commitment_signed ThomasV 2020-02-26 19:14:49 +0100
  • 87fe2c7d7a define channel.has_pending_changes method ThomasV 2020-02-26 19:08:48 +0100
  • 1c5dc79298 shutdown: - resend shutdown on reestablish - wait until no more pending updates before sending shutdown ThomasV 2020-02-26 09:04:54 +0100
  • 9b97469598 (minor) follow-up previous commit ThomasV 2020-02-26 15:49:55 +0100
  • 6833adf8b6 simplify previous commit (revert changes on transaction.py) ThomasV 2020-02-26 14:16:21 +0100
  • e85fb25146 lnpeer: verify signature in closing_signed ThomasV 2020-02-26 11:01:53 +0100
  • 0848aa259d (minor) simplification ThomasV 2020-02-26 11:30:19 +0100
  • d5c03307c3 the funder sends the first 'closing_signed' message ThomasV 2020-02-26 11:01:53 +0100
  • 9ab18ea6c9
    transaction.deserialize: more sanity checks SomberNight 2020-02-25 21:14:41 +0100
  • 28572197fb
    Merge pull request #5992 from zebra-lucky/fix_spv_hash_merkle_root ghost43 2020-02-25 19:56:27 +0000
  • 4f5f949979
    follow-up prev SomberNight 2020-02-25 20:45:17 +0100
  • e9251c8e59
    lnpeer: add "DO NOT TRUST..." remark to errors sent by remote SomberNight 2020-02-25 20:09:33 +0100
  • 6937b87a7c
    transaction.BCDataStream: minor fixes SomberNight 2020-02-25 20:05:46 +0100
  • c0be0471f2
    fix BCDataStream.read_bytes (#5991) zebra-lucky 2020-02-25 20:58:03 +0200
  • d4f7c207a7 fix SPV.hash_merkle_root, add tests/test_verifier.py zebra-lucky 2020-02-25 19:59:56 +0200
  • aaf174ef3e
    lnpeer: cooperative close: verify scriptpubkey matches templates SomberNight 2020-02-25 17:54:49 +0100
  • c121230706
    Added ELECTRUMDIR env variable (#5543) Jakub Łukasiewicz 2020-02-25 16:28:53 +0100
  • 2927478192 lnpeer: closing fee negociation: - use fee_rate from config - set upper bound on fee - add test_close to test_lnpeer ThomasV 2020-02-25 12:35:07 +0100
  • e7ab9e4054
    lnpeer: await_remote/await_local now more restrictive, and docstring SomberNight 2020-02-24 21:23:13 +0100
  • 5fda2cbb42
    fix test: test_reestablish_with_old_state SomberNight 2020-02-24 21:09:34 +0100
  • 4a8ee1818a
    follow-up prev SomberNight 2020-02-24 18:52:33 +0100
  • 88658f9c2c
    WalletDB: add type hints, and also corresponding asserts for sanity SomberNight 2020-02-24 18:26:49 +0100
  • 931d961721
    lnpeer/lnwatcher: include channel id in log lines SomberNight 2020-02-24 16:32:18 +0100
  • 3966b51a94
    fix undefined name 'CHANNEL_INIT_TIMEOUT' SomberNight 2020-02-24 15:12:27 +0100
  • a78583e5d4
    travis: fix regtest SomberNight 2020-02-24 14:46:41 +0100
  • 8ff1921c0d (minor) fix log ThomasV 2020-02-24 13:23:11 +0100
  • 7908f4b203 follow-up previous commit ThomasV 2020-02-24 13:02:11 +0100
  • 5785c2fa2f Fix #5975: Forget or redeem channels that are never funded. - initiator: wait until double spent - non-initiator: wait until timeout ThomasV 2020-02-24 12:01:54 +0100
  • ed29a45d50 Qt: disable preview button in open_channel ThomasV 2020-02-24 12:29:56 +0100
  • 20d8da7e24 db upgrade: store channel tx height and timestamps in 'channels' ThomasV 2020-02-22 18:26:52 +0100
  • e8ee4250d9 Do not save new channels before they are added to lnworker ThomasV 2020-02-23 20:35:03 +0100
  • 8d02c2027c
    travis: use more recent Ubuntu, get libsecp from Ubuntu apt (rm ppa) SomberNight 2020-02-23 21:35:58 +0100
  • 84797f90d0
    qt request_list: clear receive addr/req when hiding list SomberNight 2020-02-23 21:23:56 +0100
  • 4c2e1970f2
    qt receive tab: better "Clear" behaviour SomberNight 2020-02-23 21:18:46 +0100
  • 947211fe4e follow-up 54ef6db762b5ea120a59af0a2470eac999c55d93: set channel state to OPENING if funding tx was broadcast later (e.g. cold storage) ThomasV 2020-02-23 20:43:23 +0100
  • 36629f0957
    cosigner_pool plugin: don't show button in tx dialog before finalizing SomberNight 2020-02-23 20:38:57 +0100
  • 45a309ff25
    qt channels_list: early exit if lightning is disabled SomberNight 2020-02-23 20:30:14 +0100
  • 614a38ae5c
    qt coin control status bar: don't defer 'Coins' tab updates SomberNight 2020-02-23 20:20:00 +0100
  • cc5624fb20
    don't raise BaseException SomberNight 2020-02-23 19:55:09 +0100
  • 2409782975
    qt open channel: early return if fields are left empty SomberNight 2020-02-23 19:53:41 +0100
  • ac884eb3c3 lnpeer: Use a single queue per channel for messages that are ordered. Forward error messages with 'temporary_channel_id' to the correct channel_id ThomasV 2020-02-23 17:18:45 +0100
  • 28c5825f41 follow-up previous commit ThomasV 2020-02-23 17:56:01 +0100
  • 54ef6db762 do not try to reestablish channels in PREOPENING state (per BOLT2). ThomasV 2020-02-23 14:54:04 +0100
  • 8730fa3f75 return preimage in lnpay. fixes #5794 ThomasV 2020-02-23 12:40:40 +0100
  • 67d0e780b3 remove double definition of lightning_history. fixes #5984 ThomasV 2020-02-23 11:59:34 +0100
  • 9616333b39 add_future_tx should return success ThomasV 2020-02-22 17:20:05 +0100
  • 64a8de8bae Qt: show amounts sent to channels in show_transaction ThomasV 2020-02-22 16:02:02 +0100
  • d319680d16 lnpeer: do not dump exceptions raised in initialize ThomasV 2020-02-22 16:00:38 +0100
  • 874efc125d (minor) trigger 'wallet_updated' callback when adding future tx ThomasV 2020-02-22 12:59:48 +0100
  • 7771daf94e qt: add menu item to view closing transaction of channel ThomasV 2020-02-22 12:28:07 +0100
  • b12c913d47 do not show channel balances if channel is closed ThomasV 2020-02-22 12:10:41 +0100
  • 4e73318fad Qt: ask confirmation before closing channel. ThomasV 2020-02-22 10:40:39 +0100
  • 938d918e55 sweep_ctx: do not log if channel was not force closed ThomasV 2020-02-22 09:27:34 +0100
  • 3264d19c6b Qt open channel dialog: suggest and clear buttons ThomasV 2020-02-22 09:25:12 +0100
  • fa62d03c2a require option static_remotekey in lnwallet ThomasV 2020-02-22 09:03:52 +0100
  • bda23ef73d Use a Future for lnpeer.initialized, so that exceptions are passed to the GUI ThomasV 2020-02-21 19:45:45 +0100
  • 56cb45df70
    android build: fix accepting licenses SomberNight 2020-02-21 20:08:32 +0100
  • 1ac3a66d49
    win binaries: bump python version (3.6.8->3.7.6) SomberNight 2020-02-21 19:02:38 +0100
  • 7e3d50a641
    README: rm "Compile the protobuf description file" section SomberNight 2020-02-21 18:50:52 +0100
  • 7f8d667e85
    Revert "qt/hww: temporarily bundle our own version of safetlib.qt.pinmatrix" SomberNight 2020-02-21 18:32:58 +0100
  • a1b8c8e54e add comment about minor issue with closing_signed ThomasV 2020-02-21 18:30:59 +0100
  • bb94712a14
    requirements: bump min archos safet version SomberNight 2020-02-21 18:23:33 +0100
  • 1b586faec9 disable peer filtering in lnworker ThomasV 2020-02-21 17:41:20 +0100
  • 3329d9dd0e lnwatcher: fix keep_watching if the wallet was not force-closed ThomasV 2020-02-21 16:35:27 +0100
  • d8a992e400
    libsecp: log exception if failed to load SomberNight 2020-02-21 15:59:18 +0100
  • 6e5abc049b follow-up previous commit (backward compatibility) ThomasV 2020-02-21 15:33:15 +0100
  • 55e0e1a72e Generate channel keys from random seed ThomasV 2020-02-21 12:18:28 +0100
  • c2432aa125 kivy: set pin_code timeout to 5 minutes ThomasV 2020-02-21 11:33:07 +0100
  • 86d1e50469 select peers with desired features before connecting ThomasV 2020-02-21 10:57:13 +0100
  • a96aa68a4c lnpeer: - print parent classname in diagnostic name, - fix error message when requested feature is not supported ThomasV 2020-02-21 09:48:36 +0100
  • 570167a2c4 restrict lightning to p2wpkh wallets ThomasV 2020-02-20 20:54:26 +0100
  • 2255b07157 support option_static_remotekey ThomasV 2019-12-13 14:07:11 +0100
  • 47d14c579b minor fix: can_send, can_receive ThomasV 2020-02-20 21:01:42 +0100
  • 9a462ac9b5 trustedcoin: fix wallet constructor ThomasV 2020-02-20 20:59:18 +0100
  • 704c3ae07f do not allow channel creation from backup file ThomasV 2020-02-20 19:09:05 +0100
  • 9d0a862a43 revert prrevious commit (used in tests) ThomasV 2020-02-20 11:26:19 +0100
  • 9680e7836c remove ChannelDB.add_channel_update (no longer needed after 46d8080c76) ThomasV 2020-02-20 11:20:05 +0100
  • 9451ca9568 move list_channels to commands.py ThomasV 2020-02-20 10:30:30 +0100
  • 238fb46d87 Lightning: Show sending and receiving capacity. Fixes #5967 ThomasV 2020-02-19 16:03:21 +0100
  • 3d42fca86e
    daemon.run_gui: make sure to exit process on exception SomberNight 2020-02-19 15:45:36 +0100
  • 300888f21c fix path for payserver static files ThomasV 2020-02-19 11:47:43 +0100
  • 317d405432 follow-up previous commit ThomasV 2020-02-19 11:39:52 +0100
  • cc6e461d3e storage upgrade for invoices and requests. fixes #5959 ThomasV 2020-02-19 11:26:03 +0100
  • 21fffeb7ad do not store 'outputs' field in requests (it is unused) ThomasV 2020-02-19 11:24:44 +0100
  • 9c5e49f432
    ecc.ECPubkey: also accept bytearray in __init__ SomberNight 2020-02-19 00:40:33 +0100
  • 0845300150
    qt InstallWizard: turn some instance variables to locals SomberNight 2020-02-18 21:12:46 +0100
  • fe4ca4c466 follow-up previous commit ThomasV 2020-02-18 20:06:35 +0100
  • c9e39d3a79 remove channel from channel_timestamps if funding_tx has been dropped from mempool ThomasV 2020-02-18 18:04:23 +0100