Conversation
temp disable NSPV messages processing
optional nspv msg
DeckerSU
left a comment
There was a problem hiding this comment.
LGTM, but we can also add DEFAULT_NSPV_PROCESSING constant in main.h.
| void CAddress::Init() | ||
| { | ||
| nServices = NODE_NETWORK | NODE_NSPV; | ||
| nServices = GetBoolArg("-nspv_msg", false) ? NODE_NETWORK | NODE_NSPV : NODE_NETWORK; |
There was a problem hiding this comment.
| nServices = GetBoolArg("-nspv_msg", false) ? NODE_NETWORK | NODE_NSPV : NODE_NETWORK; | |
| nServices = GetBoolArg("-nspv_msg", DEFAULT_NSPV_PROCESSING) ? NODE_NETWORK | NODE_NSPV : NODE_NETWORK; |
|
Could we also use a global bool flag (like fNSPVSupported) instead of calling GetBoolArg("-nspv_msg", false)? |
|
thanks @DeckerSU Co-authored-by: DeckerSU <support@decker.su>
Co-authored-by: DeckerSU <support@decker.su>
There was a problem hiding this comment.
We need to add DEFAULT_NSPV_PROCESSING in main.h as mentioned here - #382 (review) :
/** Default NSPV support enabled */
static const bool DEFAULT_NSPV_PROCESSING = false;
Otherwise build will fail.
Also all places with GetBoolArg("-nspv_msg", false) should be changed on GetBoolArg("-nspv_msg", DEFAULT_NSPV_PROCESSING), for now it's not yet done.
Co-authored-by: DeckerSU <support@decker.su>
nSPV processing is disabled by default for Komodo-Qt, to enable it you can alsways use `-nspv_msg` command line arg. GLEECBTC/komodo-daemon#382
nSPV processing is disabled by default for Komodo-Qt, to enable it you can alsways use `-nspv_msg` command line arg. GLEECBTC/komodo-daemon#382 DeckerSU/KomodoOcean@1d1e568
* New user params * no splash fix * no splash fix * Update Ocean_all_cd.yml until openssl and python2 breaking changes fixes are finalized actions/runner-images#1811 (comment) * + CountBits in crypto/common.h Return the smallest number n such that (x >> n) == 0 (or 64 if the highest bit in x is set DeckerSU/KomodoOcean@d836179 * Add asmap utility which queries a mapping The scripts for creating a compact IP->ASN mapping are here: https://github.com/sipa/asmap bitcoin/bitcoin@8feb4e4 DeckerSU/KomodoOcean@50daf84 * p2p: supplying and using asmap to improve IP bucketing in addrman first approach to porting bitcoin/bitcoin#16702 into old v0.13 codebase. DeckerSU/KomodoOcean@bfaf287 * Return mapped AS in RPC call getpeerinfo and in GUI DeckerSU/KomodoOcean@81d10f5 * Addrman Google Tests Note: these are standart tests, which is not include asmap features. DeckerSU/KomodoOcean@2173036 * add legacy and asmap addrman tests DeckerSU/KomodoOcean@7567965 * when clearing addrman clear mapInfo and mapAddr bitcoin/bitcoin@b86a420 DeckerSU/KomodoOcean@9b2c1f3 * add addrman serialization test DeckerSU/KomodoOcean@18ebbd5 * addrman: Add missing lock in Clear() (CAddrMan) bitcoin/bitcoin#11585 DeckerSU/KomodoOcean@b81d07b * gui: debug window -> tab peers elems re-arrange added scroll area for detailed peer info, added splitter between detailed info and peer table DeckerSU/KomodoOcean@be106ed * depends: tar: Always extract as yourself For normal users, --no-same-owner is default, but not so for root, where it is assumed that root can change ownership willy-nilly. This is not the case for privilege-limited container environments where we gaslight the process into thinking it's root. GLEECBTC/komodo-daemon#368 bitcoin/bitcoin@89bee1b DeckerSU/KomodoOcean@85d2fa6 * refactor: remove unused header var in GetBlockProof DeckerSU/KomodoOcean@a1be01c * bump versions CLIENT_VERSION 4.0.2 KOMODO_VERSION 0.6.1 * add display service bits for NSPV, ADDRINDEX and SPENTINDEX DeckerSU/KomodoOcean@f0ef3e2 * optional disable nspv nSPV processing is disabled by default for Komodo-Qt, to enable it you can alsways use `-nspv_msg` command line arg. GLEECBTC/komodo-daemon#382 DeckerSU/KomodoOcean@1d1e568 * update getblocktemplate conditions DeckerSU/KomodoOcean@506bc22 * update IsNotInSync() conditions IsNotInSync() using now only in waitForPeers() which is called in VerusStaker(...) and BitcoinMiner_noeq(...), mean which used only in verushash-algo based mining and staking chains. DeckerSU/KomodoOcean@cb5dec1 * fetch bdb using https instead of http DeckerSU/KomodoOcean@d09c03a * remove auto-created file (cryptoconditions/compile) to resolve issues with compiling dirty releases from unchanged repo. DeckerSU/KomodoOcean@3e4aa66
Fix missing semicolon
No description provided.