Expand description
Persistent user representation and reputation helpers.
The User struct is the database-backed record Mostro keeps for every
identity that has interacted with the system. It tracks rating aggregates,
administrative flags and the last trade index used by the user, which is
required so that new orders always carry a strictly increasing trade index.
UserInfo is a lightweight view of the same data that can safely be
shared with a counterpart during a trade without leaking internals.