PRCYCoin  2.0.0.7rc1
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
CCoinsKeyHasher Class Reference

#include <coins.h>

Collaboration diagram for CCoinsKeyHasher:
[legend]

Public Member Functions

 CCoinsKeyHasher ()
 
size_t operator() (const uint256 &key) const
 This must return size_t. More...
 

Private Attributes

uint256 salt
 

Detailed Description

Definition at line 299 of file coins.h.

Constructor & Destructor Documentation

◆ CCoinsKeyHasher()

CCoinsKeyHasher::CCoinsKeyHasher ( )

Definition at line 81 of file coins.cpp.

Member Function Documentation

◆ operator()()

size_t CCoinsKeyHasher::operator() ( const uint256 key) const
inline

This must return size_t.

With Boost 1.46 on 32-bit systems the unordered_map will behave unpredictably if the custom hasher returns a uint64_t, resulting in failures when syncing the chain (#4634).

Definition at line 312 of file coins.h.

Member Data Documentation

◆ salt

uint256 CCoinsKeyHasher::salt
private

Definition at line 302 of file coins.h.


The documentation for this class was generated from the following files: