func NewAccumulatorMap(params *Params) (*AccumulatorMap, error) {
	acc := &AccumulatorMap{}
	acc.params = params
	acc.accs = make(map[Denomination]*Accumulator)
	for _, d := range ZerocoinDenominations {
		a, err := NewAccumulator(params.AccumulatorParams, d)
		if err != nil {
			return nil, err
		}
		acc.accs[d] = a
	}
	return acc, nil
}
// NewAccumulatorMap creates a new map of
NewAccumulatorMap creates a new map of
// NewAccumulatorMap creates a new map of
func NewAccumulatorMap(params *Params) (*AccumulatorMap, error) {
	acc := &AccumulatorMap{}
	acc.params = params
	acc.accs = make(map[Denomination]*Accumulator)
	for _, d := range ZerocoinDenominations {
		a, err := NewAccumulator(params.AccumulatorParams, d)
		if err != nil {
			return nil, err
		}
		acc.accs[d] = a
	}
	return acc, nil
}
func NewAccumulatorMap ( params * Params ) ( * AccumulatorMap , error ) { acc := & AccumulatorMap { } acc . params = params acc . accs = make ( map [ Denomination ] * Accumulator ) for _ , d := range ZerocoinDenominations { a , err := NewAccumulator ( params . AccumulatorParams , d ) if err != nil { return nil , err } acc . accs [ d ] = a } return acc , nil }
NewAccumulatorMap creates a new map of
NewAccumulatorMap creates a new map of