basic implementation of transaction replacement. requires cleanup and testing
This commit is contained in:
@@ -1,12 +1,19 @@
|
||||
#ifndef KOMODO_CRYPTOCONDITIONS_H
|
||||
#define KOMODO_CRYPTOCONDITIONS_H
|
||||
|
||||
#include "coins.h"
|
||||
#include "replacementpool.h"
|
||||
#include "cryptoconditions/include/cryptoconditions.h"
|
||||
|
||||
extern int32_t ASSETCHAINS_CC;
|
||||
|
||||
extern CTxReplacementPool replacementPool;
|
||||
|
||||
static bool IsCryptoConditionsEnabled() {
|
||||
return 0 != ASSETCHAINS_CC;
|
||||
}
|
||||
|
||||
bool EvalConditionBool(const CC *cond, const CTransaction *tx);
|
||||
//uint64_t EvalConditionPriority(const CC *cond, const CTransaction *tx);
|
||||
bool SetReplacementParams(CTxReplacementPoolItem &rep);
|
||||
#endif /* KOMODO_CRYPTOCONDITIONS_H */
|
||||
|
||||
Reference in New Issue
Block a user