ElementsProject / ElementsProject/elements

Allow blinded fees in transactions

オープン
#156 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
C++
スター
1.2k
フォーク
416
平均マージ
1日 23時間
マージ済み PR(30日)
15

説明

Sniped from @kallewoof :

Without blinded fees,

* If both asset type and value are visible, roughly 50% of all asset types will be in plain view of listeners; not just that, but they will also deduce that the given asset is the source type, as fees are generally paid using the source asset to obtain the target asset.
* If only value is visible, this is basically fine, as a lot of transactions will have close to the same fee, but if the asset types have distinct values on the chain, the observer will be able to deduce the type of asset (worst case) or a list of potential asset types based on tx size vs fee value.*

An alternative which does NOT need this would be to have a fee asset which is always used for fees; the transaction would then have to include a fee input. This may have some properties that business side would enjoy, as it lets the fee issuer(s) control the total chain velocity (is that even an expression?).

(* For Japan, most "general type" points have a 1-to-1 ratio with the yen, but there are some companies which have e.g. 1 point = 5 yen. The latter type would suffer from having value visible above, unfortunately.)

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

ファイル、テスト、エントリポイントは指定されていません。まずトランザクション手数料とアセット処理のパスを特定し、次に手数料情報がオブザーバーにどのように公開されるかを確認してください。指定されたプライバシーケースをカバーし、手数料アセットや値を明らかにせずに手数料をブラインド化できれば、完了とします。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
blockchain, cpp
領域
blockchain, cryptography
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。