Description

CalcScriptInfo returns a structure providing data about the provided script pair. It will error if the pair is in someway invalid such that they can not be analysed, i.e. if they do not parse or the pkScript is not a push-only script

CalcScriptInfo is referenced in 2 repositories

github.com/btcsuite/btcd

...