github.com/TrueBlocks/trueblocks-core/src/apps/chifra@v0.0.0-20241022031540-b362680128f7/pkg/tslib/doc.go (about)

     1  // Package tslib provides conversions between four data types: block numbers, dates, Linux
     2  // timestamps, and "special" named blocks. The function names are self-explanitory.
     3  //
     4  // Note: Because the relationship between block numbers and timestamps is a per-chain value,
     5  // some of these functions require a `chain` name. It is assumed the chain is properly configured.
     6  package tslib