MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / TransactionTypeMixin

Struct TransactionTypeMixin

blockproducer/interfaces/mixins.go:24–27  ·  view source on GitHub ↗

go:generate hsp TransactionTypeMixin provide type heuristic features to transaction wrapper.

Source from the content-addressed store, hash-verified

22
23// TransactionTypeMixin provide type heuristic features to transaction wrapper.
24type TransactionTypeMixin struct {
25 TxType TransactionType
26 Timestamp time.Time
27}
28
29// NewTransactionTypeMixin returns new instance.
30func NewTransactionTypeMixin(txType TransactionType) *TransactionTypeMixin {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected