Implement name database into CCoinsView.