private CoinAddress CreateCoinScriptAddress(ScriptId scriptId)
 {
     return(new CoinScriptAddress(scriptId, this));
 }
Example #2
0
 public PayToScriptHashSigParameters ExtractScriptSigParameters(Script scriptSig, ScriptId expectedScriptId)
 {
     if (expectedScriptId == null)
     {
         return(ExtractScriptSigParameters(scriptSig, null as Script));
     }
     return(ExtractScriptSigParameters(scriptSig, expectedScriptId.ScriptPubKey));
 }