Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LogicSig ¶
func LogicSig(lsig *transactions.LogicSig, proto *config.ConsensusParams, stxn *transactions.SignedTxn) error
LogicSig checks that the signature is valid and that the program is basically well formed. It does not evaluate the logic.
func Txn ¶
func Txn(s *transactions.SignedTxn, spec transactions.SpecialAddresses, proto config.ConsensusParams) error
Txn verifies a SignedTxn as being signed and having no obviously inconsistent data. Block-assembly time checks of LogicSig and accounting rules may still block the txn.
func TxnPool ¶
func TxnPool(s *transactions.SignedTxn, spec transactions.SpecialAddresses, proto config.ConsensusParams, verificationPool execpool.BacklogPool) error
TxnPool verifies that a SignedTxn has a good signature and that the underlying transaction is properly constructed. Note that this does not check whether a payset is valid against the ledger: a SignedTxn may be well-formed, but a payset might contain an overspend.
This version of verify is performing the verification over the provided execution pool.
Types ¶
This section is empty.