p2pool.git
12 years agoversion finder now calls git-describe; py2exe build script fixed up
Forrest Voight [Mon, 5 Mar 2012 20:17:05 +0000]
version finder now calls git-describe; py2exe build script fixed up

12 years agoadded error if rpcpassword isn't found in bitcoin.conf
Forrest Voight [Sat, 3 Mar 2012 20:55:23 +0000]
added error if rpcpassword isn't found in bitcoin.conf

12 years agocleaned up ChecksummedType
Forrest Voight [Sat, 3 Mar 2012 20:55:32 +0000]
cleaned up ChecksummedType

12 years agocleaned up sha256 implementation
Forrest Voight [Fri, 2 Mar 2012 22:57:59 +0000]
cleaned up sha256 implementation

12 years agoreplaced self.verified.shares with self.shares where it was okay in order to simplify...
Forrest Voight [Fri, 2 Mar 2012 22:16:17 +0000]
replaced self.verified.shares with self.shares where it was okay in order to simplify things

12 years agoprefer block solutions when shares are competing
Forrest Voight [Fri, 2 Mar 2012 22:14:47 +0000]
prefer block solutions when shares are competing

12 years agouse rpc_getmemorypool to submit blocks
Forrest Voight [Fri, 2 Mar 2012 19:09:16 +0000]
use rpc_getmemorypool to submit blocks

12 years agomerged block submittal into one one function
Forrest Voight [Fri, 2 Mar 2012 19:05:48 +0000]
merged block submittal into one one function

12 years agofix for compatibility with new getblock 0.9.2
Forrest Voight [Tue, 28 Feb 2012 00:36:32 +0000]
fix for compatibility with new getblock

12 years agoadded unix timestamp display to share explorer 0.9.1
Forrest Voight [Mon, 27 Feb 2012 06:36:04 +0000]
added unix timestamp display to share explorer

12 years agofix for starting new chains
Forrest Voight [Mon, 27 Feb 2012 06:24:18 +0000]
fix for starting new chains

12 years agoincrement protocol version
Forrest Voight [Mon, 27 Feb 2012 03:05:43 +0000]
increment protocol version

12 years agoban connections to/from bad peers for an hour
Forrest Voight [Mon, 27 Feb 2012 02:57:02 +0000]
ban connections to/from bad peers for an hour

12 years agodisconnect from peer when error parsing or processing packet
Forrest Voight [Mon, 27 Feb 2012 00:10:12 +0000]
disconnect from peer when error parsing or processing packet

12 years agomade peer an explicit argument to Share
Forrest Voight [Sun, 26 Feb 2012 21:29:10 +0000]
made peer an explicit argument to Share

12 years agoremoved old full argument to p2p.Protocol.sendShares
Forrest Voight [Sun, 26 Feb 2012 20:44:18 +0000]
removed old full argument to p2p.Protocol.sendShares

12 years agochanged web api's interface to be similar to blockexplorer's
Forrest Voight [Sun, 26 Feb 2012 19:11:16 +0000]
changed web api's interface to be similar to blockexplorer's

12 years agochange pseudoshare rate limit from 5 seconds per to 1 second per
Forrest Voight [Sun, 26 Feb 2012 18:45:03 +0000]
change pseudoshare rate limit from 5 seconds per to 1 second per

12 years agouse share chain's time instead of time.time() to decide when to switch over
Forrest Voight [Sun, 26 Feb 2012 18:44:25 +0000]
use share chain's time instead of time.time() to decide when to switch over

12 years agoadded tails list to share explorer
Forrest Voight [Wed, 22 Feb 2012 18:34:00 +0000]
added tails list to share explorer

12 years agoimproved share explorer share view a lot
Forrest Voight [Wed, 22 Feb 2012 18:27:22 +0000]
improved share explorer share view a lot

12 years agofix for 26aaf0cc4
Forrest Voight [Wed, 22 Feb 2012 16:49:18 +0000]
fix for 26aaf0cc4

12 years agoinitial revision of share explorer @ /web/explorer
Forrest Voight [Wed, 22 Feb 2012 15:31:50 +0000]
initial revision of share explorer @ /web/explorer

12 years agocleaned up upnp
Forrest Voight [Wed, 22 Feb 2012 09:10:41 +0000]
cleaned up upnp

12 years agocleaned up address saving
Forrest Voight [Wed, 22 Feb 2012 09:10:29 +0000]
cleaned up address saving

12 years agogeneralized get_current_txouts
Forrest Voight [Wed, 22 Feb 2012 09:05:05 +0000]
generalized get_current_txouts

12 years agocleaned up p2p/rpc port listener retryers
Forrest Voight [Wed, 22 Feb 2012 08:54:40 +0000]
cleaned up p2p/rpc port listener retryers

12 years agomoved all web related stuff into p2pool.web
Forrest Voight [Wed, 22 Feb 2012 08:39:36 +0000]
moved all web related stuff into p2pool.web

12 years agocleaned up p2p a little more
Forrest Voight [Mon, 20 Feb 2012 18:56:16 +0000]
cleaned up p2p a little more

12 years agomade get_current_txouts more accurate by doing a mock payment calculation
Forrest Voight [Mon, 20 Feb 2012 15:12:57 +0000]
made get_current_txouts more accurate by doing a mock payment calculation

12 years agocleaned up handling of BaseProtocol's message prefix and max payload length
Forrest Voight [Mon, 20 Feb 2012 15:03:26 +0000]
cleaned up handling of BaseProtocol's message prefix and max payload length

12 years agoremove temporary graph files
Forrest Voight [Mon, 20 Feb 2012 00:23:46 +0000]
remove temporary graph files

12 years agoremoved support for optional checksums from p2p protocol and transition logic
Forrest Voight [Mon, 20 Feb 2012 00:21:47 +0000]
removed support for optional checksums from p2p protocol and transition logic

12 years agoprotocol change scheduled for mar 4 and feb 26 for litecoin 0.9
Forrest Voight [Fri, 17 Feb 2012 18:57:28 +0000]
protocol change scheduled for mar 4 and feb 26 for litecoin

12 years agokeep track of min_work for shares by adding max_target attribute and min_work attribu...
Forrest Voight [Fri, 17 Feb 2012 18:56:59 +0000]
keep track of min_work for shares by adding max_target attribute and min_work attributedelta

12 years agocleaned up unstales watchers in main
Forrest Voight [Sat, 18 Feb 2012 20:57:25 +0000]
cleaned up unstales watchers in main

12 years agochanged litecoin testnet min difficulty
Forrest Voight [Sat, 18 Feb 2012 19:23:11 +0000]
changed litecoin testnet min difficulty

12 years agoprevent status display exception when starting a new sharechain
Forrest Voight [Sat, 18 Feb 2012 18:04:02 +0000]
prevent status display exception when starting a new sharechain

12 years agoadded peer counts, attempts to share/block, and current block value to /web/log
Forrest Voight [Sat, 18 Feb 2012 17:51:58 +0000]
added peer counts, attempts to share/block, and current block value to /web/log

12 years agoremoved Share.{from_share1a,from_share1b,as_share1b}
Forrest Voight [Fri, 17 Feb 2012 18:54:43 +0000]
removed Share.{from_share1a,from_share1b,as_share1b}

12 years agoadded .new_script back to Share
Forrest Voight [Fri, 17 Feb 2012 18:40:08 +0000]
added .new_script back to Share

12 years agouse pubkey_hash instead of payout_script in main
Forrest Voight [Fri, 17 Feb 2012 18:32:25 +0000]
use pubkey_hash instead of payout_script in main

12 years agomoved work attribute out of forrest.Tracker
Forrest Voight [Fri, 17 Feb 2012 18:29:34 +0000]
moved work attribute out of forrest.Tracker

12 years agomade HeightTracker's backlog length depend on the block period of the parent currency...
Forrest Voight [Sat, 18 Feb 2012 05:30:12 +0000]
made HeightTracker's backlog length depend on the block period of the parent currency network

12 years agos/nameecoin/namecoin/ 0.8.6
Forrest Voight [Fri, 17 Feb 2012 15:36:22 +0000]
s/nameecoin/namecoin/

12 years agoadded missing line to default binom_conf_interval for n=0 case
Forrest Voight [Fri, 17 Feb 2012 15:22:25 +0000]
added missing line to default binom_conf_interval for n=0 case

12 years agomoved SCRIPT to DONATION_SCRIPT in p2pool.data
Forrest Voight [Wed, 15 Feb 2012 19:15:00 +0000]
moved SCRIPT to DONATION_SCRIPT in p2pool.data

12 years agodiscourage shares with incorrect bits in header
Forrest Voight [Thu, 16 Feb 2012 02:59:49 +0000]
discourage shares with incorrect bits in header

12 years agomade util.pack.ComposedType check that the keys in a packet item exactly match the...
Forrest Voight [Mon, 13 Feb 2012 20:40:33 +0000]
made util.pack.ComposedType check that the keys in a packet item exactly match the prototype

12 years agoremoved outdated comment in util.pack
Forrest Voight [Mon, 13 Feb 2012 20:40:05 +0000]
removed outdated comment in util.pack

12 years agoremoved util.math.binomial_conf_center_radius
Forrest Voight [Mon, 13 Feb 2012 04:58:17 +0000]
removed util.math.binomial_conf_center_radius

12 years agocleaned up util.deferral.DeferredCacher and bitcoin.p2p.HeightTracker
Forrest Voight [Mon, 13 Feb 2012 04:57:02 +0000]
cleaned up util.deferral.DeferredCacher and bitcoin.p2p.HeightTracker

12 years agoobserve irc channel and pause so block announce is only said once
Forrest Voight [Mon, 13 Feb 2012 04:28:28 +0000]
observe irc channel and pause so block announce is only said once

12 years agoadded SANE_MAX_TARGET attribute to currency net definitions for maximum pseudoshare...
Forrest Voight [Mon, 13 Feb 2012 04:23:03 +0000]
added SANE_MAX_TARGET attribute to currency net definitions for maximum pseudoshare target

12 years agomove net name from username into message and join #p2pool-alt instead of #p2pool...
Forrest Voight [Mon, 13 Feb 2012 02:24:57 +0000]
move net name from username into message and join #p2pool-alt instead of #p2pool for all chains other than bitcoin

12 years agoupdate litecoin block explorer
Forrest Voight [Mon, 13 Feb 2012 02:17:13 +0000]
update litecoin block explorer

12 years agoadded block explorer urls to block hash displays and changed names of irc bots to...
Forrest Voight [Sun, 12 Feb 2012 23:15:10 +0000]
added block explorer urls to block hash displays and changed names of irc bots to network they're on

12 years agowarn about duplicate share submittals
Forrest Voight [Sun, 12 Feb 2012 22:45:30 +0000]
warn about duplicate share submittals

12 years agoonly compute header_hash once in got_response
Forrest Voight [Sun, 12 Feb 2012 22:45:09 +0000]
only compute header_hash once in got_response

12 years agoremoved --merged-url and --merged-userpass
Forrest Voight [Sun, 12 Feb 2012 22:27:02 +0000]
removed --merged-url and --merged-userpass

12 years agoadded current_payout to stats
Forrest Voight [Sun, 12 Feb 2012 22:16:01 +0000]
added current_payout to stats

12 years agoretry RPC help and initial RPC getblock if they fail
Forrest Voight [Sun, 12 Feb 2012 18:25:02 +0000]
retry RPC help and initial RPC getblock if they fail

12 years agomade get_height_rel_highest using getblock more robust by caching highest seen block...
Forrest Voight [Sun, 12 Feb 2012 18:20:50 +0000]
made get_height_rel_highest using getblock more robust by caching highest seen block height

12 years agoonly allow three incoming connections per /16
Forrest Voight [Sun, 12 Feb 2012 02:58:42 +0000]
only allow three incoming connections per /16

12 years agoonly allow one outgoing connection per /16 at a time to limit the potential for Sybil...
Forrest Voight [Sun, 12 Feb 2012 01:31:51 +0000]
only allow one outgoing connection per /16 at a time to limit the potential for Sybil attacks

12 years agoadded RateMonitor class to clean up rate queue handling in main.py
Forrest Voight [Sun, 12 Feb 2012 00:20:20 +0000]
added RateMonitor class to clean up rate queue handling in main.py

12 years agoadded /web/log with the last data of assorted statistics 0.8.5
Forrest Voight [Sat, 11 Feb 2012 23:01:35 +0000]
added /web/log with the last data of assorted statistics

12 years agofixed --help being broken
Forrest Voight [Sat, 11 Feb 2012 17:55:24 +0000]
fixed --help being broken

12 years agorewrote p2p.Protocol.dataReceived. what was i thinking?
Forrest Voight [Sat, 11 Feb 2012 04:31:41 +0000]
rewrote p2p.Protocol.dataReceived. what was i thinking?

12 years agodon't irc announce shares more than 10 minutes in past or future
Forrest Voight [Sat, 11 Feb 2012 04:10:18 +0000]
don't irc announce shares more than 10 minutes in past or future

12 years agofixed last commit - was using wrong worker_endpoint variable
Forrest Voight [Fri, 10 Feb 2012 21:00:45 +0000]
fixed last commit - was using wrong worker_endpoint variable

12 years agoimproved worker listening patch a bit - host is now combined with port option
Forrest Voight [Fri, 10 Feb 2012 20:51:13 +0000]
improved worker listening patch a bit - host is now combined with port option

12 years agoAdd option so that p2pool can LISTEN for workers on a specific interface
TierraDelFuego [Fri, 10 Feb 2012 20:46:53 +0000]
Add option so that p2pool can LISTEN for workers on a specific interface

Merged from https://github.com/forrestv/p2pool/issues/15

12 years agoimproved HeightTracker.get_height_rel_highest. might solve forking by not being affec...
Forrest Voight [Fri, 10 Feb 2012 20:24:15 +0000]
improved HeightTracker.get_height_rel_highest. might solve forking by not being affected by any edge cases or bitcoin weirdness

12 years agoretry block submittal
Forrest Voight [Fri, 10 Feb 2012 19:21:42 +0000]
retry block submittal

12 years agoalways use checksum in bitcoin p2p communications after 1329696000. thanks to gmaxwel...
Forrest Voight [Fri, 10 Feb 2012 17:47:23 +0000]
always use checksum in bitcoin p2p communications after 1329696000. thanks to gmaxwell for saving p2pool!

12 years agoadded miner_hash_rate and miner_dead_hash_rate to /local_stats, using pseudoshares...
Forrest Voight [Thu, 9 Feb 2012 23:44:11 +0000]
added miner_hash_rate and miner_dead_hash_rate to /local_stats, using pseudoshares and a 10-minute averaging window

12 years agotell users to upgrade bitcoin when RPC getmemorypool returns "Method not found"
Forrest Voight [Thu, 9 Feb 2012 21:19:46 +0000]
tell users to upgrade bitcoin when RPC getmemorypool returns "Method not found"

12 years agoadded --datadir argument
Forrest Voight [Thu, 9 Feb 2012 21:01:29 +0000]
added --datadir argument

12 years agofixed negative zero displayed in format_binomial_conf by using proper rounding functions
Forrest Voight [Thu, 9 Feb 2012 20:47:23 +0000]
fixed negative zero displayed in format_binomial_conf by using proper rounding functions

12 years agoadded format_dt function and used it in status displays
Forrest Voight [Thu, 9 Feb 2012 20:29:14 +0000]
added format_dt function and used it in status displays

12 years agoconverted some parts of binomial_conf_interval to logarithmic scale to avoid underflo...
Forrest Voight [Thu, 9 Feb 2012 19:50:11 +0000]
converted some parts of binomial_conf_interval to logarithmic scale to avoid underflow for large n and x

