Commit Graph

  • 399fe08047 ln: avoid code duplication Janus 2018-06-15 16:35:29 +0200
  • d1769472bd ln: save remote's secrets in RevocationStore, not our secrets. call lnhtlc.receive_revocation Janus 2018-06-14 15:34:51 +0200
  • 6c8bd2559b lnbase/lnhtlc: use lnhtlc more instead of manually constructing tx'es Janus 2018-06-14 14:45:36 +0200
  • 9010ea7e6e lnbase: use sign_next_commitment for initial remote_ctx Janus 2018-06-13 16:27:44 +0200
  • 434ce49451 lnbase: use lnhtlc when verifying our initial commitment tx Janus 2018-06-13 15:28:10 +0200
  • 8eeaac8dda lnbase: use broadcast_transaction instead of broadcast (follow up e57e55aad) Janus 2018-06-12 13:55:11 +0200
  • 3270ac039c test_lnbase: use new Peer API (with lnworker) Janus 2018-06-12 13:54:23 +0200
  • bd0f659f26 ln: remove unneeded forwarding htlc features, check commitment sig using lnhtlc while receiving Janus 2018-06-11 19:53:15 +0200
  • 4d25933898 ln: integrate lnhtlc in lnbase, fix multiple lnhtlc bugs Janus 2018-06-11 00:14:38 +0200
  • 5ed6f79a33 ln: request_initial_sync, increase our max_htlc_value, fix receiving payment Janus 2018-06-08 17:17:46 +0200
  • 6e71340e52 do not block GUI with open_channel ThomasV 2018-06-08 12:53:35 +0200
  • 40fcf58fec lightning: display remote balance in gui ThomasV 2018-06-07 08:56:00 +0200
  • 2b9be294a0 lnbase: mark_open on startup ThomasV 2018-06-07 08:55:18 +0200
  • f1d067f446 revert the introduction of add_invoice_coroutine in a612c2b09 ThomasV 2018-06-06 20:30:29 +0200
  • aeb58dbd66 do not pass channel list to update_rows signal, as it is sent to all windows ThomasV 2018-06-06 17:42:06 +0200
  • 6f246b90bf wait for peer.initialized in channel_establishment_flow SomberNight 2018-06-05 17:31:07 +0200
  • 11c6fce7bf follow up 0b3a882e7d57c8a42be48c491a46dc814eab6acb ThomasV 2018-06-05 17:06:30 +0200
  • 2ae4b1862d simplify funding_locked expose lnworker in peer update channel_db when channels are open ThomasV 2018-06-05 13:57:04 +0200
  • 21c883bd0b Display channel status in the GUI. ThomasV 2018-06-04 20:53:34 +0200
  • bf6d28e1f0 integrate channels_list with existing framework ThomasV 2018-06-03 10:07:56 +0200
  • 4fe912f4b3 qt: fix unit of lnaddr.amount ThomasV 2018-06-01 11:55:18 +0200
  • 6263b472d9 follow-up a612c2b0983ab4c6798156aebf1cd550fb3e0447 ThomasV 2018-06-01 10:01:16 +0200
  • 497706afbf ln: htlc state machine (not used yet) Janus 2018-05-29 11:51:48 +0200
  • 85e18be7d0 ln: save channels in dict, warn on invoice exceeding max_htlc amount Janus 2018-05-31 17:16:01 +0200
  • 34d5f1b2e3 lightning: connect send button ThomasV 2018-05-31 14:05:09 +0200
  • 12d3877873 lightning GUI: use existing receive and send tabs with lightning invoices ThomasV 2018-05-31 12:38:02 +0200
  • 7d2a6d83d5 ln: don't make invoice if peer can't possibly pay, append _sat to sat parameters to avoid confusion Janus 2018-05-30 13:47:46 +0200
  • b74d4261af lnworker: generate and save private key ThomasV 2018-05-30 13:52:01 +0200
  • af4f0b6daf lnworker: separate invoice creation from payment flow ThomasV 2018-05-30 13:42:25 +0200
  • ae3971259d ln: restore channels correctly after restart Janus 2018-05-29 18:12:48 +0200
  • aafbe74a28 fix channel_reestablish ThomasV 2018-05-29 11:30:38 +0200
  • 1f6646fa25 lnbase: fix read_message ThomasV 2018-05-29 06:59:22 +0200
  • 6a8e5d5954 ln: restore functionality Janus 2018-05-28 18:22:45 +0200
  • 4268be9093 ln: save remote node_id in channel Janus 2018-05-28 14:20:30 +0200
  • 8ba63380b4 split lnrouter from lnbase SomberNight 2018-05-28 13:51:39 +0200
  • f6763b6084 remove function H256 SomberNight 2018-05-28 13:03:30 +0200
  • 762dea6593 fix amount in open_channel, add listchannels command ThomasV 2018-05-28 12:06:37 +0200
  • b71f020fc9 move on_funding_locked to lnworker ThomasV 2018-05-28 11:55:20 +0200
  • 0552c61b66 lightning: add payment methods to lnworker ThomasV 2018-05-28 10:43:50 +0200
  • c621ae8f6e lightning: move lnworker code to its own module ThomasV 2018-05-28 09:39:05 +0200
  • f66377604d fix lnaddr.py following rebase ThomasV 2018-05-26 18:04:11 +0200
  • 5666188e9e update lnbase after crypto refactoring ThomasV 2018-05-26 17:04:55 +0200
  • 1d8c771440 lnbase: remove lnbase stub Janus 2018-05-25 11:44:21 +0200
  • 8abd072c89 lnbase: pass password to mktx ThomasV 2018-05-25 11:14:03 +0200
  • 5a819611c8 qt: fix password passed to open_channel, cleanup ThomasV 2018-05-25 11:08:48 +0200
  • 6ac15962dc lnbase: mSAT hygiene, multiple multi-hop payments can be received Janus 2018-05-24 19:24:43 +0200
  • 10e8a90224 kivy: port lightning ui to lnbase Janus 2018-05-23 19:08:46 +0200
  • 18963405ee lightning: remove hub based approach, port qt gui to lnbase Janus 2018-05-23 15:46:30 +0200
  • 4fdf1b9b84 lnbase: use small buffer when reading, support new_channel without payment in online test, send channel_reserve_satoshis Janus 2018-05-22 17:01:56 +0200
  • 5d375de30e lnbase: use correct cltv_expiry calculation (use invoice) Janus 2018-05-22 15:37:27 +0200
  • eeb027babc lnbase: fix multi-hop payments Janus 2018-05-22 13:45:03 +0200
  • 001ab4e3bc lnbase: fix onion-hop payload construction again (cltv currently broken) Janus 2018-05-18 18:35:21 +0200
  • 1d267f1226 lnbase: fix multi-hop fees, initial handling of received update_add_htlc during payment Janus 2018-05-17 19:44:04 +0200
  • f6995b99d9 lnbase: calculate cltv_expiry for onion_packet correctly Janus 2018-05-17 18:12:21 +0200
  • 6c67ad24f3 lnbase: try multi-hop onion package, type safety Janus 2018-05-17 15:12:22 +0200
  • 43eb33327e PathFinder: change path element semantics from "from node, take edge" to "to get to node, use edge" SomberNight 2018-05-17 15:52:02 +0200
  • 50cc603d91 create route from path, that includes extra info needed for routing SomberNight 2018-05-17 15:16:53 +0200
  • 5b1da26041 bolt-04: decryption of errors SomberNight 2018-05-17 14:30:27 +0200
  • 5da3820a28 lnbase online test: use random node key when making new channel, save node key, multiple actions per invocation Janus 2018-05-16 17:49:36 +0200
  • b81fb44952 lnbase: fix pay(), save htlc_id's, generate onion packet correctly Janus 2018-05-16 15:42:54 +0200
  • 34da1349e0 lnbase/online_test: save short_channel_id to wallet and build onion packet with it Janus 2018-05-15 18:07:09 +0200
  • 7ba3f2d54d calc short_channel_id after funding locked SomberNight 2018-05-15 16:28:32 +0200
  • 6bf2714e33 lnbase: initial 'payment to remote' attempt Janus 2018-05-15 15:30:50 +0200
  • 928eb886c5 lnbase: formatting, remove imports Janus 2018-05-14 16:03:22 +0200
  • 2e23ecb3ca lnbase: verify commitment tx'es again Janus 2018-05-14 15:41:55 +0200
  • 73a17c93ee lnbase: infinite amount of incoming payments Janus 2018-05-14 15:28:18 +0200
  • 6173c2d7a7 lnbase: two payments working, temporarily disable sig check Janus 2018-05-14 14:21:30 +0200
  • ee87920573 lnbase: store remote revocation store, don't store all remote revocation points, verify ctn numbers in reestablish Janus 2018-05-11 18:32:55 +0200
  • 3a20c8ce00 lnbase: add RevocationStore test, remove unnecessary lnd helper functions Janus 2018-05-11 15:43:47 +0200
  • cf82150aab lnbase: compact commitment secret storage Janus 2018-05-09 21:43:15 +0200
  • c5fb090e5c lnbase: no negative commitment number nonsense Janus 2018-05-08 17:57:53 +0200
  • 2338d18ab8 lnbase: move channel commitment number increment to function Janus 2018-05-08 17:32:36 +0200
  • 2a594e9d0e lnbase: receive repeated payments Janus 2018-05-07 19:01:43 +0200
  • 913176b4b1 tests: don't use default lightning_peers in online test Janus 2018-05-07 13:49:23 +0200
  • d9d2989a6a lnbase: channel reestablishment working Janus 2018-05-04 18:23:29 +0200
  • a58a345dc3 bolt-04: implement processing of onion packets SomberNight 2018-05-04 18:13:59 +0200
  • 053c571d74 minor clean-up of prev. util.xor_bytes SomberNight 2018-05-04 13:01:46 +0200
  • 47b1bed539 implement bolt-04 onion packet construction SomberNight 2018-05-03 18:29:02 +0200
  • 60b77f6a00 lnbase: save channel details in wallet, enable running online test with reestablishment_mode Janus 2018-05-03 17:45:14 +0200
  • d3f8fe923c lnbase: move waiting for funding_locked to new function, make function for signing and sig conversion Janus 2018-05-03 13:57:33 +0200
  • d96b80ad1f lnbase: make function for building htlc_tx depending on if it is for_us/we_receive Janus 2018-05-02 18:24:40 +0200
  • 309aca69b8 lnbase: verify their htlc signature Janus 2018-05-02 17:01:35 +0200
  • 6b79052bc9 lnbase: standardize to_bytes calls ThomasV 2018-05-02 14:57:51 +0200
  • fa80fd4bd5 lnbase: fix custom local to_self_delay, use node privkey derived from timestamp in online test Janus 2018-05-02 14:22:54 +0200
  • 517e19ebab test_lnbase_online: pass password=None to channel_establishment_flow Janus 2018-05-02 12:38:54 +0200
  • 1363dfb522 lnbase: avoid copying variables, insert newlines Janus 2018-05-02 12:32:31 +0200
  • 96544b8b58 lnbase: derive keys from wallet keystore ThomasV 2018-04-24 09:55:29 +0200
  • bdec72dd4b lnbase: avoid local variables, remote useless comments, name basepoints as such Janus 2018-05-02 12:11:28 +0200
  • e1f7eb6cb3 lnbase: set new field in Transaction instead of returning a tuple in make_commitment Janus 2018-05-02 11:46:56 +0200
  • 194a2bba16 lnbase: set to_self_delay back to 144, defer cltv_expiry problem Janus 2018-05-02 11:39:45 +0200
  • 19d8a13232 lnbase: use correct delay Janus 2018-05-01 14:12:14 +0200
  • 20f0464009 lnbase: avoid code duplication, return htlc outpoint dict in make_commitment Janus 2018-05-01 13:58:55 +0200
  • 5f38019420 lnbase: simplify commitment transaction building with open channel Janus 2018-05-01 00:15:41 +0200
  • 39dcc24133 lnbase: organize channel data Janus 2018-04-30 23:34:33 +0200
  • c2bbc1ec60 lnbase: allow passing KeypairGenerator to channel_establishment_flow, fix derive_privkey Janus 2018-04-30 17:07:52 +0200
  • 9f8d6625ec lnbase: receiving invoice payment works Janus 2018-04-27 20:09:32 +0200
  • 6d87599964 lnbase: commitment_signed, revoke_and_ack now accepted without errors Janus 2018-04-27 17:40:13 +0200
  • b3da13420b bitcoin.py: SCRIPT-related clean-up. transaction.py: construct_witness SomberNight 2018-04-27 15:38:44 +0200
  • 75e7b3af49 lnbase: fix their new commitment transaction (htlc tx construction still incorrect) Janus 2018-04-27 14:24:19 +0200
  • 71eacb4eab lnbase: fix bug in message parsing ThomasV 2018-04-26 18:58:54 +0200