func AmountToZerocoinDenomination(amount int64) Denomination {
	switch amount {
	case 1 * btcutil.SatoshiPerBitcoin:
		return DenomOne
	case 5 * btcutil.SatoshiPerBitcoin:
		return DenomFive
	case 10 * btcutil.SatoshiPerBitcoin:
		return DenomTen
	case 50 * btcutil.SatoshiPerBitcoin:
		return DenomFifty
	case 100 * btcutil.SatoshiPerBitcoin:
		return DenomOneHundred
	case 500 * btcutil.SatoshiPerBitcoin:
		return DenomFiveHundred
	case 1000 * btcutil.SatoshiPerBitcoin:
		return DenomOneThousand
	case 5000 * btcutil.SatoshiPerBitcoin:
		return DenomFiveThousand
	default:
		return DenomError
	}
}
// AmountToZerocoinDenomination converts an amount to a zerocoin denomination
AmountToZerocoinDenomination converts an amount to a zerocoin denomination
// AmountToZerocoinDenomination converts an amount to a zerocoin denomination
func AmountToZerocoinDenomination(amount int64) Denomination {
	switch amount {
	case 1 * btcutil.SatoshiPerBitcoin:
		return DenomOne
	case 5 * btcutil.SatoshiPerBitcoin:
		return DenomFive
	case 10 * btcutil.SatoshiPerBitcoin:
		return DenomTen
	case 50 * btcutil.SatoshiPerBitcoin:
		return DenomFifty
	case 100 * btcutil.SatoshiPerBitcoin:
		return DenomOneHundred
	case 500 * btcutil.SatoshiPerBitcoin:
		return DenomFiveHundred
	case 1000 * btcutil.SatoshiPerBitcoin:
		return DenomOneThousand
	case 5000 * btcutil.SatoshiPerBitcoin:
		return DenomFiveThousand
	default:
		return DenomError
	}
}
func AmountToZerocoinDenomination ( amount int64 ) Denomination { switch amount { case 1 * btcutil . SatoshiPerBitcoin : return DenomOne case 5 * btcutil . SatoshiPerBitcoin : return DenomFive case 10 * btcutil . SatoshiPerBitcoin : return DenomTen case 50 * btcutil . SatoshiPerBitcoin : return DenomFifty case 100 * btcutil . SatoshiPerBitcoin : return DenomOneHundred case 500 * btcutil . SatoshiPerBitcoin : return DenomFiveHundred case 1000 * btcutil . SatoshiPerBitcoin : return DenomOneThousand case 5000 * btcutil . SatoshiPerBitcoin : return DenomFiveThousand default : return DenomError } }
AmountToZerocoinDenomination converts an amount to a zerocoin denomination
AmountToZerocoinDenomination converts an amount to a zerocoin denomination