fix build... disable komodo-tx for now.
This commit is contained in:
@@ -122,8 +122,9 @@ TESTS =
|
|||||||
bin_PROGRAMS += komodod
|
bin_PROGRAMS += komodod
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
# komodo-tx
|
||||||
if BUILD_BITCOIN_UTILS
|
if BUILD_BITCOIN_UTILS
|
||||||
bin_PROGRAMS += komodo-cli komodo-tx
|
bin_PROGRAMS += komodo-cli
|
||||||
endif
|
endif
|
||||||
if ENABLE_WALLET
|
if ENABLE_WALLET
|
||||||
bin_PROGRAMS += wallet-utility
|
bin_PROGRAMS += wallet-utility
|
||||||
|
|||||||
@@ -5,10 +5,15 @@
|
|||||||
#include "hash.h"
|
#include "hash.h"
|
||||||
#include "script/cc.h"
|
#include "script/cc.h"
|
||||||
#include "primitives/transaction.h"
|
#include "primitives/transaction.h"
|
||||||
|
#include "core_io.h"
|
||||||
|
#include "script/sign.h"
|
||||||
|
#include "wallet/wallet.h"
|
||||||
|
|
||||||
|
int32_t komodo_nextheight();
|
||||||
|
|
||||||
CTransaction MakeImportCoinTransaction(const TxProof proof, const CTransaction burnTx, const std::vector<CTxOut> payouts)
|
CTransaction MakeImportCoinTransaction(const TxProof proof, const CTransaction burnTx, const std::vector<CTxOut> payouts)
|
||||||
{
|
{
|
||||||
|
|
||||||
std::vector<uint8_t> payload = E_MARSHAL(ss << EVAL_IMPORTCOIN);
|
std::vector<uint8_t> payload = E_MARSHAL(ss << EVAL_IMPORTCOIN);
|
||||||
CMutableTransaction mtx = CreateNewContextualCMutableTransaction(Params().GetConsensus(), komodo_nextheight());
|
CMutableTransaction mtx = CreateNewContextualCMutableTransaction(Params().GetConsensus(), komodo_nextheight());
|
||||||
mtx.vin.push_back(CTxIn(COutPoint(burnTx.GetHash(), 10e8), CScript() << payload));
|
mtx.vin.push_back(CTxIn(COutPoint(burnTx.GetHash(), 10e8), CScript() << payload));
|
||||||
|
|||||||
Reference in New Issue
Block a user