Description

IsPushOnlyScript returns whether or not the passed script only pushes data.

False will be returned when the script does not parse.

IsPushOnlyScript is referenced in 2 repositories

github.com/btcsuite/btcd

...