p2pool.git
12 years agolimit maximum connections to 50
Forrest Voight [Thu, 5 Jan 2012 11:04:19 +0000]
limit maximum connections to 50

12 years agoinclude many collected bootstrap addresses in network definitions. litecoin ones...
Forrest Voight [Thu, 5 Jan 2012 10:33:06 +0000]
include many collected bootstrap addresses in network definitions. litecoin ones need to be expanded.

12 years agoadded /peer_addresses
Forrest Voight [Thu, 5 Jan 2012 10:05:24 +0000]
added /peer_addresses

12 years agoadd a ">" to lines internally sent to stderr so error messages can be easily filtered
Forrest Voight [Thu, 5 Jan 2012 09:06:06 +0000]
add a ">" to lines internally sent to stderr so error messages can be easily filtered

12 years agofix error handling in util.math.add_tuples
Forrest Voight [Thu, 5 Jan 2012 09:05:26 +0000]
fix error handling in util.math.add_tuples

12 years agoinclude date in timestamps
Forrest Voight [Thu, 5 Jan 2012 08:40:10 +0000]
include date in timestamps

12 years agoprint stack outside of watchdog interrupt. enable interrupted system call restarting.
Forrest Voight [Thu, 5 Jan 2012 08:16:23 +0000]
print stack outside of watchdog interrupt. enable interrupted system call restarting.

fixes rphlx's bug that happens when p2pool is left stopped for more than 30 seconds

12 years agomining stats for last hour visible on /global_stats and /local_stats via web interface
Forrest Voight [Tue, 3 Jan 2012 10:49:27 +0000]
mining stats for last hour visible on /global_stats and /local_stats via web interface

12 years agofixed up data.get_pool_attempts_per_second
Forrest Voight [Tue, 3 Jan 2012 08:22:36 +0000]
fixed up data.get_pool_attempts_per_second

12 years agoseparated and updated recent stale proportion calculation
Forrest Voight [Tue, 3 Jan 2012 08:22:21 +0000]
separated and updated recent stale proportion calculation

12 years agoclean up compute
Forrest Voight [Sat, 31 Dec 2011 10:28:25 +0000]
clean up compute

12 years agocompute stale fraction as instantaneous stale amount rather than all-time average...
Forrest Voight [Fri, 30 Dec 2011 10:58:01 +0000]
compute stale fraction as instantaneous stale amount rather than all-time average - calculated stale amount will be slightly incorrect for a while

12 years agofix current_work2 not being updated, which caused spurious "LOST CONTACT WITH BITCOIN...
Forrest Voight [Fri, 30 Dec 2011 07:42:56 +0000]
fix current_work2 not being updated, which caused spurious "LOST CONTACT WITH BITCOIND" messages

12 years agocap work timestamp incrementing at ten minutes
Forrest Voight [Fri, 30 Dec 2011 07:37:37 +0000]
cap work timestamp incrementing at ten minutes

12 years agoclean up worker_interface debug messages
Forrest Voight [Thu, 29 Dec 2011 09:23:31 +0000]
clean up worker_interface debug messages

12 years agocache merkle roots between miners with different usernames
Forrest Voight [Thu, 29 Dec 2011 08:58:03 +0000]
cache merkle roots between miners with different usernames

12 years agoadded check to make sure that pubkey matches address
Forrest Voight [Tue, 27 Dec 2011 21:54:05 +0000]
added check to make sure that pubkey matches address

12 years agouse mean instead of median for stale proportion calculation
Forrest Voight [Tue, 27 Dec 2011 07:07:08 +0000]
use mean instead of median for stale proportion calculation

12 years agohandle GET requests as JSON-RPC getwork calls
Forrest Voight [Sun, 25 Dec 2011 01:24:27 +0000]
handle GET requests as JSON-RPC getwork calls

12 years agochanged removed_unstales and removed_doa_unstales to just counters instead of sets
Forrest Voight [Sat, 24 Dec 2011 08:22:51 +0000]
changed removed_unstales and removed_doa_unstales to just counters instead of sets

12 years agoseparated and cleaned up new block handing and bitcoind polling
Forrest Voight [Sat, 24 Dec 2011 07:35:59 +0000]
separated and cleaned up new block handing and bitcoind polling

12 years agoremoved unnecessary import
Forrest Voight [Sat, 24 Dec 2011 07:25:39 +0000]
removed unnecessary import

12 years agodefer adding of weight dicts until solution is finalized
Forrest Voight [Sat, 24 Dec 2011 07:16:34 +0000]
defer adding of weight dicts until solution is finalized

12 years agoadded args to skiplist finalize methods, which now check results using it
Forrest Voight [Sat, 24 Dec 2011 07:11:58 +0000]
added args to skiplist finalize methods, which now check results using it

12 years agoimproved exception handling in get_payout_script_from_username
Forrest Voight [Sat, 24 Dec 2011 07:08:54 +0000]
improved exception handling in get_payout_script_from_username

12 years agoremoved run_identifier and sped up stale counting
Forrest Voight [Sat, 24 Dec 2011 01:36:10 +0000]
removed run_identifier and sped up stale counting

12 years agorenamed base58 functions
Forrest Voight [Fri, 23 Dec 2011 22:56:35 +0000]
renamed base58 functions

12 years agoremoved work_updated in main
Forrest Voight [Fri, 23 Dec 2011 21:20:00 +0000]
removed work_updated in main

12 years agotransparently handle work indentifier in worker_interface
Forrest Voight [Fri, 23 Dec 2011 20:56:21 +0000]
transparently handle work indentifier in worker_interface

12 years agofix for worker_interface long polling loop bug
Forrest Voight [Fri, 23 Dec 2011 19:34:23 +0000]
fix for worker_interface long polling loop bug

12 years agomoved util.skiplist.NotSkipList to test.util.test_skiplist and some other minor cleanup
Forrest Voight [Fri, 23 Dec 2011 08:11:51 +0000]
moved util.skiplist.NotSkipList to test.util.test_skiplist and some other minor cleanup

12 years agocleaned up worker_interface - use request.getUser() instead of worker_interface.get_u...
Forrest Voight [Fri, 23 Dec 2011 07:32:00 +0000]
cleaned up worker_interface - use request.getUser() instead of worker_interface.get_username(request)

12 years agocleaned up worker_interface - separate logic and web resources
Forrest Voight [Fri, 23 Dec 2011 07:21:01 +0000]
cleaned up worker_interface - separate logic and web resources

12 years agocleaned up worker_interface - misc
Forrest Voight [Fri, 23 Dec 2011 06:54:56 +0000]
cleaned up worker_interface - misc

12 years agocleaned up worker_interface - consolidated long poll handling
Forrest Voight [Fri, 23 Dec 2011 06:37:35 +0000]
cleaned up worker_interface - consolidated long poll handling

12 years agoin worker_interface, cache merkle roots by moving timestamp forward
Forrest Voight [Fri, 23 Dec 2011 06:32:53 +0000]
in worker_interface, cache merkle roots by moving timestamp forward

12 years agoin worker_interface, removed worker memory workarounds
Forrest Voight [Fri, 23 Dec 2011 06:21:38 +0000]
in worker_interface, removed worker memory workarounds

12 years agocleaned up worker_interface - made long polling a json-rpc interface instead of http
Forrest Voight [Fri, 23 Dec 2011 06:00:57 +0000]
cleaned up worker_interface - made long polling a json-rpc interface instead of http

12 years agocleaned up worker_interface - misc
Forrest Voight [Fri, 23 Dec 2011 05:43:54 +0000]
cleaned up worker_interface - misc

12 years agocleaned up worker_interface - removed holds
Forrest Voight [Fri, 23 Dec 2011 05:43:37 +0000]
cleaned up worker_interface - removed holds

