-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
48 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,3 +17,4 @@ Cargo.lock | |
|
||
.DS_Store | ||
.vscode | ||
.idea |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,54 @@ | ||
# avalanche-conformance | ||
|
||
avalanche-conformance is a tool used to ensure code is compatible with avalanchego. The tool performs byte level | ||
checking for the avalanchego codec as well as key generations. The code is run against a live avalanchego node. | ||
|
||
avalanche-conformance is a gRPC server that accepts client connections on a configurable port. A client library is also | ||
provided. | ||
|
||
## Usage | ||
|
||
```bash | ||
go install -v ./cmd/avalanchego-conformance | ||
avalanchego-conformance server \ | ||
--port 9090 \ | ||
--grpc-gateway-port 9091 | ||
``` | ||
|
||
The following gRPC messages are implemented by the gRPC server: | ||
|
||
Keys | ||
* CertificateToNodeId | ||
* Secp256K1RecoverHashPublicKey | ||
* Secp256K1Info | ||
* BlsSignature | ||
|
||
Node Messages | ||
* AcceptedFrontier | ||
* AcceptedStateSummary | ||
* Accepted | ||
* Ancestors | ||
* AppGossip | ||
* AppRequest | ||
* AppResponse | ||
* Chits | ||
* GetAcceptedFrontier | ||
* GetAcceptedStateSummary | ||
* GetAccepted | ||
* GetAncestors | ||
* GetStateSummaryFrontier | ||
* Get | ||
* Peerlist | ||
* Ping | ||
* Pong | ||
* PullQuery | ||
* PushQuery | ||
* Put | ||
* StateSummaryFrontier | ||
* Version | ||
|
||
Vertex Messages | ||
* BuildVertex | ||
|
||
Server Messages | ||
* PingService |