Opened 3 years ago

Closed 3 years ago

#22168 closed defect (wontfix)

Do not return empty objects

Reported by: cypherpunks Owned by: metrics-team
Priority: Medium Milestone:
Component: Metrics/Onionoo Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


In some instances Onionoo returns relay and bridge arrays with empty objects. This seems like a waste of bandwidth. Next are some URLs that return arrays with empty objects. (non-existing fields makes both arrays consist of only empty objects) (using a field that only exists for relays makes the bridge array consist of only empty objects)

Child Tickets

Change History (1)

comment:1 Changed 3 years ago by karsten

Resolution: wontfix
Status: newclosed

I admit that empty objects are not terribly useful. But they're empty objects in an array, and even an empty object in a given position can be considered as information. We cannot remove them without possibly breaking clients, even though that's probably an edge case. But the saved bandwidth is likely not worth the effort of putting out a new major version. I'm closing this as wontfix, but thanks for the suggestion anyway!

Note: See TracTickets for help on using tickets.