Divide large code files into smaller ones #3614
Labels
enhancement
Improving existing functionality
I4
No visible changes
S2
Regular significance
U4
Nothing urgent
Is your feature request related to a problem? Please describe.
Some files in the project, like
blockchain.go
, are too large for most AI models. With over 3,000 lines, it can't be directly 'pasted' into ChatGPT. I had to debug neo-go to get some things working, and locating what I needed was challenging.Note: I don't intend to change any structure, just to 'split source code files into smaller chunks.'
Describe the solution you'd like
Split
blockchain.go
into smaller files (and possibly other large files as well).Describe alternatives you've considered
Additional context
This is primarily a structural improvement to the code. It shouldn't affect the expected behavior. My tool already splits the file into smaller parts before sending it to ChatGPT, but this consumes far more API credits than necessary, and the responses are often inaccurate or incomplete. Having a 'human' divide the code will help the AI avoid mistakes.
The text was updated successfully, but these errors were encountered: