Would be nice for there to be a sentinel value representing an "Invalid" or zero/unset state of wallet.CoinType. We are unable to rely on 0 since that is the definition of wallet.Bitcoin. We currently refer to an "Invalid" type in github.com/OpenBazaar/openbazaar-go/wallet/builder.go as 4294967295 (or the maximum for a uint32, which could also be ^uint(0)) and would be happy to see that made into a formal constant for referencing an unknown or unset type.
Would be nice for there to be a sentinel value representing an "Invalid" or zero/unset state of
wallet.CoinType
. We are unable to rely on0
since that is the definition ofwallet.Bitcoin
. We currently refer to an "Invalid" type in github.com/OpenBazaar/openbazaar-go/wallet/builder.go as4294967295
(or the maximum for a uint32, which could also be^uint(0)
) and would be happy to see that made into a formal constant for referencing an unknown or unset type.