digidem / osm-p2p-db

Peer-to-peer database for OpenStreetMap data
BSD 2-Clause "Simplified" License
235 stars 25 forks source link

Store deleted documents in the refs index. #45

Closed hackergrrl closed 7 years ago

hackergrrl commented 7 years ago

This is a prerequisite for the larger goal of exposing deletions through the osm-p2p-db API.

Like https://github.com/digidem/osm-p2p-db/pull/43, but for the refs index. Also like the other pull request, although the logic for exposing deletions is present, there is a temporary conditional to block it from bleeding out through the API just yet. (Until https://github.com/digidem/osm-p2p-db/pull/44 does so.)