Skip to content

Commit

Permalink
Added doc-comments for operation_groups view.
Browse files Browse the repository at this point in the history
  • Loading branch information
vvuwei committed Jun 30, 2023
1 parent 22b6487 commit ddb7e98
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions cmd/mempool/views/operation_groups.sql
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,17 @@ create or replace view operation_groups as
) as foo
group by network, hash;

comment on view operation_groups is 'Statistics per operations (transactions, delegations, originations, reveals) grouped by network and hash.';
comment on column operation_groups.network is 'Network of the group.';
comment on column operation_groups.hash is 'Hash of the operation group.';
comment on column operation_groups.status is 'Status (max) of the operation group.';
comment on column operation_groups.source is 'Source (max) of the operation group.';
comment on column operation_groups.expiration_level is 'Expiration (max) level of the operation group.';
comment on column operation_groups.level is 'Level (max) of the operation group.';
comment on column operation_groups.branch is 'Branch (max) of the operation group.';
comment on column operation_groups.fee is 'Sum of the fee of the operation group.';
comment on column operation_groups.max_counter is 'Maximum counter of the operation group.';
comment on column operation_groups.storage_limit is 'Sum of the storage limit of the operation group.';
comment on column operation_groups.gas_limit is 'Sum of the gas limit of the operation group.';
comment on column operation_groups.num_contents is 'Number of operations in group.';
comment on column operation_groups.created_at is 'Date of fist operation creation in seconds since UNIX epoch.'

0 comments on commit ddb7e98

Please sign in to comment.