mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Add support for creating AccountSet transactions.
This commit is contained in:
@@ -46,6 +46,14 @@ private:
|
||||
|
||||
SerializedTransaction::pointer mTransaction;
|
||||
|
||||
Transaction::pointer setAccountSet(
|
||||
const NewcoinAddress& naPrivateKey,
|
||||
bool bUnsetEmailHash,
|
||||
const uint128& uEmailHash,
|
||||
bool bUnsetWalletLocator,
|
||||
const uint256& uWalletLocator,
|
||||
const std::vector<unsigned char>& vucPubKey);
|
||||
|
||||
Transaction::pointer setClaim(
|
||||
const NewcoinAddress& naPrivateKey,
|
||||
const std::vector<unsigned char>& vucGenerator,
|
||||
@@ -96,6 +104,19 @@ public:
|
||||
const STAmount& saFee, // Transaction fee.
|
||||
uint32 uSourceTag); // User call back value.
|
||||
|
||||
// Change account settings.
|
||||
static Transaction::pointer sharedAccountSet(
|
||||
const NewcoinAddress& naPublicKey, const NewcoinAddress& naPrivateKey,
|
||||
const NewcoinAddress& naSourceAccount,
|
||||
uint32 uSeq,
|
||||
const STAmount& saFee,
|
||||
uint32 uSourceTag,
|
||||
bool bUnsetEmailHash,
|
||||
const uint128& uEmailHash,
|
||||
bool bUnsetWalletLocator,
|
||||
const uint256& uWalletLocator,
|
||||
const std::vector<unsigned char>& vucPubKey);
|
||||
|
||||
// Claim a wallet.
|
||||
static Transaction::pointer sharedClaim(
|
||||
const NewcoinAddress& naPublicKey, const NewcoinAddress& naPrivateKey,
|
||||
|
||||
Reference in New Issue
Block a user