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

11 years agosupport for reading and writing ipv6 addresses
Forrest Voight [Wed, 25 Jul 2012 21:16:50 +0000]
support for reading and writing ipv6 addresses

11 years agomade requesting best block header retry
Forrest Voight [Tue, 24 Jul 2012 17:53:13 +0000]
made requesting best block header retry

11 years agoMerge remote-tracking branch 'origin/timestamper'
Forrest Voight [Sat, 21 Jul 2012 02:38:00 +0000]
Merge remote-tracking branch 'origin/timestamper'

Conflicts:
p2pool/main.py
p2pool/web.py

11 years agopass bitcoin warnings through to console+web
Forrest Voight [Fri, 13 Jul 2012 18:31:47 +0000]
pass bitcoin warnings through to console+web

11 years agoincreased timestamp advance from 12 to 120 seconds to avoid miners working on overlap...
Forrest Voight [Fri, 13 Jul 2012 17:00:08 +0000]
increased timestamp advance from 12 to 120 seconds to avoid miners working on overlapping timestamp ranges

11 years agoRevert "added miner timestamp rolling check"
Forrest Voight [Fri, 13 Jul 2012 16:59:29 +0000]
Revert "added miner timestamp rolling check"

This reverts commit fc4ae93a433d125828929afb9f1eeb1e7dd153dc.

11 years agoadded notice about keeping password secret and restarting bitcoin to "no config file...
Forrest Voight [Tue, 10 Jul 2012 00:56:07 +0000]
added notice about keeping password secret and restarting bitcoin to "no config file found" info

11 years agoadded miner timestamp rolling check
Forrest Voight [Sun, 8 Jul 2012 23:09:21 +0000]
added miner timestamp rolling check

11 years agoadded /user_stales to web
Forrest Voight [Sat, 7 Jul 2012 03:30:40 +0000]
added /user_stales to web

11 years agoadded /pings web page
Forrest Voight [Fri, 6 Jul 2012 02:06:53 +0000]
added /pings web page

11 years agobroadcast shares in serial
Forrest Voight [Wed, 4 Jul 2012 02:26:18 +0000]
broadcast shares in serial

11 years agomade WorkerBridge use broadcast_share instead of its own implementation
Forrest Voight [Wed, 4 Jul 2012 16:59:28 +0000]
made WorkerBridge use broadcast_share instead of its own implementation

11 years agoenable deferred debugging when running with --debug
Forrest Voight [Wed, 4 Jul 2012 02:25:48 +0000]
enable deferred debugging when running with --debug

11 years agoremoved some dead code in tests
Forrest Voight [Fri, 6 Jul 2012 19:45:24 +0000]
removed some dead code in tests

11 years agomade tracker attributes private
Forrest Voight [Sun, 1 Jul 2012 08:35:28 +0000]
made tracker attributes private

11 years agoremoved mentions of shares from tracker
Forrest Voight [Sat, 7 Jul 2012 20:48:16 +0000]
removed mentions of shares from tracker

11 years agosome tracker cleanup
Forrest Voight [Thu, 28 Jun 2012 20:20:09 +0000]
some tracker cleanup

11 years agofixed RPC check function not actually doing anything due to mismatched parenthesis
Forrest Voight [Tue, 3 Jul 2012 21:58:53 +0000]
fixed RPC check function not actually doing anything due to mismatched parenthesis

11 years agofill in bitcoin protocol sub-version
Forrest Voight [Mon, 2 Jul 2012 18:59:54 +0000]
fill in bitcoin protocol sub-version

11 years agoremove deferral.sleep's canceller, as it wasn't used anywhere and caused incompatibil...
Forrest Voight [Mon, 2 Jul 2012 15:26:47 +0000]
remove deferral.sleep's canceller, as it wasn't used anywhere and caused incompatibilities with older Twisted versions

11 years agodetermine whether to count a pseudoshare as "dead" based on whether there's been...
Forrest Voight [Mon, 2 Jul 2012 15:25:42 +0000]
determine whether to count a pseudoshare as "dead" based on whether there's been a long poll since the work was generated instead of whether there's been a share since then

11 years agocollapsed poll_bitcoind function into nothing
Forrest Voight [Sun, 24 Jun 2012 16:43:37 +0000]
collapsed poll_bitcoind function into nothing

