p2pool.git
12 years agomade ReplyMatcher not resend queries and made the example in bitcoin.p2p handle timeouts
Forrest Voight [Thu, 15 Dec 2011 10:47:40 +0000]
made ReplyMatcher not resend queries and made the example in bitcoin.p2p handle timeouts

12 years agoRevert "added block header sanity check"
Forrest Voight [Fri, 16 Dec 2011 04:13:29 +0000]
Revert "added block header sanity check"

This reverts commit 1861ce91aafea62675e2e93129eaa5f79352d1c1, which broke litecoin support.

12 years agoUpdated README to include package names and Bitcoin 0.5.0 dependency
Forrest Voight [Wed, 14 Dec 2011 08:24:17 +0000]
Updated README to include package names and Bitcoin 0.5.0 dependency

12 years agoonly display missing type/handler warnings in debug mode
Forrest Voight [Wed, 14 Dec 2011 08:16:36 +0000]
only display missing type/handler warnings in debug mode

12 years agoimproved deferral.ReplyMatcher
Forrest Voight [Wed, 14 Dec 2011 07:08:24 +0000]
improved deferral.ReplyMatcher

12 years agocleaned up jsonrpc.Server
Forrest Voight [Wed, 14 Dec 2011 06:57:56 +0000]
cleaned up jsonrpc.Server

12 years agowhitespace and imports
Forrest Voight [Tue, 13 Dec 2011 11:50:57 +0000]
whitespace and imports

12 years agoremoved GenericDeferrer and DeferredCacher from util.deferral
Forrest Voight [Tue, 13 Dec 2011 11:49:56 +0000]
removed GenericDeferrer and DeferredCacher from util.deferral

12 years agomoved util.dicts to util.slush and removed unused update_dict function
Forrest Voight [Tue, 13 Dec 2011 11:39:45 +0000]
moved util.dicts to util.slush and removed unused update_dict function

12 years agochanged arguments to add_dicts
Forrest Voight [Tue, 13 Dec 2011 11:34:58 +0000]
changed arguments to add_dicts

12 years agochanged merkle functions to accept hashes instead txs
Forrest Voight [Tue, 13 Dec 2011 06:11:56 +0000]
changed merkle functions to accept hashes instead txs

12 years agochanged example code for bitcoin.p2p to work and do something more useful
Forrest Voight [Tue, 13 Dec 2011 06:02:24 +0000]
changed example code for bitcoin.p2p to work and do something more useful

12 years agoadded some tests for bitcoin.data
Forrest Voight [Tue, 13 Dec 2011 06:00:11 +0000]
added some tests for bitcoin.data

12 years agomade FloatingInteger.__repr__() eval'able
Forrest Voight [Tue, 13 Dec 2011 05:59:34 +0000]
made FloatingInteger.__repr__() eval'able

12 years agoadded block header sanity check
Forrest Voight [Tue, 13 Dec 2011 00:20:50 +0000]
added block header sanity check

12 years agoremoved worker maximum target workarounds. p2pool's difficulty should never run into...
Forrest Voight [Mon, 12 Dec 2011 11:08:52 +0000]
removed worker maximum target workarounds. p2pool's difficulty should never run into problems since networks' MAX_TARGETs are okay

12 years agochanged namecoin testnet to a normal MAX_TARGET
Forrest Voight [Mon, 12 Dec 2011 11:06:41 +0000]
changed namecoin testnet to a normal MAX_TARGET

12 years agofixed jansson's maximum target
Forrest Voight [Mon, 12 Dec 2011 10:42:22 +0000]
fixed jansson's maximum target

12 years agoMerge pull request #7 from RuxiaoMa/patch-1
Forrest Voight [Mon, 12 Dec 2011 10:41:13 +0000]
Merge pull request #7 from RuxiaoMa/patch-1

Show worker's name, added a miner's user-agent

12 years agocleaned up username processing in compute
Forrest Voight [Mon, 12 Dec 2011 10:11:25 +0000]
cleaned up username processing in compute

12 years agomoved status line display into a function
Forrest Voight [Mon, 12 Dec 2011 09:59:49 +0000]
moved status line display into a function

12 years agomerged in litecoin bootstrap DNS handling
Forrest Voight [Mon, 12 Dec 2011 09:53:25 +0000]
merged in litecoin bootstrap DNS handling

12 years agoimproved forest unit tests
Forrest Voight [Mon, 12 Dec 2011 07:29:09 +0000]
improved forest unit tests

12 years agochanged Tracker.get_chain_known to the new, more explicit get_chain
Forrest Voight [Mon, 12 Dec 2011 04:12:45 +0000]
changed Tracker.get_chain_known to the new, more explicit get_chain

