The Syncer package provides support for syncing blocks from any Rosetta Data API implementation. If you want to see an example of how to use this package, take a look at rosetta-cli.
- Automatic handling of block re-orgs
- Multi-threaded block fetching (using the
fetcher
package) - Implementable
Handler
to define your own block processing logic (ex: store processed blocks to a db or print our balance changes)
go get github.com/coinbase/rosetta-sdk-go/syncer
- Sync multiple shards in a sharded blockchain