diff options
author | Fabio Berger <me@fabioberger.com> | 2017-11-13 09:49:56 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-11-13 09:49:56 +0800 |
commit | a22661670f105a2bf527aca0e803689e0302ed17 (patch) | |
tree | 86042b06c407b388e39be690d9a40db218f82675 /src/types.ts | |
parent | 442f35a1fdd98846d3985548b3de6f5c620e68a1 (diff) | |
parent | 5aef16c2aacd279a8e688b4e735526bff7e4970f (diff) | |
download | dexon-sol-tools-a22661670f105a2bf527aca0e803689e0302ed17.tar dexon-sol-tools-a22661670f105a2bf527aca0e803689e0302ed17.tar.gz dexon-sol-tools-a22661670f105a2bf527aca0e803689e0302ed17.tar.bz2 dexon-sol-tools-a22661670f105a2bf527aca0e803689e0302ed17.tar.lz dexon-sol-tools-a22661670f105a2bf527aca0e803689e0302ed17.tar.xz dexon-sol-tools-a22661670f105a2bf527aca0e803689e0302ed17.tar.zst dexon-sol-tools-a22661670f105a2bf527aca0e803689e0302ed17.zip |
Merge branch 'orderWatcher' of github.com:0xProject/0x.js into orderWatcher
* 'orderWatcher' of github.com:0xProject/0x.js: (33 commits)
Remove old tests
Remove unused code
Fix tests
Remove redundant spaces
Don't store empty objects
Fix a typo
Remove duplicate operations
Remove redundant instance variables
Fix tests
Remove blockStore and default to numConfirmations === 0
Add a comment
Store number of confirmations in a blockStore
Remove tautology check
Pass blockStore to eventWatcher
Fix last merge conflicts
Clear cache on unsubscribe
Clear store cache on events
Add more configs for order watcher
Make subscribe function async and make blockStore operational
Adjust tests to new interface
...
Diffstat (limited to 'src/types.ts')
-rw-r--r-- | src/types.ts | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/types.ts b/src/types.ts index 09b611019..20f994ac7 100644 --- a/src/types.ts +++ b/src/types.ts @@ -397,12 +397,10 @@ export interface JSONRPCPayload { } /* - * pollingIntervalMs: How often to poll the Ethereum node for new events. - * numConfirmations: How many confirmed blocks deep you wish to listen for events at. + * eventPollingIntervalMs: How often to poll the Ethereum node for new events */ export interface OrderStateWatcherConfig { - pollingIntervalMs?: number; - numConfirmations: number; + eventPollingIntervalMs?: number; } /* |