Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updates #1276

Merged
merged 10 commits into from
Oct 30, 2024
2 changes: 1 addition & 1 deletion .github/workflows/pr-generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
27 changes: 27 additions & 0 deletions .github/workflows/update-dev-portal.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ ENV/
env.bak/
venv.bak/
.vscode/
.idea

2 changes: 1 addition & 1 deletion .indexer.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.5.0
3.6.0
4 changes: 3 additions & 1 deletion docs/clis/indexer/daemon.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docs/get-started/basics/why_algorand.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions docs/rest-apis/indexer.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Search for accounts.
|**Query**|**include-all** <br>*optional*|Include all items including closed accounts, deleted applications, destroyed assets, opted-out asset holdings, and closed-out application localstates.|boolean|
|**Query**|**limit** <br>*optional*|Maximum number of results to return. There could be additional pages even if the limit is not reached.|integer|
|**Query**|**next** <br>*optional*|The next page of results. Use the next token provided by the previous results.|string|
|**Query**|**round** <br>*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** <br>*optional*|Deprecated and disallowed. This parameter used to include results for a specified round. Requests with this parameter set are now rejected.|integer|


**Responses**
Expand Down Expand Up @@ -116,7 +116,7 @@ Lookup account information.
|**Path**|**account-id** <br>*required*|account string|string|
|**Query**|**exclude** <br>*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** <br>*optional*|Include all items including closed accounts, deleted applications, destroyed assets, opted-out asset holdings, and closed-out application localstates.|boolean|
|**Query**|**round** <br>*optional*|Include results for the specified round.|integer|
|**Query**|**round** <br>*optional*|Deprecated and disallowed. This parameter used to include results for a specified round. Requests with this parameter set are now rejected.|integer|


**Responses**
Expand Down
Loading