Commit Graph

  • 99a621dd99 df-reconnects: allow tx-sigs in channeld iff we're reconnecting niftynei 2020-12-11 13:28:01 -0600
  • 0a9c562664 df: state, clean more things up niftynei 2020-12-10 18:02:28 -0600
  • 2f3acb91fc df: actually send a temp-id to the peer in open_channel2 WIP niftynei 2020-12-10 14:27:53 -0600
  • f62f8b9c6b df: assume this is a 'negotiation failure' niftynei 2020-12-10 14:26:54 -0600
  • 9cffa769b8 df: actually run 'reconnect' code niftynei 2020-12-10 14:26:25 -0600
  • 9984c34f14 df: handle locked in etc in dualopend niftynei 2020-12-10 14:25:54 -0600
  • 9fdf1ea32a df: reinitialize dual-funding niftynei 2021-01-07 19:05:06 -0600
  • 1b6deaffc8 df: bunch of driveby formatting fixes niftynei 2021-01-07 19:03:50 -0600
  • 85ecef2849 df-feerates: mimic old behavior if there's no plugin handling niftynei 2020-12-10 14:11:42 -0600
  • 5d388b3128 df: there's only one state that we should be in for a `dualopend` niftynei 2020-12-10 14:05:52 -0600
  • 3e9f60011e channel: save the fact that funding_locked was rcvd to disk niftynei 2020-12-10 14:03:41 -0600
  • 9cb2a15858 channel_fallen_behind: break out functionality into two methods niftynei 2020-12-10 14:02:02 -0600
  • fd2e16f8bc db: add flag to database for recving remote's sigs niftynei 2020-12-10 13:59:03 -0600
  • 924aaf180e temp_channel_id: move to common niftynei 2020-12-10 13:52:29 -0600
  • c3a387a6d8 dual-fund: use correct 'last_tx' niftynei 2020-12-09 16:54:20 -0600
  • 90d936bb60 df: handle shutdown (before lockedin) in dualopend niftynei 2020-12-01 14:55:05 -0600
  • ae532614a3 df: handle fails niftynei 2020-12-01 14:53:14 -0600
  • bf49bcfa90 subd: keep track of 'channel's type niftynei 2020-12-01 14:49:35 -0600
  • 0c520850b0 setchannelfee: allow dualopend's "awaiting" state to be valid also niftynei 2020-11-30 15:49:01 -0600
  • 79c01c1386 feerates: mimic behavior of original opening if feerates not specified niftynei 2020-11-24 19:50:21 -0600
  • d47992a46d billboard: add in billboard updates from dualopend niftynei 2020-11-24 16:25:56 -0600
  • fc49874e32 billboard: break out common method for billboard updates niftynei 2020-11-24 16:06:54 -0600
  • 1ea4e63331 dual-open: handle sigs and channel lockin in dualopend, not channeld niftynei 2020-11-24 15:10:19 -0600
  • 06b15f648f dual_open: move two functions niftynei 2020-11-24 15:07:31 -0600
  • e0a7907d79 dual-fund: don't kill dualopend after commitments exchanged niftynei 2020-11-24 14:55:18 -0600
  • 57348e0470 channel_control: when we reach depth, for v2 channels, tell dualopend niftynei 2020-11-23 19:44:02 -0600
  • 1c9a713dfa channel-state: add two new states, for dualopend niftynei 2020-11-23 19:43:02 -0600
  • bdf7f250de channel_control: rename record_channel_open + expose niftynei 2020-11-23 19:25:54 -0600
  • c5e28e4746 channel_control: break out function for on_funding_locked niftynei 2020-11-23 19:24:50 -0600
  • b2bb80cb1b dual_open_control: correct name of hook niftynei 2020-11-23 18:58:47 -0600
  • c6de4138e6 open_command: keep them local to channel niftynei 2020-11-23 18:54:56 -0600
  • f37315c2f8 autodata: tweak where createinvoice is niftynei 2021-01-09 15:48:05 -0600
  • e0e929ed14 peer_control: remove PSBT from peer_start_channeld niftynei 2021-01-09 15:47:43 -0600
  • 0bb483f9b1 whitespace changes, 80 chars etc niftynei 2020-11-23 18:36:22 -0600
  • 01e37d61e8 channeld: remove peer->psbt niftynei 2020-11-19 18:50:19 -0600
  • c8aa6d4a55 subd: swap out the channel + error callback niftynei 2020-11-19 17:39:05 -0600
  • 21a1f71732 df nit: capitialize acronym niftynei 2021-01-07 18:17:03 -0600
  • 8ea1d5ec3b df: open_channel -> openchannel niftynei 2021-01-07 17:55:20 -0600
  • 80714de556 df: make sure to end wally alloc niftynei 2021-01-07 17:54:17 -0600
  • 260bd04adb df: move tx_sigs from channeld to dualopend niftynei 2020-11-03 13:43:48 -0600
  • af46a4f57d fetchinvoice: allow amounts to be specified. Rusty Russell 2021-01-09 14:55:46 +1030
  • 4bb05e46e9 offers: convert currency when they request an invoice. Rusty Russell 2021-01-09 14:55:46 +1030
  • 9681d491df offer: allow offers in other currencies if we can convert. Rusty Russell 2021-01-09 14:55:46 +1030
  • 2de467274e common/amount: make fmt_amount_sat / fmt_amount_msat etc take copy. Rusty Russell 2021-01-09 14:55:17 +1030
  • 23af9d4972 onion_message: support variable-length onion messages. Rusty Russell 2021-01-09 14:35:35 +1030
  • 030a19a8af sendinvoice: don't allow separate invoice and command timeouts. Rusty Russell 2021-01-08 05:23:47 +1030
  • fdc1f75745 doc: fix waitinvoice update. Rusty Russell 2021-01-08 05:22:47 +1030
  • 8f37437a14 doc: update and fix listinvoices output in man page. Rusty Russell 2021-01-08 05:21:47 +1030
  • d867fab3a7 sendinvoice: call waitinvoice directly to on invoice payment. Rusty Russell 2021-01-08 05:20:47 +1030
  • 8cf4bd902b lightningd: fix temporary onion_message leak: Rusty Russell 2021-01-08 05:19:47 +1030
  • c08ff167b2 decode: new generic API to decode bolt11 and bolt12. Rusty Russell 2021-01-08 05:18:47 +1030
  • 84dc943cf5 common/bolt11_json: extract bolt11->json code. Rusty Russell 2021-01-08 05:17:47 +1030
  • 1aa7e8e011 offers: split offer send_invoice generation into new JSON command Rusty Russell 2021-01-08 05:16:47 +1030
  • 47ce7ff0c1 doc: document experimental commands. Rusty Russell 2021-01-08 05:15:47 +1030
  • 55983827b6 fetchinvoice: try direct peers if we can't route. Rusty Russell 2021-01-08 05:14:47 +1030
  • 3514c8a034 lightning/onion_message: hack to allow x-only guesses for first hop. Rusty Russell 2021-01-08 05:13:47 +1030
  • 9d57612415 gossipd, channeld: handle onion messages in gossipd so we don't need a channel. Rusty Russell 2021-01-08 05:12:47 +1030
  • bdfcec3eb6 fetchinvoice: check we're in the period before attempting to fetch. Rusty Russell 2021-01-08 05:11:47 +1030
  • dae477175c fetchinvoice: implement timeout. Rusty Russell 2021-01-08 05:10:47 +1030
  • 075c25fc08 plugins/fetchinvoice: handle sendinvoice timeout, error or payment. Rusty Russell 2021-01-08 05:09:47 +1030
  • dc2ba6f9d9 plugins/fetchinvoice: implement `sendinvoice` command. Rusty Russell 2021-01-08 05:08:47 +1030
  • c1b38afcd3 lightningd: new api payersign to sign bolt12 message with a payer_key. Rusty Russell 2021-01-08 05:07:47 +1030
  • f2d2db7b4e plugins/offer: handle receiving an invoice in an onion_message. Rusty Russell 2021-01-08 05:06:47 +1030
  • 6d1fe7e599 plugin/offers: hoist send_onion_reply into core. Rusty Russell 2021-01-08 05:05:47 +1030
  • 43f5304539 plugins/offer: allow `offer` to create `send_invoice`, `refund` and `single_use` offers. Rusty Russell 2021-01-08 05:04:47 +1030
  • a15878b3a4 sendonion: remove underscores from JSON arg name. Rusty Russell 2021-01-08 05:03:47 +1030
  • 6b6e0fe34c pytest: Mark `test_lockup_drain` as disabled Christian Decker 2021-01-08 14:40:07 +0100
  • 91e406ed6f doc: Document existence of `erring_direction` in `sendpay` result Christian Decker 2021-01-08 11:36:02 +0100
  • 16801e31e9 configure: Prefer pytest over pytest3 Christian Decker 2021-01-05 13:51:02 +0100
  • d0dcb7cb42 tests: wait for drop to chain test_onchain_middleman_their_unilateral_in niftynei 2020-12-09 17:10:18 -0600
  • a91254de11 pyln: Add ammag key to onion keyset Christian Decker 2021-01-04 11:32:02 +0100
  • 1a8978100e invoice: add ctlv option. Rusty Russell 2021-01-08 15:13:50 +1030
  • 4b2efd69d7 pay: Fix a crash when waitblockheight times out Christian Decker 2021-01-06 18:50:10 +0100
  • ca204eacfa pytest: Reproduce waitblockheight timeout issue #4309 Christian Decker 2021-01-06 18:48:53 +0100
  • 0d1b45dfcc json-rpc: Give `waitblockheight` an error code for timeouts Christian Decker 2021-01-06 16:22:34 +0100
  • 8e908ff652 Revert "wallet: Remove in-memory utxoset filter" Christian Decker 2021-01-07 14:27:54 +0100
  • 3b7d0e7a62 common/json: make json_scan return an error string. Rusty Russell 2021-01-07 16:04:43 +1030
  • 53582a0f81 lightningd/bitcoind: use json_scan. Rusty Russell 2021-01-06 16:33:04 +1030
  • 11a4d46c44 chaintopology: fix crash if bcli doesn't include errmsg. Rusty Russell 2021-01-06 16:32:04 +1030
  • fd7d1a1cc0 common: remove now-unused json_delve. Rusty Russell 2021-01-06 16:11:20 +1030
  • 09b18bf64f libplugin: replace rpc_delve with rpc_scan. Rusty Russell 2021-01-06 16:11:20 +1030
  • b61da8c5a9 plugins: use json_scan. Rusty Russell 2021-01-06 16:11:19 +1030
  • 35e8949df3 plugins/bcli: convert to json_scan. Rusty Russell 2021-01-06 16:11:19 +1030
  • a5befb0072 common: enhance json_scan with simple array helpers. Rusty Russell 2021-01-06 16:11:19 +1030
  • 553daf17e0 common/json: new helper to scan JSON: json_scan. Rusty Russell 2021-01-06 16:11:19 +1030
  • 24b6132ee8 common: add length-limited versions of json_streq and json_get_member. Rusty Russell 2021-01-06 16:11:19 +1030
  • 2b6cdfeb5a json_to_psbt: fix API to match other allocating json_to functions. Rusty Russell 2021-01-06 16:11:19 +1030
  • 70410b8ee8 pytest: Test LightningRpc and plugin command notification support Christian Decker 2021-01-02 14:29:39 +0100
  • b6650425b9 pyln: Add notifications support to LightningRpc Christian Decker 2021-01-02 14:28:31 +0100
  • 84b3653606 pyln: Add command notification support for plugins Christian Decker 2021-01-02 14:24:15 +0100
  • a1d33c3781 pytest: Add a test for `listinvoices` Christian Decker 2021-01-05 18:58:41 +0100
  • 2981184fac docs: Document `bolt11` and `payment_hash` arguments of listinvoices Christian Decker 2021-01-05 18:58:13 +0100
  • 30abda2750 jsonrpc: Allow filtering via bolt11 or payment_hash in listinvoices Christian Decker 2021-01-05 18:55:01 +0100
  • 106afd005f channeld: stop taken() leak. Rusty Russell 2021-01-06 16:10:36 +1030
  • 0726d2912e df-mfc: remove guard-rails for failures niftynei 2020-12-11 15:21:32 -0600
  • b040a893ed mfc: avoid off-by-one rounding errors when finding change fee niftynei 2020-11-24 18:38:48 -0600
  • 3793687550 mfc-df: if the psbt we've got has inputs from our peer, remove them niftynei 2020-12-17 15:29:53 -0600
  • 6e3c517611 mfc-df: if there's an error with a openchannel_signed, fail niftynei 2020-12-10 19:21:48 -0600
  • a4f07a3e78 tests/fuzz: add a fuzz target for hsm_encryption Antoine Poinsot 2021-01-03 21:29:18 +0100
  • 506d524508 libfuzz: add a NULL-termination in to_string Antoine Poinsot 2021-01-03 21:21:36 +0100