public Block(int blockHash, SignatureList sigs) { hash = blockHash; signatures = new SignatureList(new List <Signature>(sigs.GetList())); }
public void SetSignatureList(SignatureList sigs) { signatures = new SignatureList(new List <Signature>(sigs.GetList())); }
/// Return a deep clone of the hash table /// NOTE: this must be a deep clone, shallow clone may lead to strange behaviors. /// This method must be overriden public override ExpressionValue GetClone() { return(new Block(hash, new SignatureList(new List <Signature>(signatures.GetList())))); }