MCPcopy Create free account
hub / github.com/ElementsProject/elements / DeploymentHeight

Method DeploymentHeight

src/consensus/params.h:132–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130 std::vector<uint8_t> signet_challenge;
131
132 int DeploymentHeight(BuriedDeployment dep) const
133 {
134 switch (dep) {
135 case DEPLOYMENT_HEIGHTINCB:
136 return BIP34Height;
137 case DEPLOYMENT_CLTV:
138 return BIP65Height;
139 case DEPLOYMENT_DERSIG:
140 return BIP66Height;
141 case DEPLOYMENT_CSV:
142 return CSVHeight;
143 case DEPLOYMENT_SEGWIT:
144 return SegwitHeight;
145 } // no default case, so the compiler can warn about missing cases
146 return std::numeric_limits<int>::max();
147 }
148
149 //
150 // ELEMENTS CHAIN PARAMS

Callers 4

DeploymentActiveAfterFunction · 0.80
DeploymentActiveAtFunction · 0.80
DeploymentEnabledFunction · 0.80
SoftForkDescPushBackFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected