2

I am using get_transactions of daemon rpc to get specifics of a transaction.

Trying to check incoming transactions manually by checking this method :

is_mine(out, R, i): P = Hs(8aR||i)G + B return P == out

Credits to jtgrassie

How do I get G from get_transactions?

2
  • 1
    G is not in the tx, it's a pre agreed upon generator point of the ed25519 curve. See this q/a which explains further.
    – jtgrassie
    Oct 30, 2019 at 14:38
  • Does the coordinate, agreed upon, hold special meaning. Or is it totally random, that this point was chosen, and not a neighboring point? Nov 1, 2019 at 2:52

1 Answer 1

3

G is {0x58, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66 }.

See src/ringct/rctOps.h, line 65.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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