-
Notifications
You must be signed in to change notification settings - Fork 9
(CD-90) Fix NCTL activate command and broken links #71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,18 +8,18 @@ title: Sidecar Setup | |
|
|
||
| The Casper Sidecar is an application running alongside the node process. It allows subscribers to monitor a node's event stream, query stored events, and query the node's JSON-RPC API, thus receiving faster responses and reducing the load placed on the node. The Sidecar usually runs on the same machine as the node process, but it can be configured to run remotely if necessary. The Sidecar supports the following functionalities: | ||
|
|
||
| * A [server-sent events (SSE) endpoint](https://github.com/casper-network/casper-sidecar/blob/feat-2.0/README.md#the-sse-server) with an `/events` endpoint streaming events from all the connected nodes. The Sidecar also stores these events. | ||
| * A [REST API server](https://github.com/casper-network/casper-sidecar/blob/feat-2.0/README.md#the-rest-api-server) that allows clients to query stored events. | ||
| * A [JSON-RPC API](https://github.com/casper-network/casper-sidecar/blob/feat-2.0/README.md#the-rpc-api-server) to interact with a Casper node. | ||
| * A [server-sent events (SSE) endpoint](https://github.com/casper-network/casper-sidecar/blob/release-1.0.2-rc8_node-2.0.0-rc8/README.md#the-sse-server) with an `/events` endpoint streaming events from all the connected nodes. The Sidecar also stores these events. | ||
|
||
| * A [REST API server](https://github.com/casper-network/casper-sidecar/blob/release-1.0.2-rc8_node-2.0.0-rc8/README.md#the-rest-api-server) that allows clients to query stored events. | ||
| * A [JSON-RPC API](https://github.com/casper-network/casper-sidecar/blob/release-1.0.2-rc8_node-2.0.0-rc8/README.md#the-rpc-api-server) to interact with a Casper node. | ||
| * [Legacy emulation](https://github.com/casper-network/casper-sidecar/blob/feat-2.0/LEGACY_SSE_EMULATION.md) for clients using older versions of the SSE API. | ||
|
|
||
| Visit GitHub for the latest source code and information on [system architecture](https://github.com/casper-network/casper-sidecar/blob/feat-2.0/README.md#system-components--architecture), [configurations](https://github.com/casper-network/casper-sidecar/blob/feat-2.0/README.md#configuring-the-sidecar), [testing](https://github.com/casper-network/casper-sidecar/blob/feat-2.0/README.md#running-and-testing-the-sidecar) and [troubleshooting](https://github.com/casper-network/casper-sidecar/blob/feat-2.0/README.md#troubleshooting-tips). | ||
| Visit GitHub for the latest source code and information on [system architecture](https://github.com/casper-network/casper-sidecar/blob/release-1.0.2-rc8_node-2.0.0-rc8/README.md#system-components-and-architecture), [configurations](https://github.com/casper-network/casper-sidecar/blob/release-1.0.2-rc8_node-2.0.0-rc8/README.md#configuring-the-sidecar), [testing](https://github.com/casper-network/casper-sidecar/blob/release-1.0.2-rc8_node-2.0.0-rc8/README.md#running-and-testing-the-sidecar) and [troubleshooting](https://github.com/casper-network/casper-sidecar/blob/release-1.0.2-rc8_node-2.0.0-rc8/README.md#troubleshooting-tips). | ||
|
|
||
|  | ||
|
|
||
| ## Configuring the Sidecar Service {#configuring-the-sidecar} | ||
|
|
||
| Operators need to update the Sidecar configuration file according to their needs. Detailed configuration instructions are available in [GitHub](https://github.com/casper-network/casper-sidecar/blob/feat-2.0/resources/ETC_README.md). Further details regarding each [configuration option](https://github.com/casper-network/casper-sidecar/blob/feat-2.0/README.md#configuring-the-sidecar) are available in GitHub. | ||
| Operators need to update the Sidecar configuration file according to their needs. Detailed configuration instructions are available in [GitHub](https://github.com/casper-network/casper-sidecar/blob/release-1.0.2-rc8_node-2.0.0-rc8/resources/ETC_README.md). Further details regarding each [configuration option](https://github.com/casper-network/casper-sidecar/blob/release-1.0.2-rc8_node-2.0.0-rc8/README.md#configuring-the-sidecar) are available in GitHub. | ||
|
|
||
| ## Installing the Sidecar {#installing-the-sidecar} | ||
|
|
||
|
|
@@ -141,12 +141,12 @@ An OpenAPI schema is available at `http://localhost:PORT/api-doc.json/`. The `PO | |
|
|
||
| ## Using the Sidecar | ||
|
|
||
| The [Casper Sidecar Usage Guide](https://github.com/casper-network/casper-sidecar/blob/feat-2.0/USAGE.md) describes how to consume events and perform queries using the Sidecar, covering the following topics: | ||
| The [Casper Sidecar Usage Guide](https://github.com/casper-network/casper-sidecar/blob/release-1.0.2-rc8_node-2.0.0-rc8/USAGE.md) describes how to consume events and perform queries using the Sidecar, covering the following topics: | ||
|
|
||
| * Node-generated events emitted by the node(s) to which the Sidecar connects | ||
| * Sidecar-generated events originating solely from the Sidecar service and not from a node | ||
| * The RESTful endpoint for performing useful queries about the state of the network | ||
|
|
||
| ## Troubleshooting Tips | ||
|
|
||
| For troubleshooting tips, visit [Github](https://github.com/casper-network/casper-sidecar/blob/feat-2.0/README.md#troubleshooting-tips). | ||
| For troubleshooting tips, visit [Github](https://github.com/casper-network/casper-sidecar/blob/release-1.0.2-rc8_node-2.0.0-rc8/USAGE.md#troubleshooting-tips). | ||
This file contains hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
command line output should include sidecar
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @Jiu-hong , I've incorporated the comments.