Switch to Ed25519 for cryptographic binding of joinsplits to transactions.

This commit is contained in:
Sean Bowe
2016-05-30 10:59:20 -06:00
parent b48122b57b
commit 320f2cc7e0
9 changed files with 566 additions and 626 deletions

View File

@@ -14,8 +14,6 @@
#include "script/script.h"
#include "uint256.h"
#include "sodium.h"
using namespace std;
typedef vector<unsigned char> valtype;
@@ -1085,7 +1083,8 @@ public:
::Serialize(s, txTo.vpour, nType, nVersion);
if (txTo.vpour.size() > 0) {
::Serialize(s, txTo.joinSplitPubKey, nType, nVersion);
std::vector<unsigned char> nullSig = {};
boost::array<unsigned char, 64> nullSig = {};
::Serialize(s, nullSig, nType, nVersion);
}
}