Clean up
This commit is contained in:
@@ -28,8 +28,6 @@
|
|||||||
#include "uint256.h"
|
#include "uint256.h"
|
||||||
#include "arith_uint256.h"
|
#include "arith_uint256.h"
|
||||||
|
|
||||||
extern int32_t ASSETCHAINS_LWMAPOS;
|
|
||||||
|
|
||||||
/** Nodes collect new transactions into a block, hash them into a hash tree,
|
/** Nodes collect new transactions into a block, hash them into a hash tree,
|
||||||
* and scan through nonce values to make the block's hash satisfy proof-of-work
|
* and scan through nonce values to make the block's hash satisfy proof-of-work
|
||||||
* requirements. When they solve the proof-of-work, they broadcast the block
|
* requirements. When they solve the proof-of-work, they broadcast the block
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ extern uint16_t ASSETCHAINS_P2PPORT,ASSETCHAINS_RPCPORT;
|
|||||||
extern uint32_t ASSETCHAINS_CC;
|
extern uint32_t ASSETCHAINS_CC;
|
||||||
extern uint32_t ASSETCHAINS_MAGIC,ASSETCHAINS_ALGO;
|
extern uint32_t ASSETCHAINS_MAGIC,ASSETCHAINS_ALGO;
|
||||||
extern uint64_t ASSETCHAINS_COMMISSION,ASSETCHAINS_SUPPLY;
|
extern uint64_t ASSETCHAINS_COMMISSION,ASSETCHAINS_SUPPLY;
|
||||||
extern int32_t ASSETCHAINS_LWMAPOS,ASSETCHAINS_SAPLING,ASSETCHAINS_STAKED;
|
extern int32_t ASSETCHAINS_SAPLING;
|
||||||
extern uint64_t ASSETCHAINS_ENDSUBSIDY[],ASSETCHAINS_REWARD[],ASSETCHAINS_HALVING[],ASSETCHAINS_DECAY[],ASSETCHAINS_NOTARY_PAY[];
|
extern uint64_t ASSETCHAINS_ENDSUBSIDY[],ASSETCHAINS_REWARD[],ASSETCHAINS_HALVING[],ASSETCHAINS_DECAY[],ASSETCHAINS_NOTARY_PAY[];
|
||||||
extern std::string NOTARY_PUBKEY,NOTARY_ADDRESS; extern uint8_t NOTARY_PUBKEY33[];
|
extern std::string NOTARY_PUBKEY,NOTARY_ADDRESS; extern uint8_t NOTARY_PUBKEY33[];
|
||||||
|
|
||||||
@@ -348,10 +348,6 @@ UniValue getinfo(const UniValue& params, bool fHelp, const CPubKey& mypk)
|
|||||||
|
|
||||||
if ( ASSETCHAINS_COMMISSION != 0 )
|
if ( ASSETCHAINS_COMMISSION != 0 )
|
||||||
obj.push_back(Pair("commission", ASSETCHAINS_COMMISSION));
|
obj.push_back(Pair("commission", ASSETCHAINS_COMMISSION));
|
||||||
if ( ASSETCHAINS_STAKED != 0 )
|
|
||||||
obj.push_back(Pair("staked", ASSETCHAINS_STAKED));
|
|
||||||
if ( ASSETCHAINS_LWMAPOS != 0 )
|
|
||||||
obj.push_back(Pair("lwmapos", ASSETCHAINS_LWMAPOS));
|
|
||||||
if ( ASSETCHAINS_ALGO != ASSETCHAINS_EQUIHASH )
|
if ( ASSETCHAINS_ALGO != ASSETCHAINS_EQUIHASH )
|
||||||
obj.push_back(Pair("algo",ASSETCHAINS_ALGORITHMS[ASSETCHAINS_ALGO]));
|
obj.push_back(Pair("algo",ASSETCHAINS_ALGORITHMS[ASSETCHAINS_ALGO]));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user