| 495 | |
| 496 | |
| 497 | static CScript CltvMultiSigScript(const std::vector<std::string>& pubkeys, uint32_t lock_time) { |
| 498 | assert(pubkeys.size() == 6); |
| 499 | CScript redeem_script; |
| 500 | if (lock_time > 0) { |
| 501 | redeem_script << lock_time << OP_CHECKLOCKTIMEVERIFY << OP_DROP; |
| 502 | } |
| 503 | redeem_script << 4; |
| 504 | for (const std::string& pubkey : pubkeys) { |
| 505 | redeem_script << ToByteVector(ParseHex(pubkey)); |
| 506 | } |
| 507 | redeem_script << 6 << OP_CHECKMULTISIG; |
| 508 | return redeem_script; |
| 509 | } |
| 510 | |
| 511 | unsigned int CChainParams::EquihashSolutionWidth(int height) const |
| 512 | { |
no test coverage detected