Add byte-size limit to transaction & block txids' caches
Created by: dagurval
This is #172 upstream. Pulling in here before upstream merge so it can make this release.
Created by: dagurval
This is #172 upstream. Pulling in here before upstream merge so it can make this release.