1
0
Fork 0
forked from lthn/blockchain
Commit graph

4933 commits

Author SHA1 Message Date
Snider
60199c253f
Merge ef59026e39 into 4a5c5ae742 2025-10-17 20:13:53 +00:00
snider
ef59026e39 adds POST block/template + POST block/submit 2025-10-17 21:13:46 +01:00
snider
0c76729d68 adds GET /info?flags=performance,total_coins
performance and chain statistics
2025-10-17 20:32:50 +01:00
snider
8934042913 adds GET block/height 2025-10-17 18:58:18 +01:00
snider
0ba4c334bb api pagination block?limit=20&offset=200&start=1337 2025-10-17 18:40:11 +01:00
snider
0c7c242d28 clang-tidy adjustments 2025-10-16 18:39:25 +01:00
snider
bfa73fd70f initializes oatpp environment in daemon and removes redundant initialization in ApiServer 2025-10-16 18:33:06 +01:00
snider
09c987581b refactors API server initialization and shutdown process, removes conditional API enablement 2025-10-16 18:27:59 +01:00
snider
35f9045937 refactors block and transaction DTOs to models, updates references in controllers 2025-10-16 17:17:18 +01:00
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