cloudflare / mitmengine

A MITM (monster-in-the-middle) detection tool. Used to build MALCOLM:
https://malcolm.cloudflare.com
BSD 3-Clause "New" or "Revised" License
799 stars 68 forks source link

Ensure database record index semantics are clear #10

Open lukevalenta opened 5 years ago

lukevalenta commented 5 years ago

After the change of the database data structure from a map to a list, the id is no longer a unique identifier for a record, but an index. We should make sure that this change is clear throughout the project.