mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Burninate "Value" in "*ValueField*" functions. It was just pointless extra typing.
What else would you set/get in a field, by name, other than its value?
This commit is contained in:
@@ -39,21 +39,21 @@ public:
|
||||
|
||||
// outer transaction functions / signature functions
|
||||
std::vector<unsigned char> getSignature() const;
|
||||
void setSignature(const std::vector<unsigned char>& s) { setValueFieldVL(sfTxnSignature, s); }
|
||||
void setSignature(const std::vector<unsigned char>& s) { setFieldVL(sfTxnSignature, s); }
|
||||
uint256 getSigningHash() const;
|
||||
|
||||
TransactionType getTxnType() const { return mType; }
|
||||
STAmount getTransactionFee() const { return getValueFieldAmount(sfFee); }
|
||||
void setTransactionFee(const STAmount& fee) { setValueFieldAmount(sfFee, fee); }
|
||||
STAmount getTransactionFee() const { return getFieldAmount(sfFee); }
|
||||
void setTransactionFee(const STAmount& fee) { setFieldAmount(sfFee, fee); }
|
||||
|
||||
NewcoinAddress getSourceAccount() const { return getValueFieldAccount(sfAccount); }
|
||||
std::vector<unsigned char> getSigningPubKey() const { return getValueFieldVL(sfSigningPubKey); }
|
||||
NewcoinAddress getSourceAccount() const { return getFieldAccount(sfAccount); }
|
||||
std::vector<unsigned char> getSigningPubKey() const { return getFieldVL(sfSigningPubKey); }
|
||||
void setSigningPubKey(const NewcoinAddress& naSignPubKey);
|
||||
void setSourceAccount(const NewcoinAddress& naSource);
|
||||
std::string getTransactionType() const { return mFormat->t_name; }
|
||||
|
||||
uint32 getSequence() const { return getValueFieldU32(sfSequence); }
|
||||
void setSequence(uint32 seq) { return setValueFieldU32(sfSequence, seq); }
|
||||
uint32 getSequence() const { return getFieldU32(sfSequence); }
|
||||
void setSequence(uint32 seq) { return setFieldU32(sfSequence, seq); }
|
||||
|
||||
std::vector<NewcoinAddress> getAffectedAccounts() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user