corda / net.corda.flows / AbstractStateReplacementFlow / Acceptor / verifyProposal

verifyProposal

protected abstract fun verifyProposal(proposal: Proposal<T>): Unit

Check the state change proposal to confirm that it's 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 a StateReplacementException is thrown.