Assignments are never considered individually, nor should they be. This type packs them together, allowing any code that requires specific use of Assignment order to attach itself here.
It also allows boostring_oracles/mod.rs to reduce it's reliance on traits. There is now a single exported BoostedHexAssignments that allows for getting a HexAssignments.
HexBoostData and CoverageDaemon
With only exporting a single trait from boosting_oracles/mod.rs, the CoverageDaemon now takes the concrete struct HexBoostData with no generic arguments.
Downstream from the CoverageDaemon, functions will take impl BoostedHexAssignments so they can be used in tests.
https://github.com/helium/proto/pull/398
Add Landtype to Hex Boosting.
struct HexAssignments
Assignments
are never considered individually, nor should they be. This type packs them together, allowing any code that requires specific use ofAssignment
order to attach itself here.It also allows
boostring_oracles/mod.rs
to reduce it's reliance on traits. There is now a single exportedBoostedHexAssignments
that allows for getting aHexAssignments
.HexBoostData
andCoverageDaemon
With only exporting a single trait from
boosting_oracles/mod.rs
, theCoverageDaemon
now takes the concrete structHexBoostData
with no generic arguments.Downstream from the
CoverageDaemon
, functions will takeimpl BoostedHexAssignments
so they can be used in tests.verify-disktree --path <PATH> --type <TYPE>
CLI CommandA CLI command was added to
mobile-verifier
. It verifies a.h3tree
file by making sure that every cell can be turned into anAssignment
.Current only
Landtype
is supported.NOTE: In release mode, this function took about 8 minutes to run on my 2.3GHz Intel MacBook Pro for a 28gb file.
Other
Geofence::new
withGeofence::from_paths
sonew
could used without touching the filesystem.