-
Notifications
You must be signed in to change notification settings - Fork 286
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: besu WatchBlocksV1Endpoint with SocketIO
Primary change(s): ----------------- 1. Adds an async endpoint based on the new SocketIO integration of the API server. The endpoint streams new block headers to the clients as they come in through the subscription mechanism of Web3. 2. The besu connector plugin is now capable of accepting the WS RPC API host of the backing Besu client/ledger so that it can instantiate a WebSocket provider for itself which was a prerequisite of being able to use the Web3 subscriptions functionality that the async endponit needs to work. Secondary change(s): ------------------- 1. Updated the supply chain app example and the besu tests to accomodate the change that the besu connector now needs to use the web socket RPC API instead of the HTTP one. Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
- Loading branch information
Showing
13 changed files
with
708 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
253 changes: 253 additions & 0 deletions
253
packages/cactus-plugin-ledger-connector-besu/package-lock.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.