@evoskuil i am looking at the code but also some things lack.
would you mind writing a couple of lines here, briefly respond to each above?
also - what are the conditions for storage of orphaned blocks and their transactions, are they stored indefinitely?