diff --git a/data/bs.cfg b/data/bs.cfg index 0e6d6da2..d1367015 100644 --- a/data/bs.cfg +++ b/data/bs.cfg @@ -49,8 +49,8 @@ seed = dnsseed.bitcoin.dashjr.org:8333 [blockchain] # The number of threads in the blockchain threadpool, defaults to 6. threads = 6 -# The maximum number of orphan blocks in the pool, defaults to 20. -block_pool_capacity = 20 +# The maximum number of orphan blocks in the pool, defaults to 1. +block_pool_capacity = 1 # The history index start height, defaults to 0. history_start_height = 0 # The blockchain database directory, defaults to 'blockchain'. @@ -77,6 +77,7 @@ checkpoint = 00000000000000004d9b4ef50f0f9d686fd69db2e03af35a100370c64632a983:29 checkpoint = 000000000000000017a4b176294583519076f06cd2b5e4ef139dada8d44838d8:330791 checkpoint = 000000000000000017522241d7afd686bb2315930fc1121861c9abf52e8c37f1:337459 checkpoint = 0000000000000000086672a8c97ad666f89cf04736951791150015419810d586:368991 +checkpoint = 0000000000000000006166e421051bd1ccc2bf3b80ebd2ed20c71a2eecc10633:389500 # Testnet checkpoints. #checkpoint = 000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f:0 #checkpoint = 00000000009e2958c15ff9290d571bf9459e93b19765c6801ddeccadbb160a1e:100000 @@ -84,6 +85,7 @@ checkpoint = 0000000000000000086672a8c97ad666f89cf04736951791150015419810d586:36 #checkpoint = 000000000000226f7618566e70a2b5e020e29579b46743f05348427239bf41a1:300000 #checkpoint = 000000000598cbbb1e79057b79eef828c495d4fc31050e6b179c57d07d00367c:400000 #checkpoint = 000000000001a7c0aaa2630fbb2c0e476aafffc60f82177375b2aaa22209f606:500000 +#checkpoint = 000000000000624f06c69d3a9fe8d25e0a9030569128d63ad1b704bbb3059a16:600000 [node] # The number of threads in the node threadpool, defaults to 4. @@ -108,10 +110,10 @@ heartbeat_endpoint = tcp://*:9092 block_publish_endpoint = tcp://*:9093 # The transaction publishing service endpoint, defaults to 'tcp://*:9094'. transaction_publish_endpoint = tcp://*:9094 -# Enable the block and transaction publishing endpoints, defaults to true. -publisher_enabled = true -# Enable the query and heartbeat endpoints, defaults to true. -queries_enabled = true +# Enable the block and transaction publishing endpoints, defaults to false. +publisher_enabled = false +# Enable the query and heartbeat endpoints, defaults to false. +queries_enabled = false # Write service requests to the log, defaults to false. log_requests = false # The query polling interval in milliseconds, defaults to 1000. diff --git a/include/bitcoin/server/server_node.hpp b/include/bitcoin/server/server_node.hpp index 84d9fb3a..090d8e78 100644 --- a/include/bitcoin/server/server_node.hpp +++ b/include/bitcoin/server/server_node.hpp @@ -37,8 +37,8 @@ namespace server { #define SERVER_HEARTBEAT_ENDPOINT {"tcp://*:9092"} #define SERVER_BLOCK_PUBLISH_ENDPOINT {"tcp://*:9093"} #define SERVER_TRANSACTION_PUBLISH_ENDPOINT {"tcp://*:9094"} -#define SERVER_PUBLISHER_ENABLED true -#define SERVER_QUERIES_ENABLED true +#define SERVER_PUBLISHER_ENABLED false +#define SERVER_QUERIES_ENABLED false #define SERVER_LOG_REQUESTS false #define SERVER_POLLING_INTERVAL_MILLISECONDS 1000 #define SERVER_HEARTBEAT_INTERVAL_SECONDS 5 diff --git a/src/config/settings.cpp b/src/config/settings.cpp index a2a8a982..88512edb 100644 --- a/src/config/settings.cpp +++ b/src/config/settings.cpp @@ -334,13 +334,13 @@ const options_description config_type::load_settings() "server.publisher_enabled", value(&settings.server.publisher_enabled)-> default_value(SERVER_PUBLISHER_ENABLED), - "Enable the block and transaction publishing endpoints, defaults to true." + "Enable the block and transaction publishing endpoints, defaults to false." ) ( "server.queries_enabled", value(&settings.server.queries_enabled)-> default_value(SERVER_QUERIES_ENABLED), - "Enable the query and heartbeat endpoints, defaults to true." + "Enable the query and heartbeat endpoints, defaults to false." ) ( "server.log_requests",