Core: expose component update transactions

This commit is contained in:
faumaray committed 2026-07-29 00:33:52 +03:00
1 parent b08f8ad29b
commit 4b6f3165b2
1 file changed
+8
+8
View File
@@ -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.