-
» Isthmus tries to figure out the probability that there is *not* a winning nonce [0,2^32) as function of network difficulty
-
Isthmus
Of course miners can shuffle transactions or timestamps or whatever, but that's not ideal xD
-
luigi1111
already common in other coins I think. not a big deal
-
koe
Isthmus it actually just depends on miner hash speed. At <50kH/s with current miners, a miner can only do less than 6mill hashes per published block. A nonce with 4 bytes can be up to 4.3 billion, so a miner will never test enough nonces to require all the bits of the nonce.
-
jtgrassie
koe: both monero-pool and nodejs-pool (last I looked) use 16 bytes (4 integers) in the reserved nonce space.
-
jtgrassie
its used so miners are hashing unique data.
-
jtgrassie
like: job,instance,proxy,worker
-
jtgrassie
job being an id for the job, instance being a pool process, proxy being a proxy nonce and worker being a worker id.
-
jtgrassie
as Snipa says, there is no standard. Pools use it however they need to.
-
jtgrassie
if pools didn't use it, every miner would be duplicating work.
-
Snipa
nodejs-pool uses 17 bytes, the old node pool uses 4 I think.
-
jtgrassie
koe: "so miner transactions extra nonce is basically ignored" <- No. It is still used/parsed (tx pub key for example).
-
jtgrassie
Snipa: yes sorry 17, not 16. Same with monero-pool.
-
jtgrassie
(neither technically *need* that extra byte of course)
-
Snipa
This is quite true. :)
-
koe
jtgrassie I mean the extra field's extra nonce is ignored/skipped over for miner transactions, different from normal transactions where it might find a payment ID inside
-
KnifeOfPi_
*key?
-
KnifeOfPi_
hello! is there any way to prove a transaction using the CLI without a tx key?
-
dEBRUYNE
KnifeOfPi_: There's a transaction proof as well, which, as far as I know, does not require the private tx key
-
dEBRUYNE
Afaik it proves you signed/sent the transaction
-
moneromooo
AFAIK it needs it.
-
KnifeOfPi_
alrighty
-
Inge-
private tx key is only stored in the wallet file, and lost if you only have the seed to restore wallet from?
-
cohcho
The generator for all private keys within a wallet is deterministic and depends only on your seed. I beleive this is true.
-
cohcho
on your seed and maybe some data in blockchain*
-
cohcho
blockchain + seed is enough to restore all your coins
-
cohcho
I've done successfully at least once.
-
binaryFate
private tx keys are not derived from seed, so lost if you lose wallet file
-
Inge-
cohcho: yes, enough to restore your *coins* but not enough to know the address you SEND coins to, or to prove you sent a specific transaction.
-
Inge-
sent*
-
koe
well you can prove an output is sent by making a new MLSAG with the same ring, since the same key image will appear (and doesn't reveal which input is spent); not that it's easy to do
-
koe
which only depends on seed
-
binaryFate
mmm I think it would work with different ring too, otherwise you could double spend
-
koe
well the point is to prove a specific transaction is yours
-
koe
you can prove a specific output you own is spent by signing with the onetime address, but that reveals which output you own
-
koe
signing and reproducing the key image*
-
binaryFate
oh ok if you want to prove a specific transaction that makes sense
-
koe
does the core implementation always construct the tx extra the same way? e.g. always the same order of subfields? I just noticed a block with two transactions, where in one the encrypted ID is before the transaction pub key, and in the other it's after the pub key. Isthmus
-
moneromooo
It sorts what it can parse.
-
koe
Im not sure I understand.. before filling the extra field with data, it sorts the values which will be inserted?
-
moneromooo
Afterwards IIRC.
-
moneromooo
Since you can add more at any time.
-
koe
does it sort based on tag?
-
moneromooo
Yes.
-
koe
found sort_tx_extra() thanks
-
koe
this sort_tx_extra seems to imply only one padding chunk can be made by the core implementation (ofc other implementations can do what they want)
-
moneromooo
The core implementation does not add padding at all.
-
koe
fair enough lol, the sort_tx_extra() seems at least a bit lenient on people modifying the core implementation