< meshcollider>
ive just converted the -help-debug argument so far for simplicity so I can get some higher level feedback
< meshcollider>
but tested and working, if this looks good then i'll push ahead with converting the other params too and working through issues like SoftSetArg as they arise, then finally remove the legacy mapArgs code after theyre all converted
< bitcoin-git>
bitcoin/master 3e1ee31 sean: [Tests] Adding unit tests for GetDifficulty in blockchain.cpp....
< bitcoin-git>
bitcoin/master 20166f8 Wladimir J. van der Laan: Merge #11748: [Tests] Adding unit tests for GetDifficulty in blockchain.cpp....
< bitcoin-git>
[bitcoin] laanwj closed pull request #11748: [Tests] Adding unit tests for GetDifficulty in blockchain.cpp. (master...blockchain_unittests) https://github.com/bitcoin/bitcoin/pull/11748
< aj>
meshcollider: why meta_args.show_debug instead of just g_show_debug? (having meta_args declared as static in init.h seems wrong? the reference from qt/utilitydialog.cpp will be a different variable, and therefore uninitialised, no?)
< sufi>
hi could any one help me ... how do I create a blockchain after forking a bitcoin
< sipa>
sufi: ##altcoin-dev
< sufi>
sipa how
< sufi>
please
< sipa>
you're in the wrong channel
< meshcollider>
aj: wumpus suggested keeping all the variables in a struct for each module didn't he
< meshcollider>
aj: qt/bitcoin.cpp calls RegisterAllArgs and utilitydialog.cpp imports init.h though? I tested it on ./bitcoin-qt -help-debug -? and it seems to work
< aj>
meshcollider: i took that as referring to metaArgs (the name,type,global array)
< meshcollider>
aj: oh right, ok
< aj>
meshcollider: you need to do ./bitcoin-qt -help-debug and then click on Help/Command Line Options to see the results of utilitydialog.cpp
< meshcollider>
aj: Same thing as using the -? flag isn't it?
< aj>
meshcollider: different code path
< meshcollider>
Oh right, does that one not work then?
< aj>
meshcollider: yeah. it has an entirely different bit of memory for meta_args and meta_args.show_debug that never gets set to true
< meshcollider>
aj: I just tested that too, definitely works for me?
< meshcollider>
-rpcservertimeout and things definitely only appear when I use -help-debug
< meshcollider>
Anyway should I just drop static then
< aj>
meshcollider: uiplatform and allowselfsignedrootcertificates are the only ones that should play up
< aj>
meshcollider: yeah, extern g_meta_args or extern g_show_debug, and declaration in init.cpp or whereever