Commit Graph

25014 Commits

Author SHA1 Message Date
Kittywhiskers Van Gogh
5261493a09
merge bitcoin#19961: tor.md updates 2024-02-06 08:44:06 -06:00
Kittywhiskers Van Gogh
2a9bb8f7fa
merge bitcoin#20187: test-before-evict bugfix and improvements for block-relay-only peers
completion of 698a717e from dash#5163 by including:
- 4fe338ab3ed73b3ffb20eedf95500c56ec2920e1
- e8b215a086d91a8774210bb6ce8d1560aaaf0789
- 16d9bfc4172b4f6ce24a3cd1a1cfa3933cd26751
2024-02-06 08:44:05 -06:00
Kittywhiskers Van Gogh
ac0bca1de1
merge bitcoin#20167: Add test for -blockversion 2024-02-06 08:44:05 -06:00
Kittywhiskers Van Gogh
8aef3fe0d6
test: use TIME_GENESIS_BLOCK as mocktime starting point 2024-02-06 08:44:05 -06:00
Kittywhiskers Van Gogh
6325c3c0f4
merge bitcoin#19401: Use GBT to get block versions correct 2024-02-06 08:44:05 -06:00
Kittywhiskers Van Gogh
e099f937e6
merge bitcoin#17775: Try case where txn has inputs first 2024-02-06 08:44:04 -06:00
Kittywhiskers Van Gogh
07946c5558
merge bitcoin#19998: Add CNode::ConnectedThroughNetwork member function
completion of 247c7dfc from dash#5329 by including:
- 3984b78cd7f49e409377f2175a56e8e4bd71d1d8
2024-02-06 08:44:04 -06:00
Kittywhiskers Van Gogh
60bf75cc62
merge bitcoin#19289: GetWalletTx and IsMine require cs_wallet lock 2024-02-06 08:44:04 -06:00
PastaPastaPasta
052b689d43
Merge pull request #5835 from kwvg/bps_jan_02
backport: merge bitcoin#20332, #20908, #21336, #21443, #21142, #21512, #20833, #21522, #21553, #21970, #24336, partial bitcoin#21606 (fuzzing harness backports: part 7)
2024-02-06 08:40:12 -06:00
Kittywhiskers Van Gogh
24ae76cc19
merge bitcoin#24336: Print enable_fuzz_binary in configure 2024-02-06 08:39:54 -06:00
Kittywhiskers Van Gogh
eed4f193a8
partial bitcoin#21606: Extend psbt fuzz target a bit
excludes CountPSBTUnsignedInputs from the PSBT fuzzing test series
2024-02-06 08:39:53 -06:00
Kittywhiskers Van Gogh
75118f3291
merge bitcoin#21970: Add missing CheckTransaction before CheckTxInputs 2024-02-06 08:39:53 -06:00
Kittywhiskers Van Gogh
689b5134ae
merge bitcoin#21553: Misc refactor 2024-02-06 08:39:53 -06:00
Kittywhiskers Van Gogh
51128482a2
merge bitcoin#21522: Use PickValue where possible 2024-02-06 08:39:53 -06:00
Kittywhiskers Van Gogh
33336b93d3
merge bitcoin#20833: enable packages through testmempoolaccept
includes:
- c9e1a26d1f17c8b98632b7796ffa8f8788b5a83c
2024-02-06 08:39:52 -06:00
Kittywhiskers Van Gogh
5bb3ac365e
merge bitcoin#21512: Fix tx_pool target to properly fuzz immature outpoints 2024-02-06 08:39:52 -06:00
Kittywhiskers Van Gogh
b46521b8a6
merge bitcoin#21142: Add tx_pool fuzz targets 2024-02-06 08:39:52 -06:00
Kittywhiskers Van Gogh
16f13cafe3
merge bitcoin#21443: Implement fuzzed_dns_lookup_function as lambda 2024-02-06 08:39:52 -06:00
Kittywhiskers Van Gogh
6ff3a46b3d
merge bitcoin#21336: Make .gitignore ignore src/test/fuzz/fuzz.exe 2024-02-06 08:39:51 -06:00
Kittywhiskers Van Gogh
e866162ba9
fuzz: drop nonexistent messages from FUZZ_TARGET_MSG in process_message
Dash doesn't have feefilters or SegWit.
2024-02-06 08:39:51 -06:00
Kittywhiskers Van Gogh
e12bc1f71b
fuzz: add missing Dash-specific network messages 2024-02-06 08:39:51 -06:00
Kittywhiskers Van Gogh
d4d6b32934
merge bitcoin#20908: Use mocktime in process_message* fuzz targets 2024-02-06 08:39:51 -06:00
Kittywhiskers Van Gogh
1ecd587183
merge bitcoin#20332: Mock IBD in net_processing fuzzers 2024-02-06 08:39:50 -06:00
Kittywhiskers Van Gogh
d9f01c3c9f
build: fix indentation for test, fuzz and bench option print 2024-02-06 08:39:48 -06:00
PastaPastaPasta
cb09d35fc6
Merge pull request #5858 from knst/bp-v21-p22
backport: bitcoin#20112, #20115, #20258, #20285, #20294, #20299, #20315, #20328, #20339, #20368, #20390
2024-02-05 10:20:59 -06:00
MarcoFalke
cc55e4e5a9
Merge #20390: CI/Cirrus: Skip merge_base step for non-PRs
20e491ddcb2617472c15294067768e8ce122499a CI/Cirrus: Skip merge_base step for non-PRs (Luke Dashjr)

