if you have a look at the transaction it is an LND channel closing transaction. rbf is allowed. pb is the wallet in use is the one from Lnd (not bitcoin core) so some command line related to bitcoincli wallet are not usable.
i don't know how to rbf it... i have important funds there ... can you help ?
RBF isn't going to be simple because the channel's remote node need to co-sign the transaction.
And CPFP in Bitcoin Core should be done manually since there's no specific command to directly create a CPFP transaction.
Good news is it supports "
coin control" with
send command to do that (
CPFP).
Example:
- Find the UTXO created by that unconfirmed transaction with: listunspent 0 command. ("0" is important to include unconfirmed coins)
- Create a PSBT using send command with this format:
bitcoin-cli -rpcwallet=<wallet_name> -named send outputs="{\"<your_own_address>\": <amount>}" inputs="[{\"txid\":\"<txid>\",\"vout\":<vout>,\"sequence\":4294967293}]" fee_rate=30
Fill up the inputs field <> with the information from your unconfirmed transaction, you can edit the sequence if you want to disable opt-in rbf flag.
Set the "fee_rate" to your desired value that can bump the child and parent's overall fee rate. (example below) - Depends on the wallet encryption, the above should be enough to broadcast the CPFP transaction and it'll result with "true" together with the txid.
If "false" (wallet is locked); sign the PSBT using walletprocesspsbt <PSBT> command. (requires to unlock the wallet to sign either command) - Lastly, broadcast the signed raw transaction with sendrawtransaction <RAW_Transaction> command.
Sample send (
Regtest):
bitcoin-cli --regtest -rpcwallet=descriptor_test -named send outputs="{\"bcrt1qs85jl5ew84q8uk9gz4l4u6glz5cgdn26fm4e4c\": 2.0}" inputs="[{\"txid\":\"e3c7bc999f1f47bb6f0f47a6a41fcbe638c188f5249b7aa1858c535a0f9c2176\",\"vout\":1,\"sequence\":4294967293}]" fee_rate=30