mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Missing from previous commit.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user