mirror of
https://github.com/JoinMarket-Org/joinmarket-clientserver.git
synced 2026-08-14 12:43:38 +02:00
Also use this lib to print non-log messages with standardized color formats. Some clean up in jmbase, remove unused objects/methods.
26 lines
765 B
Python
26 lines
765 B
Python
#! /usr/bin/env python
|
|
from __future__ import (absolute_import, division,
|
|
print_function, unicode_literals)
|
|
from builtins import * # noqa: F401
|
|
|
|
from jmbase import get_log, jmprint
|
|
from jmclient import YieldGeneratorBasic, ygmain
|
|
|
|
"""THESE SETTINGS CAN SIMPLY BE EDITED BY HAND IN THIS FILE:
|
|
"""
|
|
txfee = 100
|
|
cjfee_a = 500
|
|
cjfee_r = '0.00002'
|
|
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)
|
|
jmprint('done', "success")
|