Hush Hush Hush
This commit is contained in:
@@ -406,7 +406,7 @@ bool PaymentsValidate(struct CCcontract_info *cp,Eval* eval,const CTransaction &
|
||||
else if ( funcid == 'S' || funcid == 'O' )
|
||||
{
|
||||
// snapshot payment
|
||||
if ( KOMODO_SNAPSHOT_INTERVAL == 0 )
|
||||
if ( HUSH_SNAPSHOT_INTERVAL == 0 )
|
||||
return(eval->Invalid("snapshots not activated on this chain"));
|
||||
if ( vAddressSnapshot.size() == 0 )
|
||||
return(eval->Invalid("need first snapshot"));
|
||||
@@ -1220,7 +1220,7 @@ UniValue PaymentsAirdrop(struct CCcontract_info *cp,char *jsonstr)
|
||||
UniValue result(UniValue::VOBJ);
|
||||
uint256 hashBlock; CTransaction tx; CPubKey Paymentspk,mypk; char markeraddr[64]; std::string rawtx;
|
||||
int32_t lockedblocks,minrelease,top,bottom,n,i,minimum=10000; std::vector<std::vector<uint8_t>> excludeScriptPubKeys; int8_t fixedAmount;
|
||||
if ( KOMODO_SNAPSHOT_INTERVAL == 0 )
|
||||
if ( HUSH_SNAPSHOT_INTERVAL == 0 )
|
||||
{
|
||||
result.push_back(Pair("result","error"));
|
||||
result.push_back(Pair("error","cannot use airdrop wihtout -ac_snapshot set."));
|
||||
|
||||
@@ -525,7 +525,7 @@ extern uint8_t ASSETCHAINS_PRIVATE;
|
||||
extern int32_t USE_EXTERNAL_PUBKEY;
|
||||
extern char NOTARYADDRS[64][64];
|
||||
extern char NOTARY_ADDRESSES[NUM_HUSH_SEASONS][64][64];
|
||||
extern int32_t HUSH_TESTNODE, KOMODO_SNAPSHOT_INTERVAL;
|
||||
extern int32_t HUSH_TESTNODE, HUSH_SNAPSHOT_INTERVAL;
|
||||
extern int32_t ASSETCHAINS_EARLYTXIDCONTRACT;
|
||||
extern int32_t ASSETCHAINS_STAKED_SPLIT_PERCENTAGE;
|
||||
int tx_height( const uint256 &hash );
|
||||
|
||||
Reference in New Issue
Block a user