GO-2023-1865: Vega's validators able to submit duplicate transactions in code.vegaprotocol.io/vega
package
Version:
v0.68.2-pre1
Opens a new window with list of versions in this module.
Published: Feb 21, 2023
License: MIT
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
SavePayloadsToFile given a block height and file path writes all the payloads for that snapshot height
to the file in json format.
SnapshotData returns an overview of each snapshot saved to disk, namely the height and its hash.
type Data struct {
Height uint64 `json:"height,omitempty"`
Version int64 `json:"version"`
Size int64 `json:"size"`
Hash string `json:"hash"`
}
Data is a representation of the information we scrape from the avl tree.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.