1

I made a monero fork and generated a genesis block with a new one-time P but i never see the first reward in my wallet.

Can somebody tell me what is the index_output used on the output of a custom genesis block. ?

i mean, in order to create an output pub key we do

P=Hs(8rA || i)G+B

A = Pub_view_key , B = Pub_spend_key , i = index

so, i have to do it with i = 1 ? or i = 0 ?, is it the same to do Hs(8rA || 0) than Hs(8rA).

1
  • did u use bc for P=Hs(8rA || i)G+B can u write what did u do more concretly?
    – rey
    Commented Jan 2, 2019 at 0:50

1 Answer 1

4

It's the output index. Assuming you just have one output (all the reward to a single output), just use 0. E.g. P=Hs(8rA || 0)G+B.

4
  • hi, i tried P=Hs(8rA || 0)G+B , put P on the tx_gen_hex , started mining successfully , but still not seeing the genesis block reward on my wallet. only the the rewards starting at height 1. any ideas why ? is related to the index or the wallet not processing well the genesis output_tx. ?
    – jszwako
    Commented Dec 20, 2018 at 17:08
  • You are likely not constructing the transaction properly. See: monero.stackexchange.com/questions/9917/…
    – jtgrassie
    Commented Dec 20, 2018 at 17:14
  • maybe i am doing it wrong. anyway i tried using an existing one-time P of a real transaction on the blockchain like you said. i used the transaction xmrchain.net/tx/… of the mastering monero seed example , used the stealth address b3a500acfa163763ccf6d2c10262294f8c287df3e5cac6309408adf94dc50335 and the extra 011c9c4272cc738815c2d22c7d3c6ebfbb7a820a6c7a3b591288d5025003cde24b, but no luck. i´ll keep looking my error.
    – jszwako
    Commented Dec 20, 2018 at 20:24
  • 1
    I found the problem. it was not the one-time key generation. The wallet-cli does not process the genesis block , you have to force it. any way now i can continue on my lab. thanks for the help @jtgrassie .
    – jszwako
    Commented Dec 27, 2018 at 20:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.