Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

txscript: Store flags in instance versus bools. #392

Merged
merged 1 commit into from
Apr 21, 2015

Conversation

davecgh
Copy link
Member

@davecgh davecgh commented Apr 21, 2015

Rather than storing a separate bool for whether or not each flag is set in every script engine instance, store the flags and check if the relevant flag is set from each specific location.

This reduces the memory needed by each script engine instance and means future flags will not require new fields.

@dajohi
Copy link
Member

dajohi commented Apr 21, 2015

OK

Rather than storing a separate bool for whether or not each flag is set in
every script engine instance, store the flags and check if the relevant
flag is set from each specific location.

This reduces the memory needed by each script engine instance and means
future flags will not require new fields.
@conformal-deploy conformal-deploy merged commit 0baac03 into btcsuite:master Apr 21, 2015
@davecgh davecgh deleted the txscript_flags branch April 21, 2015 20:12
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.

3 participants