2020-02-15 21:52:24 +02:00
|
|
|
#!/usr/bin/env python3
|
2017-07-19 16:07:29 +03:00
|
|
|
|
2019-09-27 17:33:08 +02:00
|
|
|
from jmbase import jmprint
|
2018-12-18 19:55:05 +01:00
|
|
|
from jmclient import YieldGeneratorBasic, ygmain
|
2017-07-19 16:52:24 +03:00
|
|
|
|
|
|
|
|
"""THESE SETTINGS CAN SIMPLY BE EDITED BY HAND IN THIS FILE:
|
|
|
|
|
"""
|
2020-11-08 16:04:22 +00:00
|
|
|
|
|
|
|
|
ordertype = 'reloffer' # [string, 'reloffer' or 'absoffer'], which fee type to actually use
|
|
|
|
|
cjfee_a = 500 # [satoshis, any integer] / absolute offer fee you wish to receive for coinjoins (cj)
|
|
|
|
|
cjfee_r = '0.00002' # [fraction, any str between 0-1] / relative offer fee you wish to receive based on a cj's amount
|
|
|
|
|
txfee = 100 # [satoshis, any integer] / the average transaction fee you're adding to coinjoin transactions
|
2017-07-19 16:07:29 +03:00
|
|
|
nickserv_password = ''
|
2020-11-08 16:04:22 +00:00
|
|
|
minsize = 100000 # [satoshis, any integer] / minimum size of your cj offer. Lower cj amounts will be disregarded
|
2017-07-19 16:07:29 +03:00
|
|
|
gaplimit = 6
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
|
ygmain(YieldGeneratorBasic, txfee=txfee, cjfee_a=cjfee_a,
|
|
|
|
|
cjfee_r=cjfee_r, ordertype=ordertype,
|
|
|
|
|
nickserv_password=nickserv_password,
|
2020-11-08 16:04:22 +00:00
|
|
|
minsize=minsize, gaplimit=gaplimit)
|
2019-01-08 18:59:07 +01:00
|
|
|
jmprint('done', "success")
|