mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-20 18:45:55 +00:00
Revert "Remove CryptoConditionsSuite stub amendment:"
This reverts commit d3798f6290.
This commit is contained in:
@@ -147,7 +147,10 @@ EscrowCreate::preflight(PreflightContext const& ctx)
|
|||||||
return temMALFORMED;
|
return temMALFORMED;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (condition->type != Type::preimageSha256)
|
// Conditions other than PrefixSha256 require the
|
||||||
|
// "CryptoConditionsSuite" amendment:
|
||||||
|
if (condition->type != Type::preimageSha256 &&
|
||||||
|
!ctx.rules.enabled(featureCryptoConditionsSuite))
|
||||||
return temDISABLED;
|
return temDISABLED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ class FeatureCollections
|
|||||||
"TickSize",
|
"TickSize",
|
||||||
"fix1368",
|
"fix1368",
|
||||||
"Escrow",
|
"Escrow",
|
||||||
// "CryptoConditionsSuite",
|
"CryptoConditionsSuite",
|
||||||
"fix1373",
|
"fix1373",
|
||||||
"EnforceInvariants",
|
"EnforceInvariants",
|
||||||
"SortedDirectories",
|
"SortedDirectories",
|
||||||
@@ -348,6 +348,7 @@ extern uint256 const featureOwnerPaysFee;
|
|||||||
extern uint256 const featureFlow;
|
extern uint256 const featureFlow;
|
||||||
extern uint256 const featureCompareTakerFlowCross;
|
extern uint256 const featureCompareTakerFlowCross;
|
||||||
extern uint256 const featureFlowCross;
|
extern uint256 const featureFlowCross;
|
||||||
|
extern uint256 const featureCryptoConditionsSuite;
|
||||||
extern uint256 const fix1513;
|
extern uint256 const fix1513;
|
||||||
extern uint256 const featureDepositAuth;
|
extern uint256 const featureDepositAuth;
|
||||||
extern uint256 const featureChecks;
|
extern uint256 const featureChecks;
|
||||||
|
|||||||
@@ -102,7 +102,7 @@ detail::supportedAmendments()
|
|||||||
"TickSize",
|
"TickSize",
|
||||||
"fix1368",
|
"fix1368",
|
||||||
"Escrow",
|
"Escrow",
|
||||||
// "CryptoConditionsSuite", DO NOT REUSE
|
"CryptoConditionsSuite",
|
||||||
"fix1373",
|
"fix1373",
|
||||||
"EnforceInvariants",
|
"EnforceInvariants",
|
||||||
"FlowCross",
|
"FlowCross",
|
||||||
@@ -165,6 +165,7 @@ uint256 const
|
|||||||
featureFlow = *getRegisteredFeature("Flow"),
|
featureFlow = *getRegisteredFeature("Flow"),
|
||||||
featureCompareTakerFlowCross = *getRegisteredFeature("CompareTakerFlowCross"),
|
featureCompareTakerFlowCross = *getRegisteredFeature("CompareTakerFlowCross"),
|
||||||
featureFlowCross = *getRegisteredFeature("FlowCross"),
|
featureFlowCross = *getRegisteredFeature("FlowCross"),
|
||||||
|
featureCryptoConditionsSuite = *getRegisteredFeature("CryptoConditionsSuite"),
|
||||||
fix1513 = *getRegisteredFeature("fix1513"),
|
fix1513 = *getRegisteredFeature("fix1513"),
|
||||||
featureDepositAuth = *getRegisteredFeature("DepositAuth"),
|
featureDepositAuth = *getRegisteredFeature("DepositAuth"),
|
||||||
featureChecks = *getRegisteredFeature("Checks"),
|
featureChecks = *getRegisteredFeature("Checks"),
|
||||||
|
|||||||
Reference in New Issue
Block a user