diff --git a/.go-algorand-stable.version b/.go-algorand-stable.version index 2818cd69..3cdbb096 100644 --- a/.go-algorand-stable.version +++ b/.go-algorand-stable.version @@ -1 +1 @@ -v4.0.1-stable +v4.0.2-stable diff --git a/docs/get-details/algorand-networks/mainnet.md b/docs/get-details/algorand-networks/mainnet.md index 8ce7c994..63331ffe 100644 --- a/docs/get-details/algorand-networks/mainnet.md +++ b/docs/get-details/algorand-networks/mainnet.md @@ -1,10 +1,10 @@ title: MainNet # Version -`v4.0.1-stable` +`v4.0.2-stable` # Release Version -https://github.com/algorand/go-algorand/releases/tag/v4.0.1-stable +https://github.com/algorand/go-algorand/releases/tag/v4.0.2-stable # Genesis ID `mainnet-v1.0` diff --git a/docs/get-details/algorand-networks/testnet.md b/docs/get-details/algorand-networks/testnet.md index 912ec2e6..f2b7c84d 100644 --- a/docs/get-details/algorand-networks/testnet.md +++ b/docs/get-details/algorand-networks/testnet.md @@ -1,10 +1,10 @@ title: TestNet # Version -`v4.0.1-stable` +`v4.0.2-stable` # Release Version -https://github.com/algorand/go-algorand/releases/tag/v4.0.1-stable +https://github.com/algorand/go-algorand/releases/tag/v4.0.2-stable # Genesis ID `testnet-v1.0` diff --git a/docs/rest-apis/algod.md b/docs/rest-apis/algod.md index 5c52c116..94518198 100644 --- a/docs/rest-apis/algod.md +++ b/docs/rest-apis/algod.md @@ -672,6 +672,7 @@ GET /v2/blocks/{round} |---|---|---|---| |**Path**|**round**
*required*|The round from which to fetch block information.|integer| |**Query**|**format**
*optional*|Configures whether the response object is JSON or MessagePack encoded. If not provided, defaults to JSON.|enum (json, msgpack)| +|**Query**|**header-only**
*optional*|If true, only the block header (exclusive of payset or certificate) may be included in response.|boolean| **Responses** @@ -751,53 +752,6 @@ GET /v2/blocks/{round}/hash * public - -### GET /v2/blocks/{round}/header -Get the block header for the block on the given round. -``` -GET /v2/blocks/{round}/header -``` - - -**Parameters** - -|Type|Name|Description|Schema| -|---|---|---|---| -|**Path**|**round**
*required*|The round from which to fetch block header information.|integer| -|**Query**|**format**
*optional*|Configures whether the response object is JSON or MessagePack encoded. If not provided, defaults to JSON.|enum (json, msgpack)| - - -**Responses** - -|HTTP Code|Description|Schema| -|---|---|---| -|**200**|Block header.|[Response 200](#getblockheader-response-200)| -|**400**|Bad Request - Non integer number|[ErrorResponse](#errorresponse)| -|**401**|Invalid API Token|[ErrorResponse](#errorresponse)| -|**404**|None existing block|[ErrorResponse](#errorresponse)| -|**500**|Internal Error|[ErrorResponse](#errorresponse)| -|**default**|Unknown Error|No Content| - - -**Response 200** - -|Name|Description|Schema| -|---|---|---| -|**blockHeader**
*required*|Block header data.|object| - - -**Produces** - -* `application/json` -* `application/msgpack` - - -**Tags** - -* nonparticipating -* public - - ### GET /v2/blocks/{round}/lightheader/proof Gets a proof for a given light block header inside a state proof commitment