ElementsProject / ElementsProject/elements

Hide blinding factors for explicit outputs in gettransactoin and listunspent

Aperta
#883 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C++
Stelle
1.2k
Fork
416
Merge medio
1g 23h
PR unite (30g)
15

Descrizione

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
}
```

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.