Commit graph

35478 commits

Author SHA1 Message Date
Andrew Chow
e2e4c2969b
tests: Test that PSBT_OUT_TAP_TREE is included correctly
Github-Pull: #25858
Rebased-From: 9e386afb67
2022-10-13 23:46:09 +08:00
Andrew Chow
4d42c3a240
psbt: Only include m_tap_tree if it has scripts
Github-Pull: #25858
Rebased-From: 30ff25cf37
2022-10-13 23:45:36 +08:00
Andrew Chow
d810fde8ea
psbt: Change m_tap_tree to store just the tuples
Instead of having an entire TaprootBuilder which may or may not be
complete, and could potentially have future changes that interact oddly
with taproot tree tuples, have m_tap_tree be just the tuples.

When needed in other a TaprootBuilder for actual use, the tuples will be
added to a a TaprootBuilder that, in the future, can take in whatever
other data is needed as well.

Github-Pull: #25858
Rebased-From: 0577d423ad
2022-10-13 23:45:06 +08:00
Andrew Chow
a9419eff0c
tests: Test that PSBT_OUT_TAP_TREE is combined correctly
Github-Pull: #25858
Rebased-From: 22c051ca70
2022-10-13 23:44:36 +08:00
Andrew Chow
4abd2ab18e
psbt: Fix merging of m_tap_tree
Merging should be checking that the current PSBTOutput doesn't have a
taptree and the other one's is copied over. The original merging had
this inverted and would remove m_tap_tree if the other did not have it.

Github-Pull: #25858
Rebased-From: 7df6e1bb77
2022-10-13 23:44:01 +08:00
Jeremy Rubin
1390c96c8e
[BugFix]: Do not allow deserializing PSBT with empty PSBT_OUT_TAP_TREE
Github-Pull: #25858
Rebased-From: 0652dc53b2
2022-10-13 23:43:29 +08:00
stickies-v
9b438f06ec
refactor: revert m_next_resend to not be std::atomic
Since m_next_resend is now only called from MaybeResendWalletTxs()
we don't have any potential race conditions anymore, so the usage
of std::atomic can be reverted.

Github-Pull: #26205
Rebased-From: b01682a812
2022-10-13 23:38:20 +08:00
stickies-v
43ced0b436
wallet: only update m_next_resend when actually resending
We only want to relay our resubmitted transactions once every 12-36h.
By separating the timer update logic out of ResubmitWalletTransactions
and into MaybeResendWalletTxs we avoid non-relay calls (previously in
the separate ReacceptWalletTransactions function) from resetting that
timer.

Github-Pull: #26205
Rebased-From: 9245f45670
2022-10-13 23:37:36 +08:00
stickies-v
fc8f2bfa3a
refactor: carve out tx resend timer logic into ShouldResend
Moves the logic of whether or not transactions should actually be
resent out of the function that's resending them. This reduces
responsibilities of ResubmitWalletTransactions and allows
carving out the updating of m_next_resend in a future commit.

Github-Pull: #26205
Rebased-From: 7fbde8af5c
2022-10-13 23:36:56 +08:00
stickies-v
a6fb674f96
refactor: remove unused locks for ResubmitWalletTransactions
ReacceptWalletTransactions is replaced by ResubmitWalletTransactions
which already handles acquiring the necessary locks internally.

Github-Pull: #26205
Rebased-From: 01f3534632
2022-10-13 23:36:13 +08:00
Ryan Ofsky
5ad82a09b4
index: Improve BaseIndex::BlockUntilSyncedToCurrentChain reliability
Since commit f08c9fb0c6 from PR
https://github.com/bitcoin/bitcoin/pull/21726, index
`BlockUntilSyncedToCurrentChain` behavior has been less reliable, and there has
also been a race condition in the `coinstatsindex_initial_sync` unit test.

It seems better for `BlockUntilSyncedToCurrentChain` to actually wait for the
last connected block to be fully processed, than to be able to return before
prune locks are set, so this switches the order of `m_best_block_index =
block;` and `UpdatePruneLock` statements in `SetBestBlockIndex` to make it more
reliable.

