forked from casper-network/casper-node
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from rafal-ch/more_clean_up
Clean up
- Loading branch information
Showing
8 changed files
with
680 additions
and
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "GetChainspecResult", | ||
"description": "Result for the \"info_get_chainspec\" RPC.", | ||
"type": "object", | ||
"required": [ | ||
"api_version", | ||
"chainspec_bytes" | ||
], | ||
"properties": { | ||
"api_version": { | ||
"description": "The RPC API version.", | ||
"type": "string" | ||
}, | ||
"chainspec_bytes": { | ||
"description": "The chainspec file bytes.", | ||
"allOf": [ | ||
{ | ||
"$ref": "#/definitions/ChainspecRawBytes" | ||
} | ||
] | ||
} | ||
}, | ||
"definitions": { | ||
"ChainspecRawBytes": { | ||
"description": "The raw bytes of the chainspec.toml, genesis accounts.toml, and global_state.toml files.", | ||
"type": "object", | ||
"required": [ | ||
"chainspec_bytes" | ||
], | ||
"properties": { | ||
"chainspec_bytes": { | ||
"description": "Raw bytes of the current chainspec.toml file.", | ||
"allOf": [ | ||
{ | ||
"$ref": "#/definitions/Bytes" | ||
} | ||
] | ||
}, | ||
"maybe_genesis_accounts_bytes": { | ||
"description": "Raw bytes of the current genesis accounts.toml file.", | ||
"anyOf": [ | ||
{ | ||
"$ref": "#/definitions/Bytes" | ||
}, | ||
{ | ||
"type": "null" | ||
} | ||
] | ||
}, | ||
"maybe_global_state_bytes": { | ||
"description": "Raw bytes of the current global_state.toml file.", | ||
"anyOf": [ | ||
{ | ||
"$ref": "#/definitions/Bytes" | ||
}, | ||
{ | ||
"type": "null" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"Bytes": { | ||
"description": "Hex-encoded bytes.", | ||
"type": "string" | ||
} | ||
} | ||
} |
Oops, something went wrong.