Author: Jeff Garzik 2013-11-22 20:49:04
Published on: 2013-11-22T20:49:04+00:00
Bitcoin core developer and open source evangelist Jeff Garzik added a whitelist feature to the bitcoin client software in 2013, which allows for whitelisted nodes to be protected from being banned. This can be done through an entry point via RPC, configuration file or command line. The feature is implemented in the net.cpp file of the Bitcoin Core codebase, where the AddWhitelist() function is defined. The IsWhitelisted() function checks whether a given address is potentially local, and LoadWhitelist() loads any addresses specified in the -whitelist parameter. The rpcnet.cpp file contains the addwhite() function, which attempts to add a node to the whitelist.
Updated on: 2023-06-07T21:25:04.385047+00:00