1
0
Fork 0
forked from lthn/blockchain
Commit graph

13 commits

Author SHA1 Message Date
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
53f266cbee renames ApiCoreInfoComponent to ApiCoreInfo and updates references in ApiServer 2025-10-16 17:06:57 +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
668a747325 adds blockcontroller / chain data 2025-10-16 14:10:04 +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
3a2ccb55c6 Refactor ApiServer to manage server lifecycle with start, stop, and wait methods 2025-10-15 20:58:57 +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