TrueBlocks / trueblocks-core

The main repository for the TrueBlocks system
https://trueblocks.io
GNU General Public License v3.0
1.05k stars 194 forks source link

fix import cycles #3650

Closed tjayrush closed 1 month ago

tjayrush commented 2 months ago

There are three or four simple changes we can make so that import cycles become much less common:

  1. Move IsTerminal to base package
  2. Move testing of cache for address to cache package
  3. Move Max and Min to base package
  4. Clean up some logging

If we do these changes, it won't eliminate all cyclical imports in the future, but it will make them much less likely.