p2pool.git
12 years agofixed not providing "peer" when calling handle_shares in p2p.Node
Forrest Voight [Tue, 17 Jan 2012 21:46:32 +0000]
fixed not providing "peer" when calling handle_shares in p2p.Node

12 years agodifferentiate between incoming and outgoing connections in log messages
Forrest Voight [Tue, 17 Jan 2012 21:02:59 +0000]
differentiate between incoming and outgoing connections in log messages

12 years agoseparated client and server handling into factories. incoming and outgoing connection...
Forrest Voight [Tue, 17 Jan 2012 20:48:39 +0000]
separated client and server handling into factories. incoming and outgoing connections are now separately limited

12 years agochanged handling of addr_store
Forrest Voight [Tue, 17 Jan 2012 18:19:20 +0000]
changed handling of addr_store

12 years agoindentation fixes
Forrest Voight [Tue, 17 Jan 2012 18:17:47 +0000]
indentation fixes

12 years agoallow for variably-sized pubkeys
Forrest Voight [Tue, 17 Jan 2012 18:17:14 +0000]
allow for variably-sized pubkeys

12 years agocombined several lines in README
Forrest Voight [Tue, 17 Jan 2012 18:14:01 +0000]
combined several lines in README

12 years agodon't call set_real_work1 if it's already running, in order to avoid lots of getwork...
Forrest Voight [Mon, 16 Jan 2012 20:06:09 +0000]
don't call set_real_work1 if it's already running, in order to avoid lots of getwork during Bitcoin blockchain downloads

12 years agoAdded X-Is-P2Pool HTTP response header (value: "true")
Forrest Voight [Mon, 16 Jan 2012 00:00:56 +0000]
Added X-Is-P2Pool HTTP response header (value: "true")

12 years agoadded graph of local dead hash rate
Forrest Voight [Sat, 14 Jan 2012 22:29:47 +0000]
added graph of local dead hash rate

12 years agofixed litecoin_scrypt build on linux
Forrest Voight [Sat, 14 Jan 2012 18:56:43 +0000]
fixed litecoin_scrypt build on linux

12 years agofixups to setup.py to include some extra required modules, bundle everything
Forrest Voight [Sat, 14 Jan 2012 02:29:58 +0000]
fixups to setup.py to include some extra required modules, bundle everything
into one file, copy the READMEs, and insert a computed version into the
source

12 years agofixes to ltc_scrypt for MSVC
Forrest Voight [Sat, 14 Jan 2012 02:28:28 +0000]
fixes to ltc_scrypt for MSVC

12 years agoadded graphing of local hash rate
Forrest Voight [Fri, 13 Jan 2012 21:10:47 +0000]
added graphing of local hash rate

12 years agoremoved namecoin p2pools... going to return shortly as pooled merged mining in the...
Forrest Voight [Tue, 10 Jan 2012 18:17:50 +0000]
removed namecoin p2pools... going to return shortly as pooled merged mining in the main pool

12 years agocleaned up anti-bitdust patch
Forrest Voight [Tue, 10 Jan 2012 00:48:54 +0000]
cleaned up anti-bitdust patch

12 years agoException fix for patron_sendmany and a small output cutoff.
Gregory Maxwell [Sun, 8 Jan 2012 08:01:56 +0000]
Exception fix for patron_sendmany and a small output cutoff.

Fixes an exception in patron_sendmany during p2pool syncup and adds a
cutoff (default 0.01 btc) to prevent small outputs. The cutoff can be
adjusted by adding "/amount" to the total requested from patron_sendmany.
Output values below the cutoff are summed up and paid at random in
proportion to their earnings. This prevents wallet pollution by dust
inputs and avoids transaction fees.

12 years agoabstracted Renderer and added week/month graphs
Forrest Voight [Mon, 9 Jan 2012 05:06:11 +0000]
abstracted Renderer and added week/month graphs

12 years agoadded graph of pool hash rate
Forrest Voight [Sun, 8 Jan 2012 06:06:53 +0000]
added graph of pool hash rate

12 years agochanged /patron_uri to /patron_sendmany
Forrest Voight [Sat, 7 Jan 2012 22:59:47 +0000]
changed /patron_uri to /patron_sendmany

12 years agoMerge pull request #9 from goblin/extra_stats
Forrest Voight [Sat, 7 Jan 2012 17:46:12 +0000]
Merge pull request #9 from goblin/extra_stats

Extra stats

12 years agoadded /patron_uri
Forrest Voight [Sat, 7 Jan 2012 16:22:41 +0000]
added /patron_uri

12 years agoadded /current_payouts
Forrest Voight [Sat, 7 Jan 2012 15:42:02 +0000]
added /current_payouts

12 years agoadd a CORS header to response HTTP headers on 9332
goblin [Sat, 7 Jan 2012 15:23:39 +0000]
add a CORS header to response HTTP headers on 9332

This will allow cross-site requests from modern browsers to be able
to query p2pool for stats on the 9332 port.

12 years agofix merkle root linking issue
Forrest Voight [Sat, 7 Jan 2012 14:58:24 +0000]
fix merkle root linking issue

12 years agoadded recent_blocks
goblin [Sat, 7 Jan 2012 13:22:43 +0000]
added recent_blocks

12 years agoadded payout_addr
goblin [Sat, 7 Jan 2012 12:50:40 +0000]
added payout_addr

12 years agorequire a version message before others can be used
Forrest Voight [Sat, 7 Jan 2012 09:51:21 +0000]
require a version message before others can be used

12 years agofixed watchdog handler
Forrest Voight [Sat, 7 Jan 2012 09:41:37 +0000]
fixed watchdog handler

12 years agodon't accept connections from peer versions < 2
Forrest Voight [Sat, 7 Jan 2012 08:07:17 +0000]
don't accept connections from peer versions < 2

12 years agoretry merged block submittal
Forrest Voight [Sat, 7 Jan 2012 08:05:39 +0000]
retry merged block submittal

12 years agoindentation fixed
Forrest Voight [Sat, 7 Jan 2012 07:58:37 +0000]
indentation fixed

12 years agorefactored got_response
Forrest Voight [Sat, 7 Jan 2012 06:19:31 +0000]
refactored got_response

12 years agofixed indentation
Forrest Voight [Sat, 7 Jan 2012 05:11:23 +0000]
fixed indentation

12 years agorefactor functions passed to worker_interface into WorkerBridge class
Forrest Voight [Sat, 7 Jan 2012 04:55:54 +0000]
refactor functions passed to worker_interface into WorkerBridge class

12 years agoremove chain length switchover logic
Forrest Voight [Fri, 6 Jan 2012 03:54:53 +0000]
remove chain length switchover logic

12 years agoupdate litecoin bootstrap addresses
Forrest Voight [Thu, 5 Jan 2012 20:03:02 +0000]
update litecoin bootstrap addresses

12 years agodon't display default ports in /peer_addresses
Forrest Voight [Thu, 5 Jan 2012 20:02:29 +0000]
don't display default ports in /peer_addresses

12 years agoput bootstrap addresses in preferred_addrs so addr timestamps aren't messed up
Forrest Voight [Thu, 5 Jan 2012 11:22:09 +0000]
put bootstrap addresses in preferred_addrs so addr timestamps aren't messed up

12 years agodisplay payout addresses of shares in chain_img
Forrest Voight [Thu, 1 Dec 2011 00:45:12 +0000]
display payout addresses of shares in chain_img

12 years agoremoved current_work dependency from p2p
Forrest Voight [Thu, 5 Jan 2012 11:11:30 +0000]
removed current_work dependency from p2p

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