Questions tagged [amounts]

5 questions
3
votes
1 answer

Format of numbers decoded from ECDH amount

After decoding the amount from ecdh amount, we get the numbers which is obvious not in decimal, e.g. "0010a5d4e8000000". Then we can transfer them into integer with the following python code and get "1000000000000" which means 1.0 xmr: def…
Mooooo
  • 459
  • 2
  • 8
2
votes
1 answer

How to distinguish between the amount of the real input amount and the decoys

Since every transaction has multiple decoys from previous transactions that are connected to it (while only one is real), how does the user link the amount that is linked to the "real" transaction? EDIT: What is the math behind discarding the…
GBB
  • 21
  • 2
2
votes
2 answers

Where is the encrypted Monero amounts in a transaction?

Looking at a monero transaction, I can't see any amounts. Where is this encrypted exactly? Take for example: https://moneroblocks.info/tx/9adbcfa8fe9011c2451b9636d3b68312047e93ec4477bf894687fb182a93a4c2 I can see the fee was: 0.000161200000 XMR But…
Patoshi パトシ
  • 4,608
  • 4
  • 27
  • 69
1
vote
2 answers

Can the secret amount passed to recipient be different from the committed amount?

As I (roughly) understand it, every tx output has a public amount Pedersen commitment and also the real amount (along with a blinding factor) is encrypted such that only the recipient can know it. My question is twofold: What prevents the party…
danda
  • 187
  • 4
1
vote
0 answers

Why my amount decryption fails sometimes?

Thanks to great answers to this question I managed to improve my output recognition code, however I still have issues with some payments. The amounts are garbled, which means the xor mask is probably not computed correctly. I guess I'm missing…
emesik
  • 620
  • 3
  • 11