Bitcoin Forum
May 07, 2024, 08:03:13 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: settxfee has no effect on json rpc  (Read 968 times)
aliser (OP)
Hero Member
*****
Offline Offline

Activity: 826
Merit: 1000



View Profile
April 15, 2015, 09:50:53 PM
 #1

Hi,

i want to send bitcoin to more than one address, i want to use minimum free for transaction and im using settxfee but it is has no effect.

Code :

$wallet->settxfee((double)0.00001000);
$wallet->sendmany("", $params);

What is the problem ?

Note : I can send bitcoin to all addresses but the fee is too high
The network tries to produce one block per 10 minutes. It does this by automatically adjusting how difficult it is to produce blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1000000
Full Member
***
Offline Offline

Activity: 151
Merit: 100



View Profile
April 16, 2015, 11:18:07 AM
 #2

With 'settxfee' you only control the transaction fee per kilobyte, not the total fee Wink

“The Times 03/Jan/2009 Chancellor on brink of second bailout for banks”
EcuaMobi
Legendary
*
Offline Offline

Activity: 1862
Merit: 1469


https://Ecua.Mobi


View Profile WWW
April 16, 2015, 05:15:05 PM
 #3

Hi,

i want to send bitcoin to more than one address, i want to use minimum free for transaction and im using settxfee but it is has no effect.

Code :

$wallet->settxfee((double)0.00001000);
$wallet->sendmany("", $params);

What is the problem ?

Note : I can send bitcoin to all addresses but the fee is too high

AFAIK that command doesn't have any effect for low priority transactions when setting that fee could prevent the TX from being confirmed.
Anyway you can try adding "paytxfee=0.00001000" to your bitcoin.conf.

Reading this will help you:
https://bitcointalk.org/index.php?topic=124068.msg1332793#msg1332793

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!