Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // BootstrapBalances is a path to a file used to bootstrap // balances before starting syncing. Populating this value // after beginning syncing will return an error. BootstrapBalances string // LookupBalanceByBlock determines if balances are looked up // at the block where a balance change occurred instead of at the current // block. Blockchains that do not support historical balance lookup // should set this to false. LookupBalanceByBlock bool )
View Source
var ( // DataDir is a folder used to store logs // and any data used to perform validation. DataDir string // ServerURL is the base URL for a Rosetta // server to validate. ServerURL string // StartIndex is the block index to start syncing. StartIndex int64 // EndIndex is the block index to stop syncing. EndIndex int64 // BlockConcurrency is the concurrency to use // while fetching blocks. BlockConcurrency uint64 // TransactionConcurrency is the concurrency to use // while fetching transactions (if required). TransactionConcurrency uint64 // AccountConcurrency is the concurrency to use // while fetching accounts during reconciliation. AccountConcurrency uint64 // LogBlocks determines if blocks are // logged. LogBlocks bool // LogTransactions determines if transactions are // logged. LogTransactions bool // LogBalanceChanges determines if balance changes are // logged. LogBalanceChanges bool // LogReconciliations determines if reconciliations are // logged. LogReconciliations bool // HaltOnReconciliationError determines if processing // should stop when encountering a reconciliation error. // It can be beneficial to collect all reconciliation errors // during development. HaltOnReconciliationError bool )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.