pull down to refresh

The error seems to say you provided "txid" as the txid.

Did you literally enter "txid" or did you enter a txid like d3c999e3c258e6c9808bfcd73d5910bc9a037ebdf22277b0397f8e3ed1f2628c?

Asking because I get the same error when I enter this:

$ lncli wallet bumpfee --sat_per_byte txid:6

but I don't when I enter this:

$ lncli wallet bumpfee --sat_per_byte 6 d3c999e3c258e6c9808bfcd73d5910bc9a037ebdf22277b0397f8e3ed1f2628c:6

I think you are confused by txid and index:

Considering {index} as the set of numbers I get when checing the transaction on https://mempool.space/tx/{index}

that's not the index in the URL, that's the txid (32 bytes). The index is simply a number that points to an output of that transaction as there can be many. I don't think you need to encode it as hex, you can use decimal.

I didn’t try it myself but this sounds like the right answer

reply

ok this make much more sense, thank you for the clarification.

so if the txid is d3c999e3c258e6c9808bfcd73d5910bc9a037ebdf22277b0397f8e3ed1f2628c, where do I get the index value? It's necessary to complete the Replace-By-Fee transaction?

If I try without index I get the this error: [lncli] outpoint should be of the form txid:index


Ok, then! The transaction I'm playing with has only two outputs so, assuming the index will be equal to0 or 1, I tried the following:

lncli wallet bumpfee --sat_per_byte 4 d3c999e3c258e6c9808bfcd73d5910bc9a037ebdf22277b0397f8e3ed1f2628c:0

and get a new error: [lncli] rpc error: code = Unknown desc = the passed output does not belong to the wallet


Ok, first fail, let's try with index 1:

lnshell@9b51ed54115c:~$ lncli wallet bumpfee --sat_per_byte 4 d3c999e3c258e6c9808bfcd73d5910bc9a037ebdf22277b0397f8e3ed1f2628c:1

and I get the below as output in the cli:

{

}

[lncli] rpc error: code = Unknown desc = invalid output index 2 for transaction with 2 outputs So now I don't know... did it went through? I check the mempool and look's it didn't


Ok, let's try with index equal 2

lnshell@9b51ed54115c:~$ lncli wallet bumpfee --sat_per_byte 4 d3c999e3c258e6c9808bfcd73d5910bc9a037ebdf22277b0397f8e3ed1f2628c:2

[lncli] rpc error: code = Unknown desc = invalid output index 2 for transaction with 2 outputs

🤔

reply

The empty brackets means you successfully tried the rbf(replace by fee). It doesn’t mean it’s confirmed or not but it’s now in the mempool with the higher fee.

reply

Nice, thanks for the clarification

reply

PS: in the meantime the transaction got confirmed, and I can see (one of) the RBF when through

reply

deleted by author