Skip to content

blockchain: PrevScripter interface for script val.#3000

Merged
davecgh merged 1 commit intodecred:masterfrom
davecgh:blockchain_validate_tx_scripts_prevscripter
Sep 23, 2022
Merged

blockchain: PrevScripter interface for script val.#3000
davecgh merged 1 commit intodecred:masterfrom
davecgh:blockchain_validate_tx_scripts_prevscripter

Conversation

@davecgh
Copy link
Copy Markdown
Member

@davecgh davecgh commented Sep 16, 2022

This exposes the PrevScripter interface used elsewhere in the code from blockchain and modifies the exported ValidateTransactionScripts method and associated internal implementation to accept the interface instead of a concrete UtxoView.

This helps reduce the scope of script validation dependencies and thus provides the opportunity to reduce the implementation complexity of callers.

@davecgh davecgh added this to the 1.8.0 milestone Sep 16, 2022
@davecgh davecgh force-pushed the blockchain_validate_tx_scripts_prevscripter branch from d3b30a7 to 8396d53 Compare September 16, 2022 01:07
This exposes the PrevScripter interface used elsewhere in the code from
blockchain and modifies the exported ValidateTransactionScripts method
and associated internal implementation to accept the interface instead
of a concrete UtxoView.

This helps reduce the scope of script validation dependencies and thus
provides the opportunity to reduce the implementation complexity of
callers.
@davecgh davecgh force-pushed the blockchain_validate_tx_scripts_prevscripter branch from 8396d53 to d41cb60 Compare September 23, 2022 22:07
@davecgh davecgh merged commit d41cb60 into decred:master Sep 23, 2022
@davecgh davecgh deleted the blockchain_validate_tx_scripts_prevscripter branch September 23, 2022 22:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants