Skip to content

Commit dcd8269

Browse files
committed
docs: update release notes
1 parent e542351 commit dcd8269

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

docs/release-notes/release-notes-0.18.3.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,36 @@ commitment when the channel was force closed.
5858
send payment stream context, or automatically at the end of the timeout period
5959
if the user provided `timeout_seconds`.
6060

61+
* The [SendCoinsRequest](https://github.com/lightningnetwork/lnd/pull/8955) now
62+
takes an optional param `Outpoints`, which is a list of `*lnrpc.OutPoint`
63+
that specifies the coins from the wallet to be spent in this RPC call. To
64+
send selected coins to a given address with a given amount,
65+
```go
66+
req := &lnrpc.SendCoinsRequest{
67+
Addr: ...,
68+
Amount: ...,
69+
Outpoints: []*lnrpc.OutPoint{
70+
selected_wallet_utxo_1,
71+
selected_wallet_utxo_2,
72+
},
73+
}
74+
75+
SendCoins(req)
76+
```
77+
To send selected coins to a given address without change output,
78+
```go
79+
req := &lnrpc.SendCoinsRequest{
80+
Addr: ...,
81+
SendAll: true,
82+
Outpoints: []*lnrpc.OutPoint{
83+
selected_wallet_utxo_1,
84+
selected_wallet_utxo_2,
85+
},
86+
}
87+
88+
SendCoins(req)
89+
```
90+
6191
## lncli Additions
6292

6393
* [Added](https://github.com/lightningnetwork/lnd/pull/8491) the `cltv_expiry`
@@ -68,6 +98,18 @@ commitment when the channel was force closed.
6898
command returns the fee rate estimate for on-chain transactions in sat/kw and
6999
sat/vb to achieve a given confirmation target.
70100

101+
* [`sendcoins` now takes an optional utxo
102+
flag](https://github.com/lightningnetwork/lnd/pull/8955). This allows users
103+
to specify the coins that they want to use as inputs for the transaction. To
104+
send selected coins to a given address with a given amount,
105+
```sh
106+
sendcoins --addr YOUR_ADDR --amt YOUR_AMT --utxo selected_wallet_utxo1 --utxo selected_wallet_utxo2
107+
```
108+
To send selected coins to a given address without change output,
109+
```sh
110+
sendcoins --addr YOUR_ADDR --utxo selected_wallet_utxo1 --utxo selected_wallet_utxo2 --sweepall
111+
```
112+
71113
# Improvements
72114
## Functional Updates
73115

0 commit comments

Comments
 (0)