Commit graph

3726 commits

Author SHA1 Message Date
Jannis Froese 96c3be0fa1 move GetPoWHash to CBlockHeader class 2014-05-02 19:55:18 +02:00
langerhans 89c25c96fc Merge pull request #493 from rnicoll/1.7-dev-rc
Prepare development branch for release candidate
2014-04-29 11:14:24 +02:00
Ross Nicoll c7080be8ca
Marked build as production read and removed beta tag in preparation for RC release. 2014-04-29 00:58:51 +01:00
Ross Nicoll e2f9c4bf9e
Corrected timestamp on most recent checkpoint block; previous epoch value was incorrect
when calculating timestamp.
2014-04-28 20:43:45 +01:00
Ross Nicoll fd92b893f9
Inserted checkpoints through the 100k-200k block range, with emphasis on the 145k
(hard fork) and 200k (second reward halving) blocks.
2014-04-28 20:16:18 +01:00
langerhans d2b27b562e Merge pull request #491 from rnicoll/1.7-dev-no-payment
Disable payment protocol pending further assessment and potential rework
2014-04-28 19:42:03 +02:00
Ross Nicoll 725860440c
Replaced tabs with spaces. 2014-04-27 19:56:13 +01:00
Ross Nicoll 5967654730
Disable payment protocol pending further assessment and potential rework. 2014-04-27 19:51:21 +01:00
Ross Nicoll 657a287ddb Merge pull request #490 from leofidus/1.7-subsidy-limit-test
fixed subsidy limit unittest
2014-04-24 23:17:57 +01:00
Jannis Froese 32ff658b53 fixed subsidy limit test 2014-04-24 23:34:18 +02:00
langerhans bcce1e6b42 Fix doubled alerts in alert tests causing them to fail 2014-04-24 21:59:40 +02:00
langerhans 98d551ee55 Shiny, retina ready OS X icon file 2014-04-24 19:50:03 +02:00
Patrick Lodder 7a5ea77afd Added scrypt_tests from 1.6 2014-04-24 20:09:08 +04:00
langerhans 10a7906bd0 Enable splash to go into background on Mac 2014-04-20 18:05:04 +02:00
Ross Nicoll de7c3d8bf8 Merge pull request #481 from patricklodder/1.7-dev-maturity-depth
fix maturity depth in CMerkleTx::GetBlocksToMaturity
2014-04-20 15:09:05 +01:00
Patrick Lodder d0957dc745 DRY calculation for required maturity depth
Having this defined in multiple places is suboptimal and may lead
to porting issues, so I extracted it into it's own function and
let both implementations call that instead.
2014-04-20 17:47:11 +04:00
Ross Nicoll 85392ed8bb Added GetHeightInMainChain() method.
Corrected call to GetDepthInMainChain() with GetHeightInMainChain() when checking coin maturity.
2014-04-20 17:47:11 +04:00
Ross Nicoll e1ce43df71 Corrected block maturity test. 2014-04-20 16:33:36 +04:00
Patrick Lodder cf026beea4 Fix bloom tests, p2sh part.
Fixing only those parts that do not test for p2pubkey scripts
because we have hardly any, if any transactions other than
p2sh. Regression testing will still work for p2pubkey, but
those are performed on bitcoin blocks rather than ours.

