p2pool.git
11 years agoinstead of 300, request a random length of shares so that it always eventually gets... 9.3
Forrest Voight [Sun, 2 Dec 2012 17:53:54 +0000]
instead of 300, request a random length of shares so that it always eventually gets past a too-large chunk of the sharechain

11 years agodecreased number of requested shares from 501 to 300 to avoid "sharereply too long...
Forrest Voight [Sun, 2 Dec 2012 04:02:57 +0000]
decreased number of requested shares from 501 to 300 to avoid "sharereply too long" errors

11 years agofixed: don't display meaningless "punishing share for 'not all txs present'" message...
Forrest Voight [Sun, 2 Dec 2012 02:55:08 +0000]
fixed: don't display meaningless "punishing share for 'not all txs present'" message at start

11 years agoremove "KNOWN" and "MINING"
Rav3nPL [Fri, 30 Nov 2012 00:08:28 +0000]
remove "KNOWN" and "MINING"

11 years agoDo not print "Sending 0 shares"
Rav3nPL [Fri, 30 Nov 2012 00:04:08 +0000]
Do not print "Sending 0 shares"

11 years agoAdded print tx hash to output
Rav3nPL [Thu, 29 Nov 2012 23:58:35 +0000]
Added print tx hash to output

11 years agomemoize IntType constructor
Forrest Voight [Thu, 29 Nov 2012 19:02:57 +0000]
memoize IntType constructor

11 years agofixed major inefficiency in share checking 9.2
Forrest Voight [Thu, 29 Nov 2012 06:25:55 +0000]
fixed major inefficiency in share checking

11 years agoRevert "changed shares requested from 501 to 50"
Forrest Voight [Thu, 29 Nov 2012 05:13:56 +0000]
Revert "changed shares requested from 501 to 50"

This reverts commit 67a76e69e8eb3ad0e97364d1f9315c3c29d01487.

11 years agooptimized a few routines' time efficiency
Forrest Voight [Thu, 29 Nov 2012 01:35:23 +0000]
optimized a few routines' time efficiency

11 years agosmall speadup for ListType.read
Forrest Voight [Wed, 28 Nov 2012 07:47:22 +0000]
small speadup for ListType.read

11 years agofixed bug, speeding up share loading and verification by 50%
Forrest Voight [Wed, 28 Nov 2012 07:29:33 +0000]
fixed bug, speeding up share loading and verification by 50%

11 years agoincremented network version to 901 9.1
Forrest Voight [Wed, 28 Nov 2012 02:21:53 +0000]
incremented network version to 901

11 years agoremoved old share implementations
Forrest Voight [Mon, 26 Nov 2012 05:38:43 +0000]
removed old share implementations

11 years agoinclude share type in share.html
Forrest Voight [Tue, 27 Nov 2012 16:59:33 +0000]
include share type in share.html

11 years agoalso ignore old shares in initial share exchange
Forrest Voight [Tue, 27 Nov 2012 02:48:39 +0000]
also ignore old shares in initial share exchange

11 years agodon't display meaningless "punishing share for 'not all txs present'" message at...
Forrest Voight [Mon, 26 Nov 2012 17:34:02 +0000]
don't display meaningless "punishing share for 'not all txs present'" message at start

11 years agoignore old share broadcasts
Forrest Voight [Tue, 27 Nov 2012 00:11:17 +0000]
ignore old share broadcasts

11 years agoprint a less scary, more informative message when a share request times out
Forrest Voight [Mon, 26 Nov 2012 23:57:22 +0000]
print a less scary, more informative message when a share request times out

11 years agochanged shares requested from 501 to 50
Forrest Voight [Mon, 26 Nov 2012 19:57:17 +0000]
changed shares requested from 501 to 50

11 years agofix for commit 2de88b3d - start using "stops" in share requests again
Forrest Voight [Mon, 26 Nov 2012 17:04:12 +0000]
fix for commit 2de88b3d - start using "stops" in share requests again

11 years agodecrease default outgoing connections to 6
Forrest Voight [Sun, 25 Nov 2012 19:31:10 +0000]
decrease default outgoing connections to 6

