Ross Nicoll
bfdc854dbd
Disable AuxPoW RPC commands until switchover block
...
AuxPoW RPC commands now return a failure message until the switchover block on the respective
network. Also cleaned up RPC error values to use enum values rather than magic numbers.
2014-08-18 19:08:54 +01:00
langerhans
5c78fef3c1
Merge pull request #617 from rnicoll/1.8-dev-protocol
...
Update protocol version
2014-08-18 00:02:48 +02:00
Ross Nicoll
4f3cb93c6f
Update protocol version
...
Change protocol version so post-AuxPoW clients can refuse to deal with pre-AuxPoW clients.
This mitigates excessive bandwidth usage by pre-AuxPoW clients repeatedly requesting blocks
they don't know how to use.
2014-08-17 22:55:23 +01:00
langerhans
51f69a5a5e
Merge pull request #614 from rnicoll/1.8-dev-forkwarn
...
Adjust trigger conditions for safe mode to suit Dogecoin block time
2014-08-17 20:15:11 +02:00
langerhans
01d8bd1d3c
Merge pull request #615 from rnicoll/1.8-dev-logo
...
Update the wallet logo to represent 1.8
2014-08-17 18:16:05 +02:00
Ross Nicoll
b969d41f23
Update the wallet logo to represent 1.8.
2014-08-17 14:31:03 +01:00
Ross Nicoll
02ab973c22
Adjust trigger conditions for safe mode to suit Dogecoin block time.
...
Values for triggering safe mode are time sensitive, and have not been
modified to take into account the differing block times between Bitcoin and
Dogecoin. This patch changes the interval across which a fork must exist to
override any other fork to 6 hours, and increases the number of blocks an
invalid fork must have before it trips safe mode.
This should help mitigate disruption in the 1.7/1.8 hard fork, but miners will
still need to run with -disablesafemode for the preceeding and following 2-3
days to be sure.
2014-08-17 13:46:55 +01:00
langerhans
5fb0576de7
Merge pull request #611 from rnicoll/1.8-dev-gitian
...
Update Gitian download configuration
2014-08-16 16:21:24 +02:00
langerhans
a4c323ad64
Merge pull request #610 from rnicoll/1.8-dev-checkpoint
...
Blockchain checkpoints 225000-339202
2014-08-16 16:21:12 +02:00
Ross Nicoll
67d6602fa5
Updated checkpoint statistics.
2014-08-16 15:18:56 +01:00
Ross Nicoll
f99e8a777c
Update Win32 Gitian config to match changes in Linux.
2014-08-16 15:09:36 +01:00
langerhans
e13445c06a
Merge pull request #609 from whitj00/patch-1
...
Add tip4commit to dogecoin
2014-08-16 16:03:44 +02:00
Ross Nicoll
c4ba8f7ced
Update Gitian signature weights to reflect dev activity.
2014-08-16 14:41:20 +01:00
Ross Nicoll
fbbef8c274
Corrected RSS URL in Gitian download config.
2014-08-16 14:39:40 +01:00
Ross Nicoll
14befee65a
Added checkpoints in preparation for 1.8 release.
2014-08-16 14:19:53 +01:00
Whit J
231e17e368
Update README.md
2014-08-15 13:38:02 -07:00
langerhans
c810c931fa
Merge pull request #604 from whitj00/patch-3
...
Added automake as dependancy
2014-08-12 19:43:35 +02:00
Whit J
1cb0efd4c4
Added automake as dependancy
...
autogen.sh failed and needed automake, which wasnt installed
2014-08-12 10:40:32 -07:00
langerhans
769fbade61
Merge pull request #601 from rnicoll/1.8-dev-leveldb
...
Fix assertion error loading 1.7 blocks in 1.8 client
2014-08-09 18:19:25 +02:00
Ross Nicoll
c948d4d85b
Added explicit check for key length when loading blocks from disk, to catch 1.7/1.8 change. This
...
avoids the problem where mis-loaded blocks later cause an assertion error.
2014-08-09 15:36:48 +01:00
langerhans
76a4566be0
Merge pull request #598 from rnicoll/1.8-dev-reindex
...
Close cursor in case of error reading blocks
2014-08-08 22:27:10 +02:00
langerhans
435c75b523
Merge pull request #597 from rnicoll/1.8-dev-spv
...
Fix assertion crash when using SPV clients
2014-08-08 22:26:47 +02:00
Ross Nicoll
89fa1c237b
Pointer for GetStats() is now scoped rather than manually deleted.
2014-08-08 20:48:14 +01:00
Ross Nicoll
49c6e8a04f
Added missing step of deleting cursor in case of an error reading blocks from disk.
2014-08-08 20:48:13 +01:00
langerhans
6196efe873
Merge pull request #596 from rnicoll/1.8-dev-unused
...
Removed unused ScanHash_CryptoPP() method
2014-08-08 12:16:05 +02:00
Ross Nicoll
d9b57edc86
Patched copying of block headers so that auxpow is also copied. Fixes assertion crash when using SPV clients.
2014-08-07 20:17:23 +01:00
Ross Nicoll
4776978940
Removed unused ScanHash_CryptoPP() method.
2014-08-07 20:00:03 +01:00
langerhans
a7dbc0038d
Merge pull request #592 from patricklodder/1.8-dev-testnet-fork-fix
...
Apply predetermined block for testnet fork
2014-08-05 11:05:45 +02:00
Patrick Lodder
7d18abff71
Apply predetermined block for testnet fork
...
PR #589 caused a condition for testnet difficulty to not match at
a couple of cases pre block 145k leading to issues with -reindex.
This makes the testnet fork hard at block 157500, while retaining
every case before that block.
2014-08-05 02:27:28 +02:00
langerhans
7b70a67db0
Merge pull request #591 from patricklodder/1.8-version-check-fix
...
Check against the right aux block version number
2014-08-04 19:17:20 +02:00
langerhans
553a17edaa
Merge pull request #589 from patricklodder/1.8-dev-testnet-retarget
...
Break testnet difficulty reset out of never matching condition.
2014-08-04 19:10:17 +02:00
langerhans
2ad389bd43
Merge pull request #588 from patricklodder/1.8-dev-retargeting
...
Tidy up retargeting code and it's debug.log output
2014-08-04 18:52:21 +02:00
langerhans
a61f92618a
Merge pull request #585 from rnicoll/1.8-dev-cleaning
...
Revert unneeded changes introduced as a side-effect AuxPoW.
2014-08-04 18:52:04 +02:00
langerhans
3d1362fdb3
Merge pull request #590 from sigwo/1.8-dev
...
version bump
2014-08-04 18:51:09 +02:00
langerhans
d6f31559b1
Merge pull request #587 from rnicoll/1.8-dev-version
...
Updated version number to 1.8
2014-08-04 18:51:03 +02:00
Patrick Lodder
29bc6bb660
Check against the right aux block version number
...
Previous commit 9e9babb was based on a wrong assumption, actual
CBlockHeader->nVersion for auxpow blocks is
CBlockHeader::CURRENT_VERSION | (AUXPOW_CHAIN_ID
* BLOCK_VERSION_CHAIN_START)
and not BLOCK_VERSION_AUXPOW
2014-08-04 18:18:24 +02:00
Patrick Lodder
766c9a0651
Break testnet difficulty reset out of never matching condition.
...
Testnet resets difficulty if after 2 minutes no block has been
found. However, this feature was implemented with the condition
to only trigger on blocks where no retargeting is done. Since
the introduction of DigiShield, we retarget at every block,
making this condition never to be matched. This commit removes
that condition.
WARNING: THIS COMMIT HARDFORKS THE DOGECOIN TESTNET!
The main network is not affected by this change.
2014-08-04 14:14:36 +02:00
sigwo
d29fef977e
version bump
...
version bump
2014-08-04 08:11:04 -04:00
Patrick Lodder
07f31a38f4
Tidy up retargeting code and debug.log output.
...
- remove unused int64_t retargetSpacing
- modulate timespan in an isolated int64_t nModulatedTimespan
- keep nActualTimespan intact, to retain the original value
- compress debug.log output from 5 into 3 lines while retaining
all information.
2014-08-04 11:05:47 +02:00
Ross Nicoll
fe1fc8fb56
Updated version number to 1.8.
2014-08-04 01:26:49 +01:00
Ross Nicoll
fee8930ddf
Revert unneeded changes introduced as a side-effect AuxPoW.
2014-08-04 01:14:29 +01:00
langerhans
98b93577d2
Merge pull request #584 from patricklodder/1.8-dev-auxpow
...
Enable auxpow for Dogecoin
2014-08-03 23:43:37 +02:00
Patrick Lodder
9e9babb761
Make version check in UpdateTip() consider auxpow block version
2014-08-03 17:05:59 +02:00
Patrick Lodder
4456764bd3
Set chain id to 0x0062
...
0x0062 is 98 in decimal. Dedicated to Josh Wise.
2014-08-03 17:05:59 +02:00
Patrick Lodder
aeb626aeeb
extracted auxpow consts
...
set testnet start of auxpow to block 158100
2014-08-03 17:05:49 +02:00
Patrick Lodder
b6a2963042
send auxpow debug info to debug.log instead of stdout
2014-08-01 16:47:03 +02:00
Patrick Lodder
5f9b807608
Replace getauxblock CBigNum with CScriptNum
2014-08-01 16:43:05 +02:00
Nell Hardcastle
5da72d7da8
Enable RPC commands for mining aux proof of work blocks.
2014-08-01 16:43:05 +02:00
Nell Hardcastle
8808f237aa
Support auxillary proof of work.
...
Rebased from 1.7.1 into 1.7.2, moved AuxPoW checks from AcceptBlock()
into AcceptBlockHeader()
2014-08-01 16:42:50 +02:00
Nell Hardcastle
e87673bd38
Import Vince Durham's aux proof of work implementation.
2014-08-01 13:41:21 +02:00