package
1.9.6
Repository: https://github.com/decred/dcrd.git
Documentation: pkg.go.dev

# README

progresslog

Build Status ISC License Doc

Package progresslog provides periodic logging for block processing.

Tests are included to ensure proper functionality.

Feature Overview

  • Maintains cumulative totals about blocks between each logging interval
    • Total number of blocks
    • Total number of transactions
    • Total number of votes
    • Total number of tickets
    • Total number of revocations
  • Logs all cumulative data every 10 seconds
  • Immediately logs any outstanding data when the provided sync height is reached

License

Package progresslog is licensed under the copyfree ISC License.

# Functions

New returns a new block progress logger.

# Structs

Logger provides periodic logging of progress towards some action such as syncing the chain.