From 81ce4a02290cc38e6dc30873c18b0f9c8c9c4db3 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Fri, 10 Nov 2017 17:30:16 -0500 Subject: Add more configs for order watcher --- src/types.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/types.ts b/src/types.ts index 10faa5cf3..555fef855 100644 --- a/src/types.ts +++ b/src/types.ts @@ -400,12 +400,14 @@ export interface JSONRPCPayload { } /* - * pollingIntervalMs: How often to poll the Ethereum node for new events. + * eventPollingIntervalMs: How often to poll the Ethereum node for new events + * blockPollingIntervalMs: How often to poll the Ethereum node for new blocks * numConfirmations: How many confirmed blocks deep you wish to listen for events at. */ export interface OrderStateWatcherConfig { - pollingIntervalMs?: number; - numConfirmations: number; + eventPollingIntervalMs?: number; + blockPollingIntervalMs?: number; + numConfirmations?: number; } /* -- cgit v1.2.3