2014-12-29 17:08:13 +00:00
|
|
|
#!/bin/python
|
|
|
|
#
|
|
|
|
# Cryptonote tipbot - configuration
|
|
|
|
# Copyright 2014 moneromooo
|
|
|
|
# Inspired by "Simple Python IRC bot" by berend
|
|
|
|
#
|
|
|
|
# The Cryptonote tipbot is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU General Public License as published
|
|
|
|
# by the Free Software Foundation; either version 2, or (at your option)
|
|
|
|
# any later version.
|
|
|
|
#
|
|
|
|
|
|
|
|
tipbot_name = "monero-testnet-tipbot"
|
2014-12-31 09:49:20 +00:00
|
|
|
|
2014-12-29 17:08:13 +00:00
|
|
|
irc_network = 'irc.freenode.net'
|
2014-12-31 17:18:50 +00:00
|
|
|
irc_port = 6697
|
2014-12-29 17:08:13 +00:00
|
|
|
irc_send_delay = 0.4
|
2014-12-31 09:49:20 +00:00
|
|
|
irc_welcome_line = 'Welcome to the freenode Internet Relay Chat Network'
|
2015-01-01 10:59:56 +00:00
|
|
|
irc_channels = ['#txtptest000']
|
2014-12-31 09:49:20 +00:00
|
|
|
irc_timeout_seconds = 600
|
2014-12-31 17:18:50 +00:00
|
|
|
irc_use_ssl = True
|
2015-01-09 17:53:41 +00:00
|
|
|
irc_use_sasl = True
|
|
|
|
irc_sasl_name = "monero-tipbot"
|
2014-12-29 17:08:13 +00:00
|
|
|
|
|
|
|
redis_host="127.0.0.1"
|
|
|
|
redis_port=7777
|
|
|
|
|
|
|
|
daemon_host = 'testfull.monero.cc' # '127.0.0.1'
|
|
|
|
daemon_port = 28081 # 6060
|
|
|
|
wallet_host = '127.0.0.1'
|
|
|
|
wallet_port = 6061
|
|
|
|
wallet_update_time = 30 # seconds
|
|
|
|
withdrawal_fee=None # None defaults to the network default fee
|
|
|
|
min_withdraw_amount = None # None defaults to the withdrawal fee
|
2015-01-11 16:28:20 +00:00
|
|
|
withdrawal_mixin=0
|
2014-12-29 17:08:13 +00:00
|
|
|
disable_withdraw_on_error = True
|
|
|
|
|
2015-01-13 12:28:05 +00:00
|
|
|
admins = ["freenode:moneromooo", "freenode:moneromoo"]
|
2014-12-29 17:08:13 +00:00
|
|
|
|
|
|
|
# list of nicks to ignore for rains - bots, trolls, etc
|
|
|
|
no_rain_to_nicks = []
|
|
|
|
|
2015-01-12 21:51:52 +00:00
|
|
|
dice_edge = 0.01
|
|
|
|
dice_max_bet = 5
|
|
|
|
dice_min_bet = 0.001
|
|
|
|
# how much are we prepared to lose
|
|
|
|
dice_max_loss = 10
|
|
|
|
# how much are we prepared to lose as a ratio of our current pot
|
|
|
|
dice_max_loss_ratio = 0.05
|
2014-12-29 17:08:13 +00:00
|
|
|
|