UNPKG

1.55 kBTypeScriptView Raw
1import { EventEmitter } from "./emitter";
2export declare const plugin: {
3 pkg: any;
4 required: boolean;
5 alias: string;
6 register(): EventEmitter;
7};
8export declare enum ApplicationEvents {
9 ApplicationShutdown = "shutdown",
10 BlockApplied = "block.applied",
11 BlockDisregarded = "block.disregarded",
12 BlockForged = "block.forged",
13 BlockReceived = "block.received",
14 BlockReverted = "block.reverted",
15 DelegateRegistered = "delegate.registered",
16 DelegateResigned = "delegate.resigned",
17 ForgerFailed = "forger.failed",
18 ForgerMissing = "forger.missing",
19 ForgerStarted = "forger.started",
20 InternalMilestoneChanged = "internal.milestone.changed",
21 PeerAdded = "peer.added",
22 PeerRemoved = "peer.removed",
23 RoundApplied = "round.applied",
24 RoundCreated = "round.created",
25 RoundMissed = "round.missed",
26 SnapshotStart = "snapshot.start",
27 SnapshotProgress = "snapshot.progress",
28 SnapshotComplete = "snapshot.complete",
29 StateBuilderFinished = "stateBuilder.finished",
30 StateStarting = "state.starting",
31 StateStarted = "state.started",
32 TransactionApplied = "transaction.applied",
33 TransactionExpired = "transaction.expired",
34 TransactionForged = "transaction.forged",
35 TransactionPoolAdded = "transaction.pool.added",
36 TransactionPoolRejected = "transaction.pool.rejected",
37 TransactionPoolRemoved = "transaction.pool.removed",
38 TransactionReverted = "transaction.reverted",
39 WalletVote = "wallet.vote",
40 WalletUnvote = "wallet.unvote"
41}