| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
|
|
| |
Ignore unsigned overflow warnings in:
* Scrypt hash calculation as this is an intentional part of how they behave.
* Calculating block subsidy as the Mersenne Twister intentionally expects this behaviour.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Cap maximum fee at 21 million Dogecoins to ensure there is no overflow in the fee logic.
|
| | |
|
| | |
|
| |
|
|
| |
Generate legacy addresses instead of SegWit by default.
|
| |\
| |
| | |
Add node context to wallet RPC request object
|
| | | |
|
| | |
| |
| |
| | |
Rather than defining that NodeContext is defined fully elsewhere, actually include node/context.h into src/wallet/context.h for details.
|
| | |
| |
| |
| | |
Add node context to wallet RPC request object, as getauxblock needs access to the node to determine if it is in initial block download, and requires access to the wallet to get an address to pay to.
|
| |/
|
|
| |
changing CAmount (is a int64_t) to arith_uint256 for nTotalAmount in CCoinsStats to prevent overflow
|
| |
|
|
|
| |
Also removes the AllowLegacyBlocks() function, to be replaced by directly
checking height against the value (as per style used elsewhere).
|
| |
|
|
| |
Introduce AuxPoW chain parameters. These are not yet used, splitting these out to make validation easier.
|
| |\
| |
| | |
Don't send a Bitcoin alert to Dogecoin clients
|
| | | |
|
| | | |
|
| |\ \
| |/
|/| |
minor Italian translation backport
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| | |
* Replace chain parameters with Dogecoin values
* Update maximum coins to match Dogecoin
* Disable version 2 block requirement
* Update coinbase maturity to match Dogecoin
|
| | |
| |
| |
| |
| | |
Add scrypt pow hashing algorithm as a proof of work function.
Rebased from litecoin-project/litecoin@02961f0 minus strencodings.h macros.
|
| | | |
|
| |/ |
|
| |\
| |
| | |
Introduce Dogecoin difficulty calculations
|
| | | |
|
| | | |
|
| |\ \
| | |
| | | |
Replace feature enablement blocks
|
| | |/
| |
| |
| | |
Replace block hash/heights when features are enabled.
|
| |/
|
|
| |
Update minimum chain work and block hash to assume preceeding blocks are valid, for main and test networks.
|
| |\
| |
| | |
Switch to Dogecoin message header
|
| | |
| |
| |
| | |
Update main and testnet3 message headers. Note Dogecoin historically has used Bitcoin message headers for RegTest network, and this continues that legacy.
|
| |\ \
| | |
| | | |
Disable CSV and SegWit on Dogecoin
|
| | |/ |
|
| |\ \
| | |
| | | |
Replace checkpoints with Dogecoin chains
|
| | | | |
|
| | |/ |
|
| |/ |
|
| | |
|
| |
|
|
| |
issue where a 51% attack can change difficulty at will. Go back the full period unless it's the first retarget after genesis.
|
| |
|
|
| |
Update maximum money to 10 billion coins (most you can have in a single transaction).
|
| |
|
|
| |
Make assume valid minimum interval per-chain configurable as syncing 21,000 blocks in a regression test isn't an achievable goal.
|
| |
|
|
| |
Change regtest block interval to match Dogecoin mainnet. Note this differs from 1.14, which used special regtest values, however regtest should by default match mainnet and the server time is adjusted to make it feasible to mine blocks quickly.
|
| |
|
|
|
|
|
| |
* Change coinbase maturity to 240 blocks in most cases, with main/test early chains allowing 30 blocks. I've kept the 240 consistent in regtest to avoid having to redesign a lot of the test cases.
* Disabled mining unit test which require COINBASE_MATURITY worth of pre-calculated blocks, as we'd otherwise be constantly refactoring them.
* Moved functional test which uses the Bitcoin testnet block data as its reference, as it completely breaks as we introduce Dogecoin data.
* Updated standard blockchains for tests from 100/200 to 240/480 as appropriate.
|
| |
|
|
|
|
| |
* Update miner confirmation window to 240 for Dogecoin main net, and update related values.
* Re-enable PoW tests with Dogecoin values.
* Update version bit tests based on Dogecoin mining values.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
Squash-merged on request.
* Dogecoin address prefixes
* Use "doge" for BECH32 addresses
* Switch Bitcoin references to Dogecoin in Travis
* Update addresses in dogecoin-tx tests
* Use "doge" for BECH32 addresses
* Remove functional tests which do not apply to Dogecoin (backwards compatibility tests do not have suitable clients to test against)
|