mirror of
https://github.com/cerc-io/watcher-ts
synced 2024-11-19 20:36:19 +00:00
78e43bc088
* Add a cli to export chain head block numbers * Use ETH RPC endpoint and allow env overrides * Use ethers provider * Export upstream chain head block number in watcher metrics * Remove unnecessary exports * Upgrade package versions * Fix defaults usage * Export watcher config in metrics * Add metric for watcher sync mode * Remove cache flag from watcher config metrics * Update watcher config field names |
||
---|---|---|
.. | ||
src | ||
.env.sample | ||
.eslintignore | ||
.eslintrc.json | ||
.gitignore | ||
.mocharc.yml | ||
package.json | ||
README.md | ||
tsconfig.json |
peer
Package used for connecting between peers and send messages
Implementations
- Discover peers
- Connect between peers and send messages
- Use package in browser
- Use package in server
- Send messages between systems in different LANs using relay node
Note
- Avoid any nodejs specific exports from this package as it is intented to be used in browser applications as well
Known Issues
peer:disconnect
event is not fired when remote peer browser is closed