GUI: If BIP70 is disabled, attempt to fall back to BIP21 parsing#15063
GUI: If BIP70 is disabled, attempt to fall back to BIP21 parsing#15063jonasschnelli merged 3 commits intobitcoin:masterfrom
Conversation
|
When I try compiling with |
381e22e to
2c5e0c5
Compare
|
Fixed, added another fix, and a Travis test for no-BIP70 |
2c5e0c5 to
a74d4c0
Compare
|
How about a test case for this behavior? |
|
@luke-jr can you rebase this? This should probably be a 0.18 milestone requirement. |
|
cc @MarcoFalke since this also adds one more Travis machine |
|
Don't we already have at least 3 jobs with a gui? I'd prefer to just set the configure flag on one of them. |
a74d4c0 to
84f5315
Compare
|
@MarcoFalke It doesn't make sense to test this without the wallet. Is there a reason |
|
(also, rebased) |
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
| PACKAGES="clang llvm python3-zmq qtbase5-dev qttools5-dev-tools libssl1.0-dev libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev libdb5.3++-dev libminiupnpc-dev libzmq3-dev libqrencode-dev" | ||
| NO_DEPENDS=1 | ||
| GOAL="install" | ||
| BITCOIN_CONFIG="--enable-zmq --disable-bip70 --with-incompatible-bdb --with-gui=qt5 CPPFLAGS=-DDEBUG_LOCKORDER --with-sanitizers=address,integer,undefined CC=clang CXX=clang++" |
There was a problem hiding this comment.
I'd prefer to set --disable-bip70 on one of the other bionic jobs that have wallet enabled.
There was a problem hiding this comment.
@MarcoFalke It doesn't make sense to test this without the wallet. Is there a reason
x86_64 Linux [GOAL: install] [xenial] [no depends, only system libs, sanitizers: thread (TSan), no wallet]needs to be wallet-less? Or where else would you want to add it?
There was a problem hiding this comment.
I think xenial has wallet disabled because the thread sanitizer yells at bdb
|
utACK 84f5315 |
|
Compiles and 84f5315 looks good modulo Travis, but it seems like a good idea to actually test this. Is there a (testnet or otherwise) site that supports BIP21 fallback for BIP71? Also can someone upload a BIP70 file with and without such fallback? |
|
utACK |
|
utACK 84f5315 |
…1 parsing 84f5315 Travis: Add test without BIP70 (but still full wallet + tests) (Luke Dashjr) 113f000 GUI: If BIP70 is disabled, give a proper error when trying to open a payment request file (Luke Dashjr) 9975282 GUI: If BIP70 is disabled, attempt to fall back to BIP21 parsing (Luke Dashjr) Pull request description: Tree-SHA512: 66a684ce4336d0eac8b0107b405ff3a2cf312258a967f3e1b14734cd39db11e2db3e9b03492755583170d94d54754ef536b0776e5f19a0cc2caca8379eeb4495
…to BIP21 parsing 84f5315 Travis: Add test without BIP70 (but still full wallet + tests) (Luke Dashjr) 113f000 GUI: If BIP70 is disabled, give a proper error when trying to open a payment request file (Luke Dashjr) 9975282 GUI: If BIP70 is disabled, attempt to fall back to BIP21 parsing (Luke Dashjr) Pull request description: Tree-SHA512: 66a684ce4336d0eac8b0107b405ff3a2cf312258a967f3e1b14734cd39db11e2db3e9b03492755583170d94d54754ef536b0776e5f19a0cc2caca8379eeb4495
Summary: Commit 1: > GUI: If BIP70 is disabled, attempt to fall back to BIP21 parsing GUI: If BIP70 is disabled, attempt to fall back to BIP21 parsing Commit 2: > GUI: If BIP70 is disabled, give a proper error when trying to open a payment request file bitcoin/bitcoin@113f000 This is a backport of [[bitcoin/bitcoin#15063 | core#15063]] Test Plan: ``` cmake .. -GNinja -DENABLE_BIP70=OFF ninja all check-all` ``` Reviewers: #bitcoin_abc, majcosta Reviewed By: #bitcoin_abc, majcosta Differential Revision: https://reviews.bitcoinabc.org/D9897
…to BIP21 parsing 84f5315 Travis: Add test without BIP70 (but still full wallet + tests) (Luke Dashjr) 113f000 GUI: If BIP70 is disabled, give a proper error when trying to open a payment request file (Luke Dashjr) 9975282 GUI: If BIP70 is disabled, attempt to fall back to BIP21 parsing (Luke Dashjr) Pull request description: Tree-SHA512: 66a684ce4336d0eac8b0107b405ff3a2cf312258a967f3e1b14734cd39db11e2db3e9b03492755583170d94d54754ef536b0776e5f19a0cc2caca8379eeb4495
…5063_15411 Backport 0.18 PRs bitcoin#14451, bitcoin#14686, bitcoin#14564, bitcoin#14568,bitcoin#15063, bitcoin#15411: deprecate BIP70 and build GUI without BIP70 support
No description provided.