Hello,
first, i am sorry for my english. Its not very good.
Now to my problem:
I am trying to create a minimal Bitcoin-Client to Connect to other (Test-)Nodes in Java.
At the moment, i can connect to other Nodes and send Messages, defined in
https://bitcoin.org/en/developer-reference#p2p-network. My Problem is in the version-Message, specially the addr_recv IP address (16 Bytes).
Can someone give me a hint, how to generate a IPv6-Adress from IPv4 (127.0.0.1)?
Why is that addr_recv IP address needed? If i connect to one Node, an send 16 Bytes of 0x00 then there is no error and whe can confirm the Connection with the verack-Message.
Thanks for your help and explanation.
Greets
Husel