diff --git a/.appveyor.yml b/.appveyor.yml deleted file mode 100644 index 02d80216e..000000000 --- a/.appveyor.yml +++ /dev/null @@ -1,88 +0,0 @@ -############################################################################### -# Copyright (c) 2014-2020 libbitcoin-explorer developers (see COPYING). -# -# GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY -# -############################################################################### -version: 4.0.0.{build}-{branch} - -image: Visual Studio 2013 - -clone_folder: c:\git\libbitcoin-explorer -skip_tags: true - -environment: - matrix: - - configuration: StaticDebug - platform: x64 - BOOST_UNIT_TEST_OPTIONS: "--run_test=generated,obsolete,offline,config,stub --show_progress=no --detect_memory_leak=0 --report_level=no --build_info=yes" - - configuration: StaticRelease - platform: x64 - BOOST_UNIT_TEST_OPTIONS: "--run_test=generated,obsolete,offline,config,stub --show_progress=no --detect_memory_leak=0 --report_level=no --build_info=yes" - - configuration: StaticDebug - platform: Win32 - BOOST_UNIT_TEST_OPTIONS: "--run_test=generated,obsolete,offline,config,stub --show_progress=no --detect_memory_leak=0 --report_level=no --build_info=yes" - - configuration: StaticRelease - platform: Win32 - BOOST_UNIT_TEST_OPTIONS: "--run_test=generated,obsolete,offline,config,stub --show_progress=no --detect_memory_leak=0 --report_level=no --build_info=yes" - -matrix: - fast_finish: true - -init: - - git config --global core.autocrlf true - -before_build: - - ps: >- - $BASE_KEY = "HKLM:SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"; - $WOW_KEY = "HKLM:SOFTWARE\wow6432node\Microsoft\Windows\CurrentVersion\Uninstall"; - $CTP_URL = "https://download.microsoft.com/download/3/C/2/3C271B79-6354-4B66-9014-C6CEBC14C5C4/vc_CompilerCTP.Nov2013.exe"; - $CTP_FILENAME = "vc_CompilerCTP.Nov2013.exe"; - $INSTALL_LOG_PATH = "c:\users\appveyor\install-log.txt"; - function GetUninstallString($product_name) { - $x64_items = @(Get-ChildItem $BASE_KEY); - ($x64_items + @(Get-ChildItem $WOW_KEY) ` - | ForEach-Object { Get-ItemProperty Microsoft.PowerShell.Core\Registry::$_ } ` - | Where-Object { $_.DisplayName -and $_.DisplayName.Contains($product_name) } ` - | Select UninstallString).UninstallString - } - Write-Host "Uninstalling Microsoft Visual C++ 2013 Redistributable (x64) - 12.0.21005..." -ForegroundColor Yellow; - "$(GetUninstallString "Microsoft Visual C++ 2013 Redistributable (x64) - 12.0.21005") /quiet" | out-file "$env:TEMP\uninstall.cmd" -Encoding ASCII; - & $env:temp\uninstall.cmd; - Write-Host "Uninstalling Microsoft Visual C++ 2013 Redistributable (x64) - 12.0.30501..." -ForegroundColor Yellow; - "$(GetUninstallString "Microsoft Visual C++ 2013 Redistributable (x64) - 12.0.30501") /quiet" | out-file "$env:TEMP\uninstall.cmd" -Encoding ASCII; - & $env:temp\uninstall.cmd; - Write-Host "Uninstalling Microsoft Visual C++ 2013 Redistributable (x86) - 12.0.30501..." -Foreground Yellow; - "$(GetUninstallString "Microsoft Visual C++ 2013 Redistributable (x86) - 12.0.30501") /quiet" | out-file "$env:TEMP\uninstall.cmd" -Encoding ASCII; - & $env:temp\uninstall.cmd; - Write-Host "Downloading Visual C++ Compiler November 2013 CTP..." -ForegroundColor Yellow; - $CTP_INSTALLER_PATH = "$($env:TEMP)\$CTP_FILENAME"; - (New-Object Net.WebClient).DownloadFile($CTP_URL, $CTP_INSTALLER_PATH); - Write-Host "Installing CTP Compiler..." -ForegroundColor Yellow; - cmd /c start /wait $CTP_INSTALLER_PATH /install /quiet /norestart /log $INSTALL_LOG_PATH; - Write-Host "CTP Compiler Installation Complete." -ForegroundColor Green; - -build_script: - - c:\git\libbitcoin-explorer\build.cmd c:\git %PLATFORM% %CONFIGURATION% vs2013 - - cd /d %APPVEYOR_BUILD_FOLDER% - -test_script: - - ps: >- - Write-Host "Locating test executables..." -ForegroundColor Yellow; - $BC_TEST_EXES = @(Get-ChildItem -Path "$env:APPVEYOR_BUILD_FOLDER\bin" -recurse | Where-Object { $_.Name -eq "libbitcoin-explorer-test.exe" }); - If ($BC_TEST_EXES.Count -ne 1) { - Write-Host "Failure, invalid count of test executables." -ForegroundColor Red; - exit 1; - } - Write-Host "Found single test executable: " $BC_TEST_EXES.FullName -ForegroundColor Green; - $BC_TEST_SINGLETON = $BC_TEST_EXES.FullName; - Write-Host "Executing $BC_TEST_SINGLETON $env:BOOST_UNIT_TEST_OPTIONS" -ForegroundColor Yellow; - try { - Invoke-Expression "$BC_TEST_SINGLETON $env:BOOST_UNIT_TEST_OPTIONS" - } - catch { - $ERR = $_; - Write-Host "Test execution failure: " $ERR -ForegroundColor Red; - exit $ERR; - } - Write-Host "Test execution complete." -ForegroundColor Green; diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index d47e481a3..000000000 --- a/.travis.yml +++ /dev/null @@ -1,108 +0,0 @@ -############################################################################### -# Copyright (c) 2014-2020 libbitcoin-explorer developers (see COPYING). -# -# GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY -# -############################################################################### -sudo: - - false - -language: - - cpp - -addons: - apt: - sources: - - boost-latest - - ubuntu-toolchain-r-test - -matrix: - include: - - os: osx - osx_image: xcode12.2 - compiler: clang - env: LINK=dynamic - - os: osx - compiler: clang - env: LINK=static - - os: linux - compiler: clang - env: LINK=dynamic - - os: linux - compiler: clang - env: LINK=static - addons: - apt: - sources: - - sourceline: 'ppa:h-rayflood/llvm' - packages: - - clang-5.0 - - os: linux - compiler: gcc - env: LINK=dynamic - addons: - apt: - packages: - - g++-4.8 - - bash-completion - - os: linux - compiler: gcc - env: LINK=static - addons: - apt: - packages: - - bash-completion - fast_finish: - - true - -before_install: - - # Set aliases for readability. - - if [[ $CC == gcc ]]; then GCC=true; fi - - if [[ $CC == clang ]]; then CLANG=true; fi - - if [[ $LINK == static ]]; then STATIC=true; fi - - if [[ $LINK == dynamic ]]; then DYNAMIC=true; fi - - if [[ $TRAVIS_OS_NAME == osx ]]; then OSX=true; fi - - if [[ $TRAVIS_OS_NAME == linux ]]; then LINUX=true; fi - -install: - - # Export CC/CXX to control compiler/version. - - if [[ $OSX && $CLANG && $DYNAMIC ]]; then export CC=clang; export CXX=clang++; fi - - if [[ $OSX && $CLANG && $STATIC ]]; then export CC=clang; export CXX=clang++; fi - - if [[ $LINUX && $CLANG && $DYNAMIC ]]; then export CC=clang; export CXX=clang++; fi - - if [[ $LINUX && $CLANG && $STATIC ]]; then export CC=clang-5.0; export CXX=clang++-5.0; fi - - if [[ $LINUX && $GCC && $DYNAMIC ]]; then export CC=gcc-4.8; export CXX=g++-4.8; fi - - if [[ $LINUX && $GCC && $STATIC ]]; then export CC=gcc; export CXX=g++; fi - - # Download and install packages. - - if [[ $OSX && $CLANG && $DYNAMIC ]]; then brew install bash-completion; fi - -script: - - # Download and build libbitcoin-explorer and all dependencies. - - if [[ $OSX && $CLANG && $DYNAMIC ]]; then CC=$CC CXX=$CXX ./install.sh --enable-isystem --with-icu --build-icu --build-zmq --with-bash-completiondir --disable-static; fi - - if [[ $OSX && $CLANG && $STATIC ]]; then CC=$CC CXX=$CXX ./install.sh --enable-isystem --build-boost --build-zmq --disable-shared --prefix=$TRAVIS_BUILD_DIR/my-prefix; fi - - if [[ $LINUX && $CLANG && $DYNAMIC ]]; then CC=$CC CXX=$CXX ./install.sh --enable-isystem --build-boost --build-zmq --disable-ndebug --disable-static --prefix=$TRAVIS_BUILD_DIR/my-prefix CFLAGS='-Os' CXXFLAGS='-Os'; fi - - if [[ $LINUX && $CLANG && $STATIC ]]; then CC=$CC CXX=$CXX ./install.sh --enable-isystem --build-boost --build-zmq --disable-shared --prefix=$TRAVIS_BUILD_DIR/my-prefix CFLAGS='-Os' CXXFLAGS='-Os'; fi - - if [[ $LINUX && $GCC && $DYNAMIC ]]; then CC=$CC CXX=$CXX ./install.sh --enable-isystem --build-boost --build-zmq --disable-static --with-bash-completiondir=$TRAVIS_BUILD_DIR/my-prefix/share/bash-completion/completions --prefix=$TRAVIS_BUILD_DIR/my-prefix CFLAGS='-Og -g' CXXFLAGS='-Og -g'; fi - - if [[ $LINUX && $GCC && $STATIC ]]; then CC=$CC CXX=$CXX ./install.sh --enable-isystem --build-boost --build-zmq --disable-shared --build-dir=my-build --prefix=$TRAVIS_BUILD_DIR/my-prefix --with-bash-completiondir=$TRAVIS_BUILD_DIR/my-prefix/share/bash-completion/completions CFLAGS='-Og -g --coverage' CXXFLAGS='-Og -g --coverage'; fi - -after_success: - - # Download and unpack lcov. - - if [[ $LINUX && $GCC && $STATIC ]]; then wget https://github.com/linux-test-project/lcov/releases/download/v1.12/lcov-1.12.tar.gz; fi - - if [[ $LINUX && $GCC && $STATIC ]]; then tar xzf lcov-1.12.tar.gz; fi - - if [[ $LINUX && $GCC && $STATIC ]]; then cd lcov-1.12; PREFIX="$TRAVIS_BUILD_DIR/my-prefix" make install; cd ..; fi - - # Install coveralls. - - if [[ $LINUX && $GCC && $STATIC ]]; then gem install coveralls-lcov; fi - - # Capture coverage info, filter out system and test code, and debug before upload. - - if [[ $LINUX && $GCC && $STATIC ]]; then $TRAVIS_BUILD_DIR/my-prefix/usr/bin/lcov --directory . --capture --output-file coverage.info; fi - - if [[ $LINUX && $GCC && $STATIC ]]; then $TRAVIS_BUILD_DIR/my-prefix/usr/bin/lcov --remove coverage.info "/usr/*" "$TRAVIS_BUILD_DIR/my-prefix/*" "my-build/*" "test/*" --output-file coverage.info; fi - - if [[ $LINUX && $GCC && $STATIC ]]; then $TRAVIS_BUILD_DIR/my-prefix/usr/bin/lcov --list coverage.info; fi - - # Upload coverage info to coveralls service (--repo-token ). - - if [[ $LINUX && $GCC && $STATIC ]]; then coveralls-lcov coverage.info; fi - diff --git a/Makefile.am b/Makefile.am index 2b80ad5ae..92f14ff84 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,5 @@ ############################################################################### -# Copyright (c) 2014-2020 libbitcoin-explorer developers (see COPYING). +# Copyright (c) 2014-2023 libbitcoin-explorer developers (see COPYING). # # GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY # diff --git a/autogen.sh b/autogen.sh index 375a9e24c..cad96e888 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,6 +1,6 @@ #!/bin/sh ############################################################################### -# Copyright (c) 2014-2020 libbitcoin-explorer developers (see COPYING). +# Copyright (c) 2014-2023 libbitcoin-explorer developers (see COPYING). # # GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY # diff --git a/build.cmd b/build.cmd index af2f7b9d9..0f2de6980 100644 --- a/build.cmd +++ b/build.cmd @@ -1,5 +1,5 @@ REM ########################################################################### -REM # Copyright (c) 2014-2020 libbitcoin-explorer developers (see COPYING). +REM # Copyright (c) 2014-2023 libbitcoin-explorer developers (see COPYING). REM # REM # GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY REM # diff --git a/builds/cmake/CMakeLists.txt b/builds/cmake/CMakeLists.txt index def1b4bd1..dedeed279 100644 --- a/builds/cmake/CMakeLists.txt +++ b/builds/cmake/CMakeLists.txt @@ -1,5 +1,5 @@ ############################################################################### -# Copyright (c) 2014-2020 libbitcoin-explorer developers (see COPYING). +# Copyright (c) 2014-2023 libbitcoin-explorer developers (see COPYING). # # GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY # diff --git a/builds/cmake/modules/FindBash-Completion.cmake b/builds/cmake/modules/FindBash-Completion.cmake index c00e1d1b8..2cc13f1f5 100644 --- a/builds/cmake/modules/FindBash-Completion.cmake +++ b/builds/cmake/modules/FindBash-Completion.cmake @@ -1,5 +1,5 @@ ############################################################################### -# Copyright (c) 2014-2020 libbitcoin-server developers (see COPYING). +# Copyright (c) 2014-2023 libbitcoin-server developers (see COPYING). # # GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY # diff --git a/builds/cmake/modules/FindBitcoin-Client.cmake b/builds/cmake/modules/FindBitcoin-Client.cmake index ba42a1e9a..c8257165f 100644 --- a/builds/cmake/modules/FindBitcoin-Client.cmake +++ b/builds/cmake/modules/FindBitcoin-Client.cmake @@ -1,5 +1,5 @@ ############################################################################### -# Copyright (c) 2014-2020 libbitcoin-explorer developers (see COPYING). +# Copyright (c) 2014-2023 libbitcoin-explorer developers (see COPYING). # # GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY # diff --git a/builds/cmake/modules/FindBitcoin-Network.cmake b/builds/cmake/modules/FindBitcoin-Network.cmake index 427d3b3f9..059358e3e 100644 --- a/builds/cmake/modules/FindBitcoin-Network.cmake +++ b/builds/cmake/modules/FindBitcoin-Network.cmake @@ -1,5 +1,5 @@ ############################################################################### -# Copyright (c) 2014-2020 libbitcoin-node developers (see COPYING). +# Copyright (c) 2014-2023 libbitcoin-node developers (see COPYING). # # GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY # diff --git a/builds/cmake/modules/FindDl.cmake b/builds/cmake/modules/FindDl.cmake index 0ea1cb3d8..b152924fe 100644 --- a/builds/cmake/modules/FindDl.cmake +++ b/builds/cmake/modules/FindDl.cmake @@ -1,5 +1,5 @@ ############################################################################### -# Copyright (c) 2014-2020 libbitcoin developers (see COPYING). +# Copyright (c) 2014-2023 libbitcoin developers (see COPYING). # ############################################################################### # Finddl diff --git a/builds/msvc/debug.natvis b/builds/msvc/debug.natvis index d81400292..cbde072cc 100644 --- a/builds/msvc/debug.natvis +++ b/builds/msvc/debug.natvis @@ -1,6 +1,6 @@