datastructure adopted for cachecoin