Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ jobs:
include:
- language: actions
build-mode: none
- language: go
build-mode: autobuild
- language: python
build-mode: none
# CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'rust', 'swift'
Expand Down
9 changes: 1 addition & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ The following nodes are included:
- [Litecoin](https://github.com/litecoin-project/litecoin)
- [Dogecoin](https://github.com/dogecoin/dogecoin)
- [Rippled](https://github.com/ripple/rippled)
- [Algorand](https://github.com/algorand/go-algorand)

You can use this repo to get you started but we encourage the community to configure their own setups for increased technical diversity of the attestation provider ecosystem.

Expand All @@ -25,14 +24,13 @@ The following specifications were observed to be able to run all nodes on a sing
- RAM: 96GB
- Disk space: 3TB with an option or plan in place to expand capacity. SSD is recommended, some chains like xrpl can fall out of sync on regular disks. Xrpl also does not work on network attached cloud storage, a locally attached disk is required.

Bootstrap time depends on your infrastructure and network, in our testing it is a few hours for litecoin, dogecoin, algorand and xrpl, more than a day for bitcoin.
Bootstrap time depends on your infrastructure and network, in our testing it is a few hours for litecoin and dogecoin, more than a day for bitcoin, minutes for xrpl.


As of Q1 2024, this is roughly what you can expect from each node regarding disk usage:

| Volume | Size |
| ----------- | ----------- |
| algorand-data | 200GB |
| bitcoin-data | 1000GB |
| dogecoin-data | 350GB |
| litecoin-data | 300GB |
Expand Down Expand Up @@ -184,11 +182,6 @@ followed by `sudo systemctl restart docker`.

Alternatively, if you do not wish to change data directory for your docker daemon you can switch to bind volume mounts or volume mounts with nfs driver in the compose file.

# Algorand fast sync
Algorand node supports syncing just the latest blocks in the blockchain, but it downloads full history by default. This can take up to 14 days.
If you don't want to download the whole blockchain, you can run the script `algorand-catchup.sh` after the node has started bootstrapping.
This will use Algorand fast catchup feature to automatically catchup to the latest catchpoint. After starting the catchup, the node should finish bootstrapping in few hours.

# Building your own images

All Dockerfile definitions are in `images` folder. Images use Moby BuildKit extensions.
Expand Down
41 changes: 0 additions & 41 deletions algorand-catchup.sh

This file was deleted.

100 changes: 0 additions & 100 deletions config-testnet/algorand/config.json

This file was deleted.

14 changes: 0 additions & 14 deletions config-testnet/algorand/gen_auth_token.sh

This file was deleted.

100 changes: 0 additions & 100 deletions config/algorand/config.json

This file was deleted.

14 changes: 0 additions & 14 deletions config/algorand/gen_auth_token.sh

This file was deleted.

21 changes: 1 addition & 20 deletions docker-compose-testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,27 +56,8 @@ services:
- ./config-testnet/ripple/rippled.conf:/opt/ripple/.ripple/rippled.conf:ro
- ./config-testnet/ripple/validators.txt:/opt/ripple/.ripple/validators.txt:ro

algorand:
container_name: algorand
image: flarefoundation/algorand:4.2.1
restart: on-failure:3
ports:
- ${BIND_IP}:18080:8080
- ${BIND_IP}:4161:4161
dns:
- 8.8.8.8
- 1.1.1.1
environment:
- TZ=Europe/London
- ALGOD_NETWORK: testnet
volumes:
- algorand-testnet-data:/opt/algorand/.algorand
- ./config-testnet/algorand/config.json:/opt/algorand/.algorand/config.json
- ./config-testnet/algorand/algod.token:/opt/algorand/.algorand/algod.token

volumes:
bitcoin-testnet-data:
litecoin-testnet-data:
dogecoin-testnet-data:
ripple-testnet-data:
algorand-testnet-data:
ripple-testnet-data:
21 changes: 1 addition & 20 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,27 +53,8 @@ services:
- ./config/ripple/rippled.conf:/opt/ripple/.ripple/rippled.conf:ro
- ./config/ripple/validators.txt:/opt/ripple/.ripple/validators.txt:ro

algorand:
container_name: algorand
image: flarefoundation/algorand:4.2.1
restart: on-failure:3
ports:
- ${BIND_IP}:6332:8080
- ${BIND_IP}:4160:4160
- ${BIND_IP}:9100:9100
dns:
- 8.8.8.8
- 1.1.1.1
environment:
- TZ=Europe/London
volumes:
- algorand-data:/opt/algorand/.algorand
- ./config/algorand/config.json:/opt/algorand/.algorand/config.json
- ./config/algorand/algod.token:/opt/algorand/.algorand/algod.token

volumes:
bitcoin-data:
litecoin-data:
dogecoin-data:
ripple-data:
algorand-data:
ripple-data:
3 changes: 0 additions & 3 deletions hc-testnet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,3 @@ curl -X POST -m 10 -H "Content-type: application/json" -d '{"jsonrpc": "1.0", "i

echo "====================== RIPPLED ======================"
curl -X POST -m 10 -H "Content-type: application/json" -d '{"method": "server_info", "params":[{"api_version": 1}]}' http://localhost:11234 |jq

echo "====================== ALGORAND ======================"
curl -X GET -m 10 http://localhost:18080/v2/status -H "X-Algo-API-Token: $PASS" |jq
3 changes: 0 additions & 3 deletions hc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,3 @@ curl -X POST -m 10 -H "Content-type: application/json" -d '{"jsonrpc": "1.0", "i

echo "====================== RIPPLED ======================"
curl -X POST -m 10 -H "Content-type: application/json" -d '{"method": "server_info", "params":[{"api_version": 1}]}' http://localhost:51234 |jq

echo "====================== ALGORAND ======================"
curl -X GET -m 10 http://localhost:6332/v2/status -H "X-Algo-API-Token: $PASS" |jq
Loading