Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

F/index transactions cost #1094

Merged
merged 4 commits into from
Sep 8, 2023
Merged

F/index transactions cost #1094

merged 4 commits into from
Sep 8, 2023

Conversation

p4u
Copy link
Member

@p4u p4u commented Sep 7, 2023

p4u and others added 3 commits September 7, 2023 15:02
sqlc is right to change GetVote's Date from Time to NullTime,
which is a nullable form to tell us whether or not there is a value,
since we use a LEFT JOIN on the blocks table to get the block time.
If there is no such block, the LEFT JOIN leaves the block time as null.

In this case, just like with the transaction hash, we do not care,
so we use the time.Time even if it is zero and thus invalid.
@p4u p4u requested a review from mvdan September 7, 2023 14:57
vochain/indexer/indexer.go Outdated Show resolved Hide resolved
1. /chain/fees/page/{page}
2. /chain/fees/reference/{reference}/page/{page}
3. /chain/fees/type/{type}/page/{page}
4. /accounts/{accountID}/fees/page/{page}

Signed-off-by: p4u <[email protected]>
@p4u p4u merged commit 8ce1665 into main Sep 8, 2023
9 checks passed
@p4u p4u deleted the f/index_transactions_cost branch September 8, 2023 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants