Skip to content

Latest commit

 

History

History
 
 

syncer

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Syncer

GoDoc

The Syncer package provides support for syncing blocks from any Mesh Data API implementation. If you want to see an example of how to use this package, take a look at mesh-cli.

Features

  • 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)

Installation

go get github.com/coinbase/mesh-sdk-go/syncer

Future Work

  • Sync multiple shards in a sharded blockchain