-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate tx indexer, pubsub, and ws to canoto (#1907)
- Loading branch information
1 parent
dd35100
commit 23fa160
Showing
19 changed files
with
1,364 additions
and
171 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// Copyright (C) 2024, Ava Labs, Inc. All rights reserved. | ||
// See the file LICENSE for licensing terms. | ||
|
||
package indexer | ||
|
||
type storageTx struct { | ||
Timestamp int64 `canoto:"int,1"` | ||
Success bool `canoto:"bool,2"` | ||
Units []byte `canoto:"bytes,3"` | ||
Fee uint64 `canoto:"int,4"` | ||
Outputs [][]byte `canoto:"repeated bytes,5"` | ||
Error string `canoto:"string,6"` | ||
|
||
canotoData canotoData_storageTx | ||
} |
Oops, something went wrong.