Skip to content

Support custom user agent suffix (--user-agent-suffix=...)#3

Merged
IzioDev merged 2 commits intokaspanet:mainfrom
supertypo:custom-useragent-suffix
Feb 12, 2026
Merged

Support custom user agent suffix (--user-agent-suffix=...)#3
IzioDev merged 2 commits intokaspanet:mainfrom
supertypo:custom-useragent-suffix

Conversation

@supertypo
Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread src/client.rs
let mut client = RpcClient::connect(address).await?;
let (send_channel, recv) = mpsc::channel(3);

let extra_data = match user_agent_suffix {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we perhaps add

log::info!("Using user agent: {}", extra_data);

to show it once at startup?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea & done

@IzioDev IzioDev merged commit 38a31ff into kaspanet:main Feb 12, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants