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

12 years agomove status display around and always display it, even when sharechain is not present
Forrest Voight [Sun, 5 Feb 2012 09:12:15 +0000]
move status display around and always display it, even when sharechain is not present

12 years agouse max(time_since_first_pseudoshare, 10 minute) window instead of 10 minute window...
Forrest Voight [Sun, 5 Feb 2012 08:40:11 +0000]
use max(time_since_first_pseudoshare, 10 minute) window instead of 10 minute window for pseudoshare speed estimation

12 years agofix for previous commit for initial sharechain download
Forrest Voight [Sun, 5 Feb 2012 08:11:27 +0000]
fix for previous commit for initial sharechain download

12 years agodon't request obviously useless shares
Forrest Voight [Sun, 5 Feb 2012 08:00:48 +0000]
don't request obviously useless shares

12 years agomade p2p timeout reset on received data instead of entire received message, so that...
Forrest Voight [Sat, 4 Feb 2012 19:49:34 +0000]
made p2p timeout reset on received data instead of entire received message, so that slow connections don't always time out

12 years agoremove support for understanding old-style share_info data
Forrest Voight [Sat, 4 Feb 2012 07:18:21 +0000]
remove support for understanding old-style share_info data

12 years agoMerge pull request #12 from dooglus/master
Forrest Voight [Sat, 4 Feb 2012 07:08:11 +0000]
Merge pull request #12 from dooglus/master

Fix get_current_scaled_txouts() to not exclude the lowest contributor who is over the 0.01 payment threshold

12 years agofixed format_binomial_conf not scaling percentages to 100 0.8.3
Forrest Voight [Sat, 4 Feb 2012 06:45:31 +0000]
fixed format_binomial_conf not scaling percentages to 100

12 years agoconvert net module contents into dicts
Forrest Voight [Sat, 4 Feb 2012 06:44:43 +0000]
convert net module contents into dicts

12 years agoredo status display
Forrest Voight [Sat, 4 Feb 2012 06:22:18 +0000]
redo status display

12 years agos/depreciated/deprecated/g
Forrest Voight [Sat, 4 Feb 2012 06:21:42 +0000]
s/depreciated/deprecated/g

12 years agoremoved unnecessary imports
Forrest Voight [Sat, 4 Feb 2012 05:39:17 +0000]
removed unnecessary imports

12 years agoadded one decimal place to format_binomial_conf output
Forrest Voight [Sat, 4 Feb 2012 05:39:00 +0000]
added one decimal place to format_binomial_conf output

12 years agoadded local hash rate estimation based on pseudoshares
Forrest Voight [Sat, 4 Feb 2012 05:35:54 +0000]
added local hash rate estimation based on pseudoshares

12 years agofixed compressed pubkey handling
Forrest Voight [Sat, 4 Feb 2012 04:54:07 +0000]
fixed compressed pubkey handling

12 years agosome fixes to multiple chain merged mining. testing on both namecoin and namecoin...
Forrest Voight [Sat, 4 Feb 2012 02:34:12 +0000]
some fixes to multiple chain merged mining. testing on both namecoin and namecoin-testnet indicate that block solutions are only being rejected because they fail the POW test

12 years agomultiple chain merged mining - not actually tested with multiple chains yet!
Forrest Voight [Sat, 4 Feb 2012 02:20:43 +0000]
multiple chain merged mining - not actually tested with multiple chains yet!

12 years agomoved CONF_FILE_FUNCs from networks to bitcoin.networks, added the namecoin func...
Forrest Voight [Fri, 3 Feb 2012 20:08:20 +0000]
moved CONF_FILE_FUNCs from networks to bitcoin.networks, added the namecoin func, fixed the testnet funcs

12 years agopass merkle_branch to Share instead of making it calculate it
Forrest Voight [Fri, 3 Feb 2012 19:31:44 +0000]
pass merkle_branch to Share instead of making it calculate it

12 years agoskip verification of own shares, unless in debug mode
Forrest Voight [Fri, 3 Feb 2012 18:52:32 +0000]
skip verification of own shares, unless in debug mode

12 years agoonly enable merkle branch assertion in debug mode
Forrest Voight [Fri, 3 Feb 2012 18:46:29 +0000]
only enable merkle branch assertion in debug mode

12 years agocache generation tx merkle branch instead of recalculating it whenever work is requested
Forrest Voight [Fri, 3 Feb 2012 18:46:08 +0000]
cache generation tx merkle branch instead of recalculating it whenever work is requested

12 years agoadded some binomial checks and test cases
Forrest Voight [Wed, 1 Feb 2012 19:17:54 +0000]
added some binomial checks and test cases

12 years agoautomated windows build process
Forrest Voight [Wed, 1 Feb 2012 07:03:33 +0000]
automated windows build process

12 years agoimproved generated configuration file - previously, comment character broke p2pool...
Forrest Voight [Wed, 1 Feb 2012 05:54:38 +0000]
improved generated configuration file - previously, comment character broke p2pool's config parsing

12 years agoadded configuration file finders for litecoin and both testnets
Forrest Voight [Wed, 1 Feb 2012 05:38:32 +0000]
added configuration file finders for litecoin and both testnets

12 years agofix peer ranking for bootstrap addresses
Forrest Voight [Wed, 1 Feb 2012 05:28:10 +0000]
fix peer ranking for bootstrap addresses

12 years agoFix get_current_scaled_txouts() to not exclude the lowest contributor who is over...
Chris Moore [Tue, 31 Jan 2012 20:46:09 +0000]
Fix get_current_scaled_txouts() to not exclude the lowest contributor who is over the 0.01 payment threshold.

12 years agomoved util.bases into util.math
Forrest Voight [Tue, 31 Jan 2012 19:41:03 +0000]
moved util.bases into util.math

12 years agofix incomplete base58 move from a7d3ae4
Forrest Voight [Tue, 31 Jan 2012 19:44:47 +0000]
fix incomplete base58 move from a7d3ae4

12 years agouse exact payout distribution of last share instead a new fake share's for /current_p...
Forrest Voight [Tue, 31 Jan 2012 18:32:23 +0000]
use exact payout distribution of last share instead a new fake share's for /current_payouts

12 years agomoved base58 functions into bitcoin.data
Forrest Voight [Tue, 31 Jan 2012 04:35:46 +0000]
moved base58 functions into bitcoin.data

12 years agomore verbose invalid hash message
Forrest Voight [Tue, 31 Jan 2012 03:54:15 +0000]
more verbose invalid hash message

12 years agocreate an empty file named "ready_flag" in data dir when listening on worker port
Forrest Voight [Tue, 31 Jan 2012 03:29:18 +0000]
create an empty file named "ready_flag" in data dir when listening on worker port

12 years agochanged irc announcement to bold only
Forrest Voight [Mon, 30 Jan 2012 19:41:29 +0000]
changed irc announcement to bold only

12 years agoonly display address in irc announcement, not "Address. Address: ..."
Forrest Voight [Mon, 30 Jan 2012 15:00:15 +0000]
only display address in irc announcement, not "Address. Address: ..."

12 years agoretry p2p port on all errors and direct errors to stderr
Forrest Voight [Mon, 30 Jan 2012 19:26:50 +0000]
retry p2p port on all errors and direct errors to stderr

12 years agoretry listening on worker port in background
Forrest Voight [Mon, 30 Jan 2012 19:17:00 +0000]
retry listening on worker port in background

12 years agoretry binding to p2p port in the background if it is busy
Forrest Voight [Mon, 30 Jan 2012 19:07:57 +0000]
retry binding to p2p port in the background if it is busy

12 years agorestore behaviour of dying in case of a "fatal error", which was accidentally removed...
Forrest Voight [Mon, 30 Jan 2012 19:04:29 +0000]
restore behaviour of dying in case of a "fatal error", which was accidentally removed in 4e331f1f9

12 years agoretry listening on worker port
Forrest Voight [Mon, 30 Jan 2012 19:03:22 +0000]
retry listening on worker port

12 years agodon't rebroadcast all shares during initial sharechain download
Forrest Voight [Mon, 30 Jan 2012 18:44:41 +0000]
don't rebroadcast all shares during initial sharechain download

12 years agofixed stale_info documentation in p2pool.data
Forrest Voight [Mon, 30 Jan 2012 17:35:54 +0000]
fixed stale_info documentation in p2pool.data

12 years agofixed typo in irc announcer
Forrest Voight [Mon, 30 Jan 2012 14:55:22 +0000]
fixed typo in irc announcer

12 years agodisplay peer address in "Processing shares" message
Forrest Voight [Mon, 30 Jan 2012 14:52:49 +0000]
display peer address in "Processing shares" message

12 years agoadded testcase for litecoin pow hash function
Forrest Voight [Sun, 29 Jan 2012 03:29:35 +0000]
added testcase for litecoin pow hash function

12 years agoremoved PassthruType and moved hashing functions from util.pack to bitcoin.data
Forrest Voight [Sun, 29 Jan 2012 03:21:19 +0000]
removed PassthruType and moved hashing functions from util.pack to bitcoin.data

12 years agoimprovements to irc announcer
Forrest Voight [Sun, 29 Jan 2012 02:19:49 +0000]
improvements to irc announcer

12 years agoremoved unnecessary headers from main.py
Forrest Voight [Sun, 29 Jan 2012 02:02:53 +0000]
removed unnecessary headers from main.py

12 years agofixed irc bot not remembering announced blocks
Forrest Voight [Sun, 29 Jan 2012 01:59:31 +0000]
fixed irc bot not remembering announced blocks

12 years agochanged formatting of stale proportion/efficiency. ±, you will be missed
Forrest Voight [Sun, 29 Jan 2012 01:42:48 +0000]
changed formatting of stale proportion/efficiency. ±, you will be missed

12 years agoprefer own bitcoin-stales to others' older shares, just because it makes the orphanin...
Forrest Voight [Sun, 29 Jan 2012 00:15:17 +0000]
prefer own bitcoin-stales to others' older shares, just because it makes the orphaning non-obvious

12 years agomoved base58 to only p2pool.bitcoin.data
Forrest Voight [Sat, 28 Jan 2012 21:31:49 +0000]
moved base58 to only p2pool.bitcoin.data

12 years agomoved generic data types to util.pack
Forrest Voight [Fri, 27 Jan 2012 15:18:05 +0000]
moved generic data types to util.pack

12 years agocleaned up AttributeDelta handling
Forrest Voight [Sat, 28 Jan 2012 21:26:35 +0000]
cleaned up AttributeDelta handling

12 years agoadded submitold to work responses, which should cause miners to submit stales
Forrest Voight [Sat, 28 Jan 2012 05:13:09 +0000]
added submitold to work responses, which should cause miners to submit stales