Conversation
|
This is a main that creates a histogram of block sizes ? i am not sure why should it be in ONG ? and why expose internal stuff ? i don't think it belongs to ONG base code |
|
I agree - it should not be in ONG and that is also why I used that is not the main point. the point is how do we externalize the codec to other apps. there are three options:
After implementing What do you think? |
|
reached the conclusion that it's best to capitalize (make public) the codec and reference it from an outside repo for the diagnostic parser |
diagnostics_parser.goto wrap the codec. The alternative to using this wrapper is to makeCodecpublic. Which is better? @noambergILanalyze_blocks.gois a command line tool which receives a blocks file, scans all blocks and prints analysis. Currently only a very minimal analysis is done (histogram of block sizes - and one which does not contain all blocks - very basic)Notice - we can delete the parser class if we make the codec public, the UI tool is easily extendable to answer any question about all blocks in any blocks file.
Tests are missing - need feedback before finalizing