mirror of
https://github.com/JoinMarket-Org/joinmarket-clientserver.git
synced 2026-08-13 12:33:40 +02:00
28 lines
738 B
Python
28 lines
738 B
Python
#! /usr/bin/env python
|
|
from __future__ import absolute_import, print_function
|
|
|
|
import datetime
|
|
import os
|
|
import time
|
|
|
|
from jmclient import (YieldGenerator, YieldGeneratorBasic, ygmain, get_log,
|
|
jm_single, calc_cj_fee)
|
|
|
|
"""THESE SETTINGS CAN SIMPLY BE EDITED BY HAND IN THIS FILE:
|
|
"""
|
|
txfee = 1000
|
|
cjfee_a = 200
|
|
cjfee_r = '0.0002'
|
|
ordertype = 'swreloffer' #'swreloffer' or 'swabsoffer'
|
|
nickserv_password = ''
|
|
max_minsize = 100000
|
|
gaplimit = 6
|
|
|
|
jlog = get_log()
|
|
|
|
if __name__ == "__main__":
|
|
ygmain(YieldGeneratorBasic, txfee=txfee, cjfee_a=cjfee_a,
|
|
cjfee_r=cjfee_r, ordertype=ordertype,
|
|
nickserv_password=nickserv_password,
|
|
minsize=max_minsize, gaplimit=gaplimit)
|
|
print('done')
|