예제 #1
0
 public string Serialize()
 {
     return($"{BlobId.ValueString}:{string.Join(",", BlockHashes.Select(id => id.HashString))}");
 }
예제 #2
0
 public IEnumerator <Block <T> > GetEnumerator()
 {
     return(BlockHashes.Select(hash => Blocks[hash]).GetEnumerator());
 }