From 4b6f3165b2eab39a2336aa07a4295a26e2ee0c6c Mon Sep 17 00:00:00 2001 From: faumaray Date: Wed, 29 Jul 2026 00:33:52 +0300 Subject: [PATCH] Core: expose component update transactions --- src/CoreRpcHandlers.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/CoreRpcHandlers.cpp b/src/CoreRpcHandlers.cpp index 50483e7..99aa056 100644 --- a/src/CoreRpcHandlers.cpp +++ b/src/CoreRpcHandlers.cpp @@ -159,6 +159,14 @@ namespace Echoion::Core "updates.rollback"); registerUpdateHandler(Api::RpcMethod::ConfirmUnsignedUpdate, "updates.confirmUnsigned"); + registerUpdateHandler(Api::RpcMethod::PreviewUpdateTransaction, + "updates.preview"); + registerUpdateHandler(Api::RpcMethod::ApplyUpdateTransaction, + "updates.applyTransaction"); + registerUpdateHandler(Api::RpcMethod::RollbackUpdateGeneration, + "updates.rollbackGeneration"); + registerUpdateHandler(Api::RpcMethod::GetUpdateHistory, + "updates.history"); // Authentication - expects JSON with either "nickname" (for initial // request) or "token" (for validation). The same handler backs // Authenticate, RequestLoginToken and ValidateLoginToken.