Open fcloser opened 4 years ago
Empirically, we found out that this utility accepts a private key, and based on this key generates an ADNL address.
./adnl-pong -k "7Q襀0123456789012345678901234567891" -a <my-publick-up>:<port> -v 5
[ 4][t 2][1586954741.332991600][adnl-peer-table.cpp:203][!PeerTable][&ADNL_INFO] adnl: adding local id qfSIwDE06EudTKqjnuhx3J8nOvwQIAofA4QoxDevnMY=
[ 4][t 2][1586954741.333080053][adnl-local-id.cpp:193][!PeerTable][&ADNL_INFO] [localid qfSIwDE06EudTKqjnuhx3J8nOvwQIAofA4QoxDevnMY=]: created local id qfSIwDE06EudTKqjnuhx3J8nOvwQIAofA4QoxDevnMY=
[ 4][t 2][1586954741.333127260][adnl-local-id.cpp:123][!localid][&ADNL_NOTICE] [localid qfSIwDE06EudTKqjnuhx3J8nOvwQIAofA4QoxDevnMY=]: skipping public addr list, because localid (or dht node) not fully initialized
[ 4][t 2][1586954818.746995449][adnl-local-id.cpp:123][!localid][&ADNL_NOTICE] [localid qfSIwDE06EudTKqjnuhx3J8nOvwQIAofA4QoxDevnMY=]: skipping public addr list, because localid (or dht node) not fully initialized
Did we understand correctly that:
adnl-test-ping
utility?Merge issues https://github.com/ton-blockchain/ton/issues/271
After compiling all the files from the source, I began to deal with all this. I came across an interesting
adnl-pong
file for me. As I understand it, this tool allows you to check the connection with a specific host on the network, its adnl address means. Did I understand the essence of this file correctly? How can I use it? if possible with examples. What key is he trying to accept through the-k
parameter? I tried to give him all the key options in hex and base64 format that were generated by thegenerate-random-id
utility.I ask you for help in explaining for understanding :)