The original bitcoin paper suggests a method to discard old transactions. One should compute the Merkle Tree of the entire transaction history, and store only part of the tree.
However, I didn't notice this method implemented. BuildMerkleTree
stores it in memory only, and seems to assume you're holding all transaction history, and the serialization method stores the actual transactions and does not store the Merkle Tree.
Is that implemented? Can you give me a reference to where is it in the code?
If not, is it planned for a specific future release?