Orders two inventory entries by type and then by hash.

Synopsis

Declared in <protocol.h>

bool
operator<(
    CInv const& a,
    CInv const& b);

Return Value

true if a sorts before b by type and then by hash.

Parameters

Name

Description

a

The left‐hand inventory entry.

b

The right‐hand inventory entry.

Created with MrDocs