checkConsistency - tangleengineering/TangleEngineering GitHub Wiki

This API call accepts one parameter, tails, which is a list of transaction hashes. This call returns true if confirming these tails results in a consistent subtangle and false if it doesn't. You would use this call when deciding to promote or reattach a transaction. If it returns true then promote it, but once it returns false it is unlikely that this transaction will ever get confirmed. At this point you want to reattach it to give it a better chance.