diff --git a/Makefile b/Makefile index 28d1f8642..e0d85b568 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,6 @@ devtools: go install mvdan.cc/gofumpt@latest go install github.com/rakyll/statik@v0.1.7 go install github.com/pacviewer/jrpc-gateway/protoc-gen-jrpc-gateway@v0.3.2 - go install github.com/pacviewer/jrpc-gateway/protoc-gen-jrpc-doc/cmd/protoc-gen-jrpc-doc@v0.1.7 ######################################## ### Building diff --git a/www/grpc/buf/json-rpc-md.tmpl b/www/grpc/buf/json-rpc-md.tmpl index aef588647..bf2f37433 100644 --- a/www/grpc/buf/json-rpc-md.tmpl +++ b/www/grpc/buf/json-rpc-md.tmpl @@ -10,7 +10,57 @@ All the amounts and values in gRPC endpoints are in NanoPAC units, which are atomic and the smallest unit in the Pactus blockchain. Each PAC is equivalent to 1,000,000,000 or 109 NanoPACs. -
- * The last block time as timestamp + * Timestamp of the last block in Unix format ** *
int64 last_block_time = 10 [json_name = "lastBlockTime"];
@@ -11244,7 +11244,7 @@ public int getPruningHeight() {
private long lastBlockTime_;
/**
* - * The last block time as timestamp + * Timestamp of the last block in Unix format ** *
int64 last_block_time = 10 [json_name = "lastBlockTime"];
@@ -12536,7 +12536,7 @@ public Builder clearPruningHeight() {
private long lastBlockTime_ ;
/**
* - * The last block time as timestamp + * Timestamp of the last block in Unix format ** *
int64 last_block_time = 10 [json_name = "lastBlockTime"];
@@ -12548,7 +12548,7 @@ public long getLastBlockTime() {
}
/**
* - * The last block time as timestamp + * Timestamp of the last block in Unix format ** *
int64 last_block_time = 10 [json_name = "lastBlockTime"];
@@ -12563,7 +12563,7 @@ public Builder setLastBlockTime(long value) {
}
/**
* - * The last block time as timestamp + * Timestamp of the last block in Unix format ** *
int64 last_block_time = 10 [json_name = "lastBlockTime"];
diff --git a/www/grpc/gen/rust/pactus.rs b/www/grpc/gen/rust/pactus.rs
index 36ce81831..897e4a1b0 100644
--- a/www/grpc/gen/rust/pactus.rs
+++ b/www/grpc/gen/rust/pactus.rs
@@ -532,7 +532,7 @@ pub struct GetBlockchainInfoResponse {
/// Lowest-height block stored (only present if pruning is enabled)
#[prost(uint32, tag="9")]
pub pruning_height: u32,
- /// The last block time as timestamp
+ /// Timestamp of the last block in Unix format
#[prost(int64, tag="10")]
pub last_block_time: i64,
}
diff --git a/www/grpc/swagger-ui/pactus.swagger.json b/www/grpc/swagger-ui/pactus.swagger.json
index a5f84b7c6..c7a3d6e1e 100644
--- a/www/grpc/swagger-ui/pactus.swagger.json
+++ b/www/grpc/swagger-ui/pactus.swagger.json
@@ -1628,7 +1628,7 @@
"lastBlockTime": {
"type": "string",
"format": "int64",
- "title": "The last block time as timestamp"
+ "title": "Timestamp of the last block in Unix format"
}
},
"description": "Message containing the response with general blockchain information."