Documentation
¶
Index ¶
- Constants
- func DeliveredHashKey(bh types.Hash) ds.Key
- func DeliveredKey(slot structs.Slot) ds.Key
- func DeliveredNumKey(bn uint64) ds.Key
- func DeliveredPubkeyKey(pk types.PublicKey) ds.Key
- func HeaderHashKey(bh types.Hash) ds.Key
- func HeaderKeyContent(slot uint64, blockHash string, builderHash string) ds.Key
- func HeaderNumKey(bn uint64) ds.Key
- type DB
- type DBInter
- type Datastore
- func (s *Datastore) GetBuilderBlockSubmissions(ctx context.Context, w io.Writer, headSlot uint64, ...) error
- func (s *Datastore) GetDeliveredPayloads(ctx context.Context, w io.Writer, headSlot uint64, ...) error
- func (s *Datastore) PutBuilderBlockSubmission(ctx context.Context, bid structs.BidTraceWithTimestamp, isMostProfitable bool) (err error)
- func (s *Datastore) PutDelivered(ctx context.Context, slot structs.Slot, trace structs.DeliveredTrace) error
Constants ¶
View Source
const (
HeaderContentPrefix = "hc"
)
Variables ¶
This section is empty.
Functions ¶
func DeliveredNumKey ¶
func HeaderKeyContent ¶
func HeaderNumKey ¶
Types ¶
type Datastore ¶
func (*Datastore) GetBuilderBlockSubmissions ¶
func (*Datastore) GetDeliveredPayloads ¶
func (*Datastore) PutBuilderBlockSubmission ¶
func (*Datastore) PutDelivered ¶
Click to show internal directories.
Click to hide internal directories.