12 years agoadded tests for ExpiringDict and util.deferral
Forrest Voight [Fri, 23 Dec 2011 05:35:11 +0000]
added tests for ExpiringDict and util.deferral

12 years agomade skiplist not forget skips until corresponding item in parent is removed instead...
Forrest Voight [Fri, 23 Dec 2011 05:34:17 +0000]
made skiplist not forget skips until corresponding item in parent is removed instead of using ExpiringDict. removed memoize decorator on SkipList.__call__.

12 years agoremove reference cycle from ExpiringDict and made its expiry loop stop on garbage...
Forrest Voight [Fri, 23 Dec 2011 04:51:40 +0000]
remove reference cycle from ExpiringDict and made its expiry loop stop on garbage collection

12 years agodon't enable serialization caching by default
Forrest Voight [Fri, 23 Dec 2011 04:10:38 +0000]
don't enable serialization caching by default

12 years agofixed problem with worker username processing, found by Tril
Forrest Voight [Mon, 19 Dec 2011 06:07:12 +0000]
fixed problem with worker username processing, found by Tril

12 years agobetter handling of merged mining errors
Forrest Voight [Sun, 18 Dec 2011 17:59:38 +0000]
better handling of merged mining errors

12 years agofixed problem with merged mining block submittal
Forrest Voight [Sun, 18 Dec 2011 17:55:35 +0000]
fixed problem with merged mining block submittal

12 years agodisplay message when merged mining work changes
Forrest Voight [Sun, 18 Dec 2011 17:48:39 +0000]
display message when merged mining work changes

12 years agosubmit all merged mining solutions when debug mode is enabled
Forrest Voight [Sun, 18 Dec 2011 17:39:27 +0000]
submit all merged mining solutions when debug mode is enabled

12 years agospeed up forest
Forrest Voight [Sat, 17 Dec 2011 11:49:14 +0000]
speed up forest

12 years agofixup to "separated p2pool and bitcoin network definitions", which broke the "users...
Forrest Voight [Sat, 17 Dec 2011 11:17:05 +0000]
fixup to "separated p2pool and bitcoin network definitions", which broke the "users" web page

12 years agogive estimates of time to next block
Forrest Voight [Thu, 15 Dec 2011 09:49:32 +0000]
give estimates of time to next block

12 years agoadded unit test for datachunker
Forrest Voight [Thu, 15 Dec 2011 22:03:41 +0000]
added unit test for datachunker

12 years agofixed peer ping and addr threadlets not exiting when connection lost
Forrest Voight [Thu, 15 Dec 2011 21:35:39 +0000]
fixed peer ping and addr threadlets not exiting when connection lost

12 years agoremoved unused SUBSIDY_FUNC in bitcoin network definitions
Forrest Voight [Thu, 15 Dec 2011 18:25:47 +0000]
removed unused SUBSIDY_FUNC in bitcoin network definitions

12 years agomade network definitions instances instead of classes
Forrest Voight [Thu, 15 Dec 2011 18:21:09 +0000]
made network definitions instances instead of classes

12 years agoseparated p2pool and bitcoin network definitions
Forrest Voight [Thu, 15 Dec 2011 17:56:30 +0000]
separated p2pool and bitcoin network definitions

12 years agohandle any exceptions while encoding by falling back to ASCII
Forrest Voight [Sat, 17 Dec 2011 10:06:45 +0000]
handle any exceptions while encoding by falling back to ASCII

Attempts to fix picchio's "exceptions.TypeError: encode() argument 1 must be string, not None" bug.

12 years agomade FloatingInteger usage explicit
Forrest Voight [Thu, 15 Dec 2011 13:25:59 +0000]
made FloatingInteger usage explicit

12 years agomade ReplyMatcher not resend queries and made the example in bitcoin.p2p handle timeouts
Forrest Voight [Thu, 15 Dec 2011 10:47:40 +0000]
made ReplyMatcher not resend queries and made the example in bitcoin.p2p handle timeouts

