dcrd/internal
Dave Collins 4f7eaa879f
uint256: Add text formatting support.
This adds full support for formatting a uint256 along with associated
tests to ensure proper functionality.

It includes a fmt.Formatter that supports the full suite of the fmt
package format flags for integral types, a fmt.Stringer, and a separate
Text method that accepts an output base directly and produces the
relevant output with fewer allocations than using the standard fmt
methods.

This is part of a series of commits to fully implement the uint256
package.
2021-11-19 17:04:19 -06:00
..
fees fees: Remove deprecated DisableLog. 2020-12-28 13:13:47 -06:00
limits multi: update build tags to pref. go1.17 syntax. 2021-10-19 20:21:44 -05:00
mempool mempool: Convert to use stdscript. 2021-11-18 12:33:40 -06:00
mining mining: Convert to use stdscript. 2021-11-18 12:33:39 -06:00
netsync multi: Move last ann block from peer to netsync. 2021-11-19 13:02:15 -06:00
progresslog multi: Don't use deprecated ioutil package. 2021-09-01 06:09:37 -05:00
rpcserver rpcserver: Convert to use stdscript. 2021-11-18 12:55:12 -06:00
staging/primitives/uint256 uint256: Add text formatting support. 2021-11-19 17:04:19 -06:00
version version: Use uint32 for major/minor/patch. 2021-11-10 07:08:23 -06:00