Also since commit f08c9fb0c6, there has been a
race condition in the `coinstatsindex_initial_sync` test. Before that commit,
the atomic index best block pointer `m_best_block_index` was updated as the
last step of `BaseIndex::BlockConnected`, so `BlockUntilSyncedToCurrentChain`
could safely be used in tests to wait for the last `BlockConnected`
notification to be finished before stopping and destroying the index. But
after that commit, calling `BlockUntilSyncedToCurrentChain` is no longer
sufficient, and there is a race between the test shutdown code which destroys
the index object and the new code introduced in that commit calling
`AllowPrune()` and `GetName()` on the index object. Reproducibility
instructions for this are in
https://github.com/bitcoin/bitcoin/issues/25365#issuecomment-1259744133

This commit fixes the `coinstatsindex_initial_sync` race condition, even though
it will require an additional change to silence TSAN false positives,
https://github.com/bitcoin/bitcoin/pull/26188, after it is fixed. So this
partially addresses but does not resolve the bug reporting TSAN errors
https://github.com/bitcoin/bitcoin/issues/25365.

There is no known race condition outside of test code currently, because the
bitcoind `Shutdown` function calls `FlushBackgroundCallbacks` not
`BlockUntilSyncedToCurrentChain` to safely shut down.

Co-authored-by: Vasil Dimov <vd@FreeBSD.org>
Co-authored-by: MacroFake <falke.marco@gmail.com>

Github-Pull: #26215
Rebased-From: 8891949bdc
2022-10-11 09:20:07 +08:00
willcl-ark
997faf6b6c
contrib: Fix capture_output in getcoins.py
Our required Python version 3.6.12 does not support `capture_output` as
a subprocess.run argument; this was added in python 3.7.

We can emulate it by setting stdout and stderr to subprocess.PIPE

Github-Pull: #26212
Rebased-From: be59bd17ec
2022-10-11 09:19:58 +08:00
Larry Ruane
7e0bcfbfef
p2p: ProcessHeadersMessage(): fix received_new_header
Follow-up to #25717. The commit "Utilize anti-DoS headers download
strategy" changed how this bool variable is computed, so that its value
is now the opposite of what it should be.

GitHub-Pull: #26172
Rebased-From: bdcafb9133
2022-10-11 09:19:58 +08:00
Pieter Wuille
c97d924880
Correct sanity-checking script_size calculation
GitHub-Pull: #26149
Rebased-From: 648f6950cd
2022-10-11 09:19:57 +08:00
Andrew Chow
da6fba6fe7
docs: Add 371 to bips.md
GitHub-Pull: #26124
Rebased-From: d3d6a18f71
2022-10-11 09:19:57 +08:00
fanquake
3f385c912e
Merge bitcoin/bitcoin#26141: qt: 24.0rc2 translations update
c1860341a7 qt: 24.0rc2 translations update (Hennadii Stepanov)

Pull request description:

  This PR pulls the recent translations from the [Transifex.com](https://www.transifex.com/bitcoin/bitcoin) using the [`bitcoin-core/bitcoin-maintainer-tools/update-translations.py`](https://github.com/bitcoin-core/bitcoin-maintainer-tools/blob/main/update-translations.py) tool, and it is supposed to be merged just before `v24.0rc2` tagging.

Top commit has no ACKs.

Tree-SHA512: 4c31452dd36509b0c1f0f5f499b9a3add53409a592d70625c14d7e249de48e7fce65777c9a78882bd37dc345362f45fbae117aa80cec342e6352fc43ad9306c3
2022-10-10 20:23:06 +08:00
Hennadii Stepanov
c1860341a7
qt: 24.0rc2 translations update 2022-10-10 10:41:27 +01:00
glozow
2e5706d601
Merge bitcoin/bitcoin#26242: [24.x] wallet: Use correct effective value when checking target
2730ed2b0d test: Check external coin effective value is used in CoinSelection (Aurèle Oulès)
21f96f40d1 wallet: Use correct effective value when checking target (Aurèle Oulès)

Pull request description:

  backport of #26203

ACKs for top commit:
  jarolrod:
    ACK 2730ed2b0d

Tree-SHA512: ce84ac8d47861f290a26d572512467e89ec6ac27973d954d76245b6c6fdea01e36f2e0bce41599abfe14d0014335ebd17b990177771803de39406097973186ca
2022-10-05 09:07:39 +01:00
Aurèle Oulès
2730ed2b0d test: Check external coin effective value is used in CoinSelection 2022-10-04 09:58:22 +01:00
Aurèle Oulès
21f96f40d1 wallet: Use correct effective value when checking target 2022-10-04 09:58:16 +01:00
fanquake
4be489d4d4
Merge bitcoin/bitcoin#26227: [24.x] fuzz: Limit outpoints.size in txorphan target to avoid OOM
fa5752da6a fuzz: Limit outpoints.size in txorphan target to avoid OOM (MacroFake)

Pull request description:

  Identical commit from https://github.com/bitcoin/bitcoin/pull/26216

ACKs for top commit:
  fanquake:
    ACK fa5752da6a

Tree-SHA512: fa9bd1defb71b6bc2c62a6cdec5958576cafa0b41cdfebe11d48dd13505eb4a5e0e1d2ce55c0ed561d2a872dab6bb10bd71d941899b3b0eb0b2c38e6b3691ed5
2022-10-02 17:14:14 +01:00
MacroFake
fa5752da6a
fuzz: Limit outpoints.size in txorphan target to avoid OOM 2022-09-30 16:52:01 +02:00
fanquake
f34c98a460
Merge bitcoin/bitcoin#26197: [24.x] test: Avoid race in disconnect_nodes helper
faeea28753 test: Avoid race in disconnect_nodes helper (MacroFake)

Pull request description:

  Backport of https://github.com/bitcoin/bitcoin/pull/26138

ACKs for top commit:
  fanquake:
    ACK faeea28753

Tree-SHA512: f967c38750220bd6c245db953055f8e6d5402b3a24081ca03795a8403c2ed4eab772b2e9c2d3b581c3bc55d191dd4e22711b5f97d39856d676f10799fc64a9c7
2022-09-29 10:12:23 +01:00
MacroFake
ca8d2c4b43
Merge bitcoin/bitcoin#26178: [24.x] Bugfix: Wallet: Lock cs_wallet for SignMessage
a60d9eb9e6 Bugfix: Wallet: Lock cs_wallet for SignMessage (Luke Dashjr)

Pull request description:

  (Clean merge of #26130 to 24.x branch)

Top commit has no ACKs.

Tree-SHA512: 821e19d222cc1eb9a6b957ec87d48cfb00b2c5b8182682ac57d9c76785b667ad9c71444e6bf0f53177c06d5fb39e72dbfc82d7debe4b1597699eefaf3001d08d
2022-09-25 22:04:46 +00:00
MacroFake
2a56cc1f58
Merge bitcoin/bitcoin#26160: [24.x] fuzz: Avoid timeout in bitdeque fuzz target
fa4ba04c15 fuzz: Remove no-op call to get() (MacroFake)
fa642286b8 fuzz: Avoid timeout in bitdeque fuzz target (MacroFake)

Pull request description:

  Identical commit from https://github.com/bitcoin/bitcoin/pull/26012

  Not strictly required for 24.x, but I guess it can't hurt to avoid timeouts.

Top commit has no ACKs.

Tree-SHA512: 4d4bfb645e3513bf22cc9c64bdcbde2ad9e28b5a07ab07a02fbfa19df02147b371d2ca794ab3a095c22b66781832055e0de3af908aaead4c26ea12189e05cbe3
2022-09-23 12:30:19 +00:00
fanquake
05f7937810
Merge bitcoin/bitcoin#26145: [24.x] init: abort if i2p/cjdns are chosen via -onlynet but are unreachable
68209a7b5c rpc: make addpeeraddress work with cjdns addresses (Martin Zumsande)
a8a9ed67cc init: Abort if i2p/cjdns are chosen via -onlynet but unreachable (Martin Zumsande)

Pull request description:

  Identical commit from https://github.com/bitcoin/bitcoin/pull/25989

ACKs for top commit:
  fanquake:
    ACK 68209a7b5c

Tree-SHA512: eec335df06b4c209cfe3473cb623828effd00c45a5dd605bb920edd265de1c789627482b005a51e89b8fc79cc4c5d26ff1fc306f2e4573897c5c7f083aa22861
2022-09-21 16:33:49 +01:00
MacroFake
ce3cb2bbe7
Merge bitcoin/bitcoin#26144: [24.x] wallet: Fix nNextResend data race in ResubmitWalletTransactions
fad61573ed Fix nNextResend data race in ResubmitWalletTransactions (MacroFake)

Pull request description:

  Identical commit id from https://github.com/bitcoin/bitcoin/pull/26132

Top commit has no ACKs.

Tree-SHA512: 9404e2e10ba059c412e282abbf9bef581cf5ddcac36cf05da1dff3927b5015e12469238c402c28308a774fdd969d1039e595d5e2caca0902977ae0a72746ff43
2022-09-21 09:57:04 +02:00
MacroFake
faeea28753
test: Avoid race in disconnect_nodes helper 2022-09-20 15:48:05 +02:00
MacroFake
fad61573ed
Fix nNextResend data race in ResubmitWalletTransactions 2022-09-20 11:49:57 +02:00
MacroFake
5964b8339a
Merge bitcoin/bitcoin#26123: [24.x] doc: Move -permitbaremultisig to the relay help category
faf5bb87da doc: Move -permitbaremultisig to the relay help category (MacroFake)

Pull request description:

  Identical commit from https://github.com/bitcoin/bitcoin/pull/26119

ACKs for top commit:
  glozow:
    ACK faf5bb87da
  jarolrod:
    ACK faf5bb87da

Tree-SHA512: 42d3fd541703cbea7d2afff54dc7a42dac475c70c59ed124aba59cae6a87898040d964201e6cc6098e202f7b87bfa98513b3efd3c25d9fe52dc0ef55f3540bef
2022-09-20 09:19:27 +02:00
Luke Dashjr
a60d9eb9e6 Bugfix: Wallet: Lock cs_wallet for SignMessage
cs_desc_main is typically locked within scope of a cs_wallet lock, but:

CWallet::IsLocked locks cs_wallet
...called from DescriptorScriptPubKeyMan::GetKeys
...called from DescriptorScriptPubKeyMan::GetSigningProvider which locks cs_desc_main first, but has no access to cs_wallet
...called from DescriptorScriptPubKeyMan::SignMessage
...called from CWallet::SignMessage which can access and lock cs_wallet

Resolve the out of order locks by grabbing cs_wallet in CWallet::SignMessage first
2022-09-20 00:46:27 +00:00
fanquake
def75f0fb5
Merge bitcoin/bitcoin#26122: [24.x] Bump version to 24.0rc1
ab4a32b8af doc: update version number in bips.md to v24.0 (fanquake)
bd44c69238 doc: Generate example bitcoin conf for 24.0rc1 (fanquake)
0637169760 doc: Generate manual pages for 24.0rc1 (fanquake)
7869b169f2 build: Bump version to 24.0rc1 (fanquake)

Pull request description:

  Bump the version to 24.0rc1
  Generate the man pages.
  Generate the example bitcoin conf file.
  Update the version number in bips.md.

ACKs for top commit:
  achow101:
    ACK ab4a32b8af

Tree-SHA512: bb26216a4114b3c7e7a4b44abfee78a119b4b310b36bfac5124aa6cfc2d0a27ad30fa4b0d490fc214281973dde2c220e3c00e99b110ea5c6ccbe906f17ae3c89
2022-09-19 20:14:45 +01:00
fanquake
ab4a32b8af
doc: update version number in bips.md to v24.0 2022-09-19 19:27:31 +01:00
fanquake
bd44c69238
doc: Generate example bitcoin conf for 24.0rc1 2022-09-19 19:27:25 +01:00
fanquake
0637169760
doc: Generate manual pages for 24.0rc1 2022-09-19 17:56:39 +01:00
fanquake
7869b169f2
build: Bump version to 24.0rc1 2022-09-19 17:39:31 +01:00
fanquake
9f650062fc
Merge bitcoin/bitcoin#26005: Wallet: Fix error handling (copy_file failure in RestoreWallet, and in general via interfaces)
c3e536555a Bugfix: Wallet: Return util::Error rather than non-error nullptr when CreateWallet/LoadWallet/RestoreWallet fail (Luke Dashjr)
335ff98c8a Bugfix: Wallet: Wrap RestoreWallet content in a try block to ensure exceptions become returned errors and incomplete wallet directory is removed (Luke Dashjr)

Pull request description:

  Bug 1: `copy_file` can throw exceptions, but `RestoreWallet` is expected to return a nullptr with a populated `errors` parameter. This is fixed by wrapping `copy_file` and `LoadWallet` (for good measure) in a `try` block, and converting any exceptions to the intended return style.

  Bug 2: `util::Result` turns what would have been a `false` unique_ptr into a `true` nullptr result, which leads to nullptr dereferences in at least the 3 cases of wallet creation/loading/restoring. This is fixed by keeping the pointer as a plain `std::unique_ptr` until actually returning it (ie, after the nullptr check).

  Fixes https://github.com/bitcoin-core/gui/issues/661

ACKs for top commit:
  achow101:
    ACK c3e536555a

Tree-SHA512: 4291b3dbbb147acea2e63a704324c9371bc16ecb4237f8753729b0b0a6e55c9758ad61bfe8bd432fd7b0bae95d8b63a9831e61ac8b8d5c0197b550a2e0f4a105
2022-09-19 16:10:47 +01:00
Martin Zumsande
68209a7b5c rpc: make addpeeraddress work with cjdns addresses
This allows us to add cjdns addresses to addrman for
testing and debug purposes (if -cjdnsreachable is true)
2022-09-19 11:06:43 -04:00
Martin Zumsande
a8a9ed67cc init: Abort if i2p/cjdns are chosen via -onlynet but unreachable
...because -i2psam or -cjdnsreachable are not provided.
This mimics existing behavior for -onlynet=onion and non-specified proxy.
2022-09-19 11:06:43 -04:00
glozow
55e1deb745
Merge bitcoin/bitcoin#25540: miniscript: avoid wasteful computation, prevent memory blowup when fuzzing
e8cc2e4afc Make miniscript string parsing account for exact script size as bound (Pieter Wuille)
4cb8f9a92c Permit delaying duplicate key check in miniscript::Node construction (Pieter Wuille)

Pull request description:

  As reported in https://github.com/bitcoin/bitcoin/pull/24860#discussion_r893109311, the current code to construct a `miniscript::Node` could cause a blowup on large fuzzer inputs. This is because:
  1. The duplicate key check is redundantly done at parsing time, since we will recursively create miniscript nodes and the constructor will unconditionally look for duplicate across this node's keys and all its sub-nodes'.
  2. We don't put an upper bound on the size of the inputs to consider for parsing.

  To avoid wasteful computation, and prevent the blowup on some fuzzer inputs, limit the size of reasonable inputs and only perform the check for duplicate keys once when parsing.
  Regarding the duplicate key check bypass in the constructor we iterated on different approaches, and eventually settled on passing a dummy argument. Albeit less elegant, all other approaches required getting rid of `std::make_shared` and adding an allocation *per node created*.

  This PR contains code from Pieter Wuille (see commits).

  Fixes https://github.com/bitcoin/bitcoin/pull/25824.

ACKs for top commit:
  darosior:
    ACK e8cc2e4afc -- it's my own PR but most of the code here was written by sipa. I've reviewed and tested it.
  sipa:
    ACK e8cc2e4afc (for the few parts of the code that aren't mine)

Tree-SHA512: c21de39b3eeb484393758629882fcf8694a9bd1b8f15ae22efcec1582efc9c2309c5a0c2d90f361dd8e233d704a07dcd5fb982f4a48a002c4d8789e1d78bb526
2022-09-19 15:51:53 +01:00
MacroFake
faf5bb87da
doc: Move -permitbaremultisig to the relay help category 2022-09-19 14:09:34 +02:00
fanquake
a9ffebddbe
Merge bitcoin/bitcoin#26075: contrib: remove 32bit linux code from release scripts
656f9b0ba2 contrib: remove outdated comment from symbol-check script (fanquake)
c36afe39dd contrib: remove 32bit linux code from release scripts (fanquake)

Pull request description:

  We don't produce 32-bit Linux release binaries.

  Guix Build (x86_64 / arm64):
  ```bash
  173c0caab1fc390fa2ccc58b8037e6b0456ac5f814fac84383afd0fcf8207471  guix-build-656f9b0ba233/output/aarch64-linux-gnu/SHA256SUMS.part
  6d19c872dcad072de768e24f44ea517d3181783f0157f287b0d756b186264d3b  guix-build-656f9b0ba233/output/aarch64-linux-gnu/bitcoin-656f9b0ba233-aarch64-linux-gnu-debug.tar.gz
  bd02655a22ca1e254034e250b5263ae65b5268f84cf3715da97c049c8b52834d  guix-build-656f9b0ba233/output/aarch64-linux-gnu/bitcoin-656f9b0ba233-aarch64-linux-gnu.tar.gz
  adaf2e7ea8940716be066fd7669686afc1f6d493738ae257c1963955f41d5d04  guix-build-656f9b0ba233/output/arm-linux-gnueabihf/SHA256SUMS.part
  619db8a6ce4740933126e6aa397e982ea9323b6e9641825d32673e009eceed1d  guix-build-656f9b0ba233/output/arm-linux-gnueabihf/bitcoin-656f9b0ba233-arm-linux-gnueabihf-debug.tar.gz
  f73e3c1e7051d09b0bdaf8e0c67339b8eef9dec152817e418b878f8165688a42  guix-build-656f9b0ba233/output/arm-linux-gnueabihf/bitcoin-656f9b0ba233-arm-linux-gnueabihf.tar.gz
  de7c35702b2e585b479fbbda8e43b611200ad87cd6a67c04786fe44ee5aec9bb  guix-build-656f9b0ba233/output/arm64-apple-darwin/SHA256SUMS.part
  53235690d0203b7ea8f53797b7f6c387d35d66ddf0cd9d620260e301e834275f  guix-build-656f9b0ba233/output/arm64-apple-darwin/bitcoin-656f9b0ba233-arm64-apple-darwin-unsigned.dmg
  0b2a60d6cbf12e09917e7072fd5dfe343757f6ff77ad53e1b214be019bf60f25  guix-build-656f9b0ba233/output/arm64-apple-darwin/bitcoin-656f9b0ba233-arm64-apple-darwin-unsigned.tar.gz
  8240ba04bd9e743684a70fceb8c0e57c295e6bf9b987f9506a013418917d4d48  guix-build-656f9b0ba233/output/arm64-apple-darwin/bitcoin-656f9b0ba233-arm64-apple-darwin.tar.gz
  a83c4a6fdb2aa07f21c85ffb6fb58d188e55b6a68ed9431e7562a75168511f70  guix-build-656f9b0ba233/output/dist-archive/bitcoin-656f9b0ba233.tar.gz
  f18254bc90cabbf2311d61aa13c2b33cc205bd8c1ec3b488be6579cc7a744d69  guix-build-656f9b0ba233/output/powerpc64-linux-gnu/SHA256SUMS.part
  193fdaf1bd85ca69825ad7462dce7bcc874a196913fd4aa9e830d19696fb336d  guix-build-656f9b0ba233/output/powerpc64-linux-gnu/bitcoin-656f9b0ba233-powerpc64-linux-gnu-debug.tar.gz
  d12266e5d73ec40c9a356bdf2118b3e186a0675aa66a76097f3170e213a2918d  guix-build-656f9b0ba233/output/powerpc64-linux-gnu/bitcoin-656f9b0ba233-powerpc64-linux-gnu.tar.gz
  71e779a3a96959ce3d04de605dbe886741166a56e3599a63867ea6bfd7b2ad2f  guix-build-656f9b0ba233/output/powerpc64le-linux-gnu/SHA256SUMS.part
  621b9707a8d7a0806703aadec91d1c8ecf8979d0c8e58f3af67881114386fece  guix-build-656f9b0ba233/output/powerpc64le-linux-gnu/bitcoin-656f9b0ba233-powerpc64le-linux-gnu-debug.tar.gz
  957ebd909f209d2308f9e18241354b7c460267e2d9964daad383be94f4470eb6  guix-build-656f9b0ba233/output/powerpc64le-linux-gnu/bitcoin-656f9b0ba233-powerpc64le-linux-gnu.tar.gz
  c70dfcc02b3bf11352ae4842dba73748bc59454303506bba046d620a7ff302e2  guix-build-656f9b0ba233/output/riscv64-linux-gnu/SHA256SUMS.part
  5c71397b29ea73666a9e8b23c1948dcfb00478a5cd8aa0442d5f8065b1a7bef8  guix-build-656f9b0ba233/output/riscv64-linux-gnu/bitcoin-656f9b0ba233-riscv64-linux-gnu-debug.tar.gz
  0d413d7f483872699f878ce8102a9c8e91ee889cb791396e0a750062481e3340  guix-build-656f9b0ba233/output/riscv64-linux-gnu/bitcoin-656f9b0ba233-riscv64-linux-gnu.tar.gz
  0a22a1c8ea57b25a2372192279ef2584f8ccf06f219a72436293f52294fa3b9a  guix-build-656f9b0ba233/output/x86_64-apple-darwin/SHA256SUMS.part
  be8d4766384eb8d582a58ad0cb8ac04f456afc74f0ada24f04a839fa1c16f8d9  guix-build-656f9b0ba233/output/x86_64-apple-darwin/bitcoin-656f9b0ba233-x86_64-apple-darwin-unsigned.dmg
  1e5bd0eeb22dbae7c347e722267f6317a221abb9e610d1208c13d93cbcd6f881  guix-build-656f9b0ba233/output/x86_64-apple-darwin/bitcoin-656f9b0ba233-x86_64-apple-darwin-unsigned.tar.gz
  6f0b3986689ad1da6945f2cc9706753204a7bc625fd1a48d3952c2f71a8114be  guix-build-656f9b0ba233/output/x86_64-apple-darwin/bitcoin-656f9b0ba233-x86_64-apple-darwin.tar.gz
  bacaff5157ef53cf4e8087b166272f03e16a7b9b8eb2258b0cac8169666f721b  guix-build-656f9b0ba233/output/x86_64-linux-gnu/SHA256SUMS.part
  e822e98f8c44e8b7760542780a2e3c7e41f0c245764a5126af235603d455b93c  guix-build-656f9b0ba233/output/x86_64-linux-gnu/bitcoin-656f9b0ba233-x86_64-linux-gnu-debug.tar.gz
  270e66fc16dd3e2a825c7b01f51caa242354279be4b65fe6ed0d438405b7dc38  guix-build-656f9b0ba233/output/x86_64-linux-gnu/bitcoin-656f9b0ba233-x86_64-linux-gnu.tar.gz
  42b67a4eff63956604f06af5919a45d0c8fd43d4bfa4a0d3b3dda3b2684e8ef0  guix-build-656f9b0ba233/output/x86_64-w64-mingw32/SHA256SUMS.part
  04a9d09af75622cadc405ba4d0db251f643fd6d8e5bdffe94a283b53c77d9d83  guix-build-656f9b0ba233/output/x86_64-w64-mingw32/bitcoin-656f9b0ba233-win64-debug.zip
  463b2188a1710917e5faba55f2f4bce72ad3188860e3736643f860493b464c27  guix-build-656f9b0ba233/output/x86_64-w64-mingw32/bitcoin-656f9b0ba233-win64-setup-unsigned.exe
  d9e27f2d99a83b4d3dc689ec1a69c08d580bb1b77f0f83298fd3586bd61517bb  guix-build-656f9b0ba233/output/x86_64-w64-mingw32/bitcoin-656f9b0ba233-win64-unsigned.tar.gz
  51e45cd129d62bc810654b5ca235c7d52d9d5a93bce244c18b1bbe9d70ec61fc  guix-build-656f9b0ba233/output/x86_64-w64-mingw32/bitcoin-656f9b0ba233-win64.zip
  ```

ACKs for top commit:
  hebasto:
    ACK 656f9b0ba2

Tree-SHA512: a82338634cb24ea16689aaee30985e5c12316fbf95b17c683a709d4e0cb0d7ba7c9dd0da6aecb1eb1aa6edca2b476479c91a58906b974c3cb1d465c07a963787
2022-09-18 11:33:51 +01:00
Pieter Wuille
e8cc2e4afc
Make miniscript string parsing account for exact script size as bound
Co-Authored-by: Antoine Poinsot <darosior@protonmail.com>
2022-09-17 15:12:48 +02:00
Pieter Wuille
4cb8f9a92c
Permit delaying duplicate key check in miniscript::Node construction 2022-09-17 10:47:05 +02:00
Luke Dashjr
c3e536555a Bugfix: Wallet: Return util::Error rather than non-error nullptr when CreateWallet/LoadWallet/RestoreWallet fail 2022-09-16 23:28:21 +00:00
Luke Dashjr
335ff98c8a Bugfix: Wallet: Wrap RestoreWallet content in a try block to ensure exceptions become returned errors and incomplete wallet directory is removed 2022-09-16 21:07:10 +00:00
fanquake
656f9b0ba2
contrib: remove outdated comment from symbol-check script 2022-09-16 14:56:01 +01:00
fanquake
c36afe39dd
contrib: remove 32bit linux code from release scripts 2022-09-16 14:56:01 +01:00
fanquake
a688ff9046
Merge bitcoin/bitcoin#26087: build: prune BOOST_CPPFLAGS from libbitcoin_zmq
a10df7cf35 build: prune BOOST_CPPFLAGS from libbitcoin_zmq (fanquake)

Pull request description:

  Rather than including `validation.h`, which ultimately means needing boost via `txmempool.h`, include `primitives/block.h` for `CBlock`, and remove `validation.h`, as we can get `cs_main` from `node/blockstorage.h`.

ACKs for top commit:
  theuni:
    Nice. ACK a10df7cf35.
  hebasto:
    ACK a10df7cf35, tested on Linux x86_64 using theuni's [patch](e131d8f1e3) with depends.

Tree-SHA512: 792b6f9e7e7788d10333b4943609efbc798f3b187c324a0f2d5acbb2d44e3c67705dc54d698eb04c23e5af7b8b73a47f8e7974e819eac12f12ae62f28c807476
2022-09-16 14:53:53 +01:00
MacroFake
9fefd00d8e
Merge bitcoin/bitcoin#26107: [test] only run feature_rbf.py once
667401a855 [test] only run feature_rbf.py once (glozow)

Pull request description:

  There is no need to run this test twice with --descriptors and --legacy-wallet, as it doesn't use the wallet.

ACKs for top commit:
  aureleoules:
    ACK 667401a855.
  theStack:
    ACK 667401a855
  brunoerg:
    ACK 667401a855

Tree-SHA512: 339213159fac29ebc5678461fae41645aed57877d5525e8ca4755890b869a17ae0bea3f590114769c84b71a7df20c59c9530ab8b327912151c82ec58022f7e71
2022-09-16 15:03:13 +02:00