Skip to content

Commit

Permalink
Updated protobuf to 26.x
Browse files Browse the repository at this point in the history
  • Loading branch information
SChernykh committed Jan 28, 2024
1 parent a60fba8 commit 3f6844f
Show file tree
Hide file tree
Showing 15 changed files with 8,679 additions and 9,333 deletions.
6 changes: 2 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.10)
project(p2pool)

message(STATUS "Build environment:
Expand All @@ -23,9 +23,7 @@ option(DEV_WITH_ASAN "[Developer only] Compile with address sanitizer" OFF)
option(DEV_CLANG_TIDY "[Developer only] Compile for clang-tidy" OFF)
option(DEV_TRACK_MEMORY "[Developer only] Track memory allocations" OFF)

if (${CMAKE_VERSION} VERSION_GREATER "3.5.2")
set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT p2pool)
endif()
set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT p2pool)

add_subdirectory(external/src/protobuf)
set(LIBS ${LIBS} libprotobuf)
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,9 @@ PAUSE
## Build instructions
Only 64-bit builds are supported, in particular ARMv7 or older CPUs are not supported. The reason is that RandomX hashing algorithm is too slow in 32-bit mode, and P2Pool needs to check new blocks very fast to keep up with other nodes.
Please see the relevant instructions for your platform:
### Prerequisites
- cmake >= 3.10
- C++ compiler with full C++17 support. GCC-8, Clang-13 and MSVC-2019 have been tested and confirmed to work, older compilers may fail to build P2Pool.
### Ubuntu 20.04
Expand Down
3,621 changes: 1,988 additions & 1,633 deletions external/src/Tari/proto/gRPC/base_node.pb.cc

Large diffs are not rendered by default.

5,490 changes: 2,445 additions & 3,045 deletions external/src/Tari/proto/gRPC/base_node.pb.h

Large diffs are not rendered by default.

712 changes: 378 additions & 334 deletions external/src/Tari/proto/gRPC/block.pb.cc

Large diffs are not rendered by default.

Loading

0 comments on commit 3f6844f

Please sign in to comment.