Rename xsk to expsk

xsk will be used for ZIP 32 extended spending keys, so renaming here to
reduce confusion.
This commit is contained in:
Jack Grigg
2018-07-30 14:26:29 +01:00
parent a8dd4b0cf1
commit 54a868cf0a
3 changed files with 22 additions and 22 deletions

View File

@@ -19,14 +19,14 @@
#include <boost/optional.hpp>
struct SpendDescriptionInfo {
libzcash::SaplingExpandedSpendingKey xsk;
libzcash::SaplingExpandedSpendingKey expsk;
libzcash::SaplingNote note;
uint256 alpha;
uint256 anchor;
ZCSaplingIncrementalWitness witness;
SpendDescriptionInfo(
libzcash::SaplingExpandedSpendingKey xsk,
libzcash::SaplingExpandedSpendingKey expsk,
libzcash::SaplingNote note,
uint256 anchor,
ZCSaplingIncrementalWitness witness);
@@ -76,7 +76,7 @@ public:
// Returns false if the anchor does not match the anchor used by
// previously-added Sapling spends.
bool AddSaplingSpend(
libzcash::SaplingExpandedSpendingKey xsk,
libzcash::SaplingExpandedSpendingKey expsk,
libzcash::SaplingNote note,
uint256 anchor,
ZCSaplingIncrementalWitness witness);