// Preimages returns a list of SHA3 preimages that have been submitted.
Preimages returns a list of SHA3 preimages that have been submitted.
// Preimages returns a list of SHA3 preimages that have been submitted .
func (shard *StateDBManage) Preimages() map[string]map[common.Hash][]byte {
	var mm = make(map[string](map[common.Hash][]byte), 0)
	for _, cm := range shard.shardings {
		for _, rm := range cm.Rmanage {
			mm[cm.Cointyp] = rm.State.preimages
		}
	}
	return mm
}
func ( shard * StateDBManage ) Preimages ( ) map [ string ] map [ common . Hash ] [ ] byte { var mm = make ( map [ string ] ( map [ common . Hash ] [ ] byte ) , 0 ) for _ , cm := range shard . shardings { for _ , rm := range cm . Rmanage { mm [ cm . Cointyp ] = rm . State . preimages } } return mm }
Preimages returns a list of SHA3 preimages that have been submitted.
Preimages returns a list of SHA3 preimages that have been submitted .