Skip to content

multi: replace GetScriptClass consensus calls.#2031

Merged
davecgh merged 1 commit intodecred:masterfrom
dnldd:replace_getscriptclass_consensus
Feb 8, 2020
Merged

multi: replace GetScriptClass consensus calls.#2031
davecgh merged 1 commit intodecred:masterfrom
dnldd:replace_getscriptclass_consensus

Conversation

@dnldd
Copy link
Member

@dnldd dnldd commented Jan 8, 2020

This removes GetScriptClass consensus calls in favour of using script type identification
functions defined in the blockchain package.

Resolves #1626.

@dnldd dnldd force-pushed the replace_getscriptclass_consensus branch from beb53e3 to 5556a68 Compare January 10, 2020 01:22
@dnldd dnldd marked this pull request as ready for review January 10, 2020 01:25
Copy link
Member

@davecgh davecgh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't reviewed the scripttype.go file for correctness yet, but I wanted to get an initial review out since it will require some changes.

In addition, I see no tests for the new funcs and the documentation (doc.go and README.md) for the standalone package haven't been updated.

Overall, I think this is going in the right direction.

@dnldd dnldd force-pushed the replace_getscriptclass_consensus branch from 5556a68 to 6e9be3c Compare January 10, 2020 21:57
@dnldd dnldd force-pushed the replace_getscriptclass_consensus branch from 6e9be3c to d612316 Compare January 29, 2020 13:36
This removes GetScriptClass consensus
calls in favour of using script type identification
functions defined in the blockchain package.
@dnldd dnldd force-pushed the replace_getscriptclass_consensus branch from d612316 to 82dd899 Compare January 31, 2020 20:01
@davecgh davecgh merged commit e19d435 into decred:master Feb 8, 2020
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.

blockchain/stake: Replace all consensus calls to GetScriptClass.

2 participants