public Cluster(IEnumerable <SmartCoin> coins) { Lock = new object(); Coins = coins.ToList(); CoinsSet = Coins.ToHashSet(); _labels = SmartLabel.Merge(Coins.Select(x => x.Label)); }
public Cluster(IEnumerable<HdPubKey> keys) { Lock = new object(); Keys = keys.ToList(); KeysSet = Keys.ToHashSet(); _labels = SmartLabel.Merge(Keys.Select(x => x.Label)); }