CounterpartyXCP / counterwallet

Counterparty web wallet
https://counterwallet.io
147 stars 162 forks source link

Allow sending BTC to oneself (for CPFP when stuck in mempool) #832

Open Jpja opened 6 years ago

Jpja commented 6 years ago

CW does not allow an address to make a pure BTC send to itself.

With users having more control over fees, there will inevitably come support tickets where transactions are stuck in mempool due to too low fees. The easiest solution is to make a pure BTC transaction to oneself with a higher fee (aka Child Pays For Parent).

Sending to oneself is the most efficient as it only takes one output.

image

deweller commented 6 years ago

I don't believe counterwallet spends unconfirmed outputs, so the child-pays-for-parent benefit wouldn't pply here.

To really solve the stuck transactions we would need a more complex solution.

Jpja commented 6 years ago

Just tested it. CW does spend unconfirmed outputs.

image

image