-
d4ndo[m]
Another merchant accepting Monero.
aktive-sim-karte.de
-
d4ndo[m]
If you need an anonymous sim card. I dont know how it is in your country but in the EU the mobile phone number seems to be the new unique identifier for a person on the internet. madatory id required for buying a sim card.
-
d4ndo[m]
Hard to create a free anonymous e-mail account without phone number now a days.
-
moneromooo
Of course, consumer unit. For your own safety.
-
d4ndo[m]
Of course.
-
moneromooo
Please report any use of this criminal site to the consumer protection unit tactical team.
-
d4ndo[m]
XD
-
Adreik
Hello all,
-
Adreik
Anyone have an example of a cURL command using /get_outs
-
Adreik
for daemon rpc?
-
Adreik
-
Adreik
This call is for conversion between an output index and the actual pubkey/the transaction which it's from right?
-
Adreik
If it's a ringCT, output, the amounts will be zero for non-coinbase txns?
-
Adreik
The description just says "Get outputs.
-
Adreik
" but I assume that's what it's for based on the outputs/inputs of the call
-
moneromooo
curl -v -k -X POST
127.0.0.1:28081/get_outs -d '{"outputs":[{"amount":1000000000000,"index":0}]}' -H 'Content-Type: application/json'
-
moneromooo
> < Adreik> If it's a ringCT, output, the amounts will be zero for non-coinbase txns?
-
moneromooo
Yes
-
Adreik
Thanks,
-
moneromooo
(also for v2 coinbase outs)
-
moneromooo
That could also be done for denominated outs, I had a patch for this but buggy and I never went back to it.
-
Adreik
so is index there not global index?
-
Adreik
Because otherwise it seems amount should not be mandatory
-
Adreik
Wait, nevermind it doesn't also ask for a txn hash or anything like that. But surely global index should be sufficient for identifying the output uniquely?
-
moneromooo
It is global index. Amount is needed because those are per amount.
-
Adreik
What do you mean by that? Don't outputs with amounts known also have distinct output indices?
-
moneromooo
That question is not clear.
-
Adreik
Documentation says:
-
Adreik
Get outputs.
-
Adreik
Alias: None.
-
Adreik
Inputs:
-
Adreik
outputs array of get_outputs_out structure as follows:
-
Adreik
amount - unsigned int;
-
Adreik
index - unsigned int;
-
Adreik
each output has a single global index; the global index is a unique identifier of the output. So for a call to find information on said output, why is knowing the amount also necessary?
-
moneromooo
Amount is needed because those are per amount.
-
Adreik
Also get_outputs_out doesn't seem to exist?
-
moneromooo
Like, 4 is the fifth output of that amount in blockchain order.
-
Adreik
So if an output has a different amount it might have the same index number
-
Adreik
-
moneromooo
Yes, probably, resp.
-
Adreik
does this mean that you can enter any number smaller than the total amount of post-ringCT outputs into that field, enter a value of "0" for the amount and it will map to a ringCT output? [0,0] is a valid output?
-
Adreik
Actually I will try and check this myself
-
moneromooo
Yes (if by "post-ringCT output" you mean "ringCT output, including v2 coinbase outouts").
-
Adreik
Seems like /get_outs should not be returning transaction hashes of "0000000000000000000000000000000000000000000000000000000000000000"
-
Adreik
Result of using value of 0 for amount and index from 0 to 9:
pastebin.com/ch6gwdAA
-
moneromooo
Are you sure you set the "get me the txid" flag in the request ?
-
Adreik
Said flag is not mentioned in the documentation under that method?
-
Adreik
But that would explain it
-
Adreik
Documentation mentions a "outputs array of *get_outputs_out* structure as follows:
-
Adreik
" which does not seem to be mentioned there or in the wallet rpc docs either
-
moneromooo
I don't know. You can check faster than me.
-
Adreik
Well I can't find what "get_outputs_out" is referring to. What does the optional txid flag look like?
-
Adreik
But yeah, it definitely seems to me at least that the documentation needs a good refresh. I would offer to put in some time for it but all I know is what's written down there so I don't think that would be very helpful
-
moneromooo
Looking now, it's "get_txid".
-
Adreik
Yep, that works.
-
moneromooo
The documentation is a losing proposition. I doubt it says much beyond paraphrasing the structures, and it's always going to get out of date.
-
Adreik
:(
-
Adreik
Anyway, thanks and good evening (or whatever for your timezone)