-
sech1moneromooo I have a question about github.com/monero-project/monero/bl…te_core/cryptonote_tx_utils.cpp#L79 which is called from get_block_template RPC. It generates one-time keypair txkey and txkey.sec can be used to spend the miner reward. So does it mean remote node knows it and can spend it too?
-
UkoeHBisn't that just the transaction public key? you also need the recipient's private spend key to spend the output
-
sech1private spend key is used to restore txkey.sec which is then used to spend the output
-
sech1if you know txkey.sec, you don't need anything else
-
sech1transaction public key = txkey.pub
-
UkoeHBtransaction public key and one-time address are different things; you need one-time address to spend an output, and by convention it is made from tx pub key + view/spend priv keys
-
UkoeHBhere is the one-time address being constructed from pub spend key and 'derivation' (tx priv key & pub view key) github.com/monero-project/monero/bl…e_core/cryptonote_tx_utils.cpp#L150
-
sech1ok, I'm reading chapter 4.2 of getmonero.org/library/Zero-to-Monero-2-0-0.pdf and I can't understand what is txkey.sec there
-
sech1it's used in generate_key_derivation
-
sech1it seems txkey.sec is this random number r
-
sech1yes, txkey.sec = r, txkey.pub = rG, derivation = Hn(rK(v,B)*G, out_eph_public_key = K0 in that code
-
sech1so txkey.sec is just r and can't be used to spend output
-
selstasech1: are you asking because of twitter.com/jtgrassie/status/1404530663303307267? ?
-
sech1lol yes
-
sech1I'm implementing all this stuff in xmrig
-
sech1didn't see that tweet before
-
UkoeHByep sounds right to me
-
xmrscottfluffypony: binaryFate: ArticMine: Inquiring minds want to know if Matrix room Admins can start axing the freenode #monero-* bridges and attempt Libera briding now that the bridge issue on GitHub for Matrix is closed and bridge is 'released'
-
xmrscott(Or luigi, sorry for spacing on you)
-
rehrar/l
-
rehrar/l
-
rehraroops. Apologies.
-
selstaxmrscott: fwiw they already approved it for #monero-markets
-
selstanot sure if you need permission for every channel separately