11 years agostart using "stops" in share requests again
Forrest Voight [Sun, 25 Nov 2012 17:31:19 +0000]
start using "stops" in share requests again

11 years agodon't connect to old peers. should reduce bandwidth used
Forrest Voight [Sun, 25 Nov 2012 15:01:14 +0000]
don't connect to old peers. should reduce bandwidth used

11 years agofix to commit ebddba
Forrest Voight [Mon, 19 Nov 2012 21:38:42 +0000]
fix to commit ebddba

11 years agofixed bitcoind warning message not really being ignored
Forrest Voight [Mon, 19 Nov 2012 17:01:23 +0000]
fixed bitcoind warning message not really being ignored

11 years agofix rare failure when starting reported by Smoovius
Forrest Voight [Sun, 18 Nov 2012 22:37:13 +0000]
fix rare failure when starting reported by Smoovius

11 years agoignore bitcoind's annoying "pre-release test build" warning
Forrest Voight [Sun, 18 Nov 2012 06:08:51 +0000]
ignore bitcoind's annoying "pre-release test build" warning

11 years agoretitled Getwork Latency graph to Bitcoind GetBlockTemplate Latency
Forrest Voight [Thu, 15 Nov 2012 18:11:06 +0000]
retitled Getwork Latency graph to Bitcoind GetBlockTemplate Latency

11 years agofixed bug caused when listening on p2p port initially fails
Forrest Voight [Mon, 12 Nov 2012 18:21:17 +0000]
fixed bug caused when listening on p2p port initially fails

11 years agorestored litecoin_testnet's old MAX_TARGET
Forrest Voight [Mon, 12 Nov 2012 16:45:15 +0000]
restored litecoin_testnet's old MAX_TARGET

11 years agoadded --outgoing-conns argument for people who want to decrease bandwidth usage 9.0
Forrest Voight [Thu, 8 Nov 2012 18:54:28 +0000]
added --outgoing-conns argument for people who want to decrease bandwidth usage

11 years agoadded new stratum-compatible share implementation
Forrest Voight [Sun, 4 Nov 2012 20:46:09 +0000]
added new stratum-compatible share implementation

11 years agounlock bitcoin pseudoshare difficulty
Forrest Voight [Mon, 5 Nov 2012 16:34:39 +0000]
unlock bitcoin pseudoshare difficulty

11 years agocompensate for overhead in storing remembered_txs by adding 100 bytes to each transaction
Forrest Voight [Mon, 5 Nov 2012 03:09:30 +0000]
compensate for overhead in storing remembered_txs by adding 100 bytes to each transaction

11 years agolimit remote_tx_hashes set to 10000 items
Forrest Voight [Sun, 4 Nov 2012 22:34:11 +0000]
limit remote_tx_hashes set to 10000 items

11 years agosort COVERAGE_REPORT output
Forrest Voight [Sat, 3 Nov 2012 16:02:27 +0000]
sort COVERAGE_REPORT output

11 years agodo set_best_share after pruning old shares
Forrest Voight [Fri, 2 Nov 2012 22:01:30 +0000]
do set_best_share after pruning old shares

11 years agoinclude merged mining work in simulated mining
Forrest Voight [Fri, 2 Nov 2012 19:36:39 +0000]
include merged mining work in simulated mining

11 years agoinclude transactions in simulated mining
Forrest Voight [Fri, 2 Nov 2012 19:36:08 +0000]
include transactions in simulated mining

11 years agomade test_node find some block solutions
Forrest Voight [Fri, 2 Nov 2012 18:38:22 +0000]
made test_node find some block solutions

11 years agoextended test_node to test switchover
Forrest Voight [Fri, 2 Nov 2012 05:00:19 +0000]
extended test_node to test switchover

11 years agorewrote switchover logic to be more general
Forrest Voight [Fri, 2 Nov 2012 05:00:05 +0000]
rewrote switchover logic to be more general

11 years agoadded MIN_TARGET attribute to p2pool network definitions for testing
Forrest Voight [Fri, 2 Nov 2012 04:58:24 +0000]
added MIN_TARGET attribute to p2pool network definitions for testing

11 years agoadded vps.forre.st to BOOSTRAP_ADDRS for all networks
Forrest Voight [Fri, 2 Nov 2012 20:44:03 +0000]
added vps.forre.st to BOOSTRAP_ADDRS for all networks

