示例#1
0
文件: Buyer.cpp 项目: myucel/cashlib
BuyMessage* Buyer::buy(Wallet* wallet, const vector<EncBuffer*>& ctext,
					   const vector<hash_t>& ptHash, const ZZ &R) {
	startTimer();
	makeCoin(*wallet, R);
	printTimer("[Buyer::buy] created coin");
	return buy(ctext, ptHash);
}
示例#2
0
// Setup
FESetupMessage* FEInitiator::setup(Wallet *wallet, const ZZ &R, 
								   const string &signAlg) {
	makeCoin(wallet, R);
	return setup(signAlg);
}