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).

jszwako
  • 23
  • 6

1 Answers1

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.

jtgrassie
  • 19,601
  • 4
  • 17
  • 54