mirror of
https://github.com/hinto-janai/cuprate.git
synced 2024-12-23 03:59:37 +00:00
apply diffs
This commit is contained in:
parent
9923d8d69d
commit
b931ffc7ad
2 changed files with 15 additions and 3 deletions
|
@ -817,8 +817,17 @@ define_request_and_response! {
|
||||||
hard_fork_info,
|
hard_fork_info,
|
||||||
cc73fe71162d564ffda8e549b79a350bca53c454 =>
|
cc73fe71162d564ffda8e549b79a350bca53c454 =>
|
||||||
core_rpc_server_commands_defs.h => 1958..=1995,
|
core_rpc_server_commands_defs.h => 1958..=1995,
|
||||||
HardForkInfo (empty),
|
HardForkInfo,
|
||||||
Request {},
|
|
||||||
|
#[doc = serde_doc_test!(
|
||||||
|
HARD_FORK_INFO => HardForkInfo {
|
||||||
|
version: 16,
|
||||||
|
}
|
||||||
|
)]
|
||||||
|
#[derive(Copy)]
|
||||||
|
Request {
|
||||||
|
version: u8,
|
||||||
|
},
|
||||||
|
|
||||||
#[doc = serde_doc_test!(
|
#[doc = serde_doc_test!(
|
||||||
HARD_FORK_INFO_RESPONSE => HardForkInfoResponse {
|
HARD_FORK_INFO_RESPONSE => HardForkInfoResponse {
|
||||||
|
|
|
@ -608,7 +608,10 @@ define_request_and_response! {
|
||||||
r#"{
|
r#"{
|
||||||
"jsonrpc": "2.0",
|
"jsonrpc": "2.0",
|
||||||
"id": "0",
|
"id": "0",
|
||||||
"method": "hard_fork_info"
|
"method": "hard_fork_info",
|
||||||
|
"params": {
|
||||||
|
"version": 16
|
||||||
|
}
|
||||||
}"#;
|
}"#;
|
||||||
Response =
|
Response =
|
||||||
r#"{
|
r#"{
|
||||||
|
|
Loading…
Reference in a new issue