]> Git Repo - VerusCoin.git/commitdiff
Test
authorjl777 <[email protected]>
Wed, 12 Sep 2018 14:58:04 +0000 (03:58 -1100)
committerjl777 <[email protected]>
Wed, 12 Sep 2018 14:58:04 +0000 (03:58 -1100)
src/cc/CCGateways.h
src/cc/gateways.cpp

index e7ab746018f5a39ce354ae00835966f4c1d4a2e2..f0c09408087751aa016fcd3765141841a0787388 100644 (file)
@@ -25,7 +25,7 @@ std::string GatewaysBind(uint64_t txfee,std::string coin,uint256 tokenid,int64_t
 std::string GatewaysDeposit(uint64_t txfee,uint256 bindtxid,int32_t height,std::string refcoin,uint256 cointxid,int32_t claimvout,std::string deposithex,std::vector<uint8_t>proof,CPubKey destpub,int64_t amount);
 std::string GatewaysClaim(uint64_t txfee,uint256 bindtxid,std::string refcoin,uint256 deposittxid,CPubKey destpub,int64_t amount);
 std::string GatewaysWithdraw(uint64_t txfee,uint256 bindtxid,std::string refcoin,std::vector<uint8_t> withdrawpub,int64_t amount);
-UniValue GatewaysPendingWithdraws(std::string refcoin,uint256 bindtxid);
+UniValue GatewaysPendingWithdraws(uint256 bindtxid,std::string refcoin);
 
 // CCcustom
 UniValue GatewaysInfo(uint256 bindtxid);
index 58289d61cacaf775db63e959af6ca934cde25b81..6450b3c90606ddf4bb75f237f4b6f299128d8877 100644 (file)
@@ -125,6 +125,12 @@ string oracles
  ef3cc452da006eb2edda6b6ed3d3347664be51260f3e91f59ec44ec9701367f0
  
  Now there is a withdraw pending, so it needs to be processed by the signing nodes on the KMD side
+ gatewayspending bindtxid coin 
+ gatewayspending will display all pending withdraws and if it is done on one of the msigpubkeys, then it will queue it for processing
+ ./c gatewayspending e6c99f79d4afb216aa8063658b4222edb773dd24bb0f8e91bd4ef341f3e47e5e KMD
+
 */
 
 
@@ -758,7 +764,7 @@ std::string GatewaysWithdraw(uint64_t txfee,uint256 bindtxid,std::string refcoin
     return("");
 }
 
-UniValue GatewaysPendingWithdraws(std::string refcoin,uint256 bindtxid)
+UniValue GatewaysPendingWithdraws(uint256 bindtxid,std::string refcoin)
 {
     UniValue result(UniValue::VOBJ),pending(UniValue::VARR),obj(UniValue::VOBJ); CTransaction tx; std::string coin; CPubKey mypk,gatewayspk; std::vector<CPubKey> msigpubkeys; uint256 hashBlock,assetid,txid,oracletxid; uint8_t M,N,taddr,prefix,prefix2; char depositaddr[64],withmarker[64],coinaddr[64],destaddr[64],str[65],withaddr[64],numstr[32]; int32_t i,n,numvouts,vout,numqueued,queueflag; int64_t totalsupply; struct CCcontract_info *cp,C;
     std::vector<std::pair<CAddressUnspentKey, CAddressUnspentValue> > unspentOutputs;
This page took 0.028935 seconds and 4 git commands to generate.