Struct exonum_configuration::TxConfigVote []

pub struct TxConfigVote { /* fields omitted */ }

Methods

impl TxConfigVote

Creates messsage and sign it.

Creates message and appends existing signature.

Returns message_id useable for matching.

Returns service_id useable for matching.

Trait Implementations

impl Clone for TxConfigVote

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for TxConfigVote

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

This method tests for !=.

impl Message for TxConfigVote

Returns raw message.

Returns hash of the RawMessage.

Verifies the message using given public key.

impl<'a> SegmentField<'a> for TxConfigVote

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 FromRaw for TxConfigVote

Converts the raw message into the specific one.

impl StorageValue for TxConfigVote

Returns a hash of the value. Read more

Serialize a value into a vector of bytes.

Deserialize a value from bytes.

impl Debug for TxConfigVote

Formats the value using the given formatter.

impl ExonumJson for TxConfigVote

write deserialized field in buffer on place.

serialize field as json::Value

impl ExonumJsonDeserialize for TxConfigVote

deserialize json value.

impl<'de> Deserialize<'de> for TxConfigVote

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for TxConfigVote

Serialize this value into the given Serde serializer. Read more

impl Transaction for TxConfigVote
[src]

Verifies the transaction, which includes the message signature verification and other specific internal constraints. verify is intended to check the internal consistency of a transaction; it has no access to the blockchain state. If a transaction fails verify, it is considered incorrect and cannot be included into any correct block proposal. Incorrect transactions are never included into the blockchain. Read more

Takes the current blockchain state via fork and can modify it if certain conditions are met. Read more

Returns the useful information about the transaction in the JSON format.