Bitcoin Forum
May 28, 2024, 04:00:25 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Altcoin: transactions stuck in pending state  (Read 284 times)
blockchain3r
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
June 05, 2019, 05:20:03 PM
 #21

Yeah, auto ready is already checked :/

I really have no idea why this is happening. My TTF is 2 minutes.
I tried to find some config to force stratum to give priority to mine transactions blocks.

The "default" config is looking for profit. I would like to change it to make the network go on.

We are really in trouble here. More than 300 txs stucked Sad
TheWolf666 (OP)
Full Member
***
Offline Offline

Activity: 615
Merit: 154


CEO of Metaisland.gg and W.O.K Corp


View Profile WWW
June 05, 2019, 05:36:46 PM
 #22

It is not stratum who add the transactions to a block, it is the coin itself. I am not familiar with Litecoin, but with latest Bitcoin, it is located in 2 places, validation.cpp where the block is validated, and mining.cpp where the block are deciding what to add to a block or not and take save the final product to the blockchain.
There are several problems, the blockchain is complex.
- when a transaction is created, be sure that the fees are enough and not too much. Transactions generated by the pool for example will by default have a wrong fee.
- be sure that the Stale is not too large or the blocks cannot be included
- check IsTrusted
- remove the Witness checks since it cannot work with a new blockchain.
etc...

You have not lost your 300 tx, if they are not confirmed for a while (3000 seconds I think) they will be cancelled. If they are in mempool, they are not in the blockchain yet, so your blockchain is clean.

Also be sure that all your nodes have the same proof of work algorithm, the same GetSubsidary functions, so that they can confirm the transaction, if one is different it will reject the transaction and the tx will stay in mempool until cancelled.

Also all the tx generated by yiimp have a wrong fee at starting so enable the fallbackfees.

Pages: « 1 [2]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!