Author

Topic: Is there a way to turn off fee variation in JoinMarket? (Read 135 times)

brand new
Activity: 0
Merit: 0
Really, this article is to a great degree one of the most flawlessly awesome ever    Stickman Hook
member
Activity: 63
Merit: 21
Code:
In JoinMarket, whenever transaction fees are manually set, the fees are varied by +/-20% to prevent fee correlation. I want to turn off this 20% fee variation feature temporarily for something I'm doing, but I don't see anything in the [i]joinmarket.cfg[/i] regarding it. Do any of you know how I can turn it off?

[b][SOLVED][/b]
Go to [code]joinmarket-clientserver/jmclient/jmclient/blockchaininterface.py
Replace
Code:
return int(max(relayfee_in_sat, random.uniform(N * float(0.8), N * float(1.2))))
with
Code:
return(N)
and
Replace
Code:
return int(max(1000, random.uniform(N * float(0.8), N * float(1.2))))
with code]return(N)[/code]

Alternatively, you can comment the line out with a
Code:
#
and and add
Code:
return(N)
underneath instead of replacing.
Jump to: