| 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 |
no outgoing calls
no test coverage detected