11 years agoadded test_nodes, which simulates 3 p2pool nodes mining and exchanging shares
Forrest Voight [Wed, 31 Oct 2012 21:31:27 +0000]
added test_nodes, which simulates 3 p2pool nodes mining and exchanging shares

11 years agomade test_node find an available port to listen to instead of using a fixed one
Forrest Voight [Wed, 31 Oct 2012 21:31:08 +0000]
made test_node find an available port to listen to instead of using a fixed one

11 years agoadded p2pool.main to coverage test
Forrest Voight [Wed, 31 Oct 2012 21:30:29 +0000]
added p2pool.main to coverage test

11 years agomade mining test start a jsonrpc server and go through that to maximize coverage
Forrest Voight [Wed, 31 Oct 2012 17:18:13 +0000]
made mining test start a jsonrpc server and go through that to maximize coverage

11 years agoimproved coverage for VarInt
Forrest Voight [Wed, 31 Oct 2012 17:17:35 +0000]
improved coverage for VarInt

11 years agoadded coverage+find+pylint dev scripts
Forrest Voight [Wed, 31 Oct 2012 15:07:00 +0000]
added coverage+find+pylint dev scripts

11 years agoadded testcase for node+work that simulates mining 100 shares
Forrest Voight [Wed, 31 Oct 2012 05:34:50 +0000]
added testcase for node+work that simulates mining 100 shares

11 years agomade share punishing message not go to stderr and show not only in debug mode
Forrest Voight [Wed, 31 Oct 2012 03:58:30 +0000]
made share punishing message not go to stderr and show not only in debug mode

11 years agoremove now-unnecessary restriction on nodes to forget about (the "raw" message)
Forrest Voight [Wed, 31 Oct 2012 02:34:49 +0000]
remove now-unnecessary restriction on nodes to forget about (the "raw" message)

11 years agoadded support to forrest.Tracker for removing the children of a fork's root
Forrest Voight [Wed, 31 Oct 2012 01:56:39 +0000]
added support to forrest.Tracker for removing the children of a fork's root

11 years agomerged preremove_special and postremove_special since they didn't need to be separate
Forrest Voight [Wed, 31 Oct 2012 01:50:14 +0000]
merged preremove_special and postremove_special since they didn't need to be separate

11 years agoadded donation address to README, matthewh3
Forrest Voight [Wed, 31 Oct 2012 03:26:33 +0000]
added donation address to README, matthewh3

11 years agonever ban localhost
Forrest Voight [Wed, 31 Oct 2012 03:21:38 +0000]
never ban localhost

11 years agodecremented desired_version to 7 to prevent switchover for now
Forrest Voight [Tue, 30 Oct 2012 16:10:17 +0000]
decremented desired_version to 7 to prevent switchover for now

11 years agocache packed sizes of transactions so they don't have to be repacked often
Forrest Voight [Sun, 28 Oct 2012 22:26:37 +0000]
cache packed sizes of transactions so they don't have to be repacked often

11 years agofixed punishing block solutions
Forrest Voight [Sun, 28 Oct 2012 22:11:46 +0000]
fixed punishing block solutions

11 years agomoved share punishment condition checks into Share classes
Forrest Voight [Fri, 26 Oct 2012 14:50:07 +0000]
moved share punishment condition checks into Share classes

11 years agomoving forgetting about old shares into node
Forrest Voight [Sat, 27 Oct 2012 04:10:10 +0000]
moving forgetting about old shares into node

11 years agomoved getwork checks to testcases
Forrest Voight [Fri, 26 Oct 2012 04:53:52 +0000]
moved getwork checks to testcases

11 years agofixed p2p.test_tx_limit testcase
Forrest Voight [Sun, 28 Oct 2012 06:07:55 +0000]
fixed p2p.test_tx_limit testcase

11 years agogetwork latency graph
Forrest Voight [Thu, 25 Oct 2012 16:35:53 +0000]
getwork latency graph

11 years agoadded warning display to graphs page
Forrest Voight [Sat, 27 Oct 2012 03:46:19 +0000]
added warning display to graphs page

