Why masternodes for onion-network only blocked? I noticed some other coins/masternodes like dash, pivx and so on explicitly allow using TOR-Network only masternodes.
- https://github.com/PIVX-Project/PIVX/blob/master/doc/tor.md
- https://github.com/dashpay/dash/blob/master/doc/tor.md
NYX seems basically to implement (fork?) the same features used there. But any non IPv4 and IPv6 address (like Onion-Address) is blocked and giving "Masternode not capable" or "Invalid IP Address".
Is this a desired limitation or a side-effect of the IP Address validation in the code:
|
bool fFoundLocal = GetLocal(service) && CMasternode::IsValidNetAddr(service); |
|
bool CMasternode::IsValidNetAddr(CService addrIn) |
Why masternodes for onion-network only blocked? I noticed some other coins/masternodes like dash, pivx and so on explicitly allow using TOR-Network only masternodes.
NYX seems basically to implement (fork?) the same features used there. But any non IPv4 and IPv6 address (like Onion-Address) is blocked and giving "Masternode not capable" or "Invalid IP Address".
Is this a desired limitation or a side-effect of the IP Address validation in the code:
nyx/src/activemasternode.cpp
Line 143 in 30ba1ed
nyx/src/masternode.cpp
Line 267 in 30ba1ed