From 1a20c2e1444b9e90622cfc2bc4c323152b5b1134 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Sun, 23 Mar 2025 21:41:56 +0200 Subject: [network] Show list of peers found from incoming requests --- lib/_ak_network_incoming | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'lib/_ak_network_incoming') diff --git a/lib/_ak_network_incoming b/lib/_ak_network_incoming index e733a2e..439dfa2 100755 --- a/lib/_ak_network_incoming +++ b/lib/_ak_network_incoming @@ -28,6 +28,15 @@ function _ak_network_incoming_tidy(){ exit 224 } +function _ak_network_incoming_show_peers(){ + if [ -f $AK_ZPEERSFILE.incoming ] + then + cat $AK_ZPEERSFILE.incoming | jq + else + _ak_log_debug "No incoming peers found" + fi +} + function _ak_network_incoming_scan(){ if [ -f "${AK_ZPEERSINCOMING}" ] then -- cgit v1.2.3