2

https://ripple.com/wiki/Transaction_Format#AccountSet_.283.29 defines a field "WalletLocator" (256 bits) in Ripple's AccountSet transaction. That means that the field belongs to an account, and the owner of the account can set this field to whatever value they want.

Currently, it's not yet implemented in the client code but in the server code. I'm not able to make sense of the name "WalletLocator", and the code doesn't provide an explanation either.

What's the purpose of the field?

2

The original idea of the field was to keep a hash of the contents of your wallet that you could update in the Ripple ledger. Your wallet would also contain any prior hashes of earlier versions of the wallet that you couldn't confirm had already been replaced in the ledger.

That way, a malicious (or negligent) wallet provider couldn't serve you an old/obsolete version of your wallet. You just retrieve your WalletLocator from the network and if that isn't either the hash of your wallet or a prior hash stored in your wallet, you know you have a newer wallet out there somewhere. This would also catch the case where you store your wallet in more than one place and retrieve it from the "wrong" place.

Since the field was added, a different wallet model was used. But the field is still in the server and Ripple network in case anyone wants to use it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.