Skip to content

Instantly share code, notes, and snippets.

View willief's full-sized avatar

Southside willief

  • Glasgow, Scotland
View GitHub Profile
@willief
willief / ChatGPT_transcript_for_common.rs
Last active January 24, 2023 23:42
ChatGPT transcript for /sn_api/src/common.rs
generate an overall commentary as well as detailed comments for each line which is not a comment
in the following rust code
// Copyright 2023 MaidSafe.net limited.
//
// This SAFE Network Software is licensed to you under The General Public License (GPL), version 3.
// Unless required by applicable law or agreed to in writing, the SAFE Network Software distributed
// under the GPL Licence is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied. Please review the Licences for the specific language governing
// permissions and limitations relating to use of the SAFE Network Software.
@willief
willief / weefile.log
Created December 18, 2022 16:19
RUST_LOG=sn_client=trace safe files put .bash_logout |tee -a wee_file.log
2022-12-18T16:07:59.422047Z DEBUG main sn_client::api::client_builder: Session config w/ keep alive: Config { external_port: None, external_ip: None, idle_timeout: Some(18s), keep_alive_interval: Some(3s), max_concurrent_bidi_streams: None }
2022-12-18T16:07:59.423592Z DEBUG main connect: sn_client::api: Making initial contact with network. Our public addr: 0.0.0.0:48861. Probe msg: Register(Get(RegisterAddress { name: 27d4b9(00100111).., tag: 1 }))
2022-12-18T16:07:59.423864Z TRACE main connect:send_query_without_retry{query=Register(Get(RegisterAddress { name: 27d4b9(00100111).., tag: 1 }))}:send_query_with_retry{query=Register(Get(RegisterAddress { name: 27d4b9(00100111).., tag: 1 })) retry=false}: sn_client::api::queries: Setting up query retry
2022-12-18T16:07:59.424799Z DEBUG main connect:send_query_without_retry{query=Register(Get(RegisterAddress { name: 27d4b9(00100111).., tag: 1 }))}:send_query_with_retry{query=Register(Get(RegisterAddress { name: 27d4b9(00100111).., tag: 1 })) retry=false}: sn_clien
@willief
willief / sn_node.log
Created December 16, 2022 19:24
Node log inconsistencies
This file has been truncated, but you can view the full file.
[2022-12-16T19:12:22.025914Z TRACE sn_node] Initial node config: Config { wallet_id: None, root_dir: Some("/home/willie/.safe/node/local-node/"), verbose: 2, completions: None, log_dir: Some("/home/willie/.safe/node/local-node/"), logs_retained: 0, logs_max_bytes: 10485760, logs_max_lines: 0, logs_uncompressed: 100, update: false, update_only: false, json_logs: false, resource_logs: false, clear_data: false, first: false, network_contacts_file: Some("/home/willie/.safe/network_contacts/default"), local_addr: None, public_addr: None, skip_auto_port_forwarding: false, max_msg_size_allowed: None, idle_timeout_msec: None, keep_alive_interval_msec: None, upnp_lease_duration: None, network_config: Config { external_port: None, external_ip: None, idle_timeout: None, keep_alive_interval: None, max_concurrent_bidi_streams: None } }
[2022-12-16T19:12:22.025945Z INFO sn_node] Node runtime started
[2022-12-16T19:12:22.025975Z INFO sn_node]
Running sn_node v0.72.2
=======================
[2022-12-16T19:12:22.031657Z INFO
@willief
willief / neil-mp3.log
Created December 11, 2022 02:12
Failure listing safe://hyryyry1e3i46spukkrh1md7grw5z6ye3yjpz11ksh3669q6zfnhfzp6ydanra
2022-12-11T02:02:05.404104Z DEBUG main sn_client::api::client_builder: Session config w/ keep alive: Config { forward_port: false, external_port: None, external_ip: None, idle_timeout: Some(18s), keep_alive_interval: Some(3s), upnp_lease_duration: None, retry_config: RetryConfig { initial_retry_interval: 500ms, max_retry_interval: 15s, retry_delay_multiplier: 1.5, retry_delay_rand_factor: 0.3, retrying_max_elapsed_time: 30s } }
2022-12-11T02:02:05.404415Z DEBUG main connect: sn_client::api: Making initial contact with network. Our public addr: 0.0.0.0:39954. Probe msg: Register(Get(RegisterAddress { name: 0994a4(00001001).., tag: 1 }))
2022-12-11T02:02:05.404455Z TRACE main connect:send_query_without_retry{query=Register(Get(RegisterAddress { name: 0994a4(00001001).., tag: 1 }))}:send_query_with_retry{query=Register(Get(RegisterAddress { name: 0994a4(00001001).., tag: 1 })) retry=false}: sn_client::api::queries: Setting up query retry
2022-12-11T02:02:05.404906Z DEBUG main connect:send_query_without_retry{que