12 years agohandle work results by using saved closures instead of large tuples
Forrest Voight [Wed, 8 Feb 2012 23:25:57 +0000]
handle work results by using saved closures instead of large tuples

12 years agofixed skiplist unit test, broken since f8646705e
Forrest Voight [Wed, 8 Feb 2012 19:00:13 +0000]
fixed skiplist unit test, broken since f8646705e

12 years agohash original transaction data instead of repacking it, now allowed by 0dd0f73
Forrest Voight [Tue, 7 Feb 2012 19:55:26 +0000]
hash original transaction data instead of repacking it, now allowed by 0dd0f73

12 years agomade VarIntType only accept canonically packed integers and added a test for it
Forrest Voight [Tue, 7 Feb 2012 18:56:30 +0000]
made VarIntType only accept canonically packed integers and added a test for it

12 years agofixed sje397's indentation
Forrest Voight [Wed, 8 Feb 2012 14:34:25 +0000]
fixed sje397's indentation

12 years agoMerge pull request #14 from sje397/master
Forrest Voight [Wed, 8 Feb 2012 14:33:29 +0000]
Merge pull request #14 from sje397/master

Provide uptime in seconds via HTTP API.

12 years agoAdded 'uptime' to HTTP API
Scott [Wed, 8 Feb 2012 14:10:03 +0000]
Added 'uptime' to HTTP API

12 years agofixed bug in rounding fix
Forrest Voight [Mon, 6 Feb 2012 22:57:33 +0000]
fixed bug in rounding fix

12 years agofixed improper efficiency rounding
Forrest Voight [Mon, 6 Feb 2012 21:59:41 +0000]
fixed improper efficiency rounding

12 years agofixed incomplete removal of new_script
Forrest Voight [Mon, 6 Feb 2012 21:59:26 +0000]
fixed incomplete removal of new_script

12 years agoremoved previous_block, nonce, subsidy, new_script, previous_share_hash, donation...
Forrest Voight [Mon, 6 Feb 2012 15:21:02 +0000]
removed previous_block, nonce, subsidy, new_script, previous_share_hash, donation from Share. moved get_sigop_count check back to Share.__init__

12 years agoprefer shares that have the correct bits in block header, in preparation for later...
Forrest Voight [Mon, 6 Feb 2012 15:15:46 +0000]
prefer shares that have the correct bits in block header, in preparation for later auto-forking shares with an incorrect block target

12 years agouse RPC getblock instead of P2P getheaders to rank disjoint sharechains, if bitcoind...
Forrest Voight [Mon, 6 Feb 2012 00:08:34 +0000]
use RPC getblock instead of P2P getheaders to rank disjoint sharechains, if bitcoind has getblock

12 years agoRevert "removed GenericDeferrer and DeferredCacher from util.deferral"
Forrest Voight [Sun, 5 Feb 2012 23:58:23 +0000]
Revert "removed GenericDeferrer and DeferredCacher from util.deferral"

This reverts commit 14d5d0ef74cec64526d55fee5cdce83a4bd4ffb6.

Conflicts:

p2pool/util/deferral.py

12 years agoprint worker username when it submits an invalid pseudoshare
Forrest Voight [Mon, 6 Feb 2012 00:09:45 +0000]
print worker username when it submits an invalid pseudoshare

12 years agocache address indefinitely in data/*/cached_payout_address, confirming that is belong...
Forrest Voight [Sun, 5 Feb 2012 23:37:05 +0000]
cache address indefinitely in data/*/cached_payout_address, confirming that is belongs to local bitcoind on every startup

12 years agohandle reason in p2p connectionLost
Forrest Voight [Sun, 5 Feb 2012 11:20:15 +0000]
handle reason in p2p connectionLost

12 years agoprevent division by 0 when block headers are not fully downloaded
Forrest Voight [Sun, 5 Feb 2012 11:19:57 +0000]
prevent division by 0 when block headers are not fully downloaded