The booting/nonbooting event is posted whenever the ME system starts its
"boot" phase and when the "boot" phase is finished. This commit
distinguishes the two phases.
Some subscribers might need this information to determine whether to push
an update or not.
An example is written in this commit - part interface terminal is only
curious about when the terminal boots back up, not when the network enters
the booting state.
* Not sure why this flag was originally inverted, perhaps to prevent cycles in the old pathfinding algorithm
* update storage grid after recalculating channels (previously any grid node was considered active while booting)
* compress path recalculation a bit
* fix p2p tunnels updating
* Decrease monitor container flickering while rebuilding the grid
* Added node API method for those cases when the caller doesn't care if the node grid is booting
* spotlessApply (#338)
Co-authored-by: GitHub GTNH Actions <>
* Remove wildcard imports
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Firenoo <[email protected]>
* Enable Jabel and generic injection
* Use RoundingMode enum values
* Use enhanced for loops
* Use diamond operator where appropriate
* Deprecate ChainedIterator
* spotless
* Collapse identical catch blocks
* Use try with resources
* Use List.sort where possible
* Anonymous type->lambda
* Loop -> removeIf
* Simplifiable map operations
* Use enhanced instanceof
* Use enhanced switch
* Use bulk operations
* Use zero-sized arrays in toArray
* Add early exits
* Remove redundant addAll
* Fix missing reflection generic types
* More missed language migration aids
* Redundant type arguments
* Redundant type casts
* Fix compilation errors
* Use Arrays.fill
* Fix some missing generic types
* enable parts and controller even when channel is disabled
* make me controller usable for channelless networks
* apply @talchas's performance optimization for channelless config
* Fixed grid pathfinding actually allowing backbone cables to carry more than 32 channels
Fixed backbone cables connection capabilities, only allowing them to connect to dense cables
* Renamed the "Ultra Dense Cable" to "Backbone Cable", to clarify the usage
* ME p2p is allowed to transfer 128 channels
* Allow non dense cables to connect to quantum bridge
* Another try at fixing pathfinding with backbone cables
Reduces the visibility of all fields to private and create setters/getters
when necessary. Exceptions are fields with GuiSync as these need to be
public.
Reduces the visibility of internal methods to private/protected/default when possible.