How do I change the minrelayfee in BU nodes

johnyj

Member
Mar 3, 2016
89
189
~$ btc getinfo
{
"version": 120100,
"protocolversion": 80002,
"walletversion": 60000,
"balance": 0.00000000,
"blocks": 451925,
"timeoffset": 0,
"connections": 94,
"proxy": "",
"difficulty": 422170566883.8369,
"testnet": false,
"keypoololdest": 1483463970,
"keypoolsize": 101,
"paytxfee": 0.00000000,
"relayfee": 0.00003000,
"errors": ""
}


~$ btc getmempoolinfo
{
"size": 55122,
"bytes": 45499454,
"usage": 116562272,
"maxmempool": 300000000,
"mempoolminfee": 0.00000000
}


Tried to change that from the traditional bitcoin.conf file, did not work
 

ajwest

New Member
Mar 3, 2016
1
0
I'd like to know this too! I just installed the latest version of Bitcoin Unlimited on my Raspberry Pi 3 and it's working well, but I hear there is a new dot notation and I don't think I even have a bitcoin.conf yet. Where, and what do I put in bitcoin.conf to ensure I am accepting blocks larger than 1mb?
 

freetrader

Moderator
Staff member
Dec 16, 2015
2,806
6,088
There's been some changes in BU, which has its own mempool limiter, and a previous related issue on the Github.

I quote a comment from there which may be helpful, but I suggest you read the whole issue thread in case something is more relevant to what you're trying to achieve.
the set your "minlimitertxfee=<satoshi/byte>" where satoshi/byte can be a floating point number...so if you want a minrelaytxfee of 1000 then set your "minlimitertxfee=1.0". The minlimitertxfee is essentially the starting value for "minrelaytxfee"/1000.

If you want identical action to core then you should also set your maxlimitertxfee=1.0 as well...then you won't be doing any further limiting until you hit the maxmempool size which is where Core will invoke their own mempool limiter.
https://github.com/BitcoinUnlimited/BitcoinUnlimited/issues/125#issuecomment-269982172

@ajwest : for location of your bitcoin.conf file (which depends on your OS), see here:

https://en.bitcoin.it/wiki/Running_Bitcoin#Bitcoin.conf_Configuration_File
 
Last edited:
  • Like
Reactions: Bloomie

Peter Tschipper

Active Member
Jan 8, 2016
254
357
@ajwest
[QUOTE=". Where, and what do I put in bitcoin.conf to ensure I am accepting blocks larger than 1mb?[/QUOTE]

By default you will accept blocks as big as 16MB. If you want to change that then use "excessiveblocksize= " setting. BTW, what you're asking about is different from what the problem being described in this thread. Hope this helps.
 
  • Like
Reactions: Bloomie

7queue

New Member
Feb 16, 2017
17
8
Florida USA
Is this setting honored in the Configuration file?

$ bitcoind --help | grep minrelaytxfee
-minrelaytxfee=<amt>

--> ./bitcoin.conf : minrelaytxfee=0.00000001



bitcoin-cli getinfo

"version": 1000001,
"relayfee": 0.00002105,


Is relayfee calculated on the fly?
Is the configuration parameter minrelayfee only the minimum that will be set?
What are the behavioral differences between Core and Unlimited for this parameter?

When I have the time I will look into the code for each implementation and find out.
 

7queue

New Member
Feb 16, 2017
17
8
Florida USA
From the Core 0.14.0 rc1 Release Notes:

Minimum Fee Rate Policies
Since the changes in 0.12 to automatically limit the size of the mempool and improve the performance of block creation in mining code it has not been important for relay nodes or miners to set -minrelaytxfee. With this release the following concepts that were tied to this option have been separated out:

  • incremental relay fee used for calculating BIP 125 replacement and mempool limiting. (1000 satoshis/kB)
  • calculation of threshold for a dust output. (effectively 3 * 1000 satoshis/kB)
  • minimum fee rate of a package of transactions to be included in a block created by the mining code. If miners wish to set this minimum they can use the new -blockmintxfee option. (defaults to 1000 satoshis/kB)
The -minrelaytxfee option continues to exist but is recommended to be left unset.


So it would seem if one wanted to control any fee amount code customization would be needed?
 

Peter Tschipper

Active Member
Jan 8, 2016
254
357
In BU we use a floating minrelaytxfee which is set by the parameters of "minlimitertxfee" and "maxlimitertxfee" the minrelay fee will float between these values depending on the size of the mempool and by default floats between 0 and 3.0 satoshis/byte
 
  • Like
Reactions: torusJKL and 7queue