Bitcoin Forum
November 04, 2024, 01:16:39 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: rbf to different output?  (Read 48 times)
passivemay (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 4


View Profile
August 24, 2024, 06:38:36 PM
 #1

im trying to replace an unconfirmed transaction and change the output

the gui seems to only support sending to the original output or your own (cancelling), and cli only seems to support sending to the original output with bumpfee
hosseinimr93
Legendary
*
Offline Offline

Activity: 2576
Merit: 5664



View Profile
August 24, 2024, 07:37:27 PM
Last edit: August 25, 2024, 08:17:33 AM by hosseinimr93
Merited by hugeblack (4), nc50lc (1), Cricktor (1)
 #2

If you want to make the replacement transaction to a different address, you have to remove the unconfirmed transaction from your wallet locally and make the replacement transaction manually.
To do so, disconnect your computer from the internet and after that go to "console tab" and use the following command to remove the transaction you want to be replaced from your wallet.

Code:
wallet.adb.remove_transaction("TXID")

Close electrum and open it again. After that, create the replacement transaction manually with the desired fee (it should be high enough, so that it's accepcted by the nodes) and then export the raw transaction and save it.
Connect your computer to the internet and broadcast the replacement transaction using the raw transaction you have saved.

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
passivemay (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 4


View Profile
August 24, 2024, 08:05:20 PM
Merited by hugeblack (4)
 #3

If you want to make the replacement transaction to a different address, you have to remove the unconfirmed transaction from your wallet locally and make the replacement transaction manually.
To do so, disconnect your computer from the internet and after that go to "console tab" and use the following command to remove the transaction you want to be replaced from your wallet.

Code:
wallet.adb.remove_transaction("TXID")

Close electrum and open is again. After that, create the replacement transaction manually with the desired fee (it should be high enough, so that it's accepcted by the nodes) and then export the raw transaction and save it.
Connect your computer to the internet and broadcast the replacement transaction using the raw transaction you have saved.
thanks for the reply, this worked!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!