909@@ -910,8 +910,10 @@ void CConnman::AcceptConnection(const ListenSocket& hListenSocket) {
910 bool legacyWhitelisted = false;
911 if (NetPermissions::HasFlag(permissionFlags, NetPermissionFlags::PF_ISIMPLICIT)) {
912 NetPermissions::ClearFlag(permissionFlags, PF_ISIMPLICIT);
913+ // DEFAULT_WHITELISTFORCERELAY = false
914 if (gArgs.GetBoolArg("-whitelistforcerelay", false)) NetPermissions::AddFlag(permissionFlags, PF_FORCERELAY);
915- if (gArgs.GetBoolArg("-whitelistrelay", false)) NetPermissions::AddFlag(permissionFlags, PF_RELAY);
916+ // DEFAULT_WHITELISTRELAY = true
What is this?
DEFAULT_WHITELISTRELAY
has nothing to do with validity of blocks or transactions. Please just move it from validation to net or something