From 30e7373221a198d7a3bc5464e99c6328a4eeb061 Mon Sep 17 00:00:00 2001 From: Forrest Voight Date: Sat, 29 Dec 2012 17:33:16 -0500 Subject: [PATCH] increased default donation amount to 1% to continue to support post-halving development --- p2pool/main.py | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/p2pool/main.py b/p2pool/main.py index 998b426..3f0bc0c 100644 --- a/p2pool/main.py +++ b/p2pool/main.py @@ -227,9 +227,9 @@ def main(args, net, datadir_path, merged_urls, worker_endpoint): # done! print 'Started successfully!' print 'Go to http://127.0.0.1:%i/ to view graphs and statistics!' % (worker_endpoint[1],) - if args.donation_percentage > 0.51: + if args.donation_percentage > 1.1: print '''Donating %.1f%% of work towards P2Pool's development. Thanks for the tip!''' % (args.donation_percentage,) - elif args.donation_percentage < 0.49: + elif args.donation_percentage < .9: print '''Donating %.1f%% of work towards P2Pool's development. Please donate to encourage further development of P2Pool!''' % (args.donation_percentage,) else: print '''Donating %.1f%% of work towards P2Pool's development. Thank you!''' % (args.donation_percentage,) @@ -373,8 +373,8 @@ def run(): help='call getauxblock on this url to get work for merged mining (example: http://ncuser:ncpass@127.0.0.1:10332/)', type=str, action='append', default=[], dest='merged_urls') parser.add_argument('--give-author', metavar='DONATION_PERCENTAGE', - help='donate this percentage of work towards the development of p2pool (default: 0.5)', - type=float, action='store', default=0.5, dest='donation_percentage') + help='donate this percentage of work towards the development of p2pool (default: 1.0)', + type=float, action='store', default=1.0, dest='donation_percentage') parser.add_argument('--iocp', help='use Windows IOCP API in order to avoid errors due to large number of sockets being open', action='store_true', default=False, dest='iocp') -- 1.7.1