Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 24 additions & 11 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
build-windows:
name: Windows
runs-on: windows-2022
permissions:
contents: write
env:
BOOST_ROOT: C:/local/boost_1_83_0
steps:
Expand All @@ -27,10 +29,10 @@ jobs:
echo "release_name=${release_name}" >> $env:GITHUB_OUTPUT

- name: Install msbuild
uses: microsoft/setup-msbuild@v2
uses: microsoft/setup-msbuild@v3

- name: Restore Boost
uses: actions/cache@v4
uses: actions/cache@v5
id: restore-boost
with:
path: ${{env.BOOST_ROOT}}
Expand Down Expand Up @@ -64,7 +66,7 @@ jobs:
cp build/tests/Release/*_tests.exe build/conceal

- name: Upload To GH Artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: ${{ steps.setup.outputs.release_name }}
path: build/conceal
Expand Down Expand Up @@ -99,6 +101,8 @@ jobs:
build-mingw:
name: MinGW
runs-on: windows-2022
permissions:
contents: write
defaults:
run:
shell: msys2 {0}
Expand Down Expand Up @@ -148,7 +152,7 @@ jobs:
cp build/tests/*_tests.exe build/conceal

- name: Upload To GH Artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: ${{ steps.setup.outputs.release_name }}
path: build/conceal
Expand Down Expand Up @@ -183,6 +187,8 @@ jobs:
build-ubuntu22:
name: Ubuntu 22.04
runs-on: ubuntu-22.04
permissions:
contents: write
steps:
- uses: actions/checkout@master

Expand Down Expand Up @@ -217,7 +223,7 @@ jobs:
cp build/tests/*_tests build/conceal

- name: Upload To GH Artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: ${{ steps.setup.outputs.release_name }}
path: build/conceal
Expand Down Expand Up @@ -253,6 +259,8 @@ jobs:
build-ubuntu24:
name: Ubuntu 24.04
runs-on: ubuntu-24.04
permissions:
contents: write
steps:
- uses: actions/checkout@master

Expand Down Expand Up @@ -287,7 +295,7 @@ jobs:
cp build/tests/*_tests build/conceal

- name: Upload To GH Artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: ${{ steps.setup.outputs.release_name }}
path: build/conceal
Expand Down Expand Up @@ -323,6 +331,8 @@ jobs:
build-ubuntu22-clang:
name: Ubuntu 22.04 clang
runs-on: ubuntu-22.04
permissions:
contents: write
steps:
- uses: actions/checkout@master

Expand Down Expand Up @@ -357,7 +367,7 @@ jobs:
cp build/tests/*_tests build/conceal

- name: Upload To GH Artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: ${{ steps.setup.outputs.release_name }}
path: build/conceal
Expand Down Expand Up @@ -392,7 +402,9 @@ jobs:

build-macos:
name: macOS
runs-on: macos-13
runs-on: macos-15-intel
permissions:
contents: write
steps:
- uses: actions/checkout@master

Expand All @@ -406,14 +418,15 @@ jobs:

- name: Install dependencies
run: |
brew install boost@1.85
brew install boost
brew list --versions boost

- name: Build
id: build
run: |
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=ON -DSTATIC=ON -DBOOST_ROOT=/usr/local/opt/boost@1.85
cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=ON -DSTATIC=ON -DBOOST_ROOT="$(brew --prefix boost)"
make -j2

- name: Prepare release
Expand All @@ -426,7 +439,7 @@ jobs:
cp build/tests/*_tests build/conceal

- name: Upload To GH Artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: ${{ steps.setup.outputs.release_name }}
path: build/conceal
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/macOS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ on:
push:
tags:
- "*"

jobs:
build-macos:
name: macOS
runs-on: macos-13
runs-on: macos-15-intel
permissions:
contents: write
steps:
- uses: actions/checkout@master

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ubuntu22.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
build-ubuntu22:
name: Ubuntu 22.04
runs-on: ubuntu-22.04
permissions:
contents: write
steps:
- uses: actions/checkout@master

Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/ubuntu24.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ on:
push:
tags:
- "*"

jobs:
build-ubuntu24:
name: Ubuntu 24.04
runs-on: ubuntu-24.04
permissions:
contents: write
steps:
- uses: actions/checkout@master

Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@ jobs:
build-windows:
name: Windows
runs-on: windows-2022
permissions:
contents: write
env:
BOOST_ROOT: C:/local/boost_1_83_0
steps:
- uses: actions/checkout@master

- name: Setup msbuild
uses: microsoft/setup-msbuild@v2
uses: microsoft/setup-msbuild@v3

- name: Restore Boost
uses: actions/cache@v4
Expand Down
25 changes: 22 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.5)

include(CheckCXXCompilerFlag)
set(VERSION "6.7.3")
set(VERSION "6.7.4-beta.1")
set(VERSION_BUILD_NO "Trebopala")
# Packaged from main commits
set(COMMIT 1db6e66)
Expand Down Expand Up @@ -112,7 +112,8 @@ else()
endif()
if(MINGW)
set(WARNINGS "${WARNINGS} -Wno-error=unused-value")
set(MINGW_FLAG "-DWIN32_LEAN_AND_MEAN")
# Boost.Bind: avoid deprecated global placeholders (_1, _2) pragma on newer Boost
set(MINGW_FLAG "-DWIN32_LEAN_AND_MEAN -DBOOST_BIND_GLOBAL_PLACEHOLDERS")
include_directories(SYSTEM src/platform/mingw)
else()
set(MINGW_FLAG "")
Expand Down Expand Up @@ -144,16 +145,34 @@ if(APPLE)
add_definitions(/DHAVE_ROTR)
endif()

if(POLICY CMP0167)
cmake_policy(SET CMP0167 OLD)
endif()

if(STATIC)
set(Boost_NO_BOOST_CMAKE ON)
set(Boost_USE_STATIC_LIBS ON)
set(Boost_USE_STATIC_RUNTIME ON)
endif()

#set(Boost_DEBUG on)
find_package(Boost 1.55 REQUIRED COMPONENTS system filesystem thread date_time chrono regex serialization program_options)
set(BOOST_COMPONENTS filesystem thread date_time chrono regex serialization program_options)

if(APPLE)
find_package(Boost 1.55 COMPONENTS system ${BOOST_COMPONENTS})
if(NOT Boost_FOUND)
message(STATUS "Boost.System library not found; retrying without system component")
find_package(Boost 1.55 REQUIRED COMPONENTS ${BOOST_COMPONENTS})
endif()
else()
find_package(Boost 1.55 REQUIRED COMPONENTS system ${BOOST_COMPONENTS})
endif()
include_directories(SYSTEM ${Boost_INCLUDE_DIRS})

if(Boost_VERSION AND NOT Boost_VERSION VERSION_LESS 1.90.0)
add_definitions(-DBOOST_ASIO_HAS_IO_CONTEXT)
endif()

if(MINGW)
set(Boost_LIBRARIES "${Boost_LIBRARIES};ws2_32;mswsock;bcrypt")
elseif(APPLE)
Expand Down
8 changes: 5 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
<b>Development Process</b>

Developers work in their own trees, then submit pull requests when they think their feature or bug fix is ready.
Contributors should work from their own fork of the repository (not push branches directly to the upstream repo unless they are maintainers with that workflow). When you start a change, create a branch named `<id-3letter>/<topic>`: use a three-letter identifier derived from your name or handle, then a short topic (often kebab-case words). Examples for someone named John Doe: `jdo/fix`, `doe/dependencies`.

Open pull requests against the upstream **`development`** branch when you consider your feature or bug fix ready.

The patch will be accepted if there is broad consensus that it is a good thing. Developers should expect to rework and resubmit patches if they don't match the project's coding conventions or are controversial.

The master branch is regularly built and tested, but is not guaranteed to be completely stable. Tags are regularly created to indicate new official, stable release versions of Conceal.
The `development` branch is regularly built and tested, but is not guaranteed to be completely stable. Tags are regularly created to indicate new official, stable release versions of Conceal.

Feature branches are created when there are major new features being worked on by several people.
Feature branches on upstream may be created when there are major new features being worked on by several people.

From time to time a pull request will become outdated. If this occurs, and the pull is no longer automatically mergeable; a comment on the pull will be used to issue a warning of closure. The pull will be closed 15 days after the warning if action is not taken by the author. Pull requests closed in this manner will have their corresponding issue labeled 'stagnant'.

Expand Down
2 changes: 1 addition & 1 deletion external/parallel_hashmap/phmap.h
Original file line number Diff line number Diff line change
Expand Up @@ -2753,7 +2753,7 @@ class parallel_hash_set
std::is_nothrow_default_constructible<key_equal>::value&&
std::is_nothrow_default_constructible<allocator_type>::value) {}

#if (__cplusplus >= 201703L || _MSVC_LANG >= 201402) && (defined(_MSC_VER) || defined(__clang__) || (defined(__GNUC__) && __GNUC__ > 6))
#if (__cplusplus >= 201703L || (defined(_MSVC_LANG) && _MSVC_LANG >= 201402)) && (defined(_MSC_VER) || defined(__clang__) || (defined(__GNUC__) && __GNUC__ > 6))
explicit parallel_hash_set(size_t bucket_cnt,
const hasher& hash_param = hasher(),
const key_equal& eq = key_equal(),
Expand Down
2 changes: 1 addition & 1 deletion src/CryptoNoteConfig.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright (c) 2012-2017 The Cryptonote developers
// Copyright (c) 2017-2018 The Circle Foundation & Conceal Devs
// Copyright (c) 2018-2023 Conceal Network & Conceal Devs
// Copyright (c) 2018-2026 Conceal Network & Conceal Devs
//
//
// Distributed under the MIT/X11 software license, see the accompanying
Expand Down
Loading