ipld-eth-beacon-indexer/pkg/beaconclient/databasewrite.go
2022-05-04 09:34:23 -04:00

14 lines
345 B
Go

package beaconclient
import "github.com/vulcanize/ipld-ethcl-indexer/pkg/database/sql"
type DatabaseWriter struct {
Db sql.Database
DbSlots *DbSlots
DbSignedBeaconBlock *DbSignedBeaconBlock
DbBeaconState *DbBeaconState
}
// Write functions to write each all together...
// Should I do one atomic write?