github.com/onflow/flow-go@v0.35.7-crescendo-preview.23-atree-inlining/model/flow/transaction_timing.go (about)

     1  package flow
     2  
     3  import (
     4  	"time"
     5  )
     6  
     7  // TransactionTiming is used to track the timing/durations of a transaction through the system
     8  type TransactionTiming struct {
     9  	TransactionID Identifier
    10  	Received      time.Time
    11  	Finalized     time.Time
    12  	Executed      time.Time
    13  }
    14  
    15  func (t TransactionTiming) ID() Identifier {
    16  	return t.TransactionID
    17  }
    18  
    19  func (t TransactionTiming) Checksum() Identifier {
    20  	return t.TransactionID
    21  }