mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 01:05:47 +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:
1
watch/migrations/2022-01-01-000002_validators/down.sql
Normal file
1
watch/migrations/2022-01-01-000002_validators/down.sql
Normal file
@@ -0,0 +1 @@
|
||||
DROP TABLE validators
|
||||
7
watch/migrations/2022-01-01-000002_validators/up.sql
Normal file
7
watch/migrations/2022-01-01-000002_validators/up.sql
Normal file
@@ -0,0 +1,7 @@
|
||||
CREATE TABLE validators (
|
||||
index integer PRIMARY KEY,
|
||||
public_key bytea NOT NULL,
|
||||
status text NOT NULL,
|
||||
activation_epoch integer,
|
||||
exit_epoch integer
|
||||
)
|
||||
Reference in New Issue
Block a user