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
Branch
cuckoomapprepare
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 8417
Build 14849: Default Diff Build & Tests
Build 14848: arc lint + arc unit

Event Timeline

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