Description

PeekInt returns the Nth item on the stack as a script num without removing it. The act of converting to a script num enforces the consensus rules imposed on data interpreted as numbers.

PeekInt is referenced in 1 repository

github.com/btcsuite/btcd