btcsuite / btcd

An alternative full node bitcoin implementation written in Go (golang)
https://github.com/btcsuite/btcd/blob/master/README.md
ISC License
6.09k stars 2.31k forks source link

Public DecodeNoLimit(encoded) #2185

Closed MarcoEzekiel closed 1 month ago

MarcoEzekiel commented 1 month ago

I am working on a set of libraries for zCash. I need a public bech32.DecodeNoLimit(encoded) that retrieves version info. I can create a pull request and add

func DecodeNoLimitVersioned(bech string) (string, []byte, Version, error) { hrp, data, version, err := decodeNoLimit(bech) return hrp, data, version, err }

guggero commented 1 month ago

Fixed by https://github.com/btcsuite/btcd/pull/2186.