diff --git a/.github/workflows/pr-generator.yml b/.github/workflows/pr-generator.yml index 74849e7f..71227fb9 100644 --- a/.github/workflows/pr-generator.yml +++ b/.github/workflows/pr-generator.yml @@ -134,6 +134,6 @@ jobs: branch: "automatic-pr-go-algorand-${{ inputs.go_algorand_version }}-indexer-${{ inputs.indexer_version }}" title: "Automatic update generated for go-algorand: ${{ inputs.go_algorand_version }} and indexer: ${{ inputs.indexer_version }}" body: "Changes generated automatically by github action docs-generator." - reviewers: "nullun,SilentRhetoric,Loedn,larkiny" + reviewers: "nullun,SilentRhetoric" delete-branch: true base: staging diff --git a/.github/workflows/update-dev-portal.yml b/.github/workflows/update-dev-portal.yml new file mode 100644 index 00000000..ef794787 --- /dev/null +++ b/.github/workflows/update-dev-portal.yml @@ -0,0 +1,27 @@ +name: Trigger Documentation Build + +on: + push: + branches: + - master + - staging + +jobs: + trigger-build: + runs-on: ubuntu-latest + steps: + - name: Trigger documentation build + run: | + # Set environment based on branch + if [[ "${{ github.ref }}" == "refs/heads/master" ]]; then + ENV="production" + else + ENV="staging" + fi + + # Trigger repository_dispatch event + curl -X POST \ + -H "Authorization: token ${{ secrets.DISPATCH_TOKEN }}" \ + -H "Accept: application/vnd.github.v3+json" \ + -d "{\"event_type\": \"docs_update\", \"client_payload\": {\"ref\": \"${{ github.ref }}\", \"environment\": \"$ENV\"}}" \ + https://api.github.com/repos/algorandfoundation/algorand-developer-portal/dispatches \ No newline at end of file diff --git a/.gitignore b/.gitignore index 1e2457e9..d25b5d1f 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,5 @@ ENV/ env.bak/ venv.bak/ .vscode/ +.idea + diff --git a/.indexer.version b/.indexer.version index 1545d966..40c341bd 100644 --- a/.indexer.version +++ b/.indexer.version @@ -1 +1 @@ -3.5.0 +3.6.0 diff --git a/docs/clis/indexer/daemon.md b/docs/clis/indexer/daemon.md index 4fb05e1b..ff150598 100644 --- a/docs/clis/indexer/daemon.md +++ b/docs/clis/indexer/daemon.md @@ -50,12 +50,14 @@ indexer daemon [flags] --default-transactions-limit uint32 set the default Limit parameter for querying transactions, if none is provided (default 1000) - --dev-mode allow performance intensive operations like searching for accounts at a particular round + --dev-mode has no effect currently, reserved for future performance intensive operations -n, --dummydb use dummy indexer db --enable-all-parameters override default configuration and enable all parameters. Can't be used with --api-config-file + --enable-private-network-access-header respond to Private Network Access preflight requests + -h, --help help for daemon -f, --logfile string file to write logs to, if unset logs are written to standard out diff --git a/docs/get-started/basics/why_algorand.md b/docs/get-started/basics/why_algorand.md index de40268c..e8c3833d 100644 --- a/docs/get-started/basics/why_algorand.md +++ b/docs/get-started/basics/why_algorand.md @@ -92,12 +92,12 @@ The speed at which blocks are produced, the amount of transactions that can fit ## Throughput You want to choose a blockchain that can scale and handle high throughput so that your users don’t experience long wait times when interacting with your application. -On Algorand, blocks are produced every 2.85 seconds and can hold up to 25,000 transactions, which results in a throughput of over 9,000 transactions per second (9,000 TPS). +On Algorand, blocks are produced every 2.85 seconds and can hold up to 25,000 transactions, which results in a throughput of over 10,000 transactions per second (10,000 TPS). ## Finality In proof-of-work blockchains, since forking is a possibility, transactions can’t be considered final until a certain amount of time passes and the likelihood of the transaction being on an orphaned chain is practically zero. This means that the actual throughput of this type of blockchain is caveated by a delay in finality. Downstream processes in an application must take this into account to avoid compounding issues if a transaction ends up being invalid. -As we mentioned earlier, Algorand does not have forking so transactions are final as soon as they are confirmed in a block. A throughput of 9,000 TPS then actually means 9,000 _finalized_ transactions per second. +As we mentioned earlier, Algorand does not have forking so transactions are final as soon as they are confirmed in a block. A throughput of 10,000 TPS then actually means 10,000 _finalized_ transactions per second. # Core features Algorand makes it easy to tokenize, transfer, and program conditions on any instrument of value. Create fungible and nonfungible tokens with a single transaction (no smart contract code required). Or program sophisticated decentralized applications (dApps) with Algorand smart contracts. diff --git a/docs/rest-apis/indexer.md b/docs/rest-apis/indexer.md index 471a8daf..3eb9e532 100644 --- a/docs/rest-apis/indexer.md +++ b/docs/rest-apis/indexer.md @@ -50,7 +50,7 @@ Search for accounts. |**Query**|**include-all**
*optional*|Include all items including closed accounts, deleted applications, destroyed assets, opted-out asset holdings, and closed-out application localstates.|boolean| |**Query**|**limit**
*optional*|Maximum number of results to return. There could be additional pages even if the limit is not reached.|integer| |**Query**|**next**
*optional*|The next page of results. Use the next token provided by the previous results.|string| -|**Query**|**round**
*optional*|Include results for the specified round. For performance reasons, this parameter may be disabled on some configurations. Using application-id or asset-id filters will return both creator and opt-in accounts. Filtering by include-all will return creator and opt-in accounts for deleted assets and accounts. Non-opt-in managers are not included in the results when asset-id is used.|integer| +|**Query**|**round**
*optional*|Deprecated and disallowed. This parameter used to include results for a specified round. Requests with this parameter set are now rejected.|integer| **Responses** @@ -116,7 +116,7 @@ Lookup account information. |**Path**|**account-id**
*required*|account string|string| |**Query**|**exclude**
*optional*|Exclude additional items such as asset holdings, application local data stored for this account, asset parameters created by this account, and application parameters created by this account.|< enum (all, assets, created-assets, apps-local-state, created-apps, none) > array| |**Query**|**include-all**
*optional*|Include all items including closed accounts, deleted applications, destroyed assets, opted-out asset holdings, and closed-out application localstates.|boolean| -|**Query**|**round**
*optional*|Include results for the specified round.|integer| +|**Query**|**round**
*optional*|Deprecated and disallowed. This parameter used to include results for a specified round. Requests with this parameter set are now rejected.|integer| **Responses**