diff --git a/cmd/mempool/models/transfer_ticket.go b/cmd/mempool/models/transfer_ticket.go index a9c108b..64c9ab2 100644 --- a/cmd/mempool/models/transfer_ticket.go +++ b/cmd/mempool/models/transfer_ticket.go @@ -6,11 +6,11 @@ type TransferTicket struct { tableName struct{} `pg:"transfer_ticket"` MempoolOperation - Fee int64 `json:"fee,string"` - Counter int64 `pg:",pk" json:"counter,string"` - GasLimit int64 `json:"gas_limit,string"` - StorageLimit int64 `json:"storage_limit,string"` - Source string `json:"source,omitempty" index:"transfer_ticket_source_idx"` + Fee int64 `json:"fee,string" comment:"Fee to the baker, produced block, in which the operation was included (micro tez)."` // DISCUSS + Counter int64 `pg:",pk" json:"counter,string" comment:"An account nonce which is used to prevent operation replay."` + GasLimit int64 `json:"gas_limit,string" comment:"A cap on the amount of gas a given operation can consume."` + StorageLimit int64 `json:"storage_limit,string" comment:"A cap on the amount of storage a given operation can consume."` + Source string `json:"source,omitempty" index:"transfer_ticket_source_idx" comment:"Address of the account who has sent the operation."` // DISCUSS } // SetMempoolOperation -