11 years agosome pylint fixes
Forrest Voight [Sun, 24 Jun 2012 16:30:00 +0000]
some pylint fixes

11 years agochanged delay on getauxblock error from 1 second to 30 so there's less spam when...
Forrest Voight [Sun, 24 Jun 2012 16:03:24 +0000]
changed delay on getauxblock error from 1 second to 30 so there's less spam when mm daemons aren't running

11 years agofixed compute_work using its own previous result instead of bitcoind_work
Forrest Voight [Sun, 24 Jun 2012 15:58:31 +0000]
fixed compute_work using its own previous result instead of bitcoind_work

11 years agomoved WorkerBridge to p2pool.work
Forrest Voight [Sun, 24 Jun 2012 15:55:33 +0000]
moved WorkerBridge to p2pool.work

11 years agomoved merged work, combining work, and LP into WorkerBridge
Forrest Voight [Sun, 24 Jun 2012 07:04:15 +0000]
moved merged work, combining work, and LP into WorkerBridge

11 years agoremoved support for legacy addrs.txt
Forrest Voight [Sun, 24 Jun 2012 06:15:42 +0000]
removed support for legacy addrs.txt

11 years agoseparated best_share_hash and mm_chains from current_work
Forrest Voight [Sun, 24 Jun 2012 05:59:44 +0000]
separated best_share_hash and mm_chains from current_work

11 years agosplit worker logic completely into WorkerBridge class and out of main()
Forrest Voight [Sun, 24 Jun 2012 05:43:47 +0000]
split worker logic completely into WorkerBridge class and out of main()

11 years agomade p2p.Node clean up all delayedcalls. test.test_p2p now passes.
Forrest Voight [Sat, 23 Jun 2012 07:20:10 +0000]
made p2p.Node clean up all delayedcalls. test.test_p2p now passes.

11 years agofixed p2pool.test.test_p2p testcase
Forrest Voight [Fri, 22 Jun 2012 21:48:55 +0000]
fixed p2pool.test.test_p2p testcase

11 years agoremoved exact binomal confidence intervals. the "Wilson score interval" is pretty...
Forrest Voight [Fri, 22 Jun 2012 21:41:42 +0000]
removed exact binomal confidence intervals. the "Wilson score interval" is pretty good, and the exact code is published at forre.st/binomconf

11 years agoremoved tx_get_sigop_count, long unused and now outdated
Forrest Voight [Fri, 22 Jun 2012 21:20:37 +0000]
removed tx_get_sigop_count, long unused and now outdated

11 years agolazily evaluate merkle branches so we can use None in places that
Forrest Voight [Fri, 22 Jun 2012 21:15:00 +0000]
lazily evaluate merkle branches so we can use None in places that
we know shouldn't matter (for example when computing a branch for
an as-of-yet unknown item) instead of using a value and asserting
that it didn't affect the result

11 years agomoved FixedArgumentParser into util.fixargparse
Forrest Voight [Fri, 22 Jun 2012 21:03:57 +0000]
moved FixedArgumentParser into util.fixargparse

11 years agofixed peer block header acceptance criteria being based on p2pool's view of the best... 3.1
Forrest Voight [Mon, 18 Jun 2012 05:12:10 +0000]
fixed peer block header acceptance criteria being based on p2pool's view of the best block instead of bitcoind's, leading to oscillation and arbitrarily long chains potentially being extended

11 years agobump share version to 3 to get people to upgrade 3.0
Forrest Voight [Sun, 17 Jun 2012 04:09:21 +0000]
bump share version to 3 to get people to upgrade

11 years agotrack current block height and use it to calculate block subsidy when skipping ahead...
Forrest Voight [Sun, 17 Jun 2012 03:32:39 +0000]
track current block height and use it to calculate block subsidy when skipping ahead of bitcoind

11 years agoremoved some accidentally committed local code
Forrest Voight [Thu, 14 Jun 2012 22:56:40 +0000]
removed some accidentally committed local code

11 years agodisplay current version on web
Forrest Voight [Thu, 14 Jun 2012 22:49:36 +0000]
display current version on web

11 years agofixed long polling
Forrest Voight [Tue, 12 Jun 2012 07:01:56 +0000]
fixed long polling

11 years agosend long poll when we get transactions to include
Forrest Voight [Sun, 10 Jun 2012 23:19:35 +0000]
send long poll when we get transactions to include