diff --git a/cmd/mempool/models/gas_stats.go b/cmd/mempool/models/gas_stats.go index 695260e..8bbdc51 100644 --- a/cmd/mempool/models/gas_stats.go +++ b/cmd/mempool/models/gas_stats.go @@ -13,13 +13,13 @@ import ( type GasStats struct { //nolint tableName struct{} `pg:"gas_stats"` - Network string `pg:",pk" json:"network"` - Hash string `pg:",pk" json:"hash"` - TotalGasUsed uint64 `pg:"total_gas_used" json:"total_gas_used"` - TotalFee uint64 `pg:"total_fee" json:"total_fee"` - UpdatedAt int64 `json:"updated_at"` - LevelInMempool uint64 `json:"level_in_mempool"` - LevelInChain uint64 `json:"level_in_chain"` + Network string `pg:",pk" json:"network" comment:"Identifies belonging network."` + Hash string `pg:",pk" json:"hash" comment:"Hash of the operation."` // DISCUSS + TotalGasUsed uint64 `pg:"total_gas_used" json:"total_gas_used" comment:"Total amount of used gas."` + TotalFee uint64 `pg:"total_fee" json:"total_fee" comment:"Total amount of fee."` + UpdatedAt int64 `json:"updated_at" comment:"Date of last update in seconds since UNIX epoch."` + LevelInMempool uint64 `json:"level_in_mempool" comment:"Level of the block at which the statistics has been calculated in mempool."` // DISCUSS + LevelInChain uint64 `json:"level_in_chain" comment:"Level of the block at which the statistics has been calculated in chain."` // DISCUSS } // BeforeInsert -