11 years agoMerge pull request #41 from maaku/virtualenv
Forrest Voight [Thu, 25 Oct 2012 13:43:46 +0000]
Merge pull request #41 from maaku/virtualenv

Add virtualenv build script for local development.

11 years agoAdd virtualenv build script for local development.
Mark Friedenbach [Wed, 24 Oct 2012 14:56:10 +0000]
Add virtualenv build script for local development.

Add a configure script and Makefile that build out an isolated virtualenv environment with the packages needed for running p2pool. Useful for local development or automated deployment.

11 years agoprevent exceptions from trying to submit txs to bitcoind while connection is lost
Forrest Voight [Sun, 21 Oct 2012 19:37:53 +0000]
prevent exceptions from trying to submit txs to bitcoind while connection is lost

11 years agochanged "desired versions" graph to "desired version rates" graph
Forrest Voight [Sun, 21 Oct 2012 18:23:17 +0000]
changed "desired versions" graph to "desired version rates" graph

11 years agorefactored p2pool node implementation from p2pool.main to p2pool.node. dedicated...
Forrest Voight [Fri, 19 Oct 2012 00:56:33 +0000]
refactored p2pool node implementation from p2pool.main to p2pool.node. dedicated to luke-jr.

11 years agoseparated out Tracker's delta handling into TrackerView class
Forrest Voight [Fri, 19 Oct 2012 02:56:55 +0000]
separated out Tracker's delta handling into TrackerView class

11 years agofixed ordering of "Testing bitcoind XXX connection" messages during startup
Forrest Voight [Fri, 19 Oct 2012 03:19:19 +0000]
fixed ordering of "Testing bitcoind XXX connection" messages during startup

11 years agoadded util.variable.Event.watch_weakref for code reuse
Forrest Voight [Fri, 19 Oct 2012 03:09:29 +0000]
added util.variable.Event.watch_weakref for code reuse

11 years agosplit Tracker's subset_of handling into separate SubsetTracker class
Forrest Voight [Fri, 19 Oct 2012 02:51:39 +0000]
split Tracker's subset_of handling into separate SubsetTracker class

11 years agoremoved getblockcount polling, made unnecessary by having height in getblocktemplate...
Forrest Voight [Fri, 19 Oct 2012 00:59:19 +0000]
removed getblockcount polling, made unnecessary by having height in getblocktemplate response

11 years agoprevent requests for null period of graph data, which causes lots of spam on console
Forrest Voight [Fri, 19 Oct 2012 04:51:06 +0000]
prevent requests for null period of graph data, which causes lots of spam on console

11 years agofixed SkipList.finalize's arguments causing pylint warnings
Forrest Voight [Fri, 19 Oct 2012 17:19:20 +0000]
fixed SkipList.finalize's arguments causing pylint warnings

11 years agoadded some scripts used for development
Forrest Voight [Sat, 20 Oct 2012 19:30:07 +0000]
added some scripts used for development

11 years agoadded some missing imports. them missing shouldn't have any consequences beyond stack...
Forrest Voight [Fri, 19 Oct 2012 17:00:27 +0000]
added some missing imports. them missing shouldn't have any consequences beyond stack traces in some circumstances

11 years agoonly show 1 of every 7 data points so tables aren't pages long
Forrest Voight [Thu, 18 Oct 2012 19:24:22 +0000]
only show 1 of every 7 data points so tables aren't pages long

11 years agopreliminary support for tables alongside graphs
Forrest Voight [Thu, 18 Oct 2012 05:38:50 +0000]
preliminary support for tables alongside graphs

fixup! initial table

11 years agochanged graph switching to use links instead of event handlers. individual views...
Forrest Voight [Thu, 18 Oct 2012 04:58:53 +0000]
changed graph switching to use links instead of event handlers. individual views can now be linked to and refresh works.

11 years agofixed trying to send set as pack.ListType. only causes problem in --debug mode 8.2
Forrest Voight [Thu, 18 Oct 2012 02:39:00 +0000]
fixed trying to send set as pack.ListType. only causes problem in --debug mode

