Skip to content

Why masternodes for onion-network (without "normal" public ip) are blocked? #6

@cryptocoinguru

Description

@cryptocoinguru

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.

  1. https://github.com/PIVX-Project/PIVX/blob/master/doc/tor.md
  2. 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:

  1. bool fFoundLocal = GetLocal(service) && CMasternode::IsValidNetAddr(service);
  2. bool CMasternode::IsValidNetAddr(CService addrIn)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions