Skip to content

Crunchy aggregator (and p2p-viz) yields incorrect node results #263

@autotunafish

Description

@autotunafish

I believe the issue (though it's basically a hunch) is that the crawler is incorrectly labeling node types as unknown (I think). When outputing the data with the following call "curl --data-binary '{"jsonrpc": "2.0", "id":0, "method": "getmetrics", "params": [] }' -H 'content-type: application/json' http://127.0.0.1:54321/ > crunchy/testdata/latest.json", and subsequently given to crunchy with the Zcash filter, it only returns the count of the protocol version "170018", of which there seems to be 16. I make this assumption based only on that number because thats the exact Zcash node count displayed in p2p-viz. I suppose the issue could be in crunchy but not sure. I couldn't really find where it compares protocol version to derive node type, this is what I suspect the issue to be.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions