dcrd/internal
Dave Collins a52b5aec90
stdscript: Add v0 atomic swap redeem support.
This adds support for identifying if a redeem script is a version 0
atomic swap redeem script for an original pay-to-script-hash script as a
convenience method for consumers of the package.

Note that this is different than most other methods in the package in
that it applies to the redeem script as opposed to the public key script
and consequently there is no new script type introduced nor does the
overall script determination detect it.  This is the case because a
redeem script is the final push of a signature script that is itself a
redemption of a pay-to-script-hash script.

Full test coverage is included.

This is part of a series of commits to fully implement the stdscript
package.
2021-06-08 12:20:53 -05:00
..
fees fees: Remove deprecated DisableLog. 2020-12-28 13:13:47 -06:00
limits multi: replace godoc.org with pkg.go.dev 2020-02-18 19:35:19 -06:00
mempool txscript: Split signing code to sign subpackage. 2021-05-07 13:19:00 -05:00
mining txscript: Split signing code to sign subpackage. 2021-05-07 13:19:00 -05:00
netsync netsync: Use an APBF for recently rejected txns. 2021-02-13 01:41:27 -06:00
progresslog multi: Add chain verify progress percentage. 2021-01-21 23:30:35 -06:00
rpcserver version: Rework to support single version override. 2021-05-14 04:15:56 -05:00
staging/stdscript stdscript: Add v0 atomic swap redeem support. 2021-06-08 12:20:53 -05:00
version version: Rework to support single version override. 2021-05-14 04:15:56 -05:00