Skip to content
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

Sync with the main repo #121

Merged
merged 1,247 commits into from
May 28, 2022
Merged
Changes from 1 commit
Commits
Show all changes
1247 commits
Select commit Hold shift + click to select a range
fa76b2f
ci: Avoid boost test warnings
Mar 29, 2022
0bca5f2
[net processing] PushNodeVersion() takes a const Peer&
jnewbery Mar 29, 2022
a40978d
[fuzz] Assert that Peer.m_tx_relay.m_relay_txs has been set correctly
jnewbery Mar 29, 2022
ecf692b
Merge bitcoin/bitcoin#24540: ci: Integrate ccache into MSVC build
Mar 29, 2022
aeee419
wallet, refactor: Add wallet::NotifyWalletLoaded() function
hebasto Mar 29, 2022
49090ec
Add sendall RPC née sweep
murchandamus Jan 12, 2022
bb84b71
add tests for no recipient and using send_max while inputs are specified
ishaanam Feb 21, 2022
1764849
doc: Speed up functional test runs using ramdisk
willcl-ark Mar 29, 2022
f089a08
Merge bitcoin/bitcoin#24692: refactoring: [Net Processing] Follow-ups…
fanquake Mar 30, 2022
f4fba57
Merge bitcoin/bitcoin#24704: compat: remove strnlen back-compat code
Mar 30, 2022
7c9fe25
wallet: move Assert() check into constructor
ajtowns Mar 26, 2022
896beca
Merge bitcoin/bitcoin#24708: ci: Avoid boost test warnings
fanquake Mar 30, 2022
bdbabc5
Merge bitcoin/bitcoin#24561: guix: use LIEF 0.12.0
laanwj Mar 30, 2022
f9aedbc
Merge bitcoin/bitcoin#24690: util: Add inotify_rm_watch to syscall sa…
fanquake Mar 30, 2022
fa73f8a
ci: Use clang-12 and libcxx-12 for msan
Sep 17, 2021
dc0774c
build, test: Fix test logfile name
hebasto Mar 30, 2022
8b517fa
build, refactor: Replace tabs with spaces
hebasto Mar 30, 2022
50c806f
Merge bitcoin/bitcoin#24693: builder-keys: Add dunxen
laanwj Mar 30, 2022
171f6f2
Merge bitcoin/bitcoin#24374: contrib: refactor: simplify linearize sc…
laanwj Mar 30, 2022
0598f36
refactor: account for requiring libevent 2.1.8+
fanquake Mar 30, 2022
f4e5d70
Merge bitcoin/bitcoin#24118: Add 'sendall' RPC née sweep
Mar 30, 2022
2ef47ba
util/check: stop using lambda for Assert/Assume
ajtowns Mar 26, 2022
71038a1
rpc: Fix documentation assertion for `getrawtransaction`
laanwj Mar 30, 2022
21520b9
fuzz: add target for coinselection
mzumsande Mar 17, 2022
74b011b
Merge bitcoin/bitcoin#23008: ci: Use clang-12 and libcxx-12 for msan
fanquake Mar 30, 2022
828a094
refactor: merge ScriptPubKeyToUniv & ScriptToUniv into one function
mjdietzx Sep 28, 2021
22f25a6
refactor: prefer snake case, TxToUniv arg hashBlock renamed block_hash
mjdietzx Sep 29, 2021
8b9efeb
refactor: use named args when ScriptToUniv or TxToUniv are invoked
mjdietzx Sep 29, 2021
9563a64
refactor: add stdd:: includes to core_write
fanquake Mar 30, 2022
0c12f01
wallet: Postpone NotifyWalletLoaded() for encrypted wallets
hebasto Mar 29, 2022
87dc1dc
Merge bitcoin/bitcoin#24714: util/check: Don't use a lambda for Asser…
Mar 31, 2022
d2b4355
Merge bitcoin/bitcoin#24715: build, test: Fix test logfile name
Mar 31, 2022
a2e1590
Merge bitcoin/bitcoin#24673: refactor: followup of remove -deprecated…
Mar 31, 2022
e1e6a33
Merge bitcoin/bitcoin#24707: doc: Speed up functional test runs using…
Mar 31, 2022
c8ac7e6
Merge bitcoin/bitcoin#24698: test: -peerblockfilters without -blockfi…
Mar 31, 2022
1a54c06
Merge bitcoin/bitcoin#24716: rpc: Fix documentation assertion for `ge…
Mar 31, 2022
fa58427
doc: Use DecodeTxDoc helper
Mar 31, 2022
3b82608
options: add a comment for -listenonion and dedup a long expression
vasild Mar 24, 2022
243197b
Merge bitcoin/bitcoin#24721: doc: Use DecodeTxDoc helper
Mar 31, 2022
bf77fea
test: fix incorrect named args in txpackage tests
fanquake Mar 24, 2022
b7d78e6
Merge bitcoin/bitcoin#24711: wallet: Postpone wallet loading notifica…
achow101 Mar 31, 2022
1021e4c
Merge bitcoin/bitcoin#24602: fuzz: add target for coinselection algor…
achow101 Mar 31, 2022
a24ef27
build: patch around qt duplicate symbol issue
fanquake Mar 31, 2022
0add4db
util/check: avoid unused parameter warnings
ajtowns Apr 1, 2022
7ab9fc3
Merge bitcoin/bitcoin#24724: test: fix incorrect named args in txpack…
Apr 1, 2022
7762c56
build: Fix "ERR: Unsigned tarballs do not exist"
hebasto Apr 1, 2022
4d4dca4
test: add regression test for bitcoin-core/gui/issues/567
vasild Mar 24, 2022
fa38b1c
Remove buggy and confusing IncrementExtraNonce
Apr 1, 2022
afac75f
Merge bitcoin/bitcoin#24733: build: Fix "ERR: Unsigned tarballs do no…
laanwj Apr 1, 2022
3d70c05
build: remove faketime unsetting and comments from configure.ac
fanquake Mar 29, 2022
d6fae98
guix: fix vmov alignment issues with gcc 10.3.0 & mingw-w64
fanquake Apr 1, 2022
a7f0c37
Merge bitcoin/bitcoin#24722: build: patch around qt duplicate symbol …
fanquake Apr 1, 2022
87f3c04
doc: remove incorrect mention of PR_GET_NAME
fanquake Apr 1, 2022
e8fc236
refactor: add missing std:: includes to threadnames.cpp
fanquake Apr 1, 2022
19538dd
Add concrete steps in doc/cjdns.md to easily find a friend
jonatack Mar 29, 2022
6a02355
Add and improve informational links in doc/cjdns.md
jonatack Mar 29, 2022
ef20add
build, qt: bump Qt5 version to 5.15.3
prusnak Mar 25, 2022
826cbc4
build, qt: drop fix_no_printer.patch
hebasto Mar 26, 2022
7f60428
build, qt: use one patch per line in depends/packages/qt.mk
prusnak Apr 1, 2022
09f32cf
[docs] package feerate
glozow Jan 21, 2022
03251b6
Merge bitcoin/bitcoin#24594: doc: update release-process.md
fanquake Apr 2, 2022
d018db9
Merge bitcoin/bitcoin#24740: doc: remove incorrect mention of PR_GET_…
fanquake Apr 2, 2022
0d01272
build: don't use Boost multi_index serialization
fanquake Mar 14, 2022
e40779a
refactor: Remove outdated libevent logging code
fjahr Apr 2, 2022
55ea6fd
Merge bitcoin/bitcoin#24738: build: remove faketime unsetting and com…
fanquake Apr 2, 2022
bc7cc57
doc: explain why we clear CXXFLAGS with enable-debug
fanquake Feb 18, 2022
31b1c67
Merge bitcoin-core/gui#557: Revert "qt: Do not use QObject::tr plural…
hebasto Apr 3, 2022
112a7ab
refactor: remove macOS MAP_ANONYMOUS work around
fanquake Apr 3, 2022
35c3fd4
build: stop overriding user CPPFLAGS
fanquake Feb 17, 2022
3e2ef23
build: stop overriding user LDFLAGS
fanquake Feb 17, 2022
7b00595
build: stop overriding user CXXFLAGS
fanquake Feb 17, 2022
62efdfb
Merge bitcoin/bitcoin#24558: build: explicitly disable Boost multi_in…
Apr 4, 2022
37a16ff
refactor: fix clang-tidy named args usage
fanquake Apr 2, 2022
0da559e
Merge bitcoin/bitcoin#24661: refactor: Use clang-tidy syntax for C++ …
Apr 4, 2022
52f0f7a
Merge bitcoin/bitcoin#24668: build, qt: bump Qt5 version to 5.15.3
fanquake Apr 4, 2022
7c218da
build: specify cmake build dir for multiprocess depends build
fanquake Apr 4, 2022
b0740fd
ci: use DWARF-4 for Valgrind CI job
fanquake Apr 1, 2022
15893a0
supp: remove Boost Valgrind suppression
fanquake Feb 19, 2022
83b26cb
Merge bitcoin/bitcoin#24736: guix: fix vmov alignment issues with gcc…
laanwj Apr 4, 2022
fab24f8
ci: Add clang-tidy task
Apr 4, 2022
67dc002
Merge bitcoin/bitcoin#24735: ci: use DWARF-4 for Valgrind jobs
Apr 4, 2022
6348bc6
Merge bitcoin/bitcoin#24746: refactor: remove macOS MAP_ANONYMOUS wor…
laanwj Apr 4, 2022
4faf7a1
Merge bitcoin/bitcoin#24729: util/check: avoid unused parameter warnings
Apr 4, 2022
d2ba43f
test: use MiniWallet for mempool_unbroadcast.py
ayush933 Apr 4, 2022
47bac47
Merge bitcoin-core/gui#569: test: add regression test for #567
hebasto Apr 4, 2022
fa82e89
Move lint script and data file to avoid lint- prefix
Apr 4, 2022
fae211c
lint: Start to use py lint scripts
Apr 4, 2022
4262100
Merge bitcoin/bitcoin#24762: lint: Start to use py lint scripts
Apr 5, 2022
24c6b20
Merge bitcoin/bitcoin#24583: doc: Add template for empty release notes
Apr 5, 2022
44e7d6d
Merge bitcoin/bitcoin#24754: build: specify cmake build dir for multi…
fanquake Apr 5, 2022
0baf6ad
Merge bitcoin/bitcoin#24391: build: stop overriding user autoconf flags
fanquake Apr 5, 2022
39a34b6
Put lock logging behind DEBUG_LOCKCONTENTION preprocessor directive
jonatack Apr 1, 2022
4394733
Add DEBUG_LOCKCONTENTION documentation to the developer notes
jonatack Apr 4, 2022
cccc4e8
Remove nHeightEnd and nHeight in generateBlocks helper
Apr 5, 2022
d492dc1
Merge bitcoin/bitcoin#24147: Miniscript integration
laanwj Apr 5, 2022
fa0c2aa
init: Disable syscall sandbox in the bitcoin-qt process
Apr 4, 2022
fabdf9f
Remove gui-only syscalls
Apr 4, 2022
ee9af95
Merge bitcoin/bitcoin#24749: test: use MiniWallet for mempool_unbroad…
Apr 5, 2022
f421de5
Merge bitcoin/bitcoin#24236: Remove utxo db upgrade code
laanwj Apr 5, 2022
dac6936
build: perform all .tiff copying in macdeployqtplus
fanquake Jan 5, 2022
fe66dad
Merge bitcoin/bitcoin#24710: Add concrete steps in doc/cjdns.md to ea…
laanwj Apr 5, 2022
3d41521
build: perform /Applications symlink generation in macdeployqtplus
fanquake Jan 5, 2022
9ce1c50
Merge bitcoin/bitcoin#24216: validation: improve connect bench logging
laanwj Apr 5, 2022
a4f4f89
Replace uint256 specific implementations of base_uint::GetHex() and b…
TheQuantumPhysicist Jan 15, 2022
2391fb7
build, refactor: Add set_properties() to msvc-autogen.py
hebasto Apr 5, 2022
ba0bf79
build: Do not modify `common.init.vcxproj` directly
hebasto Apr 5, 2022
f959fc0
Update /<count>/ endpoints to use a '?count=' query parameter instead
stickies-v Jan 27, 2022
54b39cf
Add release notes
stickies-v Jan 18, 2022
7d755bb
contrib: testgen: avoid need for manually setting PYTHONPATH
theStack Mar 15, 2022
11c63e3
contrib: testgen: import OP_* constants from test framework
theStack Mar 15, 2022
605fecf
scripted-diff: rename `chars` to `b58chars` in test_framework.address
theStack Mar 15, 2022
219d2c7
contrib: testgen: use base58 methods from test framework
theStack Mar 15, 2022
65c49ac
test: throw `ValueError` for invalid base58 checksum
theStack Apr 5, 2022
15220ec
Merge bitcoin/bitcoin#24775: build: Do not modify `common.init.vcxpro…
Apr 5, 2022
77f98df
lint: convert spell check lint test to python
fjahr Apr 4, 2022
4685463
doc: Update lint test docs
fjahr Apr 4, 2022
17a8ffd
[packages/policy] use package feerate in package validation
glozow Jul 20, 2021
1b93748
[validation] try individual validation before package validation
glozow Jan 25, 2022
51edcff
[unit test] package feerate and package cpfp
glozow Jan 25, 2022
9bebf35
[validation] don't package validate if not policy or missing inputs
glozow Feb 23, 2022
076cd68
lint: Convert Python dead code linter to Python
fjahr Apr 5, 2022
c9c4e6c
build: Do not define `PROVIDE_FUZZ_MAIN_FUNCTION` macro unconditionally
hebasto Feb 14, 2022
d3ff026
Merge bitcoin/bitcoin#24778: lint: Convert Python dead code linter te…
Apr 6, 2022
70c5220
Merge bitcoin/bitcoin#24766: lint: convert spellchecking lint test to…
Apr 6, 2022
27cfaee
Merge bitcoin/bitcoin#24098: rest: Use query parameters to control re…
Apr 6, 2022
372f1a3
Merge bitcoin/bitcoin#24753: ci: Add clang-tidy task
fanquake Apr 6, 2022
79bf1a0
Merge bitcoin/bitcoin#24732: Remove buggy and confusing IncrementExtr…
Apr 6, 2022
f3e3563
Merge bitcoin/bitcoin#24652: doc: rewrite OpenBSD build docs for 7.0
fanquake Apr 6, 2022
c5c4fb3
Merge bitcoin/bitcoin#24758: Disable the syscall sandbox for bitcoin-…
laanwj Apr 6, 2022
696d394
Merge bitcoin/bitcoin#24669: build: further consolidate macOS deployment
laanwj Apr 6, 2022
b307279
Merge bitcoin/bitcoin#24552: guix: make it possible to override gpg b…
laanwj Apr 6, 2022
faa7ae8
ci: Build all optional tools in tidy task
Apr 6, 2022
6c9460e
Merge bitcoin/bitcoin#24358: test: USDT tracepoint interface tests
laanwj Apr 6, 2022
bbb83f0
Merge bitcoin/bitcoin#24145: mempool: Clear vTxHashes when mapTx is c…
laanwj Apr 6, 2022
d906329
Merge bitcoin/bitcoin#24681: build: Bump libevent minimum version up …
fanquake Apr 6, 2022
fff9141
refactor: Remove deduplication of data in rollingbloom bench
phyBrackets Feb 19, 2022
10f629e
Merge bitcoin/bitcoin#24576: contrib: testgen: remove redundant base5…
fanquake Apr 6, 2022
4105a54
lint: remove boost::bind linter
fanquake Apr 6, 2022
c02a3da
Merge bitcoin/bitcoin#24779: ci: Build all optional dependencies in t…
fanquake Apr 6, 2022
ce33194
Merge bitcoin/bitcoin#24785: lint: remove boost::bind lint
Apr 6, 2022
ffffb7a
doc: Convert remaining comments to clang-tidy format
Apr 6, 2022
41720a1
Merge bitcoin/bitcoin#24786: doc: Convert remaining comments to clang…
fanquake Apr 6, 2022
b72925e
lint: remove qt SIGNAL/SLOT lint
fanquake Apr 6, 2022
afb7a6f
Squashed 'src/secp256k1/' changes from 0559fc6e41..8746600eec
fanquake Apr 6, 2022
2619657
Update secp256k1 subtree to latest upstream master
fanquake Apr 6, 2022
0f7dc89
test: compare `/chaininfo` response with `getblockchaininfo` RPC
brunoerg Apr 6, 2022
ba44aae
gui: add test runner summary
jonatack Apr 6, 2022
2489b6f
gui: count test failures in test runner summary
jonatack Apr 6, 2022
d025d7f
gui, refactor: rename fInvalid to num_test_failures in test_main.cpp
jonatack Apr 6, 2022
d844b5e
Merge bitcoin/bitcoin#24152: policy / validation: CPFP fee bumping wi…
fanquake Apr 7, 2022
5c80d9b
Merge bitcoin/bitcoin#24790: lint: remove qt SIGNAL/SLOT lint
fanquake Apr 7, 2022
323d4c0
Merge bitcoin/bitcoin#24784: refactor: deduplicate integer serializat…
Apr 7, 2022
eaf712c
lint: codespell 2.1.0
fanquake Apr 6, 2022
38031ad
lint: flake8 4.0.1
fanquake Apr 6, 2022
864772c
lint: mypy 0.942
fanquake Apr 7, 2022
f87f259
refactor: fixup named args in txpackage tests
fanquake Apr 7, 2022
38d3d0b
Merge bitcoin/bitcoin#24796: lint: misc updates & fixes
Apr 7, 2022
d960d4f
build: fix MSVC build after subtree update
dhruv Feb 1, 2022
2656629
build: remove --enable-experimental from libsecp256k1 configure
fanquake Mar 29, 2022
ee30bf7
build: remove some no-longer-needed var unexporting from configure
fanquake Mar 17, 2022
404c530
key: use secp256k1_schnorrsig_sign32 over deprecated secp256k1_schnor…
fanquake Mar 29, 2022
88917f9
RPC: Switch getblockfrompeer back to standard param name blockhash
luke-jr Feb 9, 2022
c1059c9
Merge bitcoin/bitcoin#24770: Put lock logging behind DEBUG_LOCKCONTEN…
fanquake Apr 8, 2022
e0680bb
Merge bitcoin/bitcoin#24806: RPC: Switch getblockfrompeer back to sta…
fanquake Apr 8, 2022
8b3f1e3
Update RPC argument and field naming guideline in developer notes
jonatack Apr 8, 2022
0cea7b1
print `(none)` if no warnings in -getinfo
1440000bytes Mar 21, 2022
e8e48fa
Converted lint-python-mutable-default-parameters.sh to python
Apr 7, 2022
6f1e162
qt: Fix headers
hebasto Apr 8, 2022
c7add88
qt: Use `|` instead of `+` for key modifiers
hebasto Apr 8, 2022
6312575
qt: Update deprecated enum value
hebasto Apr 8, 2022
87c7dcc
Merge bitcoin/bitcoin#24808: doc: update RPC argument and field namin…
Apr 9, 2022
747cdf1
Merge bitcoin/bitcoin#24792: Update libsecp256k1 subtree to current m…
fanquake Apr 9, 2022
494455f
test: use MiniWallet for feature_fee_estimation.py
theStack Apr 9, 2022
4a58b6a
Merge bitcoin/bitcoin#24797: test: compare `/chaininfo` response with…
Apr 11, 2022
cd110cd
Merge bitcoin/bitcoin#24817: test: use MiniWallet for feature_fee_est…
Apr 11, 2022
22e3b6f
Merge bitcoin/bitcoin#24800: lint: convert lint-python-mutable-defaul…
Apr 11, 2022
7626e54
Merge bitcoin/bitcoin#24337: build: Do not define `PROVIDE_FUZZ_MAIN_…
fanquake Apr 11, 2022
795dd70
builder-keys: Add will8clark
willcl-ark Apr 11, 2022
2b5a741
Merge bitcoin/bitcoin#24826: builder-keys: Add will8clark
fanquake Apr 11, 2022
dde33ec
test: determine path to `bitcoin-util` in test framework
theStack Apr 11, 2022
449b96e
test: add `is_bitcoin_util_compiled` helper
theStack Apr 11, 2022
0f46e73
Merge bitcoin-core/gui#543: peers-tab: add connection duration column…
hebasto Apr 12, 2022
f509760
Merge bitcoin-core/gui#576: Add qt unit test runner summary
hebasto Apr 12, 2022
f60a63c
Merge bitcoin-core/gui#577: Getting ready to Qt 6 (1/n)
hebasto Apr 12, 2022
457148a
guix: fix GCC 10.3.0 + mingw-w64 setjmp/longjmp issues
fanquake Apr 13, 2022
66d58ad
qt, refactor: remove unused field `qint64 TransactionStatus::open_for`
w0xlt Feb 21, 2022
343f83d
qt, refactor: Use member initializers in TransactionStatus
w0xlt Feb 18, 2022
3bbc46d
Merge bitcoin/bitcoin#24632: add `(none)` in -getinfo `Warnings:` if …
laanwj Apr 13, 2022
9b7eb58
Merge bitcoin/bitcoin#24285: build, refactor: Drop useless `call` Mak…
laanwj Apr 13, 2022
decde9b
Merge bitcoin/bitcoin#24355: util, refactor: Add UNIQUE_NAME helper m…
laanwj Apr 13, 2022
5561f17
ci: Make Qt configure option change invalidate "msvc_qt_built_cache"
hebasto Apr 13, 2022
ca40d64
ci: Bump vcpkg to the latest version
hebasto Apr 13, 2022
b2c3d10
Revert "build: Specify `zeromq` port explicitly for MSVC builds"
hebasto Apr 13, 2022
038d2a6
test: add test for signet miner script
theStack Mar 14, 2022
e9d2771
lint: Convert lint-logs.sh to Python
Kvaciral Apr 14, 2022
d0f7493
Merge bitcoin/bitcoin#24849: lint: Convert lint-logs.sh to Python
Apr 4, 2022
8e3c266
Merge bitcoin/bitcoin#24077: util: Make base_uint::GetHex() and base_…
laanwj Apr 14, 2022
6c9bc14
Merge bitcoin/bitcoin#24842: guix: fix GCC 10.3.0 + mingw-w64 setjmp/…
laanwj Apr 14, 2022
1e3ed01
Merge bitcoin/bitcoin#23416: doc: Remove fee delta TODO from txmempoo…
laanwj Apr 14, 2022
b69fd5e
Merge bitcoin/bitcoin#22052: net: remove non-blocking bool from inter…
laanwj Apr 14, 2022
7f65088
depends: Add file-based logging for individual packages
hebasto Jan 3, 2022
86c2889
ci: Make log verbose in error case only
hebasto Jan 3, 2022
cf0a8b9
Merge bitcoin/bitcoin#24559: test: add test for signet miner script
laanwj Apr 14, 2022
e14f0fa
Merge bitcoin/bitcoin#19952: build, ci: Add file-based logging for in…
laanwj Apr 14, 2022
c457fb1
improve clarity and up max ipv6 ASNs
RF5 Apr 10, 2022
7da4f65
Merge bitcoin/bitcoin#24818: net: improve and address issues in makes…
laanwj Apr 15, 2022
333a418
Merge bitcoin/bitcoin#24172: doc: Add pre-splitoff translation update…
laanwj Apr 15, 2022
012d33f
Merge bitcoin/bitcoin#24847: ci: Bump vcpkg to the latest version `20…
Apr 15, 2022
7190de9
Merge bitcoin-core/gui#552: Refactor `TransactionDesc::FormatTxStatus…
hebasto Apr 15, 2022
b1a73db
Revert "qml: update UI elements to use Theme color definitions"
hebasto May 26, 2022
b420a7d
Revert "qml: Used verificationProgress in stub.qml"
hebasto May 26, 2022
c60866c
Revert "qml: demo Header control"
hebasto May 26, 2022
dd47039
Revert "scripted-diff: Bump Qt Quick module versions"
hebasto May 26, 2022
ed06305
Revert "qml: Demo ProgressIndicator control"
hebasto May 26, 2022
2668eff
Revert "qml: Show ConnectionOptions"
hebasto May 26, 2022
23609ef
Revert "qml: Use ColumnLayout in application window"
hebasto May 26, 2022
737cb7c
Revert "qml: Drop import qualifier BitcoinCoreComponents"
hebasto May 26, 2022
d99a5b2
Revert "doc: Drop unneeded runtime dependencies"
hebasto May 26, 2022
dccd6d8
Revert "multiprocess: add new bitcoin-qt init implementation to qml-gui"
hebasto May 26, 2022
556c4f1
Revert "qml: Set tab focus behavior"
hebasto May 26, 2022
0107368
Revert "qml: Drop erroneous `#include <QStringLiteral>`"
hebasto May 26, 2022
f1b624f
Revert "qml, doc: Add import QtQuick.Layouts"
hebasto May 26, 2022
7aa5302
Revert "qml: Add qInstallMessageHandler"
hebasto May 26, 2022
efc8b24
Revert "build, qt: Apply workaround for Qt build system bug for riscv64"
hebasto May 26, 2022
412346a
Revert "build, qml: Add qtquickcontrols2 module"
hebasto May 26, 2022
e6dee72
Revert "build, qml: Add qtdeclarative module"
hebasto May 26, 2022
feb2519
Revert "ci: Replace bionic with hirsute for system Qt 5.15.2"
hebasto May 26, 2022
02e0a91
Revert "ci, qml: Add required Qt Quick dev packages"
hebasto May 26, 2022
1712848
Revert "build, qml: Fix compiling with GCC 11"
hebasto May 26, 2022
d0b5f3e
Revert "ci: temporarily disable failing ci task"
hebasto May 26, 2022
f58cc12
Merge commit '7190de9fb889bc14cfe8f697ae05e751c6bda54b' into main
hebasto May 26, 2022
3fc6ec8
depends, qml: Add Qt 5.15.3 Declarative module
hebasto May 26, 2022
c983645
depends, qml: Add Qt 5.15.3 Quick Controls 2 module
hebasto May 26, 2022
7902e08
build, qml: Update bitcoin_qt.m4 with QML paths and plugins
hebasto May 26, 2022
46af006
qml: Import static plugins
hebasto May 26, 2022
d51ac6c
doc, qml: Update runtime dependencies
hebasto May 26, 2022
ae5a391
qml: Add import QtQuick.Layouts
hebasto May 26, 2022
d0a2ce6
qml: Add qInstallMessageHandler
hebasto Oct 2, 2021
8eba071
qml: Set tab focus behavior
promag Oct 21, 2021
b69bc29
multiprocess: add new bitcoin-qt init implementation to qml-gui
jarolrod Oct 27, 2021
64e6154
qml: Drop import qualifier BitcoinCoreComponents
promag Oct 21, 2021
18db286
qml: Use ColumnLayout in application window
promag Oct 22, 2021
34e2ee1
qml: Show ConnectionOptions
promag Oct 22, 2021
915ed0e
qml: Demo ProgressIndicator control
promag Oct 22, 2021
a32fa30
scripted-diff: Bump Qt Quick module versions
hebasto Dec 24, 2021
61380a5
qml: demo Header control
jarolrod Jan 3, 2022
328bf76
qml: Used verificationProgress in stub.qml
shaavan Jan 6, 2022
dbcd29a
qml: update UI elements to use Theme color definitions
jarolrod Jan 6, 2022
a92f553
ci, qml: Add required Qt Quick dev packages
hebasto May 27, 2022
229c56b
ci: Fix Win64 task
hebasto May 27, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
refactor: Remove outdated libevent logging code
The removed code was intended to catch issues with event_enable_debug_logging which was not available prior to libevent 2.1.1. This is not necessary since the minimum libevent version was bumped to 2.1.8.
fjahr committed Apr 2, 2022
commit e40779a4fee03c6c455149bd8e9d1a7ccd991450
11 changes: 3 additions & 8 deletions src/httpserver.cpp
Original file line number Diff line number Diff line change
@@ -358,12 +358,8 @@ bool InitHTTPServer()

// Redirect libevent's logging to our own log
event_set_log_callback(&libevent_log_cb);
// Update libevent's log handling. Returns false if our version of
// libevent doesn't support debug logging, in which case we should
// clear the BCLog::LIBEVENT flag.
if (!UpdateHTTPServerLogging(LogInstance().WillLogCategory(BCLog::LIBEVENT))) {
LogInstance().DisableCategory(BCLog::LIBEVENT);
}
// Update libevent's log handling.
UpdateHTTPServerLogging(LogInstance().WillLogCategory(BCLog::LIBEVENT));

#ifdef WIN32
evthread_use_windows_threads();
@@ -402,13 +398,12 @@ bool InitHTTPServer()
return true;
}

bool UpdateHTTPServerLogging(bool enable) {
void UpdateHTTPServerLogging(bool enable) {
if (enable) {
event_enable_debug_logging(EVENT_DBG_ALL);
} else {
event_enable_debug_logging(EVENT_DBG_NONE);
}
return true;
}

static std::thread g_thread_http;
5 changes: 2 additions & 3 deletions src/httpserver.h
Original file line number Diff line number Diff line change
@@ -31,9 +31,8 @@ void InterruptHTTPServer();
/** Stop HTTP server */
void StopHTTPServer();

/** Change logging level for libevent. Removes BCLog::LIBEVENT from log categories if
* libevent doesn't support debug logging.*/
bool UpdateHTTPServerLogging(bool enable);
/** Change logging level for libevent. */
void UpdateHTTPServerLogging(bool enable);

/** Handler for requests to a certain HTTP path */
typedef std::function<bool(HTTPRequest* req, const std::string &)> HTTPRequestHandler;
11 changes: 1 addition & 10 deletions src/rpc/misc.cpp
Original file line number Diff line number Diff line change
@@ -646,17 +646,8 @@ static RPCHelpMan logging()
uint32_t changed_log_categories = original_log_categories ^ updated_log_categories;

// Update libevent logging if BCLog::LIBEVENT has changed.
// If the library version doesn't allow it, UpdateHTTPServerLogging() returns false,
// in which case we should clear the BCLog::LIBEVENT flag.
// Throw an error if the user has explicitly asked to change only the libevent
// flag and it failed.
if (changed_log_categories & BCLog::LIBEVENT) {
if (!UpdateHTTPServerLogging(LogInstance().WillLogCategory(BCLog::LIBEVENT))) {
LogInstance().DisableCategory(BCLog::LIBEVENT);
if (changed_log_categories == BCLog::LIBEVENT) {
throw JSONRPCError(RPC_INVALID_PARAMETER, "libevent logging cannot be updated when using libevent before v2.1.1.");
}
}
UpdateHTTPServerLogging(LogInstance().WillLogCategory(BCLog::LIBEVENT));
}

UniValue result(UniValue::VOBJ);