@lodestar/beacon-node 1.28.0-dev.32186d08b5 → 1.28.0-dev.51efa3d604
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api/impl/config/constants.d.ts +13 -13
- package/lib/api/rest/activeSockets.d.ts +0 -1
- package/lib/api/rest/swaggerUI.d.ts +2 -3
- package/lib/chain/archiver/archiver.d.ts +1 -1
- package/lib/chain/archiver/strategies/frequencyStateArchiveStrategy.d.ts +1 -1
- package/lib/chain/beaconProposerCache.d.ts +1 -1
- package/lib/chain/emitter.d.ts +3 -2
- package/lib/chain/regen/regen.d.ts +13 -0
- package/lib/chain/regen/regen.js +31 -4
- package/lib/chain/regen/regen.js.map +1 -1
- package/lib/chain/serializeState.js +12 -5
- package/lib/chain/serializeState.js.map +1 -1
- package/lib/chain/stateCache/persistentCheckpointsCache.js +18 -5
- package/lib/chain/stateCache/persistentCheckpointsCache.js.map +1 -1
- package/lib/constants/constants.d.ts +2 -3
- package/lib/db/repositories/backfilledRanges.d.ts +0 -1
- package/lib/db/repositories/block.d.ts +0 -1
- package/lib/db/repositories/blockArchive.d.ts +0 -1
- package/lib/db/repositories/depositDataRoot.d.ts +0 -1
- package/lib/db/repositories/eth1Data.d.ts +0 -1
- package/lib/eth1/eth1DepositDataTracker.js +1 -1
- package/lib/eth1/eth1DepositDataTracker.js.map +1 -1
- package/lib/eth1/provider/jsonRpcHttpClient.d.ts +12 -11
- package/lib/eth1/provider/jwt.d.ts +0 -1
- package/lib/execution/engine/payloadIdCache.d.ts +1 -1
- package/lib/network/core/events.d.ts +3 -1
- package/lib/network/discv5/index.d.ts +3 -2
- package/lib/network/events.d.ts +3 -1
- package/lib/network/gossip/constants.d.ts +2 -3
- package/lib/network/gossip/topic.d.ts +547 -15
- package/lib/node/utils/interop/state.d.ts +1 -2
- package/lib/sync/backfill/backfill.d.ts +3 -2
- package/lib/sync/range/range.d.ts +3 -2
- package/lib/util/bufferPool.d.ts +0 -1
- package/lib/util/clock.d.ts +0 -1
- package/lib/util/graffiti.d.ts +0 -1
- package/lib/util/hex.d.ts +0 -1
- package/lib/util/multifork.d.ts +0 -1
- package/lib/util/workerEvents.d.ts +0 -1
- package/package.json +24 -24
|
@@ -15,7 +15,7 @@ type FcuAttributes = {
|
|
|
15
15
|
export declare class PayloadIdCache {
|
|
16
16
|
private readonly metrics?;
|
|
17
17
|
private readonly payloadIdByFcuAttributes;
|
|
18
|
-
constructor(metrics?: Metrics | null | undefined);
|
|
18
|
+
constructor(metrics?: (Metrics | null) | undefined);
|
|
19
19
|
getFullKey({ headBlockHash, finalizedBlockHash, timestamp, prevRandao, suggestedFeeRecipient }: FcuAttributes): string;
|
|
20
20
|
getKey({ timestamp }: Pick<FcuAttributes, "timestamp">): string;
|
|
21
21
|
hasPayload(fcuAttributes: Pick<FcuAttributes, "timestamp">): boolean;
|
|
@@ -16,7 +16,9 @@ export type ReqRespBridgeEventData = {
|
|
|
16
16
|
[ReqRespBridgeEvent.incomingResponse]: IteratorEvent<ResponseIncoming>;
|
|
17
17
|
};
|
|
18
18
|
type IReqRespBridgeEventBus = StrictEventEmitterSingleArg<ReqRespBridgeEventData>;
|
|
19
|
-
declare const ReqRespBridgeEventBus_base:
|
|
19
|
+
declare const ReqRespBridgeEventBus_base: {
|
|
20
|
+
new (): IReqRespBridgeEventBus;
|
|
21
|
+
};
|
|
20
22
|
export declare class ReqRespBridgeEventBus extends ReqRespBridgeEventBus_base {
|
|
21
23
|
}
|
|
22
24
|
export declare const reqRespBridgeEventDirection: Record<ReqRespBridgeEvent, EventDirection>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
1
|
import EventEmitter from "node:events";
|
|
3
2
|
import { ENR, ENRData, SignableENR } from "@chainsafe/enr";
|
|
4
3
|
import { PeerId } from "@libp2p/interface";
|
|
@@ -17,7 +16,9 @@ export type Discv5Opts = {
|
|
|
17
16
|
export type Discv5Events = {
|
|
18
17
|
discovered: (enr: ENR) => void;
|
|
19
18
|
};
|
|
20
|
-
declare const Discv5Worker_base:
|
|
19
|
+
declare const Discv5Worker_base: {
|
|
20
|
+
new (): StrictEventEmitter<EventEmitter, Discv5Events>;
|
|
21
|
+
};
|
|
21
22
|
/**
|
|
22
23
|
* Wrapper class abstracting the details of discv5 worker instantiation and message-passing
|
|
23
24
|
*/
|
package/lib/network/events.d.ts
CHANGED
|
@@ -53,7 +53,9 @@ export type NetworkEventData = {
|
|
|
53
53
|
};
|
|
54
54
|
export declare const networkEventDirection: Record<NetworkEvent, EventDirection>;
|
|
55
55
|
export type INetworkEventBus = StrictEventEmitterSingleArg<NetworkEventData>;
|
|
56
|
-
declare const NetworkEventBus_base:
|
|
56
|
+
declare const NetworkEventBus_base: {
|
|
57
|
+
new (): INetworkEventBus;
|
|
58
|
+
};
|
|
57
59
|
export declare class NetworkEventBus extends NetworkEventBus_base {
|
|
58
60
|
}
|
|
59
61
|
export {};
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
1
|
import { GossipEncoding } from "./interface.js";
|
|
3
2
|
export declare const GOSSIP_MSGID_LENGTH = 20;
|
|
4
3
|
/**
|
|
5
4
|
* 4-byte domain for gossip message-id isolation of *valid* snappy messages
|
|
6
5
|
*/
|
|
7
|
-
export declare const MESSAGE_DOMAIN_VALID_SNAPPY: Buffer
|
|
6
|
+
export declare const MESSAGE_DOMAIN_VALID_SNAPPY: Buffer<ArrayBuffer>;
|
|
8
7
|
/**
|
|
9
8
|
* 4-byte domain for gossip message-id isolation of *invalid* snappy messages
|
|
10
9
|
*/
|
|
11
|
-
export declare const MESSAGE_DOMAIN_INVALID_SNAPPY: Buffer
|
|
10
|
+
export declare const MESSAGE_DOMAIN_INVALID_SNAPPY: Buffer<ArrayBuffer>;
|
|
12
11
|
export declare const DEFAULT_ENCODING = GossipEncoding.ssz_snappy;
|
|
13
12
|
//# sourceMappingURL=constants.d.ts.map
|