Crate sn_transfers[][src]

Expand description

Implementation of Transfers in the SAFE Network.

Structs

Raised when the Actor has received f.ex. credits that its Replicas were holding upon the propagation of them from a remote group of Replicas, or unknown debits that its Replicas were holding upon the registration of them from another instance of the same Actor.

The Actor is the part of an AT2 system that initiates transfers, by requesting Replicas to validate them, and then receive the proof of agreement. It also syncs transfers from the Replicas.

This event is raised by the Actor after having successfully created a transfer cmd to send to the Replicas for validation.

Raised when the Actor has accumulated a quorum of validations, and produced a RegisterTransfer cmd for sending to Replicas.

Raised when a Replica responds with a successful validation of a transfer.

Raised when the Actor has received f.ex. credits that its Replicas were holding upon the propagation of them from a remote group of Replicas, or unknown debits that its Replicas were holding upon the registration of them from another instance of the same Actor.

The balance and history of transfers for a wallet.

The Replica is the part of an AT2 system that forms validating groups, and signs individual transfers between wallets. Replicas validate requests to debit an wallet, and apply operations that has a valid “debit agreement proof” from the group, i.e. signatures from a quorum of its peers. Replicas don’t initiate transfers or drive the algo - only Actors do.

Enums

Events raised by the Actor.

SafeNetwork Transfers error type