rockstardev
ce16689d73
Merge remote-tracking branch 'source/0-18-4-branch'
2025-01-07 18:46:41 -06:00
rockstardev
48120906c9
Merge branch 'lnd/v0.18.3-beta'
...
# Conflicts:
# .circleci/config.yml
# Makefile
# README.md
# build/version.go
# go.mod
# go.sum
# linuxamd64.Dockerfile
# linuxarm32v7.Dockerfile
# linuxarm64v8.Dockerfile
2024-10-15 18:09:25 -05:00
Oliver Gugger
58bf721f2e
cmd/commands: don't error out on replacement failure
2024-10-15 17:33:26 +02:00
Oliver Gugger
2d6ba8c056
cmd/commands: export StripPrefix
2024-10-11 14:04:00 +02:00
Oliver Gugger
90470065ba
cmd/lncli: move commands and export
...
We want to export some of our CLI code to re-use in other projects. But
in Golang you cannot import code from a `main` package.
So we need to move the actual code into its own package and only have
the `func main()` in the `main` package.
2024-10-11 14:04:00 +02:00
Olaoluwa Osuntokun
57a5e4912b
Merge pull request #8994 from ellemouton/rbMicroFixes
...
Rb micro fixes
2024-08-08 11:17:16 -07:00
Elle Mouton
5e84ba92af
multi: add IsBlinded to lnrpc.Invoice for nicer UX
...
The BlindedPathConfig struct is nice for invoice creation but when we
use the Invoice message for viewing an invoice, it would be nicer to see
an "is_blinded" field.
2024-08-08 16:46:01 +02:00
Oliver Gugger
eac54601fb
cmd/lncli: add min relay fee to lncli wallet estimatefeerate
...
This commit adds the new value that was added to the RPC response to the
CLI output as well.
2024-08-08 09:24:49 +02:00
Elle Mouton
e4619afc08
multi: add node omission list for blinded paths
2024-08-07 17:03:11 +02:00
Elle Mouton
3de6c5415a
multi: let blinded path invoice options be set per addinvoice call
...
Extend the configurability of blinded paths in invoices by adding the
ability to change the global config options on a per-RPC basis.
2024-08-07 17:02:55 +02:00
Ononiwu Maureen
018484628a
lncli: Add outpoints flag to sendcoins command
...
Signed-off-by: Ononiwu Maureen <59079323+Chinwendu20@users.noreply.github.com>
2024-08-07 20:42:28 +08:00
Ononiwu Maureen
900d7fdd17
cmd: Export and move utxosToOutpoint.
...
Signed-off-by: Ononiwu Maureen <59079323+Chinwendu20@users.noreply.github.com>
2024-08-07 20:42:28 +08:00
Elle Mouton
18cb7f0b87
lncli: add --blind option to addinvoice
...
In this commit, we expose the option to create an invoice containing
blinded paths to lncli.
2024-07-26 09:54:18 +02:00
Elle Mouton
cd3da40fb9
routing: dont include final hop cltv in blinded path
...
Only include the final hop's cltv delta in the total timelock
calculation if the route does not include a blinded path. This is
because in a blinded path, the final hops final cltv delta will be
included in the blinded path's accumlated cltv delta value.
With this commit, we remove the responsibility of remembering not to set
the `finalHop.cltvDelta` from the caller of `newRoute`. The relevant
test is updated accordingly.
2024-07-10 17:51:56 +02:00
rockstardev
fc7b2c1d59
Merge branch 'lnd/v0.18.0-beta' and Update README
...
# Conflicts:
# .github/workflows/main.yml
# Makefile
# README.md
# build/version.go
# contractcourt/channel_arbitrator.go
# docs/release-notes/release-notes-0.17.4.md
# go.mod
# go.sum
# htlcswitch/link.go
# itest/list_on_test.go
# itest/lnd_channel_backup_test.go
# itest/lnd_channel_force_close_test.go
# itest/lnd_multi-hop_test.go
# itest/lnd_onchain_test.go
# itest/lnd_open_channel_test.go
# itest/lnd_psbt_test.go
# linuxamd64.Dockerfile
# linuxarm32v7.Dockerfile
# linuxarm64v8.Dockerfile
# lncfg/config.go
# lncfg/dev.go
# lncfg/dev_integration.go
# lnrpc/walletrpc/walletkit.pb.go
# lntest/harness.go
# lnwallet/channel.go
# lnwallet/channel_test.go
# peer/brontide.go
# peer/brontide_test.go
# peer/test_utils.go
# server.go
# sweep/sweeper.go
# sweep/tx_input_set.go
# sweep/txgenerator.go
2024-07-07 08:04:55 -05:00
Oliver Gugger
390f0723d3
Merge pull request #8838 from yyforyongyu/update-pendingsweeps
...
cli: update `pendingsweeps` response
2024-06-20 07:13:00 -06:00
Slyghtning
b66e361afa
lncli: fix typo in inbound fee help text
2024-06-19 07:33:32 +02:00
Slyghtning
7bfa616371
lncli: cancelable flag for SendPaymentRequest
2024-06-17 09:32:26 +02:00
yyforyongyu
0f7c641f92
cli: update pendingsweeps response
2024-06-13 19:17:16 +08:00
feelancer21
fc90bc9b0f
lncli: new command wallet estimatefeerate
...
`lncli wallet estimatefeerate` returns the fee rate estimate for on-chain
transactions in sat/kw and sat/vb to achieve a given confirmation target.
2024-06-11 21:56:06 +02:00
Andras Banki-Horvath
59c8bafda7
lncli: fix parsing of --amp when sending a payment
2024-06-10 17:33:28 +02:00
Slyghtning
9f83f48d78
lncli: channel point for getchaninfo
2024-06-06 14:15:44 +02:00
Oliver Gugger
a832371d61
Merge pull request #8491 from davidgumberg/invoice_cltv_expiry
...
Expose `cltv_expiry` flag of `addinvoice` to cli
2024-06-04 13:59:50 +02:00
David Gumberg
80b60d34aa
lncli: Expose cltv_expiry flag of addinvoice
...
Allows users of the RPC CLI to set the `min_final_cltv_expiry_delta`
described in BOLT's 11, 7, and 2 by setting the `cltv_expiry` flag when
calling either of the `addinvoice` or `addholdinvoice` RPC's from
`lncli`.
2024-06-04 06:19:12 -04:00
Bufo
4a3af519b8
chore: allow 0 failure amount on import mission control
2024-06-03 11:28:26 +02:00
rockstardev
f6f5e312f3
Merge commit '3da3d28064d2712400f1b579bd4dfa34e04fd227'
2024-05-31 08:25:35 -05:00
rockstardev
6de26dc8ad
Merge basedon-v0.17.1-beta
...
# Conflicts:
# build/version.go
# linuxamd64.Dockerfile
# linuxarm32v7.Dockerfile
# linuxarm64v8.Dockerfile
2024-05-31 08:23:52 -05:00
Olaoluwa Osuntokun
bc6292f8bd
Merge pull request #8758 from feelancer21/preserve-inbound-fees
...
multi: Inbound fees are retained when not provided
2024-05-23 13:58:52 -07:00
feelancer21
f62c00fe34
multi: Inbound fees are retained when not provided
...
Fixes the problem that inbound base fee and fee rate are overwritten
with 0 if they are not specified in PolicyUpdateRequest. This ensures
backward compatibility with older rpc clients that do not yet support
the inbound feature.
2024-05-22 20:48:42 +02:00
yyforyongyu
71ee50f87c
lncli: add missing SatPerVbyte field in bumpfee cli
2024-05-21 00:53:23 +08:00
yyforyongyu
187b0b1f80
cli: add --amp to SendPaymentRequest in payinvoice
2024-05-06 16:01:35 +08:00
Oliver Gugger
2089a88f4b
Merge pull request #7765 from ErikEk/retire-io-ioutil-dep
...
Remove io/ioutil package dependency
2024-04-25 13:17:15 +02:00
erik
789c6bac8c
multi: replace ioutil.WriteFile
2024-04-25 11:23:31 +02:00
erik
ab83343c87
multi: repleace ioutil.ReadFile
2024-04-25 11:22:43 +02:00
erik
619c8f4eb8
multi: repleace ioutil.ReadAll
2024-04-25 11:21:18 +02:00
Oliver Gugger
dcd8e16376
Merge pull request #8685 from ziggie1984/fix-bumpfee-immediate
...
fix lncli bumpfee flag parsing
2024-04-25 10:17:05 +02:00
Mohamed Awnallah
6e1d9b8d6a
lncli: update AllPayments in deletePayments
2024-04-24 18:49:01 +02:00
ziggie
64601a9bbe
wallet lncli: fix bumpfee parsing bug.
2024-04-24 16:56:09 +01:00
Olaoluwa Osuntokun
7af195768a
Merge pull request #8667 from lightningnetwork/elle-new-sweeper
...
Merge new sweeper branch to master
2024-04-22 11:20:49 -07:00
Oliver Gugger
73fd389e9a
Merge pull request #8627 from feelancer21/inbound-fees-reject
...
lnrpc: rejects positive inbound fees by default
2024-04-22 01:56:02 -06:00
feelancer21
a2319e4313
lnrpc: rejects positive inbound fees by default
...
Positive inbound are now rejected by default. The user can enable positive
inbound fees with the option 'accept-positive-inbound-fees'.
2024-04-20 00:11:36 +02:00
yyforyongyu
7abefa7760
cmd: update bumpfee, bumpclosefee and bumpforceclosefee
2024-04-19 21:33:38 +08:00
yyforyongyu
465332f409
multi: deprecate batchwindowduration config option
2024-04-19 21:33:26 +08:00
yyforyongyu
a8f5a09dea
sweep: don't give up an input based on number of attempts
...
This commit removes the logic where we remove an input when it's been
published more than 10 times. This is needed as in our future fee
bumper, we might start with a low fee and rebroadcast the same input for
hundred of blocks.
2024-04-19 21:33:23 +08:00
Oliver Gugger
648fb22f63
multi: wrap all errors
2024-04-11 15:04:03 +02:00
Mohamed Awnallah
a0b0e7aa62
lncli: add coin selection strategy option to on-chain rpc commands
...
In this commit we add coin selection strategy option to the
following on-chain rpc commands `fundpsbt`, `fundtemplatepsbt`,
`batchopenchannel`, `estimatefee`, `sendcoins`, and `sendmany`.
2024-04-01 19:08:19 +02:00
Joost Jager
763787e08c
routing+lnrpc: add inbound fee policy update
2024-03-31 16:49:19 +02:00
Carla Kirk-Cohen
421433039b
lnrpc: rename proportional fee rate on lnrpc
...
This field is incorrectly suffixed as "msat", when it is actually
interpreted as the proportional fee rate. This is the value that we
should be using because the sender will calculate proportional fees
accordingly. This is a breaking change to the RPC, but on an
experimental and unreleased API.
2024-03-27 09:39:01 -04:00
Oliver Gugger
0bc3d29413
Merge pull request #8496 from aakselrod/locks-to-leases
...
multi: replace `LockOutpoint` with `LeaseOutput`
2024-03-18 03:34:56 -06:00
Mohamed Awnallah
158b802f49
lncli+makefile: generate man pages automatically for lncli and lnd
2024-03-13 21:18:23 +02:00