Fixed units:
- bloom_create_insert_key
- bloom_match
- merkle_block_1
- merkle_block_3 with an actual doge block
2014-04-19 21:36:10 +04:00
langerhans 77b52b742b Merge pull request #452 from leofidus/1.7-alerttests
add SignAndSave to Alert_tests
2014-04-17 20:24:17 +02:00
langerhans 68ae64ae86 Updated signed alert test data to reflect Dogecoin keys 2014-04-17 20:23:41 +02:00
langerhans ccc7c41859 Merge pull request #468 from patricklodder/1.7-dev-miner-test
Fixed miner test
2014-04-15 20:21:07 +02:00
Patrick Lodder beedf4a363 DUST fix for transaction tests
DOGE does not have a DUST limit, so the only valid test
for us is that a value of 1 should not be marked as dust
2014-04-15 17:11:21 +04:00
Patrick Lodder 54f557865b Fixed miner test
- Changed test pubkey script to the same one used in genesis
- Changed the simulated block interval to 60 seconds
- Replaced extranonce/nonce combinations to be valid on top of our genesis block.
- Added check to make sure all created blocks are included in the active chain
2014-04-15 14:36:00 +04:00
MK 7e87d13b6f Add Dogecoin devs to splashscreen copyright. 2014-04-14 20:36:50 +02:00
langerhans 4ca4a8d5d6 Replace shortcut names with Dogecoin
At least on Windows this is user-facing in the Autostart folder.
2014-04-14 19:07:08 +02:00
langerhans d079f108bf Merge pull request #453 from rnicoll/1.7-dev-rpc-tests
RPC signing test fixes
2014-04-14 19:03:39 +02:00
Patrick Lodder 3820347253 removed the "DIGISHIELD RETARGET" message that was spammed in console. 2014-04-14 19:50:52 +04:00
langerhans 552dd35a14 s/Bit/Doge in wallet encryption dialog 2014-04-13 19:57:08 +02:00
Jannis Froese e791535df3 add SignAndSave to Alert_tests 2014-04-13 13:06:00 +02:00
leofidus 9a482a4d62 Merge pull request #451 from rnicoll/1.7-dev-tx-fee
Correct unit tests for wallet
2014-04-13 12:17:49 +02:00
Ross Nicoll f52fb58f15
Rebuild RPC signing test with Dogecoin multisig address and private keys. 2014-04-13 10:50:19 +01:00
Ross Nicoll 71532b730d
Reworked comment around the code for identifying transactions to spend, to separate explanation of condition, and result.
Corrected comment references to "cent", with "coin" in wallet tests, to match changes to units.
2014-04-13 00:07:06 +01:00
Ross Nicoll eda7f83cd0
Shifted unit in wallet tests from CENT to COIN as a base, to avoid problems with dust avoidance code. 2014-04-12 23:08:48 +01:00
Ross Nicoll ad9434f9f4
Scaled up units when testing dust-avoidance in wallet. 2014-04-12 23:01:49 +01:00
Ross Nicoll f5fc30c2b5
Changed constant used in calculating most applicable coin to use in a transaction, from COIN to DUST_SOFT_LIMIT 2014-04-12 22:51:24 +01:00
Ross Nicoll b08bfd12b4
Modified expected values in wallet tests to take into account the numerically higher transaction costs of DOGE. 2014-04-12 22:50:35 +01:00
Patrick Lodder b2de543c81 change valid base58 key test data to doge network 2014-04-13 01:18:11 +04:00
Ross Nicoll ec5500bd8c
Made it clearer how coins are chosen for use when making a transaction, by switching from COIN as constant
to DUST_SOFT_LIMIT.
2014-04-12 21:59:22 +01:00
Gaurav Chaturvedi 61f7d15643 Cleaning up bitcoin from the UI 2014-04-13 02:01:38 +05:30
langerhans d02ef684c6 Suck it Gitian! 2014-04-12 21:08:32 +02:00
langerhans 876578d4ed Merge pull request #447 from rnicoll/1.7-dev-tests
Fix DoS tests to take into account DigiShield.
2014-04-12 21:05:41 +02:00
Ross Nicoll 870c746c41
Rewrote tests for mining rewards, to at least approximately match Doge.
Due to huge number of DOGE, tests cannot be completed without significant
re-engineering of number handling code.
2014-04-12 20:00:31 +01:00
Ross Nicoll e2d32cebea
Changed the time period covered for DoS tests from 4 days to 3, to take into account massively reduced retarget time from DigiShield. 2014-04-12 17:35:36 +01:00
langerhans 655276768b Merge pull request #444 from leofidus/patch-2
Fix comma separators appearing in dogecoin: URIs
2014-04-11 19:31:07 +02:00
langerhans dcf494740b Merge pull request #441 from rnicoll/1.7-dev-chinese
Merge Chinese translation changes into 1.7
2014-04-11 19:30:56 +02:00
leofidus cad2ff8305 make uri amounts locale independent 2014-04-10 22:14:22 +02:00
kengyu be49e9f395 Update the Traditional Chinese translation
delete a sentence that is not in the original English source.
2014-04-10 22:16:59 +08:00
langerhans 09c0d83ec5 Merge pull request #442 from rnicoll/1.7-dev-upgrade
Removed wallet upgrade code inherited from Bitcoin/Litecoin
2014-04-10 11:14:22 +02:00
langerhans c4691d0b39 Merge pull request #439 from rnicoll/1.7-dev-network-hashps
Update difficulty change interval constant to match 1.6
2014-04-10 11:11:31 +02:00