np-guard / models

Models for connectivity and network resources
https://pkg.go.dev/github.com/np-guard/models
Apache License 2.0
1 stars 0 forks source link

Prevent inconsistent intervals #19

Closed elazarg closed 6 months ago

elazarg commented 6 months ago

Currently the client code can create nonsensical intervals such as (10, -1) that will break other library code. I think we can prevent that and have more consistent behavior. We can have

elazarg commented 6 months ago

25 is a step in this direction.

elazarg commented 6 months ago

Branch interval-private is an implementation.