Documentation
¶
Index ¶
Constants ¶
View Source
const ( PayloadTypeAddFeeCredit = "addFC" PayloadTypeCloseFeeCredit = "closeFC" PayloadTypeReclaimFeeCredit = "reclFC" PayloadTypeTransferFeeCredit = "transFC" )
Variables ¶
This section is empty.
Functions ¶
func IsFeeCreditTx ¶
func IsFeeCreditTx(tx *types.TransactionOrder) bool
Types ¶
type AddFeeCreditAttributes ¶
type AddFeeCreditAttributes struct { FeeCreditOwnerCondition []byte // target fee credit record owner condition FeeCreditTransfer *types.TransactionRecord // bill transfer record of type "transfer fee credit" FeeCreditTransferProof *types.TxProof // transaction proof of "transfer fee credit" transaction // contains filtered or unexported fields }
type ReclaimFeeCreditAttributes ¶
type ReclaimFeeCreditAttributes struct { CloseFeeCreditTransfer *types.TransactionRecord // bill transfer record of type "close fee credit" CloseFeeCreditProof *types.TxProof // transaction proof of "close fee credit" transaction Backlink []byte // hash of this unit's previous transaction // contains filtered or unexported fields }
type TransferFeeCreditAttributes ¶
type TransferFeeCreditAttributes struct { Amount uint64 // amount to transfer TargetSystemIdentifier []byte // system_identifier of the target partition TargetRecordID []byte // unit id of the corresponding “add fee credit” transaction EarliestAdditionTime uint64 // earliest round when the corresponding “add fee credit” transaction can be executed in the target system LatestAdditionTime uint64 // latest round when the corresponding “add fee credit” transaction can be executed in the target system TargetUnitBacklink []byte // current state hash of the target credit record if the record exists, or nil if the record does not exist yet Backlink []byte // hash of this unit's previous transaction // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.