10 Commits

Author SHA1 Message Date
J Ross Nicoll
ce196a9bfc Match fee calculation to legacy code
Purge all support for zero-fee transactions
Disable IsDust() for backwards compatibility
2015-09-06 11:37:03 +01:00
Max K.
faaa412717 Merge pull request #1204 from rnicoll/1.10-fees
Add Dogecoin current fee calculation logic
2015-07-31 20:16:46 +02:00
Ross Nicoll
c81d7632e9 Add Dogecoin current fee calculation logic
Introduces 1 COIN/kb fees, rounded up to the next 1 COIN.
Disable free transactions
Dust outputs incur a 1 COIN additional fee
Add unit tests for fee calculation
Update existing unit tests with higher transaction values so that transactions are still standard
2015-07-31 18:11:06 +00:00
Max K.
11b10408d0 Merge pull request #1206 from rnicoll/1.10-txdb
Add Scrypt hash and AuxPoW header to index database
2015-07-30 20:33:39 +02:00
Ross Nicoll
5224edba34
Remove hard coded switch on whether simplified rewards are used. 2015-07-27 23:07:40 +01:00
Ross Nicoll
35ed1cfce1 Add Scrypt hash and AuxPoW header to index database
Add Scrypt hash and AuxPoW header to index database so that index can be validated
(a check that both Litecoin and Namecoin disable for simplicity). The index format
is incompatible with 1.8, as a result, however, and guidelines on performing the
upgrade will need to be prepared.

Given scope of the change, it may be advisable for services to prepare bootstrap files and destroy existing index databases entirely before reindexing. To discuss.
2015-07-26 20:07:48 +00:00
Ross Nicoll
949b1ccd88 Modify chain consensus parameters to be height aware 2015-07-19 16:42:22 +00:00
Ross Nicoll
c453bcc9e5 Adapt AuxPoW to Dogecoin
Changed AuxPoW parent block hashing to use Scrypt rather than SHA256 hash.
Update chain parameters to match Dogecoin
Move CheckProofOfWork into dogecoin.cpp and rename it to CheckAuxPowProofOfWork.
Add operator overrides to CBlockVersion so that naive usage operates on the underlying version without chain ID or flags.
Modify RPC mining to more closely match existing submitblock() structure
2015-07-10 20:23:14 +01:00
Ross Nicoll
8da45ed40b
Added Digishield support and unit tests 2015-06-28 22:10:58 +01:00
Ross Nicoll
2468489d4e Add Dogecoin block subsidy calculations. 2015-06-28 18:04:45 +01:00