Pull request description:

  CIRRUS_BASE_BRANCH is a PR-specific variable and undocumented on non-PR builds.
  In practice (at the moment), it seems to be HEAD, which in private repositories can be pretty much anything, causing CI to fail if it can't be cleanly merged.

  By checking CIRRUS_PR first, we can reliably do CI builds of branches outside PRs.

ACKs for top commit:
  MarcoFalke:
    review ACK 20e491ddcb2617472c15294067768e8ce122499a

Tree-SHA512: 9fd8db2e19a3145f7dccfca107631b20df8c94d385f624e2bcef2fa18e38bf3e23c6c68fc8241decedbf1413bf69ca572cff75e1ccf82c09ac50443001ec5ae5
2024-02-05 10:20:32 -06:00
MarcoFalke
3a0e88cf6f
Merge #20368: ci: Remove redundant valgrind fuzz task
fa92cf29d971811ff8dd844ee1a1e2e12b79e389 ci: Remove redundant valgrind fuzz task (MarcoFalke)

Pull request description:

  This task has several issues:

  * It slows down other tasks and times out: It needs a lot of resources (CPU, RAM, time), because it builds more than 100 fuzzers, clones a 2 GB repo with 100k seeds and pipes them all through valgrind
  * It doesn't add a lot of value: Except for one issue in the boost time library, it hasn't found any issues that the existing fuzz,asan,ubsan fuzzer has already found
  * It is redundant: It is already run in the bitcoin-core/qa-assets repo on every push of new seeds and once daily

  Fix all issues by removing it here.

Top commit has no ACKs.

Tree-SHA512: 76d16a3e5afc79ba9d89cfeb915d7e66fd1ad4e2035ae4ccd30a21cc060bfba3fb6a904346b7c41606e69d972e86bf660df962673028689227cc26072bba24bd
2024-02-05 10:20:31 -06:00
MarcoFalke
b18a58b4f7
Merge #20339: ci: Run more ci configs on cirrus
77777c8b5e3d0edbe1178d982a778b7cc9964b70 ci: Run windows ci config on cirrus (MarcoFalke)
3333d6942e8c5d823b97ea51ef88c8a0791742c6 ci: Run macos ci config on cirrus (MarcoFalke)
fa8b1114e60100f503673ccc7ef5618851c0c9e3 ci: Run arm ci config on cirrus (MarcoFalke)
fa0795f54dc5268bacc6acdfdbe23f9952a0e7d8 ci: Replace TRAVIS_OS_NAME with CI_OS_NAME (MarcoFalke)
fafce1a13a65cc3ae0cd5351648bb0290f9bfe8c ci: Move documentation to correct config file (MarcoFalke)

