Missing from previous commit.

This commit is contained in:
JoelKatz
2012-04-12 16:02:33 -07:00
parent 9fa335af63
commit f354f1578a

View File

@@ -231,6 +231,12 @@ public:
// Someone is offering X for Y, I need Z, how much do I pay
friend STAmount getNeeded(const STAmount& offerOut, const STAmount& offerIn, const STAmount& needed);
// Native currency conversions, to/from display format
friend STAmount convertToDisplayAmount(const STAmount& internalAmount,
const STAmount& totalNow, const STAmount& totalInit);
friend STAmount convertToInternalAmount(const STAmount& displayAmount,
const STAmount& totalNow, const STAmount& totalInit);
};
class STHash128 : public SerializedType