From 17469b86d7ef977beca4ce4e2fc178214ce8eaf6 Mon Sep 17 00:00:00 2001 From: Emmanuel Orozco Date: Fri, 8 Nov 2024 21:16:55 +0100 Subject: [PATCH 1/4] fix(getting-started): Fixed correct deploy command --- docs/get-started/algokit.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/get-started/algokit.md b/docs/get-started/algokit.md index b16f3477..2c6c23da 100644 --- a/docs/get-started/algokit.md +++ b/docs/get-started/algokit.md @@ -153,7 +153,7 @@ If you would like to manually build and deploy the `HelloWorld` smart contract r ```shell algokit project run build -algokit project run deploy +algokit project deploy ``` This should produce something similar to the following in the VSCode terminal. From 5cce0a0f2819fd28df5af42b8fc92c76fe70579e Mon Sep 17 00:00:00 2001 From: barnjamin Date: Thu, 21 Nov 2024 21:31:40 +0000 Subject: [PATCH 2/4] [create-pull-request] automated change --- .go-algorand-beta.version | 2 +- docs/get-details/algorand-networks/betanet.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.go-algorand-beta.version b/.go-algorand-beta.version index 144af87a..c8314e24 100644 --- a/.go-algorand-beta.version +++ b/.go-algorand-beta.version @@ -1 +1 @@ -v3.26.0-beta +v3.27.0-beta diff --git a/docs/get-details/algorand-networks/betanet.md b/docs/get-details/algorand-networks/betanet.md index 683a069c..6d9fe47f 100644 --- a/docs/get-details/algorand-networks/betanet.md +++ b/docs/get-details/algorand-networks/betanet.md @@ -4,10 +4,10 @@ title: BetaNet 🔷 🔷 = BetaNet availability only # Version -`v3.26.0-beta` +`v3.27.0-beta` # Release Version -https://github.com/algorand/go-algorand/releases/tag/v3.26.0-beta +https://github.com/algorand/go-algorand/releases/tag/v3.27.0-beta # Genesis ID `betanet-v1.0` From 5372a96bf69aeaed7c57ea406198c7f0f559a098 Mon Sep 17 00:00:00 2001 From: barnjamin Date: Tue, 26 Nov 2024 16:02:04 +0000 Subject: [PATCH 3/4] [create-pull-request] automated change --- .go-algorand-stable.version | 2 +- docs/get-details/algorand-networks/mainnet.md | 4 +- docs/get-details/algorand-networks/testnet.md | 4 +- docs/rest-apis/algod.md | 47 +++++++++++++++++++ docs/run-a-node/reference/config.md | 6 ++- 5 files changed, 56 insertions(+), 7 deletions(-) diff --git a/.go-algorand-stable.version b/.go-algorand-stable.version index db69d9be..ad0c0083 100644 --- a/.go-algorand-stable.version +++ b/.go-algorand-stable.version @@ -1 +1 @@ -v3.26.0-stable +v3.27.0-stable diff --git a/docs/get-details/algorand-networks/mainnet.md b/docs/get-details/algorand-networks/mainnet.md index 14b5fc06..6481cc61 100644 --- a/docs/get-details/algorand-networks/mainnet.md +++ b/docs/get-details/algorand-networks/mainnet.md @@ -1,10 +1,10 @@ title: MainNet # Version -`v3.26.0-stable` +`v3.27.0-stable` # Release Version -https://github.com/algorand/go-algorand/releases/tag/v3.26.0-stable +https://github.com/algorand/go-algorand/releases/tag/v3.27.0-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 e94c76c2..81052031 100644 --- a/docs/get-details/algorand-networks/testnet.md +++ b/docs/get-details/algorand-networks/testnet.md @@ -1,10 +1,10 @@ title: TestNet # Version -`v3.26.0-stable` +`v3.27.0-stable` # Release Version -https://github.com/algorand/go-algorand/releases/tag/v3.26.0-stable +https://github.com/algorand/go-algorand/releases/tag/v3.27.0-stable # Genesis ID `testnet-v1.0` diff --git a/docs/rest-apis/algod.md b/docs/rest-apis/algod.md index 2b7cd770..1adf9cd1 100644 --- a/docs/rest-apis/algod.md +++ b/docs/rest-apis/algod.md @@ -751,6 +751,53 @@ 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 diff --git a/docs/run-a-node/reference/config.md b/docs/run-a-node/reference/config.md index 1a6ceea3..3b82274c 100644 --- a/docs/run-a-node/reference/config.md +++ b/docs/run-a-node/reference/config.md @@ -32,13 +32,13 @@ The `algod` process configuration parameters are shown in the table below. | Property| Description | Default Value | |------|------|------| -| Version | Version tracks the current version of the defaults so we can migrate old -> new
This is specifically important whenever we decide to change the default value
for an existing parameter. This field tag must be updated any time we add a new version. | 34 | +| Version | Version tracks the current version of the defaults so we can migrate old -> new
This is specifically important whenever we decide to change the default value
for an existing parameter. This field tag must be updated any time we add a new version. | 35 | | Archival | Archival nodes retain a full copy of the block history. Non-Archival nodes will delete old blocks and only retain what's need to properly validate blockchain messages (the precise number of recent blocks depends on the consensus parameters. Currently the last 1321 blocks are required). This means that non-Archival nodes require significantly less storage than Archival nodes. If setting this to true for the first time, the existing ledger may need to be deleted to get the historical values stored as the setting only affects current blocks forward. To do this, shutdown the node and delete all .sqlite files within the data/testnet-version directory, except the crash.sqlite file. Restart the node and wait for the node to sync. | false | | GossipFanout | GossipFanout sets the maximum number of peers the node will connect to with outgoing connections. If the list of peers is less than this setting, fewer connections will be made. The node will not connect to the same peer multiple times (with outgoing connections). | 4 | | NetAddress | NetAddress is the address and/or port on which a node listens for incoming connections, or blank to ignore incoming connections. Specify an IP and port or just a port. For example, 127.0.0.1:0 will listen on a random port on the localhost. | | | ReconnectTime | ReconnectTime is deprecated and unused. | 60000000000 | | PublicAddress | PublicAddress is the public address to connect to that is advertised to other nodes.
For MainNet relays, make sure this entry includes the full SRV host name
plus the publicly-accessible port number.
A valid entry will avoid "self-gossip" and is used for identity exchange
to de-duplicate redundant connections | | -| MaxConnectionsPerIP | MaxConnectionsPerIP is the maximum number of connections allowed per IP address. | 15 | +| MaxConnectionsPerIP | MaxConnectionsPerIP is the maximum number of connections allowed per IP address. | 8 | | PeerPingPeriodSeconds | PeerPingPeriodSeconds is deprecated and unused. | 0 | | TLSCertFile | TLSCertFile is the certificate file used for the websocket network if povided. | | | TLSKeyFile | TLSKeyFile is the key file used for the websocket network if povided. | | @@ -61,6 +61,7 @@ The `algod` process configuration parameters are shown in the table below. | PriorityPeers | PriorityPeers specifies peer IP addresses that should always get
outgoing broadcast messages from this node. | | | ReservedFDs | ReservedFDs is used to make sure the algod process does not run out of file descriptors (FDs). Algod ensures
that RLIMIT_NOFILE >= IncomingConnectionsLimit + RestConnectionsHardLimit +
ReservedFDs. ReservedFDs are meant to leave room for short-lived FDs like
DNS queries, SQLite files, etc. This parameter shouldn't be changed.
If RLIMIT_NOFILE < IncomingConnectionsLimit + RestConnectionsHardLimit + ReservedFDs
then either RestConnectionsHardLimit or IncomingConnectionsLimit decreased. | 256 | | EndpointAddress | EndpointAddress configures the address the node listens to for REST API calls. Specify an IP and port or just port. For example, 127.0.0.1:0 will listen on a random port on the localhost (preferring 8080). | 127.0.0.1 | +| EnablePrivateNetworkAccessHeader | Respond to Private Network Access preflight requests sent to the node. Useful when a public website is trying to access a node that's hosted on a local network. | false | | RestReadTimeoutSeconds | RestReadTimeoutSeconds is passed to the API servers rest http.Server implementation. | 15 | | RestWriteTimeoutSeconds | RestWriteTimeoutSeconds is passed to the API servers rest http.Server implementation. | 120 | | DNSBootstrapID | DNSBootstrapID specifies the names of a set of DNS SRV records that identify the set of nodes available to connect to.
This is applicable to both relay and archival nodes - they are assumed to use the same DNSBootstrapID today.
When resolving the bootstrap ID will be replaced by the genesis block's network name. This string uses a URL
parsing library and supports optional backup and dedup parameters. 'backup' is used to provide a second DNS entry to use
in case the primary is unavailable. dedup is intended to be used to deduplicate SRV records returned from the primary
and backup DNS address. If the macro is used in the dedup mask, it must be at the beginning of the expression.
This is not typically something a user would configure. For more information see config/dnsbootstrap.go. | <network>.algorand.network?backup=<network>.algorand.net&dedup=<name>.algorand-<network>.(network|net) | @@ -83,6 +84,7 @@ The `algod` process configuration parameters are shown in the table below. | TxBacklogAppTxPerSecondRate | TxBacklogAppTxPerSecondRate determines a target app per second rate for the app tx rate limiter | 100 | | TxBacklogRateLimitingCongestionPct | TxBacklogRateLimitingCongestionRatio determines the backlog filling threshold percentage at which the app limiter kicks in
or the tx backlog rate limiter kicks off. | 50 | | EnableTxBacklogAppRateLimiting | EnableTxBacklogAppRateLimiting controls if an app rate limiter should be attached to the tx backlog enqueue process | true | +| TxBacklogAppRateLimitingCountERLDrops | TxBacklogAppRateLimitingCountERLDrops feeds messages dropped by the ERL congestion manager & rate limiter (enabled by
EnableTxBacklogRateLimiting) to the app rate limiter (enabled by EnableTxBacklogAppRateLimiting), so that all TX messages
are counted. This provides more accurate rate limiting for the app rate limiter, at the potential expense of additional
deserialization overhead. | false | | EnableTxBacklogRateLimiting | EnableTxBacklogRateLimiting controls if a rate limiter and congestion manager should be attached to the tx backlog enqueue process
if enabled, the over-all TXBacklog Size will be larger by MAX_PEERS*TxBacklogReservedCapacityPerPeer | true | | TxBacklogSize | TxBacklogSize is the queue size used for receiving transactions. default of 26000 to approximate 1 block of transactions
if EnableTxBacklogRateLimiting enabled, the over-all size will be larger by MAX_PEERS*TxBacklogReservedCapacityPerPeer | 26000 | | TxPoolSize | TxPoolSize is the number of transactions in the transaction pool buffer. | 75000 | From dae98fc44f323490c5f8c4c5186e766e84e911d9 Mon Sep 17 00:00:00 2001 From: barnjamin Date: Mon, 23 Dec 2024 16:00:55 +0000 Subject: [PATCH 4/4] [create-pull-request] automated change --- .go-algorand-beta.version | 2 +- .indexer.version | 2 +- docs/get-details/algorand-networks/betanet.md | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.go-algorand-beta.version b/.go-algorand-beta.version index c8314e24..65188a9a 100644 --- a/.go-algorand-beta.version +++ b/.go-algorand-beta.version @@ -1 +1 @@ -v3.27.0-beta +v4.0.0-beta diff --git a/.indexer.version b/.indexer.version index 40c341bd..7c69a55d 100644 --- a/.indexer.version +++ b/.indexer.version @@ -1 +1 @@ -3.6.0 +3.7.0 diff --git a/docs/get-details/algorand-networks/betanet.md b/docs/get-details/algorand-networks/betanet.md index 6d9fe47f..1fd5e0ea 100644 --- a/docs/get-details/algorand-networks/betanet.md +++ b/docs/get-details/algorand-networks/betanet.md @@ -4,10 +4,10 @@ title: BetaNet 🔷 🔷 = BetaNet availability only # Version -`v3.27.0-beta` +`v4.0.0-beta` # Release Version -https://github.com/algorand/go-algorand/releases/tag/v3.27.0-beta +https://github.com/algorand/go-algorand/releases/tag/v4.0.0-beta # Genesis ID `betanet-v1.0`