@lodestar/beacon-node
Version:
A Typescript implementation of the beacon chain
15 lines • 574 B
JavaScript
import { Repository } from "@lodestar/db";
import { ssz } from "@lodestar/types";
import { Bucket, getBucketNameByValue } from "../buckets.js";
/**
* Historical sync committees by SyncCommittee hash tree root
*
* Used to prepare lightclient updates and initial snapshots
*/
export class SyncCommitteeRepository extends Repository {
constructor(config, db) {
const bucket = Bucket.lightClient_syncCommittee;
super(config, db, bucket, ssz.altair.SyncCommittee, getBucketNameByValue(bucket));
}
}
//# sourceMappingURL=lightclientSyncCommittee.js.map