From c0fe2c9e0301f9b046b51fd78bb89ed8f6946eb8 Mon Sep 17 00:00:00 2001 From: BtcDrak Date: Thu, 24 Mar 2016 19:25:03 +0000 Subject: [PATCH] Mark p2p alert system as deprecated. Set default to off This feature is removed entirely as of 0.13.0 --- doc/release-notes.md | 5 +---- src/main.h | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/doc/release-notes.md b/doc/release-notes.md index 17a8984b3..177bf333b 100644 --- a/doc/release-notes.md +++ b/doc/release-notes.md @@ -35,10 +35,7 @@ earlier. Notable changes =============== -Example item ---------------------------------------- - -Example text. +The p2p alert system is off by default. To turn on, use `-alert` with startup configuration. 0.12.1 Change log ================= diff --git a/src/main.h b/src/main.h index 9fd97d212..c63e19070 100644 --- a/src/main.h +++ b/src/main.h @@ -41,7 +41,7 @@ class CValidationState; struct CNodeStateStats; /** Default for accepting alerts from the P2P network. */ -static const bool DEFAULT_ALERTS = true; +static const bool DEFAULT_ALERTS = false; /** Default for DEFAULT_WHITELISTRELAY. */ static const bool DEFAULT_WHITELISTRELAY = true; /** Default for DEFAULT_WHITELISTFORCERELAY. */