-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR replaces all p2p endpoint requests with service endpoint requests avoiding the need to have a p2p configuration. This simplifies `chainweb-data`'s command line interface, but more importantly, it avoids depending on CW-N's p2p endpoint, which is supposed to be for peer to peer communication only and is subject to backwards-incompatible changes. In particular, this PR moves the following requests to the service endpoint: * [`GET <node-endpoint>/chainweb/0.0/<network-id>/cut`](https://github.com/kadena-io/chainweb-data/pull/160/files#diff-a55128f6e70aa85de943e6bbb87a99cfcf9fba62b1d9852376fdcfc3c6556681R188) * [`GET <node-endpoint>/chainweb/0.0/<network-id>/chain/<chain-id>/payload/<block-hash>/outputs`](https://github.com/kadena-io/chainweb-data/pull/160/files#diff-a55128f6e70aa85de943e6bbb87a99cfcf9fba62b1d9852376fdcfc3c6556681R171) * Avoid depending on the CW-N p2p endpoint * Fix typo * Add a comment explaining ignoredP2pParser * Remove mentions of --p2p-{host,port} from README * Unrelated minor README fix We had used backticks for verbatim even though our README is .org * Bump the chainweb-api commit This commit allows us to run a fill operation against a fast-development node, facilitating the testing for this PR
- Loading branch information
Showing
6 changed files
with
28 additions
and
30 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
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
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