12 years agoAdded a miner UA.
Ruxiao Ma [Sun, 11 Dec 2011 09:14:10 +0000]
Added a miner UA.

12 years agoShow worker's name on sending work
Ruxiao Ma [Sun, 11 Dec 2011 09:07:29 +0000]
Show worker's name on sending work

12 years agoinsert question marks instead of throwing exceptions when a character can't be printed
Forrest Voight [Sun, 11 Dec 2011 08:29:50 +0000]
insert question marks instead of throwing exceptions when a character can't be printed

12 years agofixed up RPC identity checkers
Forrest Voight [Sun, 11 Dec 2011 08:11:16 +0000]
fixed up RPC identity checkers

12 years agoremoved i0coin, ixcoin, solidcoin network definitions
Forrest Voight [Sun, 11 Dec 2011 08:08:57 +0000]
removed i0coin, ixcoin, solidcoin network definitions

12 years agoMade "Connected to peer" message include protocol version
Forrest Voight [Sun, 11 Dec 2011 08:02:00 +0000]
Made "Connected to peer" message include protocol version

12 years agoadded AbortPipe to sanely handle errors in logging and timestamping
Forrest Voight [Sun, 11 Dec 2011 07:54:48 +0000]
added AbortPipe to sanely handle errors in logging and timestamping

12 years agofixed unicode handling by opening log file in utf-8 mode
Forrest Voight [Sun, 11 Dec 2011 05:18:19 +0000]
fixed unicode handling by opening log file in utf-8 mode

12 years agochanged strings with a ± character to unicode strings to fix display bug in Windows...
Forrest Voight [Sun, 11 Dec 2011 02:23:05 +0000]
changed strings with a ± character to unicode strings to fix display bug in Windows found by Vanderbleek

12 years agocleaned up forest.Tracker
Forrest Voight [Sun, 11 Dec 2011 02:13:45 +0000]
cleaned up forest.Tracker

12 years agoimproved forest tests
Forrest Voight [Sun, 11 Dec 2011 02:12:27 +0000]
improved forest tests

12 years agoChanged cpuminer's maximum target to 2^256-1 to support Litecoin mining with Artforz...
Forrest Voight [Sun, 11 Dec 2011 00:27:53 +0000]
Changed cpuminer's maximum target to 2^256-1 to support Litecoin mining with Artforz's fork.

Shouldn't interfere with anyone using it on the bitcoin chain, but still incorrect for stock cpuminer nonetheless.

12 years agofixed handling of LoopingCalls in HeightTracker
Forrest Voight [Sat, 10 Dec 2011 22:20:46 +0000]
fixed handling of LoopingCalls in HeightTracker

12 years agomade HeightTracker._think and _think2 catch any errors
Forrest Voight [Sat, 10 Dec 2011 22:18:48 +0000]
made HeightTracker._think and _think2 catch any errors

12 years agofix bug introduced with using relative block heights
Forrest Voight [Sat, 10 Dec 2011 22:02:24 +0000]
fix bug introduced with using relative block heights

12 years agoMerge branch 'cruftless'
Forrest Voight [Sat, 10 Dec 2011 19:51:03 +0000]
Merge branch 'cruftless'

12 years agostyle and import fixes
Forrest Voight [Sat, 10 Dec 2011 04:13:34 +0000]
style and import fixes

12 years agofixed bug in Tracker.remove found by unit tests
Forrest Voight [Sat, 10 Dec 2011 03:59:56 +0000]
fixed bug in Tracker.remove found by unit tests

12 years agoupdated forest tests
Forrest Voight [Sat, 10 Dec 2011 03:58:12 +0000]
updated forest tests

12 years agoadded shares argument to Tracker.__init__
Forrest Voight [Sat, 10 Dec 2011 03:57:32 +0000]
added shares argument to Tracker.__init__

12 years agoadded argument to HeightTracker for minimum distance back to track
Forrest Voight [Fri, 9 Dec 2011 22:47:43 +0000]
added argument to HeightTracker for minimum distance back to track

12 years agoadded target to block header notifications
Forrest Voight [Fri, 9 Dec 2011 22:22:59 +0000]
added target to block header notifications

12 years agoremoved unused arguments to Share methods
Forrest Voight [Fri, 9 Dec 2011 22:17:31 +0000]
removed unused arguments to Share methods

12 years agoadded erf to util.math to support python 2.6
Forrest Voight [Fri, 9 Dec 2011 22:08:40 +0000]
added erf to util.math to support python 2.6

12 years agoset stale confidence to 95% and remove confidence display
Forrest Voight [Fri, 9 Dec 2011 21:56:42 +0000]
set stale confidence to 95% and remove confidence display

12 years agoincremented p2p protocol version
Forrest Voight [Fri, 9 Dec 2011 21:54:12 +0000]
incremented p2p protocol version

12 years agocleaned up --help text
Forrest Voight [Fri, 9 Dec 2011 00:28:36 +0000]
cleaned up --help text

12 years agomade all cache files be saved in data/
Forrest Voight [Thu, 8 Dec 2011 23:48:26 +0000]
made all cache files be saved in data/

12 years agoremoved sqlite addrs.dat, replacing it with a text file per network. should be much...
Forrest Voight [Thu, 8 Dec 2011 22:47:42 +0000]
removed sqlite addrs.dat, replacing it with a text file per network. should be much more foolproof!

12 years agodon't save transactions of all shares, moved sigop check to Share.check
Forrest Voight [Thu, 8 Dec 2011 22:22:24 +0000]
don't save transactions of all shares, moved sigop check to Share.check

12 years agoonly cache last 1000 block headers
Forrest Voight [Thu, 8 Dec 2011 09:14:21 +0000]
only cache last 1000 block headers

12 years agofixed bug where HeightTracker updating could cause set_real_work2 to prematurely run
Forrest Voight [Thu, 8 Dec 2011 09:11:29 +0000]
fixed bug where HeightTracker updating could cause set_real_work2 to prematurely run

12 years agoremoved HeightTracker's backing
Forrest Voight [Sun, 4 Dec 2011 19:23:05 +0000]
removed HeightTracker's backing

12 years agoonly save shares in best chain
Forrest Voight [Wed, 7 Dec 2011 20:58:02 +0000]
only save shares in best chain

12 years agofixed bug in tail ranking where output was essentially reversed
Forrest Voight [Wed, 7 Dec 2011 09:07:29 +0000]
fixed bug in tail ranking where output was essentially reversed

12 years agoclean up signaling in main
Forrest Voight [Wed, 7 Dec 2011 06:36:01 +0000]
clean up signaling in main

12 years agofix multiple longpolls
Forrest Voight [Wed, 7 Dec 2011 06:35:04 +0000]
fix multiple longpolls

12 years agocleaned up compute
Forrest Voight [Wed, 7 Dec 2011 04:55:15 +0000]
cleaned up compute

12 years agomoved chain_length up so it can be used in assert
Forrest Voight [Wed, 7 Dec 2011 00:07:48 +0000]
moved chain_length up so it can be used in assert

12 years agoremove data.OkayTracker.add
Forrest Voight [Tue, 6 Dec 2011 23:49:33 +0000]
remove data.OkayTracker.add

12 years agoset change to REAL_CHAIN_LENGTH for one month in the future
Forrest Voight [Tue, 6 Dec 2011 23:21:04 +0000]
set change to REAL_CHAIN_LENGTH for one month in the future

12 years agobring all testnets into sync with their mainnets, unfortunately breaking compatibility
Forrest Voight [Tue, 6 Dec 2011 23:10:47 +0000]
bring all testnets into sync with their mainnets, unfortunately breaking compatibility

12 years agoincrease CHAIN_LENGTH to what it should be - 24 hours
Forrest Voight [Tue, 6 Dec 2011 23:09:02 +0000]
increase CHAIN_LENGTH to what it should be - 24 hours

12 years agoseparated CHAIN_LENGTH and REAL_CHAIN_LENGTH, documented both, and gave REAL_CHAIN_LE...
Forrest Voight [Tue, 6 Dec 2011 23:05:38 +0000]
separated CHAIN_LENGTH and REAL_CHAIN_LENGTH, documented both, and gave REAL_CHAIN_LENGTH an optional dynamic counterpart

12 years agosped up peer finding with a heuristic
Forrest Voight [Tue, 6 Dec 2011 22:34:03 +0000]
sped up peer finding with a heuristic

12 years agoswap no peers and downloading shares errors
Forrest Voight [Mon, 5 Dec 2011 21:06:16 +0000]
swap no peers and downloading shares errors

12 years agomoved skiplists tests
Forrest Voight [Mon, 5 Dec 2011 09:59:52 +0000]
moved skiplists tests

12 years agomoved bitcoin.script tests
Forrest Voight [Mon, 5 Dec 2011 09:53:36 +0000]
moved bitcoin.script tests

12 years agomoved bitcoin.sha256 tests
Forrest Voight [Mon, 5 Dec 2011 09:36:47 +0000]
moved bitcoin.sha256 tests

12 years agomoved getwork tests to test/
Forrest Voight [Mon, 5 Dec 2011 09:32:18 +0000]
moved getwork tests to test/

12 years agomoved forest tests to test/ and fixed them up
Forrest Voight [Mon, 5 Dec 2011 09:26:10 +0000]
moved forest tests to test/ and fixed them up

12 years agoonly display status lines if they have changed or it's been 15 seconds since last
Forrest Voight [Mon, 5 Dec 2011 09:01:29 +0000]
only display status lines if they have changed or it's been 15 seconds since last

12 years agochanged share fraction displays to include confidence intervals and put them all...
Forrest Voight [Mon, 5 Dec 2011 08:16:19 +0000]
changed share fraction displays to include confidence intervals and put them all on one line

12 years agocleaned up data.get_pool_attempts_per_second arguments
Forrest Voight [Mon, 5 Dec 2011 06:43:21 +0000]
cleaned up data.get_pool_attempts_per_second arguments

12 years agoreordered methods of data.Share
Forrest Voight [Mon, 5 Dec 2011 05:07:29 +0000]
reordered methods of data.Share

12 years agofixed dump_addrs.py
Forrest Voight [Sun, 4 Dec 2011 22:18:54 +0000]
fixed dump_addrs.py

12 years agofixed variable shadowing bug in p2p.Protocol.sendShares
Forrest Voight [Sun, 4 Dec 2011 22:12:50 +0000]
fixed variable shadowing bug in p2p.Protocol.sendShares

12 years agomade get_payout_script2 more graceful when bitcoind's validateaddress does not return...
Forrest Voight [Sun, 4 Dec 2011 19:22:49 +0000]
made get_payout_script2 more graceful when bitcoind's validateaddress does not return pubkey

12 years agorenamed new* to *
Forrest Voight [Sun, 4 Dec 2011 19:20:54 +0000]
renamed new* to *

12 years agoremoved TRANSITION_TIME
Forrest Voight [Sun, 4 Dec 2011 18:35:29 +0000]
removed TRANSITION_TIME

12 years agostyle and import fixes
Forrest Voight [Sun, 4 Dec 2011 04:06:38 +0000]
style and import fixes

12 years agoutil.bases.string_to_natural no longer accepts zero-characters at the start. changed...
Forrest Voight [Sun, 4 Dec 2011 03:59:10 +0000]
util.bases.string_to_natural no longer accepts zero-characters at the start. changed users to reflect this

12 years agoadded unit test directory and one unit test - to use, run: trial p2pool
Forrest Voight [Sun, 4 Dec 2011 03:40:05 +0000]
added unit test directory and one unit test - to use, run: trial p2pool

12 years agoautomatically generate --help text for port defaults from network definitions
Forrest Voight [Sun, 4 Dec 2011 01:07:03 +0000]
automatically generate --help text for port defaults from network definitions

12 years agoremoved ixcoin, i0coin, solidcoin support
Forrest Voight [Sun, 4 Dec 2011 01:05:07 +0000]
removed ixcoin, i0coin, solidcoin support

12 years agomoved p2pool network definitions to p2pool.networks
Forrest Voight [Sun, 4 Dec 2011 00:39:21 +0000]
moved p2pool network definitions to p2pool.networks

12 years agomoved bitcoin.data.Tracker to util.forest.Tracker
Forrest Voight [Sun, 4 Dec 2011 00:38:28 +0000]
moved bitcoin.data.Tracker to util.forest.Tracker

12 years agobunch shares instead of sending them individually
Forrest Voight [Sat, 3 Dec 2011 23:46:13 +0000]
bunch shares instead of sending them individually

12 years agoinlined share_share
Forrest Voight [Sat, 3 Dec 2011 23:37:58 +0000]
inlined share_share

12 years agoMerge branch 'remove_low_bandwidth' into cruftless
Forrest Voight [Sat, 3 Dec 2011 23:34:35 +0000]
Merge branch 'remove_low_bandwidth' into cruftless

Conflicts:
p2pool/main.py
p2pool/p2p.py

12 years agorenamed send_shares to sendShares
Forrest Voight [Sat, 3 Dec 2011 23:27:03 +0000]
renamed send_shares to sendShares

12 years agoremoved share0s
Forrest Voight [Sat, 3 Dec 2011 23:01:24 +0000]
removed share0s

12 years agoremoved unused argument 'full' to p2p.Protocol.send_shares
Forrest Voight [Sat, 3 Dec 2011 22:50:25 +0000]
removed unused argument 'full' to p2p.Protocol.send_shares

12 years agomade net an argument instead of sticking it in argparse's results
Forrest Voight [Sat, 3 Dec 2011 06:57:52 +0000]
made net an argument instead of sticking it in argparse's results

12 years agoadded support for pubkeys via validateaddress and removed all of the support for...
Forrest Voight [Sat, 3 Dec 2011 06:51:03 +0000]
added support for pubkeys via validateaddress and removed all of the support for IP transactions

12 years agoremoved unnecessary arguments to getwork
Forrest Voight [Sat, 3 Dec 2011 03:08:52 +0000]
removed unnecessary arguments to getwork