Skip to content

MOVEONLY: Policy: Move some policy code #6335

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

Merged
merged 2 commits into from
Jul 6, 2015

Conversation

jtimon
Copy link
Contributor

@jtimon jtimon commented Jun 24, 2015

Move policy code out of main (and policy/standard).
Nobody seemed to disagree with this part in any of the multiple versions of #6068 and related PRs.
This is trivially non-risky, but this PR will be closed when a bitcoin/0.12 branch is created (unless it has been merged first).

@jonasschnelli
Copy link
Contributor

Code Review ACK.

@petertodd
Copy link
Contributor

utACK (mostly concept ACK, w/ some code review)

@paveljanik
Copy link
Contributor

utACK

@theuni
Copy link
Member

theuni commented Jun 25, 2015

Confirmed move-only other than the std namespace changes. utACK other than the nit above.

@jtimon
Copy link
Contributor Author

jtimon commented Jun 26, 2015

@theuni re additional declaration. It was to not leave the comment alone until it is replaced with the CStandardPolicy method that will replace it in jtimon@3fdcfed#diff-d22bc3e058f8982972e2eb381a1df668L35 but I'm happy to remove that line if it doesn't make sense to anyone else. For me having the comment ready there is enough.

@btcdrak
Copy link
Contributor

btcdrak commented Jun 26, 2015

utACK, needs rebase

@morcos
Copy link
Contributor

morcos commented Jun 26, 2015

ACK (before the merge conflict)

jtimon and others added 2 commits June 26, 2015 17:59
- [script/standard.o] IsStandard
- [main.o] IsStandardTx
- [main.o] AreInputsStandard

Also, don't use namespace std in policy.cpp
@jtimon jtimon force-pushed the policy-moveonly-0.11.99 branch from 2927ec8 to 9238ecb Compare June 26, 2015 16:02
@jtimon
Copy link
Contributor Author

jtimon commented Jun 26, 2015

Rebased

@luke-jr
Copy link
Member

luke-jr commented Jun 27, 2015

Concept ACK (did not confirm MOVEONLY since there are other ACKs here).

@jtimon
Copy link
Contributor Author

jtimon commented Jun 30, 2015

@laanwj @sipa ping

@laanwj laanwj merged commit 9238ecb into bitcoin:master Jul 6, 2015
laanwj added a commit that referenced this pull request Jul 6, 2015
9238ecb Policy: MOVEONLY: 3 functions to policy.o: (Luke Dashjr)
627b9de Policy: MOVEONLY: Create policy/policy.h with some constants (Jorge Timón)
zkbot added a commit to zcash/zcash that referenced this pull request Dec 17, 2019
furszy added a commit to PIVX-Project/PIVX that referenced this pull request Jun 27, 2020
5d96c91 add missing policy.cpp file to cmake (furszy)
2d0783d Standard Solver(): Include cold staking template matching. (furszy)
b7fe4c0 Remove template matching and pseudo opcodes (furszy)
fe31b31 Assert CPubKey::ValidLength to the pubkey's header-relevent size (Ben Woosley)
2f6b249 Make TX_SCRIPTHASH clear vSolutionsRet first (Peter Todd)
45e5102 Policy: MOVEONLY: 3 functions to policy (furszy)
2c7da7f Policy: MOVEONLY: Create policy/policy.h with some constants (furszy)

Pull request description:

  Coming from the following PRs (with small customizations for our features):

  * bitcoin#6335
  * bitcoin#6424
  * bitcoin#12460
  * bitcoin#13194

ACKs for top commit:
  random-zebra:
    Looking good. ACK 5d96c91
  Fuzzbawls:
    ACK 5d96c91

Tree-SHA512: b3e7479864e16942682b9bc19f432b2a657561647eeadf0ef1285651feb05875d295ff530582ebbc8edacaf3c7d3888249513b4a93d871c2d6c2e1b157ace8c8
@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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants