profile
viewpoint

Ask questionsUnifiy network activity status and 'connect' command line option

When starting bitcoin-qt with -noconnect or equivalently -connect-0, I expected the network activity icon in bottom right of the main windows to be in the Network activity disabled, with the X icon.

The network activity indicator has its active icon instead, while correctly reporting 0 active connections to Bitcoin network.

I can always reproduce the issue.

Installed Bitcoin Core is version 0.17.1.0-gef70f9b52b851c7997a9f1a0834714e3eebc1fd8 (64-bit) from http://ppa.launchpad.net/bitcoin/bitcoin/ubuntu PPA.

The operating system is elementary OS 5.0 on a Intel(R) Core(TM) i5-6200U, disk type is a SSD SATA2.

<!-- Any extra information that might be useful in the debugging process. --> The network enabled status should be unified with the connect command line parameter.

Since the latter is not a boolean flag but a list of IP address and considering the behavior of InterpretNegatedOption(), I figure setting the network activity status to false if connect 0 could be enough.

bitcoin/bitcoin

Answer questions anddam

Will check it, thanks!

useful!

Related questions

macOS build error: bench/bench_bitcoin-data.o redefinition of 'block413567' hot 1
macOS: crash while loading wallet with berkeley-db@4 hot 1
estimatesmartfee keep returning "Insufficient data or no feerate found" hot 1
walletpassphrase slow and freezing hot 1
"Can't generate a change-address key. No keys in the internal keypool and can't generate any keys." hot 1
configure: error: No working boost sleep implementation found. - bitcoin hot 1
source:https://uonfu.com/
Github User Rank List