1
0
Fork 0
forked from lthn/blockchain
Commit graph

4924 commits

Author SHA1 Message Date
snider
e538e6492a renames api lib from lethean-api to api-server and updates related configurations in CMakeLists.txt 2025-10-16 17:07:18 +01:00
snider
53f266cbee renames ApiCoreInfoComponent to ApiCoreInfo and updates references in ApiServer 2025-10-16 17:06:57 +01:00
snider
60df03ff1f adds API server enablement option and conditional initialization in daemon 2025-10-16 17:06:37 +01:00
snider
c6e98b6aa9 adds Block-by-Hash and Block-by-ID controllers with enhanced block retrieval functionality 2025-10-16 16:08:28 +01:00
snider
a4fe9ee9d7 adds <iomanip> header inclusion in string_tools.h 2025-10-16 14:56:53 +01:00
snider
668a747325 adds blockcontroller / chain data 2025-10-16 14:10:04 +01:00
snider
518e002cb3 adds swagger assets + OpenAPI spec to {pkg}/share/lthn_api/res/* + {pkg}/share/lthn_api/oas-3.0.0.json 2025-10-16 12:24:19 +01:00
snider
692cace8e1 adds package checksums <artifact>.sha256 2025-10-15 22:43:52 +01:00
snider
d154992233 Update API server description and add server endpoints in ApiServer configuration 2025-10-15 22:28:55 +01:00
snider
d7066c2220 Add command line options for API server host and port configuration 2025-10-15 22:28:49 +01:00
snider
4474eebe52 Update server address in ApiServer configuration to use 127.0.0.1 2025-10-15 21:28:38 +01:00
snider
a947670d2c Update log message for API server shutdown in daemon 2025-10-15 21:02:04 +01:00
snider
13f985b67c Update CPack configuration for monolithic installation and checksum generation 2025-10-15 20:59:32 +01:00
snider
3ac4f170d4 Refactor CMake configuration to link lthn_api library with daemon and update include directories 2025-10-15 20:59:18 +01:00
snider
073f3db1aa Initialize and manage API server lifecycle in daemon 2025-10-15 20:59:05 +01:00
snider
3a2ccb55c6 Refactor ApiServer to manage server lifecycle with start, stop, and wait methods 2025-10-15 20:58:57 +01:00
Snider
785a65958e Add NSIS to GHA Windows build workflow
Added a step to install NSIS using Chocolatey in the Windows Intel GitHub Actions workflow to support installer creation.
2025-10-13 19:05:40 +01:00
Snider
10abf9b314 Windows installer CPack config
Replaces the commented-out WIX configuration with NSIS settings for Windows builds. Adds NSIS-specific options such as modifying PATH, help link, contact info, branding, and finish page executable. Updates the status message to reflect the change.
2025-10-13 18:43:46 +01:00
Snider
49573e94b6 Clean CPack packages only on non-Windows systems
Added a conditional to the package target in the Makefile to remove the _CPack_Packages directory only when not running on Windows. This prevents potential issues with file removal on Windows environments.
2025-10-13 18:43:12 +01:00
Snider
44029220a5 Windows build fix.
ensures STATIC=$(STATIC) is passed
2025-10-13 17:46:31 +01:00
snider
3670b2de4c Add RPM package support to Linux build configurations and enhance Makefile for packaging 2025-10-12 00:14:33 +01:00
snider
ae25bdf6d0 Add support for DEB and RPM package generation in CPack configuration 2025-10-12 00:14:16 +01:00
snider
c250daf4ec Add ApiCoreInfoComponent and enhance BlockController for blockchain data retrieval 2025-10-11 23:35:07 +01:00
snider
276231790d Add OpenAPI tools schema configuration to jsonSchemas.xml 2025-10-11 17:02:31 +01:00
snider
76ba3c9505 Add configuration files for C++ Oatpp SDK and other languages 2025-10-11 17:02:06 +01:00
snider
52934d7beb Adds android chain SDK client 2025-10-11 16:21:44 +01:00
snider
c03c4dac86 Add configuration files for SDK generation and OpenAPI specifications 2025-10-11 16:18:37 +01:00
snider
e5c5d1e279 Add PR AI Agent Collaboration Framework for Repository Contributions 2025-10-11 16:10:31 +01:00
snider
39ec000a88 Refactor GHA workflows to use dynamic chain network input for compilation 2025-10-11 12:57:04 +01:00
snider
0213635773 stops using system cmake for make testnet/mainnet uses cmake 3.11.9 2025-10-11 12:45:27 +01:00
snider
dcda295e1e Add ConanPresets.json to .gitignore 2025-10-11 12:42:19 +01:00
snider
0a2a965253 Fix block size and effective fee median values in BlockController 2025-10-11 12:41:18 +01:00
snider
7a15d0a960 Update README to reflect mainnet launch timeline and clarify chain alias domain names 2025-10-11 11:42:00 +01:00
snider
e68fffbe12 CLion first runs with a default profile configuration for Debug with testnet preset. 2025-10-11 11:01:35 +01:00
Snider
df17bf1247 DTOs for block and transaction details, Refactor API server
Replaces RootController and legacy info controller with new InfoController and BlockController, adds DTOs for block and transaction details, and restructures the API server to use modular components. Updates CMakeLists to include new sources and dependencies, and refactors main.cpp to use the new ApiServer entry point. Improves Swagger documentation and endpoint organization for better maintainability and extensibility.
2025-10-10 23:18:02 +01:00
Snider
8386b95cea Update README with project overview and usage
Added a project introduction, description of features, and usage terms to the README for better clarity and onboarding.
2025-10-10 13:56:37 +01:00
Snider
f82fddb809 Remove unused configure_file call for MSVC
Deleted the configure_file invocation for Directory.Build.props in the MSVC-specific section of CMakeLists.txt, that forced job settings overriding build system settings.
2025-10-10 13:18:11 +01:00
Snider
f65fe1a1f8 Update build-docker.yml 2025-10-10 13:05:43 +01:00
Snider
5f7709631a Refactor and clean up utility and resource files
Moved static assert test and Dockerfile to new locations for better organization. Renamed several JSON config files. Removed unused resource files, shell scripts, desktop entries, and utility scripts from the utils and resources directories. Updated CMakeLists.txt and docker-compose.yml to reflect new file paths.
2025-10-10 13:03:32 +01:00
Snider
4b1762f7f1 Rename Conan CMake scripts for consistency
Renamed 'GetConan.cmake' to 'ConanGet.cmake' and 'conan_provider.cmake' to 'ConanProvider.cmake' for consistent naming. Updated references in CMakePresets.json, Makefile, and related CMake scripts to reflect these changes.
2025-10-10 12:55:05 +01:00
Snider
2bb5eb7544 Update README with Web2/Web3 links and typo fix
Added Web2 and Web3 gateway links and domain information to the README. Fixed a typo in the word 'packages' in the CPack section.
2025-10-10 12:43:40 +01:00
Snider
066e4570f2 Update README with build and packaging details
Expanded build instructions to clarify required tools and dependency handling. Added context about historical distribution methods and CPack usage for packaging. Provided guidance on skipping the packing step and removed redundant custom build section.
2025-10-10 12:31:14 +01:00
Snider
671a8528cc Improve build cleaning instructions and Makefile targets
Updated the README to clarify proper cleaning procedures for the build directory, emphasizing the use of 'make clean' and consequences of manual deletion. Modified the Makefile so 'clean-build' now depends on 'clean' for a more thorough cleanup. Updated docs submodule to latest commit.
2025-10-10 12:19:20 +01:00
Snider
4eebc0ac87 Update README with build and packaging instructions
Improved documentation for build customization, added examples for using Makefile variables, clarified release packaging output directory, and included instructions for cleaning the build directory. Also updated formatting for better readability.
2025-10-10 12:03:46 +01:00
Snider
10f35173eb Revise README with updated build instructions
Simplified and modernized the README to focus on Makefile-based build and packaging workflow. Removed outdated manual steps for Linux, Windows, and macOS, and added concise instructions for cloning, building, and customizing builds using Makefile variables. Updated Discord badge and removed legacy information.
2025-10-10 00:44:54 +01:00
Snider
4cfc57b1f1
Update src/api/controller/RootController.hpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-09 23:46:58 +01:00
Snider
bac3c459d2
Update src/api/ApiServer.hpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-09 23:46:45 +01:00
Snider
c5c90dad6b Update docs 2025-10-09 15:38:58 +01:00
Snider
d78c6cecd8 Add initial Oatpp-based API server implementation
Introduces a new API module using Oatpp and Oatpp-Swagger, including controllers, DTOs, and server setup. Updates build scripts and dependencies to support the new API layer for Lethean, providing endpoints and Swagger documentation.
2025-10-09 13:44:34 +01:00
Snider
4a5c5ae742 Refactor build presets and Makefile targets
Updated CMakePresets.json to add 'testnet' and 'mainnet' workflows, removed unused Windows preset, and improved environment and cache variable handling. Makefile targets for testnet and mainnet workflows were added, and Conan-related targets were renamed for consistency. Added a function to reset ConanPresets.json in CleanBuild.cmake and fixed the path for GetConan.cmake in conan_provider.cmake. Deleted obsolete .idea/cmake.xml.
2025-10-09 03:10:46 +01:00