verifySigner function
Implementation
bool verifySigner(TransactionBean tb, InternalTransactionBean itb) {
switch (itb.transactionType) {
// signer == form
case "ASSIGN_OVERFLOW":
case "BLOB":
case "BLOCK_HASH":
case "S_CONTRACT_CALL":
case "S_CONTRACT_DEPLOY":
case "S_CONTRACT_INSTANCE":
case "S_CREATE_ACCOUNT":
case "PREVIOUS_BLOCK":
case "DEREGISTER_MAIN":
case "DEREGISTER_OVERFLOW":
case "REGISTER_MAIN":
case "REGISTER_OVERFLOW":
case "STAKE":
case "STAKE_UNDO":
case "STATE_POINTER_TRANSACTION":
case "UNASSIGN_OVERFLOW":
case "PAY":
return itb.from == tb.publicKey;
default:
return false;
}
}