diff --git a/COPYING b/COPYING index d8c261f5f..8844fad5a 100644 --- a/COPYING +++ b/COPYING @@ -1,7 +1,7 @@ This license applies to all works under this directory. Libbitcoin - C++ Bitcoin Development Toolkit and Applications -Copyright © 2011-2017 libbitcoin developers (see AUTHORS) +Copyright © 2011-2018 libbitcoin developers (see AUTHORS) This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by diff --git a/console/executor.cpp b/console/executor.cpp index 641155622..29addc631 100644 --- a/console/executor.cpp +++ b/console/executor.cpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) + * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * diff --git a/console/executor.hpp b/console/executor.hpp index ab80cad36..3d1e2620a 100644 --- a/console/executor.hpp +++ b/console/executor.hpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) + * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * diff --git a/console/main.cpp b/console/main.cpp index 557b56632..03e1cab70 100644 --- a/console/main.cpp +++ b/console/main.cpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) + * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * diff --git a/include/bitcoin/node/configuration.hpp b/include/bitcoin/node/configuration.hpp index 220e0321b..b7428091b 100644 --- a/include/bitcoin/node/configuration.hpp +++ b/include/bitcoin/node/configuration.hpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) + * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * diff --git a/include/bitcoin/node/define.hpp b/include/bitcoin/node/define.hpp index 8311359bf..c7fb60914 100644 --- a/include/bitcoin/node/define.hpp +++ b/include/bitcoin/node/define.hpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) + * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * diff --git a/include/bitcoin/node/full_node.hpp b/include/bitcoin/node/full_node.hpp index b09bee5a1..ff3e1d31f 100644 --- a/include/bitcoin/node/full_node.hpp +++ b/include/bitcoin/node/full_node.hpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) + * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * diff --git a/include/bitcoin/node/parser.hpp b/include/bitcoin/node/parser.hpp index 9bc5caedc..af80b9d5a 100644 --- a/include/bitcoin/node/parser.hpp +++ b/include/bitcoin/node/parser.hpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) + * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * diff --git a/include/bitcoin/node/protocols/protocol_block_in.hpp b/include/bitcoin/node/protocols/protocol_block_in.hpp index bde67cbca..edd8733dd 100644 --- a/include/bitcoin/node/protocols/protocol_block_in.hpp +++ b/include/bitcoin/node/protocols/protocol_block_in.hpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) + * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * diff --git a/include/bitcoin/node/protocols/protocol_block_out.hpp b/include/bitcoin/node/protocols/protocol_block_out.hpp index 266d00caa..ef07e350e 100644 --- a/include/bitcoin/node/protocols/protocol_block_out.hpp +++ b/include/bitcoin/node/protocols/protocol_block_out.hpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) + * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * diff --git a/include/bitcoin/node/protocols/protocol_block_sync.hpp b/include/bitcoin/node/protocols/protocol_block_sync.hpp index 629e8d8ec..8b1898c91 100644 --- a/include/bitcoin/node/protocols/protocol_block_sync.hpp +++ b/include/bitcoin/node/protocols/protocol_block_sync.hpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) + * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * @@ -61,6 +61,8 @@ class BCN_API protocol_block_sync reservation::ptr reservation_; mutable upgrade_mutex mutex_; + const bool require_witness_; + const bool peer_witness_; }; } // namespace node diff --git a/include/bitcoin/node/protocols/protocol_header_in.hpp b/include/bitcoin/node/protocols/protocol_header_in.hpp index 79624d46f..74f3d560d 100644 --- a/include/bitcoin/node/protocols/protocol_header_in.hpp +++ b/include/bitcoin/node/protocols/protocol_header_in.hpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) + * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * diff --git a/include/bitcoin/node/protocols/protocol_transaction_in.hpp b/include/bitcoin/node/protocols/protocol_transaction_in.hpp index e243e96e9..7c371ef37 100644 --- a/include/bitcoin/node/protocols/protocol_transaction_in.hpp +++ b/include/bitcoin/node/protocols/protocol_transaction_in.hpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) + * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * diff --git a/include/bitcoin/node/protocols/protocol_transaction_out.hpp b/include/bitcoin/node/protocols/protocol_transaction_out.hpp index e36e994e3..c884c12b2 100644 --- a/include/bitcoin/node/protocols/protocol_transaction_out.hpp +++ b/include/bitcoin/node/protocols/protocol_transaction_out.hpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) + * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * diff --git a/include/bitcoin/node/sessions/session.hpp b/include/bitcoin/node/sessions/session.hpp index 6c4fceeca..a6ccf44bd 100644 --- a/include/bitcoin/node/sessions/session.hpp +++ b/include/bitcoin/node/sessions/session.hpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) + * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * diff --git a/include/bitcoin/node/sessions/session_inbound.hpp b/include/bitcoin/node/sessions/session_inbound.hpp index 9e4581a9b..197ae5901 100644 --- a/include/bitcoin/node/sessions/session_inbound.hpp +++ b/include/bitcoin/node/sessions/session_inbound.hpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) + * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * diff --git a/include/bitcoin/node/sessions/session_manual.hpp b/include/bitcoin/node/sessions/session_manual.hpp index 6a283944e..5d075f379 100644 --- a/include/bitcoin/node/sessions/session_manual.hpp +++ b/include/bitcoin/node/sessions/session_manual.hpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) + * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * diff --git a/include/bitcoin/node/sessions/session_outbound.hpp b/include/bitcoin/node/sessions/session_outbound.hpp index f5d674889..a2cb899df 100644 --- a/include/bitcoin/node/sessions/session_outbound.hpp +++ b/include/bitcoin/node/sessions/session_outbound.hpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) + * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * diff --git a/include/bitcoin/node/settings.hpp b/include/bitcoin/node/settings.hpp index 27c141bbd..d92f91576 100644 --- a/include/bitcoin/node/settings.hpp +++ b/include/bitcoin/node/settings.hpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) + * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * diff --git a/include/bitcoin/node/utility/check_list.hpp b/include/bitcoin/node/utility/check_list.hpp index cccd33149..cf6aea689 100644 --- a/include/bitcoin/node/utility/check_list.hpp +++ b/include/bitcoin/node/utility/check_list.hpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) + * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * diff --git a/include/bitcoin/node/utility/hash_queue.hpp b/include/bitcoin/node/utility/hash_queue.hpp index d7642fc90..1b52308f9 100644 --- a/include/bitcoin/node/utility/hash_queue.hpp +++ b/include/bitcoin/node/utility/hash_queue.hpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) + * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * diff --git a/include/bitcoin/node/utility/performance.hpp b/include/bitcoin/node/utility/performance.hpp index 29e513c0b..c6d927607 100644 --- a/include/bitcoin/node/utility/performance.hpp +++ b/include/bitcoin/node/utility/performance.hpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) + * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * diff --git a/include/bitcoin/node/utility/reservation.hpp b/include/bitcoin/node/utility/reservation.hpp index 74a10c818..5d9b73b48 100644 --- a/include/bitcoin/node/utility/reservation.hpp +++ b/include/bitcoin/node/utility/reservation.hpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) + * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * diff --git a/include/bitcoin/node/utility/reservations.hpp b/include/bitcoin/node/utility/reservations.hpp index bb80cda80..138caf9e7 100644 --- a/include/bitcoin/node/utility/reservations.hpp +++ b/include/bitcoin/node/utility/reservations.hpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) + * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * diff --git a/include/bitcoin/node/utility/statistics.hpp b/include/bitcoin/node/utility/statistics.hpp index befb7a8f1..f132ab777 100644 --- a/include/bitcoin/node/utility/statistics.hpp +++ b/include/bitcoin/node/utility/statistics.hpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) + * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * diff --git a/src/configuration.cpp b/src/configuration.cpp index 5d8b1f56b..a7e04cb31 100644 --- a/src/configuration.cpp +++ b/src/configuration.cpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) + * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * diff --git a/src/full_node.cpp b/src/full_node.cpp index e8a0d8d23..0d49e88fb 100644 --- a/src/full_node.cpp +++ b/src/full_node.cpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) + * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * diff --git a/src/parser.cpp b/src/parser.cpp index c3868f7e0..c164ec317 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) + * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * diff --git a/src/protocols/protocol_block_in.cpp b/src/protocols/protocol_block_in.cpp index 5d7676558..c6e6c36ed 100644 --- a/src/protocols/protocol_block_in.cpp +++ b/src/protocols/protocol_block_in.cpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) + * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * diff --git a/src/protocols/protocol_block_out.cpp b/src/protocols/protocol_block_out.cpp index eb4a21d1b..214b58a33 100644 --- a/src/protocols/protocol_block_out.cpp +++ b/src/protocols/protocol_block_out.cpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) + * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * diff --git a/src/protocols/protocol_block_sync.cpp b/src/protocols/protocol_block_sync.cpp index 010222dc1..ca7a7469a 100644 --- a/src/protocols/protocol_block_sync.cpp +++ b/src/protocols/protocol_block_sync.cpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) + * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * @@ -42,12 +42,20 @@ using namespace std::placeholders; // The moving window in which block average download rate is measured. static const asio::seconds monitor_interval(5); +inline bool is_witness(uint64_t services) +{ + return (services & version::service::node_witness) != 0; +} + // Depends on protocol_header_sync, which requires protocol version 31800. protocol_block_sync::protocol_block_sync(full_node& node, channel::ptr channel, safe_chain& chain) : protocol_timer(node, channel, true, NAME), chain_(chain), reservation_(node.get_reservation()), + // Witness must be requested if possibly enforced. + require_witness_(is_witness(node.network_settings().services)), + peer_witness_(is_witness(channel->peer_version()->services())), CONSTRUCT_TRACK(protocol_block_sync) { } @@ -80,12 +88,16 @@ void protocol_block_sync::send_get_blocks() return; // Repopulate if empty and new work has arrived. - const auto request = reservation_->request(); + auto request = reservation_->request(); // Or we may be the same channel and with hashes already requested. if (request.inventories().empty()) return; + // Convert requested message types to corresponding witness types. + if (require_witness_) + request.to_witness(); + LOG_DEBUG(LOG_NODE) << "Sending request of " << request.inventories().size() << " hashes for slot (" << reservation_->slot() << ")."; @@ -118,6 +130,14 @@ bool protocol_block_sync::handle_receive_block(const code& ec, return false; } + // Do not process incoming blocks if required witness is unavailable. + // The channel will remain active outbound unless node becomes stale. + if (require_witness_ && !peer_witness_) + { + stop(error::channel_stopped); + return false; + } + size_t height; // The reservation may have become stopped between the stop test and this diff --git a/src/protocols/protocol_header_in.cpp b/src/protocols/protocol_header_in.cpp index 3acf018be..6fecbcf8f 100644 --- a/src/protocols/protocol_header_in.cpp +++ b/src/protocols/protocol_header_in.cpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) + * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * diff --git a/src/protocols/protocol_transaction_in.cpp b/src/protocols/protocol_transaction_in.cpp index fd0f72451..8017ee6a8 100644 --- a/src/protocols/protocol_transaction_in.cpp +++ b/src/protocols/protocol_transaction_in.cpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) + * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * diff --git a/src/protocols/protocol_transaction_out.cpp b/src/protocols/protocol_transaction_out.cpp index 17d332ad2..3609b9982 100644 --- a/src/protocols/protocol_transaction_out.cpp +++ b/src/protocols/protocol_transaction_out.cpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) + * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * diff --git a/src/sessions/session_inbound.cpp b/src/sessions/session_inbound.cpp index 4b2db4b48..ba13e42c0 100644 --- a/src/sessions/session_inbound.cpp +++ b/src/sessions/session_inbound.cpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) + * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * diff --git a/src/sessions/session_manual.cpp b/src/sessions/session_manual.cpp index df66ab195..63416af35 100644 --- a/src/sessions/session_manual.cpp +++ b/src/sessions/session_manual.cpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) + * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * diff --git a/src/sessions/session_outbound.cpp b/src/sessions/session_outbound.cpp index 558ba0538..420c5d5f6 100644 --- a/src/sessions/session_outbound.cpp +++ b/src/sessions/session_outbound.cpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) + * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * diff --git a/src/settings.cpp b/src/settings.cpp index 7180f5a52..99e6887dc 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) + * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * diff --git a/src/utility/check_list.cpp b/src/utility/check_list.cpp index 2d64b694d..3419aeb62 100644 --- a/src/utility/check_list.cpp +++ b/src/utility/check_list.cpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) + * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * diff --git a/src/utility/hash_queue.cpp b/src/utility/hash_queue.cpp index 254befadb..54ed717cc 100644 --- a/src/utility/hash_queue.cpp +++ b/src/utility/hash_queue.cpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) + * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * diff --git a/src/utility/performance.cpp b/src/utility/performance.cpp index 54de294c7..927ae2712 100644 --- a/src/utility/performance.cpp +++ b/src/utility/performance.cpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) + * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * diff --git a/src/utility/reservation.cpp b/src/utility/reservation.cpp index e0aa1bbac..126cea24d 100644 --- a/src/utility/reservation.cpp +++ b/src/utility/reservation.cpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) + * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * diff --git a/src/utility/reservations.cpp b/src/utility/reservations.cpp index 2b54f40d4..e53153946 100644 --- a/src/utility/reservations.cpp +++ b/src/utility/reservations.cpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) + * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * diff --git a/test/check_list.cpp b/test/check_list.cpp index 9547d82e9..88411a31f 100644 --- a/test/check_list.cpp +++ b/test/check_list.cpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) + * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * diff --git a/test/configuration.cpp b/test/configuration.cpp index a62b71343..549e879a2 100644 --- a/test/configuration.cpp +++ b/test/configuration.cpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) + * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * diff --git a/test/main.cpp b/test/main.cpp index 748fbdf89..5750cddce 100644 --- a/test/main.cpp +++ b/test/main.cpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) + * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * diff --git a/test/node.cpp b/test/node.cpp index 6517be2da..afa0d5109 100644 --- a/test/node.cpp +++ b/test/node.cpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) + * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * diff --git a/test/performance.cpp b/test/performance.cpp index 3d5d4d97a..58a8dbefe 100644 --- a/test/performance.cpp +++ b/test/performance.cpp @@ -1,5 +1,5 @@ /////** -//// * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) +//// * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) //// * //// * This file is part of libbitcoin. //// * diff --git a/test/reservation.cpp b/test/reservation.cpp index 6bd0f775d..41dc63940 100644 --- a/test/reservation.cpp +++ b/test/reservation.cpp @@ -1,5 +1,5 @@ /////** -//// * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) +//// * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) //// * //// * This file is part of libbitcoin. //// * diff --git a/test/reservations.cpp b/test/reservations.cpp index 6e4c892c7..f5d3827c2 100644 --- a/test/reservations.cpp +++ b/test/reservations.cpp @@ -1,5 +1,5 @@ /////** -//// * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) +//// * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) //// * //// * This file is part of libbitcoin. //// * diff --git a/test/settings.cpp b/test/settings.cpp index fc96b3617..8fface205 100644 --- a/test/settings.cpp +++ b/test/settings.cpp @@ -1,5 +1,5 @@ /** - * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) + * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * diff --git a/test/utility.cpp b/test/utility.cpp index dc778695f..910314431 100644 --- a/test/utility.cpp +++ b/test/utility.cpp @@ -1,5 +1,5 @@ ///** -// * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) +// * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) // * // * This file is part of libbitcoin. // * diff --git a/test/utility.hpp b/test/utility.hpp index 43939a996..6d73060f7 100644 --- a/test/utility.hpp +++ b/test/utility.hpp @@ -1,5 +1,5 @@ ///** -// * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) +// * Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS) // * // * This file is part of libbitcoin. // *