Adding node_state_detection.txt - Detail how node state detection works