Enum ckb_jsonrpc_types::OutputsValidator [−][src]
pub enum OutputsValidator { WellKnownScriptsOnly, Passthrough, }
Expand description
Transaction output validators that prevent common mistakes.
Variants
“well_known_scripts_only”: The default validator which restricts the lock script and type script usage, see more information on https://github.com/nervosnetwork/ckb/wiki/Transaction-%C2%BB-Default-Outputs-Validator
“passthrough”: bypass the validator, thus allow any kind of transaction outputs.
Implementations
Gets the name of the validator when it is serialized into JSON string.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for OutputsValidator
impl Send for OutputsValidator
impl Sync for OutputsValidator
impl Unpin for OutputsValidator
impl UnwindSafe for OutputsValidator
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V