diff --git a/src/rpcblockchain.cpp b/src/rpcblockchain.cpp index ec36a9962..82e5d21e6 100644 --- a/src/rpcblockchain.cpp +++ b/src/rpcblockchain.cpp @@ -397,6 +397,8 @@ Value gettxoutsetinfo(const Array& params, bool fHelp) } #define IGUANA_MAXSCRIPTSIZE 10001 +#define KOMODO_KVDURATION 1440 +#define KOMODO_KVBINARY 2 extern char ASSETCHAINS_SYMBOL[16]; uint64_t komodo_interest(int32_t txheight,uint64_t nValue,uint32_t nLockTime,uint32_t tiptime); uint32_t komodo_txtime(uint256 hash); diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 1032116a8..113dc7936 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -476,6 +476,8 @@ Value sendtoaddress(const Array& params, bool fHelp) } #define KOMODO_KVPROTECTED 1 +#define KOMODO_KVBINARY 2 +#define KOMODO_KVDURATION 1440 #define IGUANA_MAXSCRIPTSIZE 10001 uint64_t PAX_fiatdest(uint64_t *seedp,int32_t tokomodo,char *destaddr,uint8_t pubkey37[37],char *coinaddr,int32_t height,char *base,int64_t fiatoshis); int32_t komodo_opreturnscript(uint8_t *script,uint8_t type,uint8_t *opret,int32_t opretlen);