Commit graph

4893 commits

Author SHA1 Message Date
Snider
1ed048d962 Update Dockerfile build target to gcc-linux-x86_64
Changed the BUILD_TARGET argument in the lthn-chain Dockerfile from gcc-linux-armv8 to gcc-linux-x86_64 to target x86_64 architecture builds.
2025-09-27 17:57:54 +01:00
Snider
7cadbf139e Update build-docker.yml 2025-09-27 17:53:02 +01:00
Snider
91e6904c7d Update build-docker.yml 2025-09-27 17:42:23 +01:00
Snider
5a5e82974f Update build-docker.yml 2025-09-27 17:37:47 +01:00
Snider
67ad7705ee Update build-docker.yml 2025-09-27 17:35:08 +01:00
Snider
56518a6f96 Update build-docker.yml 2025-09-27 17:33:39 +01:00
Snider
3108260ec9 Update build-docker.yml 2025-09-27 17:32:21 +01:00
Snider
18c93466f2 Update Docker and Docs GitHub workflows
Bump docker/build-push-action to v6 and update file/context in build-docker.yml. Add job name 'Offline Local Version' to build-docs.yml for clarity.
2025-09-27 17:31:22 +01:00
Snider
6d9792ed3f Update Docker build workflow with dynamic job name
Adds a dynamic job name based on the chain network input and updates Docker build context and file paths to use absolute paths. This improves clarity in workflow runs and ensures correct Dockerfile resolution.
2025-09-27 17:23:28 +01:00
Snider
2783a7c339 Add DockerHub secrets to build-docker workflow
The build-docker workflow now requires DOCKERHUB_USERNAME and DOCKERHUB_TOKEN secrets, which are inherited in the _on-push workflow. This ensures DockerHub credentials are available for Docker-related actions.
2025-09-27 17:20:29 +01:00
Snider
f5cd385fb3 Add Docker build workflow and update push workflow
Introduces a new build-docker.yml GitHub Actions workflow for building and pushing Docker images. Updates the _on-push.yml workflow to include the Docker build job and renames job names for consistency.
2025-09-27 17:14:12 +01:00
Snider
80595a676d Merge branch 'dev-configure-testnet-1' of https://github.com/letheanVPN/blockchain into dev-configure-testnet-1 2025-09-27 16:40:23 +01:00
Snider
3307bb09ac Update docs 2025-09-27 16:40:10 +01:00
Y-o-D
2bea40337b
Corrected the value "Lethean wallet address ... for integrated address" (#18) 2025-09-27 16:26:52 +01:00
Snider
10bdc49525 Add docker build target for lthn-chain node
Introduces a new Makefile target 'docker-chain-node' to build the lthn/chain Docker image. Updates the lthn-chain Dockerfile with improved comments, sets BUILD_TESTNET=1 by default, and clarifies multi-stage build targets. Also updates the docs submodule reference.
2025-09-27 16:13:21 +01:00
Snider
4dfda9a1c7 Update build-windows.yml
removing the gha for msvc-193 due to breaking changes GHA dosnt have it, but users could have that installed so the profile is valid
2025-09-27 13:11:24 +01:00
Snider
dc6127eca5 Update build-windows.yml 2025-09-27 13:05:20 +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
4931245348 Update Dockerfile and remove Crowdin config
Deleted the crowdin.yml configuration file and updated the lthn-chain Dockerfile. The Dockerfile now sets NO_COLOR=1 to disable color escape characters, adds logic to symlink testnet binaries to mainnet names for consistency, and re-enables the chain-service stage using mainnet binary names.
2025-09-27 12:40:18 +01:00
Snider
938c473c88 Update build targets and artifact paths for consistency
Standardized build target names and artifact directory paths across Linux, macOS (Intel and ARM), and Windows GitHub Actions workflows. Updated Dockerfile to use 'gcc-linux-armv8' as the build target and added 'bison' to dependencies for improved build environment consistency.
2025-09-27 02:10:51 +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
ba059f76d4 Rename binaries to lethean-* and update workflows
Changed output binary names in CMakeLists.txt from zanod/simplewallet to lethean-* variants, with testnet-specific names when applicable. Updated GitHub Actions workflows to upload lethean-* artifacts instead of the previous explicit binary names.
2025-09-25 21:22:15 +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
06e7780df5 updates licence
adds this to the bottom of whats there:
// Copyright (c) 2017-2025 Lethean (https://lt.hn)
//
// Licensed under the European Union Public Licence (EUPL) version 1.2.
// You may obtain a copy of the licence at:
//
//     https://joinup.ec.europa.eu/software/page/eupl/licence-eupl
//
// The EUPL is a copyleft licence that is compatible with the MIT/X11
// licence used by the original projects; the MIT terms are therefore
// considered “grandfathered” under the EUPL for this code.
//
// SPDX‑License‑Identifier: EUPL-1.2
//
2025-09-25 18:18:41 +01:00
Snider
ac6778dc34 Remove qt-daemon GUI source files
Deleted all files related to the qt-daemon GUI, including source code, resources, and configuration files. This removes the Qt-based GUI application from the project.
2025-09-25 17:55:51 +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
Snider
007d9fbd49 Update build-windows.yml 2025-09-25 17:55:07 +01:00
Snider
3d7e7166f2 Add TESTNET flag to build workflows and Makefile
Introduces a TESTNET variable to the Makefile and passes it from GitHub Actions workflows based on the chain-network input. Updates CMake build commands to include the TESTNET flag, improves help output formatting, and comments out unused genesis targets for clarity.
2025-09-25 17:54:52 +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
7b0c286cef Update build workflows for macOS and Windows
Changed build commands and artifact directories in macOS and Windows GitHub Actions workflows to use new target names and paths. Removed 'connectivity_tool' from CLI artifacts.
2025-09-24 22:21:43 +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
2eaa599066
GitHub Build Workflows (#7) 2025-08-30 17:46:00 +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
sowle
db80165063
Merge branch 'release' 2025-08-15 15:53:44 +03:00
zano build machine
b9d85e1c09 === build number: 427 -> 428 === 2025-08-13 17:09:03 +03:00
sowle
5982abd525
Merge branch 'develop' into release 2025-08-13 17:02:57 +03:00
zano build machine
de5e0caebd === build number: 426 -> 427 === 2025-08-12 19:51:10 +03:00
sowle
91ced14b2d
ui update (PR 158) 2025-08-12 19:50:17 +03:00
zano build machine
d7d0ba0a41 === build number: 425 -> 426 === 2025-08-11 00:17:35 +03:00