From c8f9ec1620468d88c7b005ca472d072a9d3416c9 Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Sat, 21 Nov 2020 07:22:40 -0500 Subject: [PATCH] The smart chain to store swap data will be called HUSHDEX --- src/cc/dapps/hushdex.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/cc/dapps/hushdex.c b/src/cc/dapps/hushdex.c index a7496a6e2..2933f5acd 100644 --- a/src/cc/dapps/hushdex.c +++ b/src/cc/dapps/hushdex.c @@ -17,7 +17,7 @@ // build hushdex and put in path: git pull; gcc cc/dapps/hushdex.c -lm -o hushdex; cp hushdex /usr/bin // alice sends relcoin and gets basecoin -#define DEXP2P_CHAIN ((char *)"TODO") +#define DEXP2P_CHAIN ((char *)"HUSHDEX") #define DEXP2P_PUBKEYS ((char *)"hushdex") #include "dappinc.h" @@ -155,6 +155,9 @@ int32_t hushdex_zonly(struct coininfo *coin) if ( strcmp(coin->coin,"HUSH3") == 0 ) return(1); + if ( strcmp(coin->coin,"HUSHFILE") == 0 ) + return(1); + return 0; }