View Source Dpos.Tx.Normalized (DPoS v0.4.0)

Normalized transaction data structure to be broadcasted via a relay node.

Summary

Functions

Normalizes the transaction in a format that it could be broadcasted through a relay node.

Types

@type t() :: %Dpos.Tx.Normalized{
  amount: term(),
  asset: term(),
  fee: term(),
  id: term(),
  recipientId: term(),
  senderPublicKey: term(),
  signSignature: term(),
  signature: term(),
  timestamp: term(),
  type: term()
}

Functions

@spec normalize(Dpos.Tx.t()) :: t()

Normalizes the transaction in a format that it could be broadcasted through a relay node.