Documentation ¶
Index ¶
- func CreateHeaderCheckedPredicateSQL(boolColumns []string, recheckHeaders constants.TransformerExecution) string
- func GetCheckedColumnNames(db *postgres.DB) ([]string, error)
- func MarkHeaderChecked(headerID int64, db *postgres.DB, checkedHeadersColumn string) error
- func MarkHeaderCheckedInTransaction(headerID int64, tx *sqlx.Tx, checkedHeadersColumn string) error
- func MissingHeaders(startingBlockNumber, endingBlockNumber int64, db *postgres.DB, ...) ([]core.Header, error)
- type StorageRepository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateHeaderCheckedPredicateSQL ¶ added in v0.0.3
func CreateHeaderCheckedPredicateSQL(boolColumns []string, recheckHeaders constants.TransformerExecution) string
Builds a SQL string that checks if any column should be checked/rechecked. Defaults to FALSE when no columns are provided. Ex: ["columnA", "columnB"] => "NOT (columnA!=0 AND columnB!=0)"
[] => "FALSE"
func MarkHeaderChecked ¶
Types ¶
type StorageRepository ¶
Click to show internal directories.
Click to hide internal directories.