Txpost.Plug.EnvelopeRequired (Txpost v0.1.0-beta.3) View Source
Plug for ensuring CBOR requests are sent in a valid CBOR envolope as per BRFC
5b82a2ed7b16
(CBOR Tx Envelope).
Options
:ensure_signed
- Ensures theEnvelope
is signed with a valid signature or riases anInvalidSignatureError
. Defaultsfalse
.
Example
plug Txpost.Plug.EnvelopeRequired, ensure_signed: true