12 years agoRevert "added block header sanity check"
Forrest Voight [Fri, 16 Dec 2011 04:13:29 +0000]
Revert "added block header sanity check"

This reverts commit 1861ce91aafea62675e2e93129eaa5f79352d1c1, which broke litecoin support.

12 years agoUpdated README to include package names and Bitcoin 0.5.0 dependency
Forrest Voight [Wed, 14 Dec 2011 08:24:17 +0000]
Updated README to include package names and Bitcoin 0.5.0 dependency

12 years agoonly display missing type/handler warnings in debug mode
Forrest Voight [Wed, 14 Dec 2011 08:16:36 +0000]
only display missing type/handler warnings in debug mode

12 years agoimproved deferral.ReplyMatcher
Forrest Voight [Wed, 14 Dec 2011 07:08:24 +0000]
improved deferral.ReplyMatcher

12 years agocleaned up jsonrpc.Server
Forrest Voight [Wed, 14 Dec 2011 06:57:56 +0000]
cleaned up jsonrpc.Server

12 years agowhitespace and imports
Forrest Voight [Tue, 13 Dec 2011 11:50:57 +0000]
whitespace and imports

12 years agoremoved GenericDeferrer and DeferredCacher from util.deferral
Forrest Voight [Tue, 13 Dec 2011 11:49:56 +0000]
removed GenericDeferrer and DeferredCacher from util.deferral

12 years agomoved util.dicts to util.slush and removed unused update_dict function
Forrest Voight [Tue, 13 Dec 2011 11:39:45 +0000]
moved util.dicts to util.slush and removed unused update_dict function

12 years agochanged arguments to add_dicts
Forrest Voight [Tue, 13 Dec 2011 11:34:58 +0000]
changed arguments to add_dicts

12 years agochanged merkle functions to accept hashes instead txs
Forrest Voight [Tue, 13 Dec 2011 06:11:56 +0000]
changed merkle functions to accept hashes instead txs

12 years agochanged example code for bitcoin.p2p to work and do something more useful
Forrest Voight [Tue, 13 Dec 2011 06:02:24 +0000]
changed example code for bitcoin.p2p to work and do something more useful

12 years agoadded some tests for bitcoin.data
Forrest Voight [Tue, 13 Dec 2011 06:00:11 +0000]
added some tests for bitcoin.data

12 years agomade FloatingInteger.__repr__() eval'able
Forrest Voight [Tue, 13 Dec 2011 05:59:34 +0000]
made FloatingInteger.__repr__() eval'able

12 years agoadded block header sanity check
Forrest Voight [Tue, 13 Dec 2011 00:20:50 +0000]
added block header sanity check

12 years agoremoved worker maximum target workarounds. p2pool's difficulty should never run into...
Forrest Voight [Mon, 12 Dec 2011 11:08:52 +0000]
removed worker maximum target workarounds. p2pool's difficulty should never run into problems since networks' MAX_TARGETs are okay

12 years agochanged namecoin testnet to a normal MAX_TARGET
Forrest Voight [Mon, 12 Dec 2011 11:06:41 +0000]
changed namecoin testnet to a normal MAX_TARGET

12 years agofixed jansson's maximum target
Forrest Voight [Mon, 12 Dec 2011 10:42:22 +0000]
fixed jansson's maximum target

12 years agoMerge pull request #7 from RuxiaoMa/patch-1
Forrest Voight [Mon, 12 Dec 2011 10:41:13 +0000]
Merge pull request #7 from RuxiaoMa/patch-1

Show worker's name, added a miner's user-agent

12 years agocleaned up username processing in compute
Forrest Voight [Mon, 12 Dec 2011 10:11:25 +0000]
cleaned up username processing in compute

12 years agomoved status line display into a function
Forrest Voight [Mon, 12 Dec 2011 09:59:49 +0000]
moved status line display into a function

