You should check the value stored by
You should check if the function
For instance : https://github.com/chameleon1239/bitcoin/blob/59ecacfc84af13e5a1608e7d970315d07dcb0269/src/validation.cpp#L460
You can use
Yes, I did all that. The value returned when starting up the network is true but after a quick time it latches to false and remains false after that. I have no idea what caused the problem and I can't Log fields such as nMinimumChainWork and chainActive.Tip()->nChainWork purely. I gives me errors. I don't know how to do step by step debugging except gdb which is nightmare for me.
One one question when I run two nodes on same machine should they both be added to each other (dns is set 0 now) or it is ok to set one as server and add the second node's ip and port to first node using -addnode command ?
I think it depends on hash limit.I increased hash limit bound, so it should mine faster and also add transaction to the blockchain faster.