Pull request description:

ACKs for top commit:
  hebasto:
    ACK 77777c8b5e3d0edbe1178d982a778b7cc9964b70

Tree-SHA512: 581d3bdb2c3e3da20bd8492c6b23d90f3b4f7f9300ade384667e41de9fbbe42bbcef26dd99328839dc0b49be6e303c4c6d1b66ceb5d8009800c52c97685f9080
2024-02-05 10:20:31 -06:00
MarcoFalke
c295a13ac6
Merge #20315: travis: Remove s390x build
fa2c3c0d96b48bc1685d84186552f72e3609a331 ci: Set LC_ALL=C to allow running the s390x tests in qemu (MarcoFalke)
fac05178366a1c9100b1d19d66fb669d7266f306 travis: Remove s390x build (MarcoFalke)

Pull request description:

  This has been discussed in the last meeting.

  Refer to the commit body for more details.

Top commit has no ACKs.

Tree-SHA512: 8e0455286ce41c95ed2e5eb624ac534251bb4a321f13d26d14356497e0c39f841372e166373ffd4a0a9fa379636c2cfb535bd92534fff427cdcb827354e66b6c
2024-02-05 10:20:31 -06:00
MarcoFalke
5abe35afa7
Merge #20328: cirrus: Skip tasks on the gui repo main branch
66667acc53cdfe224b36a74be4ba046b28282d15 cirrus: Skip tasks on the gui repo main branch (MarcoFalke)

Pull request description:

  No need to run every build twice, once in the main repo and then in the read-only gui mirror repo

ACKs for top commit:
  decryp2kanon:
    ACK 66667ac
  hebasto:
    ACK 66667acc53cdfe224b36a74be4ba046b28282d15, though still preferring `only_if` as showing skipped tasks as successful ones seems a bit confused.

Tree-SHA512: 0d35bd115152e06ba4dc5f364130ba5496167d960c44eac2c76192ff9bf7c51f46ab72e2d054dcc6a91818a18dffbbc262f8a4c4483857158c0af4f55dfe9b28
2024-02-05 10:20:31 -06:00
MarcoFalke
b23e0f5e07
Merge #20294: ci: Run more ci configs on cirrus
fa8e494554d0f5f8f48bb33ce96a8d7de9b95e31 ci: Run ci configs on cirrus (MarcoFalke)

Pull request description:

  Now that cirrus ci runs more stable than travis ci, we can try to move more configs over there to see if any issues arise.

ACKs for top commit:
  practicalswift:
    ACK fa8e494554d0f5f8f48bb33ce96a8d7de9b95e31: patch looks correct
  decryp2kanon:
    reACK fa8e494554d0f5f8f48bb33ce96a8d7de9b95e31

Tree-SHA512: e2d1838050b6199d11fa06d1cc9d804883ec5df7d65386c950e8124c0067dc1aaa62ec84c9842c8263e2cf5b17fc819ce85689338113f8d69edb1954f06e76e2
2024-02-05 10:20:30 -06:00
MarcoFalke
b747585486
Merge #20299: test: Fix intermittent rpc_net issue
fa2ecadd0d3283a89d27772dc0275e76277ae17e test: Fix intermittent rpc_net issue (MarcoFalke)

Pull request description:

  The test fails because getpeerinfo and getnettotals are not synchronised, so a `wait_until` is needed for each RPC (separately).

  Fixes https://cirrus-ci.com/task/4663366629195776?command=ci#L5034

ACKs for top commit:
  jnewbery:
    utACK fa2ecadd0d3283a89d27772dc0275e76277ae17e

