2020-12-25 16:20:25 +03:00
|
|
|
(seq
|
|
|
|
(seq
|
|
|
|
(call "12D3KooWEDU1WwGtvHUKpGCaMjhcLWyCUq3MQiRKZBLLFcBVVMck" ("" "") ["relay"] relay)
|
|
|
|
(call "12D3KooWEDU1WwGtvHUKpGCaMjhcLWyCUq3MQiRKZBLLFcBVVMck" ("" "") ["client"] client)
|
|
|
|
)
|
|
|
|
(seq
|
|
|
|
(call relay ("dht" "neighborhood") [relay] neighs_top)
|
|
|
|
(seq
|
|
|
|
(fold neighs_top n
|
|
|
|
(seq
|
2021-03-26 17:13:28 +03:00
|
|
|
(call n ("dht" "neighborhood") [n] $neighs_inner)
|
2020-12-25 16:20:25 +03:00
|
|
|
(next n)
|
|
|
|
)
|
|
|
|
)
|
2021-03-26 17:13:28 +03:00
|
|
|
(fold $neighs_inner ns
|
2020-12-25 16:20:25 +03:00
|
|
|
(seq
|
|
|
|
(fold ns n
|
|
|
|
(seq
|
2021-03-26 17:13:28 +03:00
|
|
|
(call n ("op" "identify") [] $services)
|
2020-12-25 16:20:25 +03:00
|
|
|
(next n)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(next ns)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|