Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type State ¶
type State struct { // Currency id of the payment channel. CurrencyID byte // Sender of the payment channel. FromAddr string // Recipient of the payment channel. ToAddr string // Address of the payment channel. ChAddr string // The total balance of the payment channel. Balance *big.Int // The redeemed amount of the payment channel. Redeemed *big.Int // Nonce of the payment channel. Nonce uint64 // The latest voucher of the payment channel. Voucher string // The potential network loss voucher of this payment channel. NetworkLossVoucher string // The nonce of this state. StateNonce uint64 }
State is the state of a payment channel.
Click to show internal directories.
Click to hide internal directories.