| 211 | } |
| 212 | |
| 213 | CScript GetScriptForRawPubKey(const CPubKey& pubKey) |
| 214 | { |
| 215 | return CScript() << std::vector<unsigned char>(pubKey.begin(), pubKey.end()) << OP_CHECKSIG; |
| 216 | } |
| 217 | |
| 218 | CScript GetScriptForMultisig(int nRequired, const std::vector<CPubKey>& keys) |
| 219 | { |