aboutsummaryrefslogtreecommitdiff
path: root/src/dogecoin.cpp
diff options
context:
space:
mode:
authorRoss Nicoll <[email protected]>2018-02-11 21:00:50 +0000
committerRoss Nicoll <[email protected]>2018-09-19 22:11:47 +0100
commit9c3a11b2488f3e01e6763bc1217598a4d1c69bde (patch)
treeed6b54c5b71a4543a32968dc5b1d391bfe59dfed /src/dogecoin.cpp
parentInsert Dogecoin testnet merkle tree root value (#1469) (diff)
downloaddiscoin-9c3a11b2488f3e01e6763bc1217598a4d1c69bde.tar.xz
discoin-9c3a11b2488f3e01e6763bc1217598a4d1c69bde.zip
Clean up RPC tests (#1465)
* Enable full block tests * Fix invalidblocktest * Move watch only address funding to immediately before it's used, so node 0 doesn't spend the output before it checks it later. * Fix `fundrawtransaction` tests and sanitize fee calculation at the same time * Correct resolution of chain parameters when validating tx inputs, especially from previous coinbase transactions * Set block versions on full block tests so that the generated blocks are AuxPoW compatible
Diffstat (limited to 'src/dogecoin.cpp')
-rw-r--r--src/dogecoin.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/dogecoin.cpp b/src/dogecoin.cpp
index 3e57791fd..3f06e8a49 100644
--- a/src/dogecoin.cpp
+++ b/src/dogecoin.cpp
@@ -146,17 +146,6 @@ CAmount GetDogecoinBlockSubsidy(int nHeight, const Consensus::Params& consensusP
}
}
-unsigned int GetDogecoinTxSize(const unsigned int nTxBytes)
-{
- // Dogecoin: Round TX bytes up to the next 1,000 bytes
- unsigned int nMod = nTxBytes % 1000;
- if (nMod > 0) {
- return nTxBytes + 1000 - nMod;
- } else {
- return nTxBytes;
- }
-}
-
CAmount GetDogecoinMinRelayFee(const CTransaction& tx, unsigned int nBytes, bool fAllowFree)
{
{