Skip to content

Conversation

@TheBlueMatt
Copy link
Contributor

No description provided.

@TheBlueMatt
Copy link
Contributor Author

No, the original intent was that req- prefixes are optional and can be applied to any params. ie a merchant may want to enforce or not enforce an expires param. That should be clarified in the bip. (see genjix/bips#4)

@laanwj
Copy link
Member

laanwj commented Feb 9, 2012

In that case should there be a

fShouldReturnFalse = false;

in the amount handling?

@TheBlueMatt
Copy link
Contributor Author

Heh, oops...fixed

@gavinandresen
Copy link
Contributor

This is the type of code that aught to have unit tests. I don't know nuthin about unit testing with Qt; is it easy to get qmake to compile unit tests, and/or is there support in Qt for unit tests?

@TheBlueMatt
Copy link
Contributor Author

Still gotta add a ton more test, but I put in a bitcoin-qt test suite structure. Just build with
qmake bitcoin-qt.pro BITCOIN_QT_TEST=1; make
you should then find a bitcoin-qt_test exe to call

@TheBlueMatt
Copy link
Contributor Author

OK, there we go, test away.

@laanwj
Copy link
Member

laanwj commented Feb 11, 2012

ACK, nice tests

laanwj added a commit that referenced this pull request Feb 12, 2012
Add req- prefixes to comply with BIP21.
@laanwj laanwj merged commit 15b87b2 into bitcoin:master Feb 12, 2012
coblee referenced this pull request in litecoin-project/litecoin Jul 17, 2012
Add req- prefixes to comply with BIP21.
destenson pushed a commit to destenson/bitcoin--bitcoin that referenced this pull request Jun 26, 2016
Rebranding: PrivateSend/InstantSend (update 2d)
@hebasto hebasto mentioned this pull request Jul 7, 2019
pull bot referenced this pull request in jaschadub/bitcoin Jul 8, 2019
d003110 Remove unused guard (Hennadii Stepanov)

Pull request description:

  `BITCOIN_QT_TEST` is no longer used since switching to autotools build system.

  Some historical refs:
  - #807
  - bitcoin#4241

ACKs for top commit:
  practicalswift:
    utACK d003110
  promag:
    ACK d003110.
  jonasschnelli:
    Verified ACK d003110

Tree-SHA512: 1242ef7927d2dbd2e47cdb50de6ebb20e4ac427a66a37b4d4de8ca1b50581d34f818cb576fc9fdfb3e7dd7259d11812e3807da33b3357850d67548b837d5549b
jasonbcox pushed a commit to Bitcoin-ABC/bitcoin-abc that referenced this pull request Oct 9, 2020
Summary:
PR description:
> BITCOIN_QT_TEST is no longer used since switching to autotools build system.
>
> Some historical refs:
>
>    bitcoin/bitcoin#807
>    bitcoin/bitcoin#4241

Backport of Core [[bitcoin/bitcoin#16350 | PR16350]]

Test Plan:
```
grep -r BITCOIN_QT_TEST[^_] .
cd build
ninja && ninja check
```

Reviewers: O1 Bitcoin ABC, #bitcoin_abc, Fabien

Reviewed By: O1 Bitcoin ABC, #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D7846
@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.

3 participants