mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Add ripple quality in and out.
This commit is contained in:
@@ -123,21 +123,28 @@ private:
|
||||
const uint256& uRootIndex,
|
||||
const uint256& uLedgerIndex); // Item being deleted
|
||||
|
||||
void dirFirst(const uint256& uRootIndex, uint256& uEntryIndex, uint64& uEntryNode);
|
||||
bool dirFirst(const uint256& uRootIndex, SLE::pointer& sleNode, unsigned int& uDirEntry, uint256& uEntryIndex);
|
||||
bool dirNext(const uint256& uRootIndex, SLE::pointer& sleNode, unsigned int& uDirEntry, uint256& uEntryIndex);
|
||||
|
||||
#ifdef WORK_IN_PROGRESS
|
||||
typedef struct {
|
||||
STAmount saWanted; // What this node wants from upstream.
|
||||
uint16 uFlags; // --> from path
|
||||
|
||||
STAmount saIOURedeem; // What this node will redeem downstream.
|
||||
STAmount saIOUIssue; // What this node will issue downstream.
|
||||
STAmount saSend; // Amount of stamps this node will send.
|
||||
STAccount saAccount; // --> recieving/sending account
|
||||
|
||||
STAmount saWanted; // --> What this node wants from upstream.
|
||||
|
||||
// Maybe this should just be a bool:
|
||||
STAmount saIOURedeemMax; // --> Max amount of IOUs to redeem downstream.
|
||||
// Maybe this should just be a bool:
|
||||
STAmount saIOUIssueMax; // --> Max Amount of IOUs to issue downstream.
|
||||
|
||||
STAmount saIOURedeem; // <-- What this node will redeem downstream.
|
||||
STAmount saIOUIssue; // <-- What this node will issue downstream.
|
||||
STAmount saSend; // <-- Stamps this node will send downstream.
|
||||
|
||||
STAmount saIOUForgive; // Amount of IOUs to forgive.
|
||||
STAmount saIOUAccept; // Amount of IOUs to accept.
|
||||
STAmount saRecieve; // Amount stamps to receive.
|
||||
|
||||
STAccount saAccount;
|
||||
} paymentNode;
|
||||
|
||||
typedef struct {
|
||||
|
||||
Reference in New Issue
Block a user