mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-03-30 15:08:33 +00:00

* [DEV-376] Changed any instance of %v in format strings with a more specific format token * [DEV-376] Fixed some more wrong formatting strings + removed redundant cast * [DEV-376] Added fmt.Sprintf where it was missing * [DEV-376] use %s for util.Amount, to invoke .String() * [DEV-376] Some more fixes in format strings * [DEV-376] fixed mruinvmap_test to expect the correct behaviour
bech32dag
Package bech32 provides a Go implementation of the bech32 format specified in the spec.
Test vectors from the spec are added to ensure compatibility with the BIP.
Installation and Updating
$ go get -u github.com/daglabs/btcutil/bech32dag
Examples
- Bech32 decode Example Demonstrates how to decode a bech32 encoded string.
- Bech32 encode Example Demonstrates how to encode data into a bech32 string.
License
Package bech32 is licensed under the copyfree ISC License.