btcd icon indicating copy to clipboard operation
btcd copied to clipboard

chaincfg.Params.PubKeyHashAddrID one byte prefix

Open bambinorest1 opened this issue 6 months ago • 0 comments

Maybe it would be better if such fields like PubKeyHashAddrID or ScriptHashAddrID of the structure were a slice of bytes. Because some bitcoin forks have prefixes larger than one byte. For example zcash: https://github.com/zcash/zcash/blob/60b971f8af47d8f4032789078c0c9c846bbf6710/src/chainparams.cpp#L152

bambinorest1 avatar Aug 13 '24 14:08 bambinorest1