p2pool.git
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

11 years agoadded block size and new transactions per share limits
Forrest Voight [Sun, 14 Oct 2012 07:35:18 +0000]
added block size and new transactions per share limits

11 years agoadded local_txs_cache to peer Protocol object to protect against race conditions...
Forrest Voight [Sat, 13 Oct 2012 22:08:33 +0000]
added local_txs_cache to peer Protocol object to protect against race conditions due to latency of losing_tx message

11 years agoforget about unnecessary transactions
Forrest Voight [Sat, 13 Oct 2012 17:45:09 +0000]
forget about unnecessary transactions

11 years agoadd transactions from bitcoind over p2p connection to known_txs
Forrest Voight [Sat, 13 Oct 2012 16:49:25 +0000]
add transactions from bitcoind over p2p connection to known_txs

11 years agolimit max amount of tx data stored to 1.5 MB
Forrest Voight [Fri, 12 Oct 2012 20:21:06 +0000]
limit max amount of tx data stored to 1.5 MB

11 years agopenalization and sending txs ahead of shares
Forrest Voight [Fri, 12 Oct 2012 20:01:53 +0000]
penalization and sending txs ahead of shares

11 years agocache txs between peers
Forrest Voight [Fri, 12 Oct 2012 17:28:52 +0000]
cache txs between peers

11 years agotx preforwarding working
Forrest Voight [Thu, 4 Oct 2012 03:31:26 +0000]
tx preforwarding working

11 years agoadded new share type
Forrest Voight [Wed, 3 Oct 2012 23:34:56 +0000]
added new share type

11 years agomade desired versions graph lookbehind not exceed chain length
Forrest Voight [Mon, 15 Oct 2012 04:46:19 +0000]
made desired versions graph lookbehind not exceed chain length

11 years agodecreased bitcoin testnet p2pool's chain length to one hour
Forrest Voight [Mon, 15 Oct 2012 06:14:13 +0000]
decreased bitcoin testnet p2pool's chain length to one hour

11 years agomade all web stuff work with short sharechains
Forrest Voight [Sun, 14 Oct 2012 20:21:35 +0000]
made all web stuff work with short sharechains

11 years agodecreased litecoin_testnet periods for testing
Forrest Voight [Sun, 14 Oct 2012 19:52:00 +0000]
decreased litecoin_testnet periods for testing

11 years agocleaned up test.test_p2p.Test.test_sharereq
Forrest Voight [Sat, 13 Oct 2012 16:29:40 +0000]
cleaned up test.test_p2p.Test.test_sharereq

11 years agoreenabled bad peer banning. no longer ban for arbitrary exceptions, though
Forrest Voight [Fri, 12 Oct 2012 20:20:48 +0000]
reenabled bad peer banning. no longer ban for arbitrary exceptions, though

11 years agoremoved now-unused getshares p2p message
Forrest Voight [Thu, 4 Oct 2012 00:15:48 +0000]
removed now-unused getshares p2p message

11 years agorenamed other_transaction_hashes to desired_other_transaction_hashes
Forrest Voight [Wed, 3 Oct 2012 23:34:25 +0000]
renamed other_transaction_hashes to desired_other_transaction_hashes

11 years agoadded expected time to block+share and expected payout to web interface
Forrest Voight [Fri, 5 Oct 2012 15:08:05 +0000]
added expected time to block+share and expected payout to web interface

11 years agoupdated litecoin bootstrap addresses
Forrest Voight [Thu, 4 Oct 2012 03:33:00 +0000]
updated litecoin bootstrap addresses

11 years agomake p2p connection to bitcoin first when on testnet so connections aren't required
Forrest Voight [Fri, 21 Sep 2012 15:22:19 +0000]
make p2p connection to bitcoin first when on testnet so connections aren't required

11 years agochanged share creation function to require only transaction hashes instead of full...
Forrest Voight [Wed, 3 Oct 2012 20:07:01 +0000]
changed share creation function to require only transaction hashes instead of full transactions

11 years agocleaned up share creation
Forrest Voight [Wed, 3 Oct 2012 05:41:43 +0000]
cleaned up share creation

11 years agoadded cancellation support to util.deferral.GenericDeferrer
Forrest Voight [Wed, 3 Oct 2012 01:55:42 +0000]
added cancellation support to util.deferral.GenericDeferrer

11 years agoreplaced usage of python's ConfigParser with handwritten config file parser
Forrest Voight [Sun, 30 Sep 2012 20:26:37 +0000]
replaced usage of python's ConfigParser with handwritten config file parser

11 years agofixed DeferredResource using an attribute on twisted.web.http.Request not present...
Forrest Voight [Sun, 30 Sep 2012 20:13:27 +0000]
fixed DeferredResource using an attribute on twisted.web.http.Request not present in older versions of Twisted

11 years agoreinforce how share loading exception is harmless
Forrest Voight [Sun, 30 Sep 2012 00:57:26 +0000]
reinforce how share loading exception is harmless

11 years agoupdated required Bitcoin version in README
Forrest Voight [Sun, 30 Sep 2012 00:41:25 +0000]
updated required Bitcoin version in README

11 years agoadded --bitcoind-rpc-ssl option
Forrest Voight [Sun, 30 Sep 2012 00:36:08 +0000]
added --bitcoind-rpc-ssl option

11 years agoadded LRU caching of skiplist results
Forrest Voight [Sat, 25 Aug 2012 05:59:38 +0000]
added LRU caching of skiplist results

11 years agoadded pause in share downloader to avoid numerous fast requests for shares nobody has
Forrest Voight [Tue, 18 Sep 2012 18:25:28 +0000]
added pause in share downloader to avoid numerous fast requests for shares nobody has

