Crates.io | rust-dash-handshake |
lib.rs | rust-dash-handshake |
version | 0.1.0 |
source | src |
created_at | 2023-11-21 07:51:35.724646 |
updated_at | 2023-11-21 07:51:35.724646 |
description | A Rust library for performing Dash network handshakes |
homepage | |
repository | |
max_upload_size | |
id | 1043854 |
size | 28,083 |
Handshake with a Dash full node
This program connects to a Dash full node given its IP address, sends a version message, awaits a version message in response, and then sends a verack message. It logs a successful handshake when it receives a version message and either a verack or inv message from the node.
IP addresses of Dash masternodes can be found with various resources such as mnowatch.org. A list of Binance-hosted masternode IP addresses can be found here https://mnowatch.org/binance/.
There are two places where the IP address needs to be input into the program - one in vector form and one in string form.