Page MenuHomePhabricator

[cuckoocache] Use matchKey instead of the == operator.
ClosedPublic

Authored by deadalnix on Dec 4 2019, 22:38.

Details

Summary

We plan to allow for Element to be a key/value pair in order to store informations in the cache. This means simple equality cannot be used anymore.

A wrapper type is provided to add the matchKey feature to any type conveniently.

Test Plan
make check

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Dec 5 2019, 10:35