watcher-ts/packages/ipld-eth-client
prathamesh0 bd73dae1b1
Implement consensus mechanism using mokka (#412)
* Add Consensus class with placeholders

* Implement Consensus constructor

* Move PubsubType to peer package

* Implement remaining methods in Consensus class

* Use existing consensus stream if it exists

* Setup send and receive pipes on consensus streams

* Refactor P2P and consensus setup in server command

* Add Nitro node initialization in server command

* Return objects from server initializations

* Use dynamic imports for ES modules in util package

* Fix util deps

* Change target to es6 to allow creating a Mokka instance

* Set moduleResolution to node16 in util for dynamic imports

* Upgrade @cerc-io/nitro-node package

* Implement retries while sending consensus messages

* Use bunyan for consensus logs and subscribe to state changes

* Use debug for logging state change events

* Handle empty watcher party file path

* Return object from initP2P

* Upgrade @cerc-io/nitro-node package

* Update package versions
2023-09-14 13:47:31 +05:30
..
src Implement rpc-eth-client for Ethereum compatible JSON-RPC endpoint (#398) 2023-08-08 18:48:55 +05:30
types/common Add APGL license and copyright notices (#212) 2021-08-12 15:28:13 +05:30
.eslintignore Implement typescript strict mode and ESLint in ipld-eth-client and cache packages (#37) 2021-06-04 12:04:12 +05:30
.eslintrc.json Upgrade dependency versions to remove vulnerabilities from dependabot (#343) 2023-03-28 13:17:53 +05:30
.npmignore Changes to use packages in uniswap-watcher (#196) 2022-10-11 13:41:26 +05:30
index.ts Add APGL license and copyright notices (#212) 2021-08-12 15:28:13 +05:30
package.json Implement consensus mechanism using mokka (#412) 2023-09-14 13:47:31 +05:30
tsconfig.json Enable source maps for transpiled files (#242) 2021-09-07 16:01:15 +05:30