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: Increase maximum allowed nulldata bytes #331

Merged
merged 1 commit into from
Mar 10, 2015
Merged

txscript: Increase maximum allowed nulldata bytes #331

merged 1 commit into from
Mar 10, 2015

Conversation

dajohi
Copy link
Member

@dajohi dajohi commented Feb 28, 2015

This change increases the maximum allowed bytes allowed in pushed
data to be considered a nulldata transaction. This matches the current
value the reference implementation uses by default.

@@ -303,7 +307,8 @@ func isMultiSig(pops []parsedOpcode) bool {
// false otherwise.
func isNullData(pops []parsedOpcode) bool {
// A nulldata transaction is either a single OP_RETURN or an
// OP_RETURN SMALLDATA (where SMALLDATA is a push data up to 40 bytes).
// OP_RETURN SMALLDATA (where SMALLDATA is a push data up to
// maxDataCarrierSize bytes.
Copy link
Member

Choose a reason for hiding this comment

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

Looks like this is missing the ) before the period.

@davecgh
Copy link
Member

davecgh commented Mar 10, 2015

OK once the minor ) typo is fixed.

This change increases the maximum allowed bytes allowed in pushed
data to be considered a nulldata transaction.  This matches the current
value the reference implementation uses by default.
@conformal-deploy conformal-deploy merged commit 436fb82 into btcsuite:master Mar 10, 2015
@dajohi dajohi deleted the nulldata branch March 10, 2015 19:07
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