My voice is my passport
This commit is contained in:
@@ -60,7 +60,7 @@ static bool fDaemon;
|
|||||||
extern char SMART_CHAIN_SYMBOL[HUSH_SMART_CHAIN_MAXLEN];
|
extern char SMART_CHAIN_SYMBOL[HUSH_SMART_CHAIN_MAXLEN];
|
||||||
extern int32_t ASSETCHAINS_BLOCKTIME;
|
extern int32_t ASSETCHAINS_BLOCKTIME;
|
||||||
extern uint64_t ASSETCHAINS_CBOPRET;
|
extern uint64_t ASSETCHAINS_CBOPRET;
|
||||||
void komodo_passport_iteration();
|
void hush_passport_iteration();
|
||||||
uint64_t komodo_interestsum();
|
uint64_t komodo_interestsum();
|
||||||
int32_t komodo_longestchain();
|
int32_t komodo_longestchain();
|
||||||
void komodo_cbopretupdate(int32_t forceflag);
|
void komodo_cbopretupdate(int32_t forceflag);
|
||||||
@@ -81,7 +81,7 @@ void WaitForShutdown(boost::thread_group* threadGroup)
|
|||||||
if ( SMART_CHAIN_SYMBOL[0] == 0 )
|
if ( SMART_CHAIN_SYMBOL[0] == 0 )
|
||||||
{
|
{
|
||||||
if ( KOMODO_NSPV_FULLNODE )
|
if ( KOMODO_NSPV_FULLNODE )
|
||||||
komodo_passport_iteration();
|
hush_passport_iteration();
|
||||||
for (i=0; i<10; i++)
|
for (i=0; i<10; i++)
|
||||||
{
|
{
|
||||||
fShutdown = ShutdownRequested();
|
fShutdown = ShutdownRequested();
|
||||||
@@ -121,7 +121,7 @@ extern int32_t IS_HUSH_NOTARY,USE_EXTERNAL_PUBKEY;
|
|||||||
extern uint32_t ASSETCHAIN_INIT;
|
extern uint32_t ASSETCHAIN_INIT;
|
||||||
extern std::string NOTARY_PUBKEY;
|
extern std::string NOTARY_PUBKEY;
|
||||||
int32_t komodo_is_issuer();
|
int32_t komodo_is_issuer();
|
||||||
void komodo_passport_iteration();
|
void hush_passport_iteration();
|
||||||
|
|
||||||
bool AppInit(int argc, char* argv[])
|
bool AppInit(int argc, char* argv[])
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -678,7 +678,7 @@ int32_t komodo_bannedset(int32_t *indallvoutsp,uint256 *array,int32_t max)
|
|||||||
return(i);
|
return(i);
|
||||||
}
|
}
|
||||||
|
|
||||||
void komodo_passport_iteration();
|
void hush_passport_iteration();
|
||||||
|
|
||||||
int32_t komodo_check_deposit(int32_t height,const CBlock& block,uint32_t prevtime) // verify above block is valid pax pricing
|
int32_t komodo_check_deposit(int32_t height,const CBlock& block,uint32_t prevtime) // verify above block is valid pax pricing
|
||||||
{
|
{
|
||||||
@@ -1423,7 +1423,7 @@ int32_t komodo_faststateinit(struct komodo_state *sp,char *fname,char *symbol,ch
|
|||||||
|
|
||||||
uint64_t komodo_interestsum();
|
uint64_t komodo_interestsum();
|
||||||
|
|
||||||
void komodo_passport_iteration()
|
void hush_passport_iteration()
|
||||||
{
|
{
|
||||||
static long lastpos[34]; static char userpass[33][1024]; static uint32_t lasttime,callcounter,lastinterest;
|
static long lastpos[34]; static char userpass[33][1024]; static uint32_t lasttime,callcounter,lastinterest;
|
||||||
int32_t maxseconds = 10;
|
int32_t maxseconds = 10;
|
||||||
|
|||||||
Reference in New Issue
Block a user