Module agora.script.Engine
Contains the script execution engine.
Note that Bitcoin-style P2SH scripts are not detected, instead one should use LockType.Redeem in the Lock script tag.
Things not currently implemented: - opcode weight calculation - opcode total cost limit
Functions
Name | Description |
---|---|
getSequenceChallenge(tx, sequence, input_idx, output_idx, sig_hash)
|
Gets the challenge hash for the provided transaction, sequence ID. |
Classes
Name | Description |
---|---|
Engine
|