Tree-SHA512: 5ea7128801aab8dbe3d9e6737545ff4ee770e4a9c5a2096ba2339a688424f1879ccba6bf8bcb219983acf86eb28af06fc629586613e7fe28aeffadd2c98633e8
2024-02-05 10:20:30 -06:00
MarcoFalke
90419a4535
Merge #20258: tests: Remove getnettotals/getpeerinfo consistency test
778cd0d88d8d6dd22d7f0fb740f3ca3dbb2280a1 [tests] Remove getnettotals/getpeerinfo consistency test (John Newbery)

Pull request description:

  We make no guarantees about consistency between RPC calls.

  Alternative to 18784

ACKs for top commit:
  MarcoFalke:
    review ACK 778cd0d88d8d6dd22d7f0fb740f3ca3dbb2280a1
  troygiorshev:
    ACK 778cd0d88d8d6dd22d7f0fb740f3ca3dbb2280a1 after reading discussion on 18784, code review, ran test

Tree-SHA512: 438333a111cc93a09680cec47f13fbe03557d4803e5d826aec6f72e5afea62a088622645f0756e8fd2c9182c2a69ccca867d4d6fed2250364bee2b6c834adb1a
2024-02-05 10:20:30 -06:00
Wladimir J. van der Laan
3184b43267
Merge #20115: cli: -netinfo quick updates/fixups for 0.21
398045ba8b3694931069f88ec95553b3207dd1a6 cli -netinfo: print oversized/extreme ping times as "-" (Jon Atack)
773f4c99c00c0b1d8c1b53cb99ba571337100953 cli -netinfo: handle longer tor v3 local addresses (Jon Atack)
33e987452f869c279f2491499939e51e0af8364c cli -netinfo: make age column variable-width (Jon Atack)
f8a1c4d9469cb496fdafaf6f4d94977687df9190 cli -netinfo: various quick updates and fixes (Jon Atack)

Pull request description:

  Quick fixups and updates for v0.21.0:

  - [x] handle larger BIP155 `addrv2` addresses
  - [x] add Signet chain
  - [x] add an additional space between the `net` and `mping` columns; add missing `tinyformat` and `algorithm` headers
  - [x] s/uptime/age/ per 0xB10C suggestion, and make the column auto-adjusting variable width
  - [x] display `-` for oversized mping/ping times like `1.17348e+06`, as reported by practicalswift

  Edit: removed the release note commit, as this PR was not merged before the notes were moved to the wiki. It's here:
  ```
  - A new `bitcoin-cli -netinfo` command returns a network peer connections
    dashboard that displays data from the `getpeerinfo` and `getnetworkinfo` RPCs
    in a human-readable format. An optional integer argument from `0` to `4` may
    be passed to see various levels of detail. (#19643)
  ```

ACKs for top commit:
  michaelfolkson:
    ACK 398045ba8b3694931069f88ec95553b3207dd1a6
  Emzy:
    Tested ACK 398045ba8b3694931069f88ec95553b3207dd1a6

Tree-SHA512: 0625ee840141bafbfcaf8f1fce53f8f850ae91721b2bdad4279372da87c18a1fe3a214d90bfdbbabdf6da38d58290d7dd0f1109b4e2ca5d20cacf417d6ced0f9
2024-02-05 10:20:29 -06:00
MarcoFalke
46e527a550
Merge #20112: test: Speed up wallet_resendwallettransactions with mockscheduler RPC
fa299ac27364bd7a59e6fb7e0c4ce476f2deec40 test: Speed up wallet_resendwallettransactions test with mockscheduler RPC (MarcoFalke)

Pull request description:

  Also fixes #20143

ACKs for top commit:
  guggero:
    ACK fa299ac2

Tree-SHA512: 024ced4aa5f5c266e24fd0583d47b45b19c2a6ae25a06fabeacaa0ac996eec0c45f11cc34b2df17d01759b78ed31a991aa86978aafcc76cb0017382f601bf85a
2024-02-05 10:20:29 -06:00
MarcoFalke
23a5df7d54
Merge #20285: Remove references to CreateWalletFromFile
c82336c493b112160d781974d4066fcb956b85f6 Remove references to CreateWalletFromFile (fanquake)

Pull request description:

  `CWallet::CreateWalletFromFile()` was removed in 8b5e7297c02f3100a9cb27bfe206e3fc617ec173 but these references remain.

ACKs for top commit:
  hebasto:
    ACK c82336c493b112160d781974d4066fcb956b85f6

Tree-SHA512: 3dd50fe0cd5a60bbc96d265107d4739f3e08f943435f3772038963ac4be9e4a87a863412ac0d571226ea66d71550b17b52f01b9d46a6282d49feae1508fd682e
2024-02-05 10:20:29 -06:00
Konstantin Akimov
dd54b224c5
fix: merge mistake to follow-up bitcoin#17261
The member `m_spk_man` survived in CWallet after backport of refactoring
2024-02-05 10:20:26 -06:00
PastaPastaPasta
544b003102
Merge pull request #5834 from kwvg/atmp_pkg
backport: merge bitcoin#19940, #19498, #19339, #19753, #20581, #20834, #21062, #21783, #21121, #22084, partial bitcoin#19668, #20833 (mempool backports)
2024-02-02 23:14:39 -06:00
Kittywhiskers Van Gogh
a7ebe53fe3
merge bitcoin#22084: package testmempoolaccept followups
inapplicable:
- 5cac95cd15da04b83afa1d31a43be9f5b30a1827 (we don't have RBF)
2024-02-02 23:14:06 -06:00
Kittywhiskers Van Gogh
792b430547
partial bitcoin#20833: enable packages through testmempoolaccept
excludes:
- c9e1a26d1f17c8b98632b7796ffa8f8788b5a83c (will be added in future fuzzing PR)

inapplicable:
- 249f43f3cc52b0ffdf2c47aad95ba9d195f6a45e (we don't have RBF)
2024-02-02 23:14:06 -06:00
Kittywhiskers Van Gogh
e2dda5915a
merge bitcoin#21121: Small unit test improvements, including helper to make mempool transaction 2024-02-02 23:14:06 -06:00
Kittywhiskers Van Gogh
142790cab3
partial bitcoin#19668: Make runtime lock checks require compile-time lock checks
contains:
- af9ea55a72c94678b343f5dd98dc78f3a3ac58cb
- 2ee7743fe723227f2ea1b031eddb14fc6863f4c8 (only changes to validation.h)
2024-02-02 23:14:05 -06:00
Kittywhiskers Van Gogh
0d76475dab
merge bitcoin#21783: Make MempoolAcceptResult members const 2024-02-02 23:14:05 -06:00
Kittywhiskers Van Gogh
6238ed2c6e
merge bitcoin#21062: return MempoolAcceptResult from ATMP 2024-02-02 23:14:05 -06:00
Kittywhiskers Van Gogh
5efc930925
merge bitcoin#20834: locks and docs in ATMP and CheckInputsFromMempoolAndCache 2024-02-02 23:14:04 -06:00
Kittywhiskers Van Gogh
7f535b16fa
merge bitcoin#20581: Don't make "in" parameters look like "out"/"in-out" parameters: pass by ref to const instead of ref to non-const
continuation from 40c270030e in dash#4919
2024-02-02 23:14:04 -06:00
Kittywhiskers Van Gogh
2d64620306
merge bitcoin#19753: don't add AlreadyHave transactions to recentRejects
Co-authored-by: UdjinM6 <UdjinM6@users.noreply.github.com>
2024-02-02 23:14:04 -06:00
Kittywhiskers Van Gogh
4acad29789
merge bitcoin#19339: re-delegate absurd fee checking from mempool to clients 2024-02-02 23:14:04 -06:00
Kittywhiskers Van Gogh
cbbf6089e5
merge bitcoin#19498: Tidy up ProcessOrphanTx
Co-authored-by: Konstantin Akimov <knstqq@gmail.com>
2024-02-02 23:14:03 -06:00
Kittywhiskers Van Gogh
9c6c82b7d3
merge bitcoin#19940: Return fee and vsize from testmempoolaccept 2024-02-02 23:14:01 -06:00