12 years agomerged in litecoin bootstrap DNS handling
Forrest Voight [Mon, 12 Dec 2011 09:53:25 +0000]
merged in litecoin bootstrap DNS handling

12 years agoimproved forest unit tests
Forrest Voight [Mon, 12 Dec 2011 07:29:09 +0000]
improved forest unit tests

12 years agochanged Tracker.get_chain_known to the new, more explicit get_chain
Forrest Voight [Mon, 12 Dec 2011 04:12:45 +0000]
changed Tracker.get_chain_known to the new, more explicit get_chain

12 years agoAdded a miner UA.
Ruxiao Ma [Sun, 11 Dec 2011 09:14:10 +0000]
Added a miner UA.

12 years agoShow worker's name on sending work
Ruxiao Ma [Sun, 11 Dec 2011 09:07:29 +0000]
Show worker's name on sending work

12 years agoinsert question marks instead of throwing exceptions when a character can't be printed
Forrest Voight [Sun, 11 Dec 2011 08:29:50 +0000]
insert question marks instead of throwing exceptions when a character can't be printed

12 years agofixed up RPC identity checkers
Forrest Voight [Sun, 11 Dec 2011 08:11:16 +0000]
fixed up RPC identity checkers

12 years agoremoved i0coin, ixcoin, solidcoin network definitions
Forrest Voight [Sun, 11 Dec 2011 08:08:57 +0000]
removed i0coin, ixcoin, solidcoin network definitions

12 years agoMade "Connected to peer" message include protocol version
Forrest Voight [Sun, 11 Dec 2011 08:02:00 +0000]
Made "Connected to peer" message include protocol version

12 years agoadded AbortPipe to sanely handle errors in logging and timestamping
Forrest Voight [Sun, 11 Dec 2011 07:54:48 +0000]
added AbortPipe to sanely handle errors in logging and timestamping

12 years agofixed unicode handling by opening log file in utf-8 mode
Forrest Voight [Sun, 11 Dec 2011 05:18:19 +0000]
fixed unicode handling by opening log file in utf-8 mode

12 years agochanged strings with a ± character to unicode strings to fix display bug in Windows...
Forrest Voight [Sun, 11 Dec 2011 02:23:05 +0000]
changed strings with a ± character to unicode strings to fix display bug in Windows found by Vanderbleek

12 years agocleaned up forest.Tracker
Forrest Voight [Sun, 11 Dec 2011 02:13:45 +0000]
cleaned up forest.Tracker

12 years agoimproved forest tests
Forrest Voight [Sun, 11 Dec 2011 02:12:27 +0000]
improved forest tests

12 years agoChanged cpuminer's maximum target to 2^256-1 to support Litecoin mining with Artforz...
Forrest Voight [Sun, 11 Dec 2011 00:27:53 +0000]
Changed cpuminer's maximum target to 2^256-1 to support Litecoin mining with Artforz's fork.

Shouldn't interfere with anyone using it on the bitcoin chain, but still incorrect for stock cpuminer nonetheless.

12 years agofixed handling of LoopingCalls in HeightTracker
Forrest Voight [Sat, 10 Dec 2011 22:20:46 +0000]
fixed handling of LoopingCalls in HeightTracker

12 years agomade HeightTracker._think and _think2 catch any errors
Forrest Voight [Sat, 10 Dec 2011 22:18:48 +0000]
made HeightTracker._think and _think2 catch any errors

12 years agofix bug introduced with using relative block heights
Forrest Voight [Sat, 10 Dec 2011 22:02:24 +0000]
fix bug introduced with using relative block heights

12 years agoMerge branch 'cruftless'
Forrest Voight [Sat, 10 Dec 2011 19:51:03 +0000]
Merge branch 'cruftless'

12 years agostyle and import fixes
Forrest Voight [Sat, 10 Dec 2011 04:13:34 +0000]
style and import fixes