generalize checking if tx is in mainchain for GetTransaction
move spamuser key validation from CheckTransation to ConnectBlock.
reason: this is not context-independent validation.