3716 Commits

Author SHA1 Message Date
Jannis Froese
9a2f7a86fc don't send feeless transactions 2014-05-01 21:10:19 +02:00
Jannis Froese
5c8ab69b63 refactor GetMinFee to remove dead code 2014-05-01 21:08:26 +02:00
Jannis Froese
32ff658b53 fixed subsidy limit test 2014-04-24 23:34:18 +02: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
Ross Nicoll
3aa3865f11
Removed wallet upgrade code inherited from Bitcoin/Litecoin, as it does not apply to Dogecoin
wallets (too new at base.
2014-04-09 22:18:28 +01:00
Ross Nicoll
9a02b7a365 Clarified label on constant containing difficulty change interval. 2014-04-09 21:47:44 +01:00
Alan Westbrook
4a4d86a0e3
Change the lookup span modulo constant to something smaller
Why? Not really sure, but whatever.

Conflicts:

	src/rpcmining.cpp
2014-04-09 21:47:08 +01:00
Ross Nicoll
046ffdd3fc
Performed simple search/replace on Bitcoin/Dogecoin in Chinese translation. 2014-04-09 21:23:00 +01:00
Keng-Yu Lin
198e18571f
update the Traditional Chinese translation
update some obvious untranslated phrases (e.g. Litecoin->Dogecoin).

Conflicts:

	src/qt/locale/bitcoin_zh_TW.ts
2014-04-09 21:19:17 +01:00
langerhans
f131c1e486 Revert "Hardcode testnet for first alpha release."
This reverts commit b16685ca0d0e00424281e0af2f346ff60ace53bf.
2014-04-09 21:19:48 +02:00
langerhans
4717f6c1b6 Merge pull request #436 from langerhans/1.7-dev-shibeface
Bring back the shibeface!
2014-04-09 21:03:22 +02:00
langerhans
5018f6ed55 Merge pull request #437 from rnicoll/1.7-dev-maturity
Corrected coin maturity time shown in UI.
2014-04-09 21:01:45 +02:00
Ross Nicoll
57c02969f1 Corrected coin maturity time shown in UI. 2014-04-09 19:43:01 +01:00
langerhans
31a4a42bf3 s/bit/doge 2014-04-09 20:31:30 +02:00