Skip to content

stratum-mining/stratum-sniffer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stratum Sniffer

A sniffer tool for monitoring and analyzing Stratum V1 and Stratum V2 mining protocol traffic. This tool acts as a proxy between mining clients and pools, allowing you to inspect and analyze the communication flow.

Configuration

  • server_addr: The address of the upstream Stratum server to forward traffic to
  • listen_addr: The local address and port to bind the sniffer proxy to
  • sv2: Boolean flag to enable Stratum V2 (true) or Stratum V1 (false) protocol handling

Usage

Run the sniffer with a configuration file:

cargo run -- --config config.toml

Make sure that when connecting some Sv2 application to listen_addr, you should use pubkey 9auqWEzQDVyd2oe1JVGFLMLHZtCo2FFqZwtKA5gd9xbuEu7PH72.

Note: you can only connect a client to stratum-sniffer 1x. Once it disconnects, you have to re-start stratum-sniffer.

License

This software is licensed under Apache 2.0 or MIT, at your option.

Related Projects

About

A sniffer tool for monitoring and analyzing Stratum V1 and Stratum V2 mining protocol traffic.

Topics

Resources

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE.md
Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

1 star

Watchers

0 watching

Forks

Contributors

Languages