0xMiden / 0xMiden/node

Formalize the Validator admin API

未关闭
#2,455 11 条评论 1 个 reaction 已指派 1 人 已被 @sergerad 认领 在 GitHub 查看
validator
主要语言
Rust
星标
104
派生
138
平均合并
1 天 13 小时
30 天内合并 PR
56

描述

Our MVP for encrypted transaction inputs on the validator added an admin service which essentially allows introspection of the validator's transaction set, and requesting a decryption share for a specific one.

This worked for the MVP, but now needs to be properly designed and stabilized. As an example, listing transactions is _not_ paginated and therefore OOMs/breaks on validators with any non-trivial history.

Part of this task is to decide what we actually need to support decrypting a transaction's inputs. For example, it may not be necessary to list transactions at all - but perhaps we do want that so that its a self-contained system and doesn't need additional services.

This is an admin only endpoint, and it should therefore be secured externally and not be accessible by the public. Also consider that we may want to extend this service with things like runtime configuration changes e.g. dynamic log levels.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。