1
0
Fork 0
forked from lthn/blockchain
Commit graph

24 commits

Author SHA1 Message Date
Snider
ba6252ed58 AI Code Review Fixes 2025-09-30 12:01:38 +01:00
Snider
90417401ab Refactor CI workflows and update CPack config
Split build jobs by architecture and OS in GitHub Actions workflows, add Docker and docs build jobs, and update artifact upload to create GitHub releases. Also update CPackConfig.cmake to use BUILD_VERSION for package versioning.
2025-09-29 20:45:11 +01:00
Snider
6a7b6dd2df Refactor config system and move currency_config.h
Moved currency_config.h and related CMake/config files to a new src/config directory, creating a dedicated config CMake target. Updated all includes and build scripts to reference the new config location. Removed obsolete cmake/ChainConfig.cmake and example currency config, and restructured genesis generator and premine wallet logic into the new config system for improved modularity and maintainability.
2025-09-29 19:04:52 +01:00
Snider
4ed552d332 Update CMake configs and improve packaging messages
Changed release build flags in CMakeLists.txt to suppress all warnings with '-w'. Updated CPackConfig.cmake to use 'message(STATUS ...)' for clearer status output and improved consistency. Removed unused COMPONENT argument from documentation install step in DocBuilder.cmake.
2025-09-28 17:33:37 +01:00
Snider
36c38ab9c8 Update build system and version to 6.0.0
Refactored GitHub Actions workflows to upload specific package formats for each platform and standardized the release build process. Updated CMake and Makefile to support a configurable build version, now set to 6.0.0. Adjusted config and version headers to reflect the new versioning scheme and improved package configuration.
2025-09-28 16:33:18 +01:00
Snider
9412c22166 Add CPack packaging and update build system
Introduces CPack-based packaging with a new CPackConfig.cmake and related configuration variables. Updates Makefile and CMakeLists.txt to support packaging, renames project to Lethean, and adjusts workflow files to use unified 'release' build and artifact upload. Also adds install rules for main binaries and comments out install steps in libmdbx submodules.
2025-09-28 14:35:11 +01:00
Snider
ba4b5f4eca testing msvc-193 2025-09-27 13:04:23 +01:00
Snider
e8e2118784 Make build type configurable in Makefile
Added BUILD_TYPE variable to allow specifying build type (e.g., Release, Debug) for all build targets. Updated Conan and CMake commands to use the configurable build type. Cleaned up apple-clang profile files by removing unnecessary user_presets configuration.
2025-09-27 12:40:54 +01:00
Snider
2781c7c9b7 Refactor build profiles and remove legacy build scripts
Renamed and updated CMake build profiles for consistency across platforms, added a new gcc-linux-armv8 profile, and removed legacy build scripts and utilities from the utils directory. Introduced Docker build context and documentation for containerized builds. Updated docs submodule reference.
2025-09-27 01:22:15 +01:00
Snider
13743a6eef Replace Zano branding with Lethean throughout codebase
Updated various strings, documentation, and identifiers to replace 'Zano' with 'Lethean' or 'LTHN' across the codebase, including user-facing messages, documentation comments, filenames, and Android package names. This change supports the rebranding effort and ensures consistency in references to the project.
2025-09-26 22:02:21 +01:00
Snider
ec1f5bfdf8 Add Conan dependency provider CMake module
Introduces cmake/conan_provider.cmake, a comprehensive CMake module for integrating Conan as a dependency provider. This module automates Conan profile detection, compiler and platform settings, and manages Conan installation and dependency resolution during CMake configuration.
2025-09-26 18:49:34 +01:00
Snider
8914c6c0fb Update address prefix values in config-vars.cmake
wallet prefix conventions:
prefix is 'iT', non auditable wallets then use 'H', auditable wallets use 'h'; 'N' is a base addr, 'n' is a sub address,
2025-09-26 12:19:51 +01:00
Snider
aa457a7bb2 Update ChainConfig.cmake 2025-09-26 12:09:57 +01:00
Snider
3365bddaba Update config-vars.cmake
0x73f7 - 'iT'
0x6af7 - integrated 'iTH'
0xdeaf7 - auditable addresses 'iTHn'
0x7eaf7 -  auditable integrated 'iTHa'
2025-09-26 12:09:54 +01:00
Snider
e3e588846f Fix error message grammar in ChainConfig.cmake
Corrected the grammar of the fatal error message when both premine wallet and fresh genesis generation are enabled.
2025-09-25 21:30:09 +01:00
Snider
542095a6a5 Update config for Lethean rebranding and remove Zano data
Rebranded configuration files and copyright/license headers for Lethean, replacing Zano references. Updated CMake config variables for Lethean, added new address prefixes, and removed hardcoded Zano pre-download data. Commented out hardcoded seed nodes in p2p/net_node.inl. Updated docs submodule pointer.
2025-09-25 21:01:14 +01:00
Snider
e3910d8a59 Refactor config variable checks into macro
Replaces repetitive individual variable checks with a macro to streamline and simplify the process of verifying required configuration variables in CMake.
2025-09-25 18:28:10 +01:00
Snider
7b18c06d2f Refactor genesis and premine wallet config to separate file
Moved genesis block and premine wallet generation logic from src/CMakeLists.txt to a new cmake/ChainConfig.cmake file. This improves modularity and keeps the main CMakeLists.txt cleaner by isolating chain configuration options and related commands.
2025-09-25 17:55:34 +01:00
llebubell
b02addf264
Centralised chain config (#4) 2025-09-25 16:38:18 +01:00
Snider
bf22a89733
Dev 12 documentation overhaul (#13)
Introduces a 'docs' submodule for project documentation and integrates MkDocs build steps via CMake and Makefile.
2025-09-25 16:04:33 +01:00
Snider
2f1011e27c
Final Build Foundations (#11) 2025-09-25 00:25:52 +01:00
Snider
b84b99287d Refactor build profiles and update CI workflows
Renamed and reorganized CMake build profiles for consistency, removing unused Android, iOS, and MinGW profiles. Updated GitHub Actions workflows and Makefile to use new profile names and increased build parallelism for faster builds.
2025-09-24 22:21:32 +01:00
Snider
a03d081287
Build Improvements (#10) 2025-09-24 21:01:35 +01:00
Snider
eafeb894f9
GitHub CLI Building (#5)
- Linux: https://github.com/letheanVPN/blockchain/actions/runs/17264025940
- MacOS-aarch64: https://github.com/letheanVPN/blockchain/actions/runs/17264025933
- MacOS-amd64: https://github.com/letheanVPN/blockchain/actions/runs/17264025928
- Windows: https://github.com/letheanVPN/blockchain/actions/runs/17265388073
2025-08-27 12:51:11 +01:00