11 years agoadded network traffic graph
Forrest Voight [Tue, 18 Sep 2012 18:11:36 +0000]
added network traffic graph

11 years agobumped share version to 5 5.0
Forrest Voight [Sun, 26 Aug 2012 22:17:09 +0000]
bumped share version to 5

11 years agoadded bitcoin version check to ensure BIP 0034 support
Forrest Voight [Sun, 26 Aug 2012 22:15:52 +0000]
added bitcoin version check to ensure BIP 0034 support

11 years agoadvanced share version to 4 4.0
Forrest Voight [Sun, 26 Aug 2012 21:42:06 +0000]
advanced share version to 4

11 years agofixed submit_block_rpc improperly handling RPC submitblock result (no longer a boolean)
Forrest Voight [Thu, 23 Aug 2012 22:16:03 +0000]
fixed submit_block_rpc improperly handling RPC submitblock result (no longer a boolean)

11 years agofixed block hash format specifier for when block submittal is attempted with no bitco...
Forrest Voight [Thu, 23 Aug 2012 22:09:41 +0000]
fixed block hash format specifier for when block submittal is attempted with no bitcoin connection

11 years agoupdated to reflect changes in BIP 0022 (getblocktemplate)
Forrest Voight [Thu, 23 Aug 2012 22:01:24 +0000]
updated to reflect changes in BIP 0022 (getblocktemplate)

11 years agoupdated bitcoin testnet p2p prefix for testnet3
Forrest Voight [Tue, 21 Aug 2012 05:40:58 +0000]
updated bitcoin testnet p2p prefix for testnet3

11 years agorewrote share requesting more procedurally using P2P rpc-like "sharereq" command
Forrest Voight [Sun, 19 Aug 2012 23:15:02 +0000]
rewrote share requesting more procedurally using P2P rpc-like "sharereq" command

11 years agoinstead of trying to use bitcoind's clock offset, just use raw system clock for share...
Forrest Voight [Sat, 18 Aug 2012 00:21:28 +0000]
instead of trying to use bitcoind's clock offset, just use raw system clock for share timestamps

11 years agoforgot to add p2pool/util/memoize.py in commit ed68fe40
Forrest Voight [Tue, 14 Aug 2012 19:18:39 +0000]
forgot to add p2pool/util/memoize.py in commit ed68fe40

11 years agoBIP 0022 support (getblocktemplate)
Forrest Voight [Tue, 14 Aug 2012 05:23:16 +0000]
BIP 0022 support (getblocktemplate)

11 years agodynamically create subclasses of jsonrpc.Error for individual error codes so they...
Forrest Voight [Tue, 14 Aug 2012 05:35:15 +0000]
dynamically create subclasses of jsonrpc.Error for individual error codes so they can be caught more flexibly

11 years agoUse min(bitcoin block version, 2) as block version instead of fixing it at 2 so BIP34...
Forrest Voight [Mon, 13 Aug 2012 21:58:11 +0000]
Use min(bitcoin block version, 2) as block version instead of fixing it at 2 so BIP34 voting process isn't messed up

11 years agodon't insert unnecessary NUL byte in coinbase script when not merged mining
Forrest Voight [Mon, 13 Aug 2012 21:55:14 +0000]
don't insert unnecessary NUL byte in coinbase script when not merged mining

11 years agoupdated litecoin block explorer urls
Forrest Voight [Fri, 10 Aug 2012 16:26:45 +0000]
updated litecoin block explorer urls

11 years agowhen checking whether block has been irc announced, look for block hash instead of...
Forrest Voight [Fri, 10 Aug 2012 16:25:04 +0000]
when checking whether block has been irc announced, look for block hash instead of exact message match

11 years agoMerge pull request #37 from grimd34th/patch-2
Forrest Voight [Fri, 10 Aug 2012 00:22:24 +0000]
Merge pull request #37 from grimd34th/patch-2

Update p2pool/networks.py

11 years agoUpdate p2pool/networks.py
grimd34th [Fri, 10 Aug 2012 00:19:57 +0000]
Update p2pool/networks.py

liteco.in domain sold at auction
replace with ip address

11 years agomoved 'lost contact with bitcoind' into warnings handler, so it appears on web gui
Forrest Voight [Thu, 9 Aug 2012 01:02:21 +0000]
moved 'lost contact with bitcoind' into warnings handler, so it appears on web gui

11 years agosupport for BIP 34 - version 2 blocks with height included in coinbase
Forrest Voight [Wed, 8 Aug 2012 06:13:13 +0000]
support for BIP 34 - version 2 blocks with height included in coinbase

11 years agoadded bitcoin.script.create_push_script and improved parsing
Forrest Voight [Wed, 8 Aug 2012 06:12:51 +0000]
added bitcoin.script.create_push_script and improved parsing

11 years agofixed natural_to_string's encoding of 0
Forrest Voight [Wed, 8 Aug 2012 06:11:43 +0000]
fixed natural_to_string's encoding of 0

11 years agofixed p2pool.test.test_p2p, broken by dab6c2e8
Forrest Voight [Wed, 8 Aug 2012 14:20:32 +0000]
fixed p2pool.test.test_p2p, broken by dab6c2e8

11 years agoalways produce blocks with nVersion=1 instead of passing through value received from... 3.2
Forrest Voight [Mon, 6 Aug 2012 01:11:55 +0000]
always produce blocks with nVersion=1 instead of passing through value received from bitcoind, as to avoid problems with BIP 34's requirement for nVersion=2 blocks to include the block height in the coinbase script

11 years agofixed checking mm work against incorrect target when mining on multiple mm chains
Forrest Voight [Sat, 28 Jul 2012 21:40:15 +0000]
fixed checking mm work against incorrect target when mining on multiple mm chains