+ fixed a parent tx feerate issue
+ fixed max 25 child transactions for unconfirmed parents (after the 25th, it waits for the parent to confirm)
This commit is contained in:
1 parent
a0fb3d13c4
commit
e42a3bf9c6
3 files changed
+27
-3
No files matched your search
+9
-1
@@ -860,11 +860,19 @@
|
||||
console.dir(redeemtx, { depth: null });
|
||||
|
||||
let rawtx2 = BTON.Tx.encode(redeemtx);
|
||||
let _txid2;
|
||||
|
||||
// since we don't know any mempool space api rate limits, we will be careful with spamming
|
||||
await isPushing();
|
||||
pushing = true;
|
||||
let _txid2 = await pushBTCpmt( rawtx2 );
|
||||
try{
|
||||
|
||||
_txid2 = await pushBTCpmt( rawtx2 );
|
||||
}
|
||||
catch(e)
|
||||
{
|
||||
_txid2 = e.toString();
|
||||
}
|
||||
await sleep(1000);
|
||||
pushing = false;
|
||||
|
||||
|
||||
@@ -860,11 +860,19 @@
|
||||
console.dir(redeemtx, { depth: null });
|
||||
|
||||
let rawtx2 = BTON.Tx.encode(redeemtx);
|
||||
let _txid2;
|
||||
|
||||
// since we don't know any mempool space api rate limits, we will be careful with spamming
|
||||
await isPushing();
|
||||
pushing = true;
|
||||
let _txid2 = await pushBTCpmt( rawtx2 );
|
||||
try{
|
||||
|
||||
_txid2 = await pushBTCpmt( rawtx2 );
|
||||
}
|
||||
catch(e)
|
||||
{
|
||||
_txid2 = e.toString();
|
||||
}
|
||||
await sleep(1000);
|
||||
pushing = false;
|
||||
|
||||
|
||||
+9
-1
@@ -887,11 +887,19 @@
|
||||
console.dir(redeemtx, {depth: null});
|
||||
|
||||
let rawtx2 = BTON.Tx.encode(redeemtx);
|
||||
let _txid2;
|
||||
|
||||
// since we don't know any mempool space api rate limits, we will be careful with spamming
|
||||
await isPushing();
|
||||
pushing = true;
|
||||
let _txid2 = await pushBTCpmt(rawtx2);
|
||||
try{
|
||||
|
||||
_txid2 = await pushBTCpmt( rawtx2 );
|
||||
}
|
||||
catch(e)
|
||||
{
|
||||
_txid2 = e.toString();
|
||||
}
|
||||
await sleep(1000);
|
||||
pushing = false;
|
||||
|
||||
|
||||
Reference in new issue
Block a user