Skip to content

Commit

Permalink
Added doc-comments for TransferTicket.
Browse files Browse the repository at this point in the history
  • Loading branch information
vvuwei committed Jun 28, 2023
1 parent 42c825f commit 80b8e54
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cmd/mempool/models/transfer_ticket.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 -
Expand Down

0 comments on commit 80b8e54

Please sign in to comment.