RAIRsync
Alchemy powered syncing system for RAIR
All of the configurations for RAIRsync are located in the RAIRnode env setup. Basically don't touch this repo unless you want to modify or extend it to other providers.
Configurations for RAIRsync are located in environment variables as well as hardcoded into the database. By running the database install script, you can auto configure a working system. By default we specify block numbers to start syncing at 4/30/2024.
ENVS
In RAIRnode these 2 environment variables specify the main syncing settings.
Type - Int
Sets time intervals for the syncing of smart contracts. Only for data that changes onchain. Time between end of sync task and next time it starts.
Type - Int
Sets time intervals for the syncing of smart contracts. Only for data that changes onchain. Time between start of one sync and the next. Waits between blockch
Database
Specify which block number to begin syncing at by blockchain. This feature is currently hardcoded into the MongoDB. If you'd like to add API support for it please submit a PR!
Last updated