go-flare is a modified version of [email protected] + [email protected] that incorporates the Flare Time Series Oracle (FTSO) and State Connector.
- go version 1.18.5
- gcc, g++ and jq
- CPU: Equivalent of 8 AWS vCPU
- RAM: 16 GiB
- Storage: 1TB
- OS: Ubuntu 18.04/20.04 or macOS >= 10.15 (Catalina)
After cloning this repository, run:
cd go-flare/avalanchego && ./scripts/build.sh
These servers fulfill a critical role in securing the network:
- They check that all received transactions are valid.
- They run a consensus algorithm so that all validators in the network agree on the transactions to add to the blockchain.
- Finally, they add the agreed-upon transactions to their copy of the ledger.
This guide explains how to deploy your own validator node so you can participate in the consensus and collect the rewards that the network provides to those who help secure it: https://docs.flare.network/infra/validation/deploying/
Observation nodes enable anyone to observe the network and submit transactions. Unlike validator nodes, which provide state consensus and add blocks, observation nodes remain outside the network and have no effect on consensus or blocks.
This guide explains how to deploy your own observation node: https://docs.flare.network/infra/observation/deploying/
See tests/README.md
for testing details
Public container images are hosted on Docker HUB and Github Packages;
docker.io/flarefoundation/go-flare
hgcr.io/flare-foundation/go-flare
CI builds on each:
- push on
main
branch, pushes image tagged as "dev" - creation of a tag, pushes images tagged as the tag itself
Builds:
two images, go-flare:<TAG>
one with leveldb