aboutsummaryrefslogtreecommitdiff
path: root/src/primitives
diff options
context:
space:
mode:
authorRoss Nicoll <[email protected]>2018-04-23 22:39:02 +0100
committerRoss Nicoll <[email protected]>2018-09-19 22:11:47 +0100
commit140cc1dba16a4c980ee913ee492734467e7e1d0f (patch)
tree7eb83266909577437d3f37036e48c4417676d159 /src/primitives
parentRe-introduce alert functionality (#1470) (diff)
downloaddiscoin-140cc1dba16a4c980ee913ee492734467e7e1d0f.tar.xz
discoin-140cc1dba16a4c980ee913ee492734467e7e1d0f.zip
Create v1 transactions for compatibility with 1.10 (#1485)
Create v1 transactions for compatibility with 1.10. See https://github.com/bitcoin/bips/blob/master/bip-0068.mediawiki for context. This should NOT be merged into 1.16.
Diffstat (limited to 'src/primitives')
-rw-r--r--src/primitives/transaction.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/primitives/transaction.h b/src/primitives/transaction.h
index af2986a41..ceb8f6ace 100644
--- a/src/primitives/transaction.h
+++ b/src/primitives/transaction.h
@@ -303,7 +303,8 @@ class CTransaction
{
public:
// Default transaction version.
- static const int32_t CURRENT_VERSION=2;
+ // Dogecoin: Temporarily restricted to v1 for compatibility with 1.10
+ static const int32_t CURRENT_VERSION=1;
// Changing the default transaction version requires a two step process: first
// adapting relay policy by bumping MAX_STANDARD_VERSION, and then later date