Skip to content

Commit

Permalink
increased default donation amount to 1% to continue to support post-h…
Browse files Browse the repository at this point in the history
…alving development
  • Loading branch information
forrestv committed Dec 29, 2012
1 parent 1b8644c commit 30e7373
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions p2pool/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,9 @@ def upnp_thread():
# 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,)
Expand Down Expand Up @@ -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')
Expand Down

0 comments on commit 30e7373

Please sign in to comment.