diff --git a/src/gtest/test_joinsplit.cpp b/src/gtest/test_joinsplit.cpp index bc41a387b..142916d26 100644 --- a/src/gtest/test_joinsplit.cpp +++ b/src/gtest/test_joinsplit.cpp @@ -193,7 +193,7 @@ TEST(joinsplit, note_plaintexts) random_uint256() ); - boost::array memo; + boost::array memo; NotePlaintext note_pt(note, memo); diff --git a/src/zcash/Note.cpp b/src/zcash/Note.cpp index f768ca633..b17a2fb40 100644 --- a/src/zcash/Note.cpp +++ b/src/zcash/Note.cpp @@ -41,7 +41,7 @@ uint256 Note::nullifier(const SpendingKey& a_sk) const { NotePlaintext::NotePlaintext( const Note& note, - boost::array memo) : memo(memo) + boost::array memo) : memo(memo) { value = note.value; rho = note.rho; diff --git a/src/zcash/NoteEncryption.cpp b/src/zcash/NoteEncryption.cpp index 401817763..f7d0977dc 100644 --- a/src/zcash/NoteEncryption.cpp +++ b/src/zcash/NoteEncryption.cpp @@ -165,7 +165,7 @@ uint256 random_uint256() return ret; } -template class NoteEncryption; -template class NoteDecryption; +template class NoteEncryption; +template class NoteDecryption; } \ No newline at end of file diff --git a/src/zcash/NoteEncryption.hpp b/src/zcash/NoteEncryption.hpp index c6228dcc2..d5a831ad5 100644 --- a/src/zcash/NoteEncryption.hpp +++ b/src/zcash/NoteEncryption.hpp @@ -73,7 +73,7 @@ uint256 random_uint256(); } -typedef libzcash::NoteEncryption ZCNoteEncryption; -typedef libzcash::NoteDecryption ZCNoteDecryption; +typedef libzcash::NoteEncryption ZCNoteEncryption; +typedef libzcash::NoteDecryption ZCNoteDecryption; #endif /* ZC_NOTE_ENCRYPTION_H_ */ diff --git a/src/zcash/Zcash.h b/src/zcash/Zcash.h index e0ad34286..b0d9fbb95 100644 --- a/src/zcash/Zcash.h +++ b/src/zcash/Zcash.h @@ -6,13 +6,10 @@ #define INCREMENTAL_MERKLE_TREE_DEPTH 20 #define INCREMENTAL_MERKLE_TREE_DEPTH_TESTING 4 -// TODO: these constants should be 'ZC' -// for consistency, but I didn't want to -// interfere with the old constants -#define ZCASH_NOTEPLAINTEXT_LEADING 1 -#define ZCASH_V_SIZE 8 -#define ZCASH_RHO_SIZE 32 -#define ZCASH_R_SIZE 32 -#define ZCASH_MEMO_SIZE 128 +#define ZC_NOTEPLAINTEXT_LEADING 1 +#define ZC_V_SIZE 8 +#define ZC_RHO_SIZE 32 +#define ZC_R_SIZE 32 +#define ZC_MEMO_SIZE 128 #endif // _ZCCONSTANTS_H_