private Script GetOfferScript() { var escrow = EscrowScriptBuilder.ExtractEscrowScriptPubKeyParameters(InternalState.EscrowedCoin.Redeem); return(SolverScriptBuilder.CreateOfferScript(new OfferScriptPubKeyParameters { Hashes = InternalState.SolvedPuzzles.Select(p => p.SolutionKey.GetHash()).ToArray(), FulfillKey = InternalState.FulfillKey.PubKey, RedeemKey = escrow.RedeemKey, Expiration = escrow.LockTime })); }
private Script CreateOfferScript() { return(SolverScriptBuilder.CreateOfferScript(CreateOfferScriptParameters())); }