Skip to content

Commit

Permalink
Added doc-comments for mutez_per_gas_unit view.
Browse files Browse the repository at this point in the history
  • Loading branch information
vvuwei committed Jun 30, 2023
1 parent a2103dc commit 22b6487
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cmd/mempool/views/mutez_per_gas_unit.sql
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,10 @@ create or replace view mutez_per_gas_unit as
) as gas
group by gas.waiting_levels;

comment on view mutez_per_gas_unit is 'Statistics for micro tez per gas unit.';
comment on column mutez_per_gas_unit.waiting_levels is 'Difference between level in chain and level in mempool.';
comment on column mutez_per_gas_unit.max is 'Maximum price for gas unit.';
comment on column mutez_per_gas_unit.min is 'Minimum price for gas unit.';
comment on column mutez_per_gas_unit.avg is 'Average price for gas unit.';
comment on column mutez_per_gas_unit.count is 'Count of prices for gas unit.';
comment on column mutez_per_gas_unit.median is 'Percentile (50%) of price for gas unit.';
1 change: 1 addition & 0 deletions cmd/mempool/views/operation_groups.sql
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ create or replace view operation_groups as
select network, status, source, expiration_level, level, branch, hash, fee, counter, storage_limit, gas_limit, created_at from reveals
) as foo
group by network, hash;

0 comments on commit 22b6487

Please sign in to comment.