diff options
author | Vasil Dimov <vd@FreeBSD.org> | 2022-03-23 11:25:19 +0100 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-03-23 17:26:19 +0100 |
commit | 70f2c579b9de41f987e170f15c0ce767d9ad7931 (patch) | |
tree | 56940b7dd3ad16b9c07bbd2831cdcdeb6fcc2fcd /build-aux/m4/ax_check_preproc_flag.m4 | |
parent | 642f2726deaa1dad21912d4319fac0deb6dbb564 (diff) |
options: flip listenonion to false if not listening
If the user has unchecked "Allow incoming connections" in
`Settings->Options...->Network` then `fListen=false` is saved in
`~/.config/Bitcoin/Bitcoin-Qt.conf`. This flips `-listen` to `false`
during startup, but leaves `-listenonion` to `true`.
This flipping of `-listen` is done in `OptionsModel::Init()` after
`InitParameterInteraction()` has been executed which would have flipped
`-listenonion`, should it have seen `-listen` being `false`
(this is a difference between `bitcoind` and `bitcoin-qt`).
Fixes: https://github.com/bitcoin-core/gui/issues/567
Github-Pull: bitcoin-core/gui#568
Rebased-From: 7f90dc26c8938f348938929b6d8bf1ea6f149209
Diffstat (limited to 'build-aux/m4/ax_check_preproc_flag.m4')
0 files changed, 0 insertions, 0 deletions