1
0
Fork 0
forked from lthn/blockchain
Commit graph

4941 commits

Author SHA1 Message Date
Snider
76aa8ef259
Merge 42368f3b4d into 4a5c5ae742 2025-10-19 17:02:48 +00:00
Snider
42368f3b4d Refactor Go SDK API service names and add Java SDK
Renamed Go SDK API services and documentation from BlockAPI/InfoAPI to BlockUtilsSdkClientGo/InfoUtilsSdkClientGo for consistency. Updated all references, method receivers, and usage examples accordingly. Added new Java SDK client, models, API, documentation, and build files under utils/sdk/client/java. Updated Go module dependencies and added go.sum. Enhanced Go models to support additional properties in JSON unmarshalling.
2025-10-19 18:02:02 +01:00
Snider
7a751142e8 Update Go SDK build process and package config
Enhances the Go SDK Makefile target to fix import paths in generated files and sets the correct Go module path. Updates go.json to use 'utils/sdk/client/go' for package, API, and model paths, and adds additional OpenAPI generator properties.
2025-10-19 18:01:44 +01:00
Snider
2852702a4b Add Python SDK for lthn API
Introduces a new Python client SDK for the lthn API, generated via OpenAPI Generator. Includes source code, models, API classes, documentation, tests, CI/CD workflows for GitHub and GitLab, and project configuration files.
2025-10-19 15:15:41 +01:00
Snider
2289d4e181 Add Angular SDK client generated from OpenAPI
Introduces a new Angular client SDK for the Lethean Blockchain API, generated via OpenAPI Generator. Includes all necessary Angular service, model, configuration, and packaging files, and updates the Makefile to support the 'angular' target for SDK generation.
2025-10-19 15:13:59 +01:00
Snider
c67fda3cfb Add generated PHP client SDK for blockchain API
Introduces a new PHP client SDK generated via OpenAPI for the Lethean blockchain, including source code, models, API classes, documentation, tests, and configuration files. Updates Makefile to support PHP SDK generation and modifies php.json package configuration.
2025-10-19 15:09:11 +01:00
Snider
884958b0c7 Add Go SDK client for Lethean Blockchain API
Introduces a generated Go SDK client for the Lethean Blockchain API, including OpenAPI spec, models, API interfaces, documentation, and tests. This enables Go applications to interact with Lethean blockchain endpoints for block, info, and transaction operations.
2025-10-19 14:49:39 +01:00
Snider
e88a4b1d20 Update OpenAPI spec for Lethean Blockchain API
Expanded the OpenAPI specification to include new endpoints, updated server URLs, and revised schema definitions for improved clarity and coverage. The API description was updated and several new models and parameters were added to support additional blockchain and daemon functionality.
2025-10-19 14:49:09 +01:00
Snider
a3faa95400 Improve SDK build process and Go client config
Added linguist-generated attribute for SDK clients in .gitattributes to hide them in GitHub diffs. Enhanced utils/sdk/Makefile with target-specific hooks, improved ignore file handling, and refined Go client build steps. Updated Go SDK config to use 'lthn' as package name and set isGoSubmodule property.
2025-10-19 14:48:58 +01: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