ElementsProject / ElementsProject/elements

Hide blinding factors for explicit outputs in gettransactoin and listunspent

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

説明

Currently for explicit outputs gettransaction shows this:
```
    "details": [
        {
            "category": "generate",
            "amount": 0.00104720,
            "amountblinder": "0000000000000000000000000000000000000000000000000000000000000000",
            "asset": "0a8e7509f0ab8b750909e378b51af66158464430b88d8efb0627b0b6226f91ea",
            "assetblinder": "0000000000000000000000000000000000000000000000000000000000000000",
            "vout": 0
        }
```

It's probably better to just hide the blinding factors there instead of showing 00000.

Same for listunspent:
```
{
        "txid": "05df25d4c8c94aaf6c5538d6aed22803abb524cbc6ab115811de3d7716c3e458",
        "vout": 0,
        "scriptPubKey": "51",
        "amount": 0.00104720,
        "asset": "0a8e7509f0ab8b750909e378b51af66158464430b88d8efb0627b0b6226f91ea",
        "amountblinder": "0000000000000000000000000000000000000000000000000000000000000000",
        "assetblinder": "0000000000000000000000000000000000000000000000000000000000000000",
        "confirmations": 8003,
        "spendable": true,
        "solvable": true,
        "desc": "raw(51)#8lvh9jxk",
        "safe": true
}
```

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

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

評価

この issue はまだ評価されていません。

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

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