aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Add warning log message if overriding -blockmintxfeeRoss Nicoll2021-07-111-2/+7
|
* Ignore unsigned overflow warningsRoss Nicoll2021-07-092-0/+6
| | | | | | | 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.
* Replace HMAC_SHA256 with Bitcoin's versionRoss Nicoll2021-07-092-333/+25
|
* Fix compilation error in fuzz codeRoss Nicoll2021-07-091-1/+2
|
* Correct signedness of expected data in dogecoin_testsRoss Nicoll2021-07-091-6/+6
|
* Cap maximum feeRoss Nicoll2021-07-095-11/+25
| | | | Cap maximum fee at 21 million Dogecoins to ensure there is no overflow in the fee logic.
* Rewrite subsidy limit testsRoss Nicoll2021-07-091-19/+39
|
* Disable generating BECH32 addresses from the UIRoss Nicoll2021-06-121-0/+3
|
* Generate legacy addresses by defaultRoss Nicoll2021-06-121-1/+1
| | | | Generate legacy addresses instead of SegWit by default.
* Merge pull request #2259 from rnicoll/1.21-node-contextRoss Nicoll2021-06-126-7/+14
|\ | | | | Add node context to wallet RPC request object
| * Remove separate node and wallet contextsRoss Nicoll2021-06-095-6/+6
| |
| * Directly include NodeContext instead of defining itRoss Nicoll2021-06-091-2/+2
| | | | | | | | 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 objectRoss Nicoll2021-06-096-7/+14
| | | | | | | | 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.
* | Change count type used by `gettxoutsetinfo`Ross Nicoll2021-06-084-1/+30
|/ | | | changing CAmount (is a int64_t) to arith_uint256 for nTotalAmount in CCoinsStats to prevent overflow
* Switch naming of AuxPoW activation to match BIPxxHeight styleRoss Nicoll2021-06-082-17/+5
| | | | | Also removes the AllowLegacyBlocks() function, to be replaced by directly checking height against the value (as per style used elsewhere).
* Introduce AuxPoW chain parametersRoss Nicoll2021-06-052-0/+33
| | | | Introduce AuxPoW chain parameters. These are not yet used, splitting these out to make validation easier.
* Merge pull request #2238 from rnicoll/1.21-dont-send-alertPatrick Lodder2021-06-031-4/+3
|\ | | | | Don't send a Bitcoin alert to Dogecoin clients
| * Update src/net_processing.cppRoss Nicoll2021-06-031-2/+1
| |
| * Stop sending a Bitcoin alert to Dogecoin clientsRoss Nicoll2021-06-031-2/+2
| |
* | Merge pull request #2222 from rnicoll/1.21-italianPatrick Lodder2021-06-031-2/+2
|\ \ | |/ |/| minor Italian translation backport
| * Apply suggestions from language reviewRoss Nicoll2021-06-031-2/+2
| |
| * Articols matter in ItalianMarco2021-05-301-1/+1
| |
* | Remove default SignetRoss Nicoll2021-06-022-56/+16
| |
* | Replace consensus values with Dogecoin equivalentsRoss Nicoll2021-06-0218-89/+111
| | | | | | | | | | | | | | * Replace chain parameters with Dogecoin values * Update maximum coins to match Dogecoin * Disable version 2 block requirement * Update coinbase maturity to match Dogecoin
* | crypto: Add scrypt N=1024 PoWbarrystyle2021-05-305-12/+255
| | | | | | | | | | Add scrypt pow hashing algorithm as a proof of work function. Rebased from litecoin-project/litecoin@02961f0 minus strencodings.h macros.
* | Litecoin: Add scrypt N=1024 PoWshaolinfry2021-05-3014-8/+601
| |
* | Add Dogecoin block subsidiesRoss Nicoll2021-05-3013-21/+144
|/
* Merge pull request #1977 from rnicoll/1.21-difficultyPatrick Lodder2021-05-296-7/+225
|\ | | | | Introduce Dogecoin difficulty calculations
| * Introduce Dogecoin difficulty calculationsRoss Nicoll2021-05-296-7/+225
| |
* | Update port numbersRoss Nicoll2021-05-293-8/+8
| |
* | Merge pull request #2204 from rnicoll/1.21-forksPatrick Lodder2021-05-291-12/+14
|\ \ | | | | | | Replace feature enablement blocks
| * | Replace feature enablement blocksRoss Nicoll2021-05-291-12/+14
| |/ | | | | | | Replace block hash/heights when features are enabled.
* / Update min chain work and assume validRoss Nicoll2021-05-291-4/+4
|/ | | | Update minimum chain work and block hash to assume preceeding blocks are valid, for main and test networks.
* Merge pull request #1988 from rnicoll/1.21-message-headersPatrick Lodder2021-05-281-8/+8
|\ | | | | Switch to Dogecoin message header
| * Switch to Dogecoin message headerRoss Nicoll2021-05-251-8/+8
| | | | | | | | Update main and testnet3 message headers. Note Dogecoin historically has used Bitcoin message headers for RegTest network, and this continues that legacy.
* | Merge pull request #2198 from rnicoll/1.21-disable-segwit-csvPatrick Lodder2021-05-281-4/+4
|\ \ | | | | | | Disable CSV and SegWit on Dogecoin
| * | Disable CSV and SegWit on DogecoinRoss Nicoll2021-05-281-4/+4
| |/
* | Merge pull request #1990 from rnicoll/1.21-checkpointsPatrick Lodder2021-05-281-22/+41
|\ \ | | | | | | Replace checkpoints with Dogecoin chains
| * | Add testnet checkpointsRoss Nicoll2021-05-251-5/+18
| | |
| * | Add live checkpointsRoss Nicoll2021-05-251-17/+23
| |/
* / Replace Bitcoin seed nodes with Dogecoin nodesRoss Nicoll2021-05-251-1171/+354
|/
* Update SigNet PoW limit to Scrypt valueRoss Nicoll2021-05-201-1/+1
|
* Litecoin: Fix zeitgeist2 attack thanks to Lolcust and ArtForz. This fixes an ↵coblee2021-05-201-1/+7
| | | | issue where a 51% attack can change difficulty at will. Go back the full period unless it's the first retarget after genesis.
* Update max money to 10 billionRoss Nicoll2021-05-201-1/+1
| | | | Update maximum money to 10 billion coins (most you can have in a single transaction).
* Make assume valid minimum interval per-chain configurableRoss Nicoll2021-05-203-1/+7
| | | | 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 DogecoinRoss Nicoll2021-05-201-2/+2
| | | | 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.
* Dogecoin: Update coinbase maturityRoss Nicoll2021-05-2022-66/+99
| | | | | | | * 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 windowRoss Nicoll2021-05-203-16/+16
| | | | | | * 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.
* Adjust download timeouts to handle shorter block interval (#1866)Ross Nicoll2021-05-171-4/+4
|
* 1.21 key prefix (#1710)Ross Nicoll2021-03-0412-697/+696
| | | | | | | | | | | 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)