Skip to content

script: tighten multisig non-standard rules: do not relay pubkeys above 65 bytes - #3718

Merged
jgarzik merged 1 commit into
bitcoin:masterfrom
jgarzik:pubkey-size
Feb 24, 2014
Merged

jgarzik merged 1 commit into
bitcoin:masterfrom
jgarzik:pubkey-size

Conversation

@jgarzik

@jgarzik jgarzik commented Feb 21, 2014

Copy link
Copy Markdown
Contributor

As suggested by @petertodd.

@petertodd

Copy link
Copy Markdown
Contributor

ACK

@BitcoinPullTester

Copy link
Copy Markdown

Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/595b6d88d41c0cadf9411b3aaef5585e2060e739 for binaries and test log.
This test script verifies pulls every time they are updated. It, however, dies sometimes and fails to test properly. If you are waiting on a test, please check timestamps to verify that the test.log is moving at http://jenkins.bluematt.me/pull-tester/current/
Contact BlueMatt on freenode if something looks broken.

Comment thread src/script.cpp

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

That's one of those magic numbers that we should perhaps constantify?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It may be that using the explicit numbers here actually makes the rules more readable than using a named constant. OTOH some form of documentation as to why certain numbers were chosen in the source code would be useful.

@laanwj

laanwj commented Feb 21, 2014

Copy link
Copy Markdown
Member

ACK

@gavinandresen

Copy link
Copy Markdown
Contributor

Untested ACK.

jgarzik pushed a commit that referenced this pull request Feb 24, 2014
script: tighten multisig non-standard rules: do not relay pubkeys above 65 bytes
@jgarzik
jgarzik merged commit c72204e into bitcoin:master Feb 24, 2014
@jgarzik
jgarzik deleted the pubkey-size branch August 24, 2014 04:20
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants