Made these simplifications while reviewing #12714. This aims to make CKeyStore a pure interface:
- no variable members - the mutex is moved to
CBasicKeyStorewhich is where it is used; - no method implementations -
AddKey(const CKey &)is moved toCBasicKeyStorewhich is where it is needed.