mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
14 lines
500 B
C++
14 lines
500 B
C++
#ifndef BITCOIN_BLIND_H_
|
|
#define BITCOIN_BLIND_H_ 1
|
|
|
|
#include "key.h"
|
|
#include "pubkey.h"
|
|
#include "primitives/transaction.h"
|
|
|
|
void ECC_Blinding_Start();
|
|
void ECC_Blinding_Stop();
|
|
|
|
bool UnblindOutput(const CKey& blinding_key, const CTxOut& txout, CAmount& amount_out, uint256& blinding_factor_out);
|
|
void BlindOutputs(const std::vector<uint256>& input_blinding_factors, const std::vector<uint256>& output_blinding_factors, const std::vector<CPubKey>& output_pubkeys, CMutableTransaction& tx);
|
|
|
|
#endif
|