Remove libcryptoconditions dependency #381

This commit is contained in:
Duke
2024-02-11 00:04:55 -05:00
parent 0cbce3b0c8
commit 9e26dac42a
276 changed files with 6 additions and 54415 deletions

View File

@@ -14,28 +14,13 @@
* *
******************************************************************************/
#include "cryptoconditions/include/cryptoconditions.h"
#include "script/cc.h"
bool IsCryptoConditionsEnabled()
{
return 0;
}
bool IsSupportedCryptoCondition(const CC *cond)
{
return false;
}
bool IsSignedCryptoCondition(const CC *cond)
{
return false;
}
static unsigned char* CopyPubKey(CPubKey pkIn)
{
unsigned char* pk = (unsigned char*) malloc(33);
@@ -43,12 +28,6 @@ static unsigned char* CopyPubKey(CPubKey pkIn)
return pk;
}
CScript CCPubKey(const CC *cond)
{
return CScript();
}
bool GetPushData(const CScript &sig, std::vector<unsigned char> &data)
{
opcodetype opcode;