11 years agoFix needed to fix this error with Windows build. See http://stackoverflow.com/questio...
Forrest Voight [Thu, 18 Oct 2012 02:03:54 +0000]
Fix needed to fix this error with Windows build. See stackoverflow.com/questions/1439621/problem-with-loading-win32file-pyd-on-python-2-6

Traceback (most recent call last):
  File "run_p2pool.py", line 3, in <module>
    from p2pool import main
  File "zipextimporter.pyc", line 82, in load_module
  File "p2pool\main.pyc", line 22, in <module>
  File "zipextimporter.pyc", line 82, in load_module
  File "p2pool\bitcoin\worker_interface.pyc", line 12, in <module>
  File "zipextimporter.pyc", line 82, in load_module
  File "p2pool\util\jsonrpc.pyc", line 8, in <module>
  File "zipextimporter.pyc", line 82, in load_module
  File "twisted\web\client.pyc", line 21, in <module>
  File "zipextimporter.pyc", line 82, in load_module
  File "twisted\internet\endpoints.pyc", line 28, in <module>
  File "zipextimporter.pyc", line 82, in load_module
  File "twisted\internet\stdio.pyc", line 28, in <module>
  File "zipextimporter.pyc", line 82, in load_module
  File "twisted\internet\_win32stdio.pyc", line 15, in <module>
  File "zipextimporter.pyc", line 82, in load_module
  File "twisted\internet\_pollingfile.pyc", line 102, in <module>
  File "zipextimporter.pyc", line 98, in load_module
ImportError: MemoryLoadLibrary failed loading win32file.pyd

11 years agoMerge branch 'tx_preforwarding' 8.0
Forrest Voight [Thu, 18 Oct 2012 00:43:26 +0000]
Merge branch 'tx_preforwarding'

11 years agodelay switchover on mainnet until at least Oct 27
Forrest Voight [Thu, 18 Oct 2012 00:23:17 +0000]
delay switchover on mainnet until at least Oct 27

11 years agodon't send irc messages if not in #p2pool channel
Forrest Voight [Wed, 17 Oct 2012 23:49:25 +0000]
don't send irc messages if not in #p2pool channel

11 years agocompensate expected payout amount for donation percentage
Forrest Voight [Wed, 17 Oct 2012 17:26:23 +0000]
compensate expected payout amount for donation percentage

11 years agoadded block number and link to share to "Blocks found in last day" table
Forrest Voight [Wed, 17 Oct 2012 23:39:37 +0000]
added block number and link to share to "Blocks found in last day" table

11 years agoadded /peer_txpool_sizes
Forrest Voight [Tue, 16 Oct 2012 02:54:22 +0000]
added /peer_txpool_sizes

11 years agofixed incompatibility with older versions of Twisted
Forrest Voight [Mon, 15 Oct 2012 07:23:38 +0000]
fixed incompatibility with older versions of Twisted

11 years agoMerge remote-tracking branch 'origin/master' into tx_preforwarding
Forrest Voight [Mon, 15 Oct 2012 06:35:01 +0000]
Merge remote-tracking branch 'origin/master' into tx_preforwarding

11 years agocorrected bitcoin testnet rpc port
Forrest Voight [Mon, 15 Oct 2012 06:34:27 +0000]
corrected bitcoin testnet rpc port

11 years agoadded some sanity checks in p2p transaction handling
Forrest Voight [Mon, 15 Oct 2012 01:55:10 +0000]
added some sanity checks in p2p transaction handling

11 years agoefficiency improvement - don't pass transactions to old peers
Forrest Voight [Mon, 15 Oct 2012 01:18:19 +0000]
efficiency improvement - don't pass transactions to old peers

11 years agoefficiency improvement - pause before passing transactions to bitcoind
Forrest Voight [Mon, 15 Oct 2012 01:17:25 +0000]
efficiency improvement - pause before passing transactions to bitcoind

11 years agoefficiency improvement - cache transaction hashes in getwork response object
Forrest Voight [Mon, 15 Oct 2012 01:17:03 +0000]
efficiency improvement - cache transaction hashes in getwork response object

11 years agonew incompatible share implementation. will switch over 22 hours after 85% of hash...
Forrest Voight [Wed, 2 May 2012 01:45:38 +0000]
new incompatible share implementation. will switch over 22 hours after 85% of hash rate is upgraded