mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-29 20:27:14 +00:00
Add beacon.watch (#3362)
> This is currently a WIP and all features are subject to alteration or removal at any time. ## Overview The successor to #2873. Contains the backbone of `beacon.watch` including syncing code, the initial API, and several core database tables. See `watch/README.md` for more information, requirements and usage.
This commit is contained in:
@@ -0,0 +1 @@
|
||||
DROP TABLE suboptimal_attestations
|
||||
@@ -0,0 +1,8 @@
|
||||
CREATE TABLE suboptimal_attestations (
|
||||
epoch_start_slot integer CHECK (epoch_start_slot % 32 = 0) REFERENCES canonical_slots(slot) ON DELETE CASCADE,
|
||||
index integer NOT NULL REFERENCES validators(index) ON DELETE CASCADE,
|
||||
source boolean NOT NULL,
|
||||
head boolean NOT NULL,
|
||||
target boolean NOT NULL,
|
||||
PRIMARY KEY(epoch_start_slot, index)
|
||||
)
|
||||
Reference in New Issue
Block a user