Dags, FnDags, Heads and Indexes are the only database items that aren't content addressed. We should make Dags and FnDags content addressed. This means the dags map (in the commit tree) might have many names pointing to the same dag. This also means that you get a new dag any time you mutate a dag (by adding or naming nodes). We should expect plenty of orphaned dags because of this.
Dags, FnDags, Heads and Indexes are the only database items that aren't content addressed. We should make Dags and FnDags content addressed. This means the dags map (in the commit tree) might have many names pointing to the same dag. This also means that you get a new dag any time you mutate a dag (by adding or naming nodes). We should expect plenty of orphaned dags because of this.