Struct exonum_btc_anchoring::blockchain::MsgAnchoringSignature []

pub struct MsgAnchoringSignature { /* fields omitted */ }

Exonum message with the signature for the new anchoring transaction.

Methods

impl MsgAnchoringSignature

Creates message and signs it.

Creates message and appends existing signature.

Returns the hex representation of the binary data. Lower case letters are used (e.g. f9b4ca).

Public key of validator.

Public key index in anchoring public keys list.

Transaction content.

Signed input.

Important traits for &'a mut [u8]

Signature for the corresponding input.

impl MsgAnchoringSignature
[src]

[src]

[src]

Trait Implementations

impl<'a> From<&'a MsgAnchoringSignature> for KnownSignatureId
[src]

[src]

Performs the conversion.

impl Clone for MsgAnchoringSignature

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for MsgAnchoringSignature

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl ServiceMessage for MsgAnchoringSignature

SERVICE_ID: u16 = ANCHORING_SERVICE_ID

ID of the service this message belongs to.

MESSAGE_ID: u16 = 0

ID of the message itself. Should be unique within a service. Read more

impl Message for MsgAnchoringSignature

Converts the raw message into the specific one.

Returns raw message.

[src]

Verifies the message using given public key.

impl<'a> SegmentField<'a> for MsgAnchoringSignature

size of item fixed part that this Field collect.

count of items in collection

extend buffer with this collection

create collection from buffer

check collection data

impl AsRef<RawMessage> for MsgAnchoringSignature

Performs the conversion.

impl FromHex for MsgAnchoringSignature

Creates an instance of type Self from the given hex string, or fails with a custom error type. Read more

impl StorageValue for MsgAnchoringSignature

Important traits for Vec<u8>

Serialize a value into a vector of bytes.

Deserialize a value from bytes.

impl Debug for MsgAnchoringSignature

Formats the value using the given formatter. Read more

impl ExonumJson for MsgAnchoringSignature

write deserialized field in buffer on place.

serialize field as json::Value

impl ExonumJsonDeserialize for MsgAnchoringSignature

deserialize json value.

impl<'de> Deserialize<'de> for MsgAnchoringSignature

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for MsgAnchoringSignature

Serialize this value into the given Serde serializer. Read more

impl Transaction for MsgAnchoringSignature
[src]

[src]

Verifies the internal consistency of the transaction. verify should usually include checking the message signature (via [verify_signature]) and, possibly, other internal constraints. verify has no access to the blockchain state; checks involving the blockchains state must be preformed in execute. Read more

[src]

Receives a fork of the current blockchain state and can modify it depending on the contents of the transaction. Read more

Auto Trait Implementations