Add detection of liquidv1 fedpeg script, startup sanity check

This commit is contained in:
Gregory Sanders 2019-01-15 10:22:45 -05:00
parent 32aec9af0b
commit 592a622b4b
6 changed files with 96 additions and 8 deletions

View file

@ -72,7 +72,7 @@ static constexpr bool IsSmallInteger(opcodetype opcode)
return opcode >= OP_1 && opcode <= OP_16;
}
static bool MatchMultisig(const CScript& script, unsigned int& required, std::vector<valtype>& pubkeys)
bool MatchMultisig(const CScript& script, unsigned int& required, std::vector<valtype>& pubkeys)
{
opcodetype opcode;
valtype data;