ImportPayout cc eval code and alot of general cc polish. tests to write
This commit is contained in:
18
src/cc/eval.h
Normal file
18
src/cc/eval.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef CC_EVAL_H
|
||||
#define CC_EVAL_H
|
||||
|
||||
#include "cryptoconditions/include/cryptoconditions.h"
|
||||
#include "primitives/transaction.h"
|
||||
|
||||
/*
|
||||
* Test validity of a CC_Eval node
|
||||
*/
|
||||
bool EvalConditionValidity(const CC *cond, const CTransaction *tx, int nIn);
|
||||
|
||||
/*
|
||||
* Test an ImportPayout CC Eval condition
|
||||
*/
|
||||
bool CheckImportPayout(const CC *cond, const CTransaction *payoutTx, int nIn);
|
||||
|
||||
|
||||
#endif /* CC_EVAL_H */
|
||||
Reference in New Issue
Block a user