Bitcoin Forum
December 12, 2017, 10:49:58 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: bitcoin-cli - RBF transaction  (Read 115 times)
columbo
Jr. Member
*
Offline Offline

Activity: 41


View Profile
December 03, 2017, 03:52:59 PM
 #1

Is there any tutorial on how to use bitcoin-cli to send an RBF transaction?
Can someone give me some hints on how to do this. Thank you.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1513118998
Hero Member
*
Offline Offline

Posts: 1513118998

View Profile Personal Message (Offline)

Ignore
1513118998
Reply with quote  #2

1513118998
Report to moderator
1513118998
Hero Member
*
Offline Offline

Posts: 1513118998

View Profile Personal Message (Offline)

Ignore
1513118998
Reply with quote  #2

1513118998
Report to moderator
HCP
Sr. Member
****
Online Online

Activity: 448

<insert witty quote here>


View Profile
December 04, 2017, 03:06:47 AM
 #2

if you don't mind sending ALL you transactions as RBF... simply add "walletrbf=1" to your bitcoin.conf

Failing that, don't you just add "true" as the fourth parameter to "createrawtransaction"?

createrawtransaction [{"txid":"id","vout":n},...] {"address":amount,"data":"hex",...} ( locktime ) ( replaceable )
...
4. replaceable               (boolean, optional, default=false) Marks this transaction as BIP125 replaceable.
                             Allows this transaction to be replaced by a transaction with higher fees. If provided, it is an error if explicit sequence numbers are incompatible.

so something like:
Code:
bitcoin-cli createrawtransaction "[{\"txid\":\"HEX_TRANSACTION_ID\",\"vout\":0}]" "{\"address\":0.01}" "" true

Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!