Bitcoinconsensus library makes available consensus script verification flags to other applications. Currently this doesn’t enable to verify transaction scripts correctness with regards to deployed standard rules. A defect of adherance to this set of rules hinders severely transaction propagation on the network, and therefore may be a concern if application has a time-sensitive requirement (LN, Atomic Swaps, …).
- Should API version be bumped ?
- Should documentation/flags name clearly sort between standard/consensus rules ? (while minding that standard/consensus enforcement may vary between witness versions, cf MINIMALIF)
- Should some obscure standard flags (CONST_SCRIPTCODE) gets a real specification ?
See https://github.com/lightningnetwork/lightning-rfc/pull/764 as example of protocol specification directly requiring adherence to standard rules.