Module bee_message::prelude [−][src]
Expand description
A prelude for the bee-message
crate.
Re-exports
pub use crate::address::Address; | |
pub use crate::constants::IOTA_SUPPLY; | |
pub use crate::input::Input; | |
pub use crate::output::Output; | |
pub use crate::parents::Parents; | |
pub use crate::parents::MESSAGE_PARENTS_RANGE; | |
pub use crate::payload::indexation::IndexationPayload; | |
pub use crate::payload::milestone::MilestonePayload; | |
pub use crate::payload::milestone::MILESTONE_SIGNATURE_LENGTH; | |
pub use crate::payload::receipt::ReceiptPayload; | |
pub use crate::payload::transaction::TransactionPayload; | |
pub use crate::payload::transaction::TransactionPayloadBuilder; | |
pub use crate::payload::treasury::TreasuryTransactionPayload; | |
pub use crate::payload::Payload; | |
pub use crate::signature::SignatureUnlock; | |
pub use crate::unlock::UnlockBlock; | |
pub use crate::unlock::UnlockBlocks; |
Structs
Ed25519Address | An Ed25519 address. |
Ed25519Signature | An Ed25519 signature. |
Message | Represent the object that nodes gossip around the network. |
MessageBuilder | A builder to build a |
MessageId | A message identifier, the BLAKE2b-256 hash of the message bytes. See https://www.blake2.net/ for more information. |
MigratedFundsEntry | Describes funds which were migrated from a legacy network. |
MilestoneId | A milestone identifier, the BLAKE2b-256 hash of the milestone bytes. See https://www.blake2.net/ for more information. |
MilestoneIndex | A wrapper around a |
MilestonePayloadEssence | Essence of a milestone payload. This is the signed part of a milestone payload. |
OutputId | The identifier of an |
PaddedIndex | An indexation payload index padded with |
ReferenceUnlock | An |
RegularEssence | A transaction regular essence consuming inputs, creating outputs and carrying an optional payload. |
RegularEssenceBuilder | A builder to build a |
SignatureLockedDustAllowanceOutput | A |
SignatureLockedSingleOutput | An output type which can be unlocked via a signature. It deposits onto one single address. |
TailTransactionHash | Represents a tail transaction hash of a legacy bundle. |
TransactionId | A transaction identifier, the BLAKE2b-256 hash of the transaction bytes. See https://www.blake2.net/ for more information. |
TreasuryInput |
|
TreasuryOutput |
|
UtxoInput | Represents an input referencing an output. |
Enums
Error | Error occurring when creating/parsing/validating messages. |
Essence | A generic essence that can represent different types defining transaction essences. |
Constants
ED25519_ADDRESS_LENGTH | The number of bytes in an Ed25519 address. See https://en.wikipedia.org/wiki/EdDSA#Ed25519 for more information. |
MESSAGE_ID_LENGTH | The length of a message identifier. |
MESSAGE_LENGTH_MAX | The maximum number of bytes in a message. |
MESSAGE_LENGTH_MIN | The minimum number of bytes in a message. |
MILESTONE_ID_LENGTH | The length of a milestone identifier. |
MILESTONE_MERKLE_PROOF_LENGTH | Length of a milestone merkle proof. |
MILESTONE_PUBLIC_KEY_LENGTH | Length of a milestone public key. |
OUTPUT_ID_LENGTH | The length of an |
TAIL_TRANSACTION_HASH_LEN | The length of a tail transaction hash. |
TRANSACTION_ID_LENGTH | The length of a transaction identifier. |