diff --git a/build/version.go b/build/version.go index 65eb5be63..12a5a29d1 100644 --- a/build/version.go +++ b/build/version.go @@ -83,9 +83,9 @@ func VersionForType(nodeType NodeType) (Version, error) { // semver versions of the rpc api exposed var ( - FullAPIVersion = newVer(0, 17, 0) - MinerAPIVersion = newVer(0, 18, 0) - WorkerAPIVersion = newVer(0, 17, 0) + FullAPIVersion = newVer(1, 0, 0) + MinerAPIVersion = newVer(1, 0, 0) + WorkerAPIVersion = newVer(1, 0, 0) ) //nolint:varcheck,deadcode diff --git a/documentation/en/api-methods-miner.md b/documentation/en/api-methods-miner.md index a805777b5..be82559a7 100644 --- a/documentation/en/api-methods-miner.md +++ b/documentation/en/api-methods-miner.md @@ -153,7 +153,7 @@ Response: ```json { "Version": "string value", - "APIVersion": 4352, + "APIVersion": 65536, "BlockDelay": 42 } ``` diff --git a/documentation/en/api-methods-worker.md b/documentation/en/api-methods-worker.md index 3f04ae85a..7e4fe5e9c 100644 --- a/documentation/en/api-methods-worker.md +++ b/documentation/en/api-methods-worker.md @@ -144,7 +144,7 @@ Perms: admin Inputs: `null` -Response: `4352` +Response: `65536` ## Add diff --git a/documentation/en/api-methods.md b/documentation/en/api-methods.md index 375f2c690..8db940007 100644 --- a/documentation/en/api-methods.md +++ b/documentation/en/api-methods.md @@ -246,7 +246,7 @@ Response: ```json { "Version": "string value", - "APIVersion": 4352, + "APIVersion": 65536, "BlockDelay": 42 } ```