| 307 | } |
| 308 | |
| 309 | CScript GetScriptForRawPubKey(const CPubKey& pubKey) |
| 310 | { |
| 311 | return CScript() << std::vector<unsigned char>(pubKey.begin(), pubKey.end()) << OP_CHECKSIG; |
| 312 | } |
| 313 | |
| 314 | CScript GetScriptForMultisig(int nRequired, const std::vector<CPubKey>& keys) |
| 315 | { |