net.corda.protocols / AbstractStateReplacementProtocol / Acceptor / verifyProposal

verifyProposal

protected abstract fun verifyProposal(maybeProposal: UntrustworthyData<Proposal<T>>): Proposal<T>

Check the state change proposal to confirm that its acceptable to this node. Rules for verification depend on the change proposed, and may further depend on the node itself (for example configuration). The proposal is returned if acceptable, otherwise an exception is thrown.