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?

Guga Todua
  • 209
  • 1
  • 5

1 Answers1

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.

user36303
  • 34,858
  • 2
  • 57
  • 123