Add more configs for order watcher

This commit is contained in:
Leonid Logvinov
2017-11-10 17:30:16 -05:00
parent 6bcd9adb9e
commit 81ce4a0229

View File

@@ -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;
}
/*