I just discovered a very useful command:
getchaintips
[
{
"height": 7403,
"hash": "d4be35faa8907ea8ed864ae492c25c5671cc19863270fecf501fd592cada08ab",
"difficulty": 379.9904871916831,
"chainwork": "0000000000000000000000000000000000000000000000000001769fcb695cb4",
"branchlen": 0,
"status": "active"
},
{
"height": 7277,
"hash": "44b03913f666bf563146b63ebf2d5c3c985149128ab524d7d66f712cbe13fd33",
"difficulty": 0.001746781667724304,
"chainwork": "0000000000000000000000000000000000000000000000000000000b87bba393",
"branchlen": 252,
"status": "headers-only"
},
{
"height": 7195,
"hash": "fdda0190500497237aa7a02b7d7d3b0c6907a868e3e6a08e39f32b7846f4c826",
"difficulty": 0.004355675118676943,
"chainwork": "0000000000000000000000000000000000000000000000000000000d738715f2",
"branchlen": 54,
"status": "headers-only"
},
{
"height": 7181,
"hash": "67d46eea7155a4c112edc8d44cbeff178a2f000ebccde53f65a344355dbeb274",
"difficulty": 35.85249517036227,
"chainwork": "0000000000000000000000000000000000000000000000000000010ab91e7f44",
"branchlen": 1,
"status": "valid-headers"
},
{
"height": 7181,
"hash": "334491104c0108e1ef69f25e20f7ce881fd05ffe232035ca4fdbe5890b9a12df",
"difficulty": 35.85249517036227,
"chainwork": "0000000000000000000000000000000000000000000000000000010ab91e7f44",
"branchlen": 1,
"status": "valid-fork"
},
{
"height": 7178,
"hash": "ae1d4b1b6aac1313ed873278869cd92d68d3deab9140a0343b239ebc8d5b4621",
"difficulty": 0.00284443264647385,
"chainwork": "0000000000000000000000000000000000000000000000000000000d17095463",
"branchlen": 37,
"status": "headers-only"
},
{
"height": 7163,
"hash": "1f09f77b8b2d0d689effff01d1d7f181d85490b8cc6442a3f7fc92f315c4180c",
"difficulty": 0.001591352444876824,
"chainwork": "0000000000000000000000000000000000000000000000000000000d17ac5594",
"branchlen": 22,
"status": "headers-only"
},
{
"height": 7157,
"hash": "585b188cb78522c0c5b3a07d4cc893ed4378a8d74f987f0151e2d279f0457968",
"difficulty": 0.6628937306548522,
"chainwork": "0000000000000000000000000000000000000000000000000000000f7ea0fa13",
"branchlen": 16,
"status": "valid-fork"
},
{
"height": 7045,
"hash": "6c7371021d292252c030073f8b9faf69bf5ca136849202756315fff6c3a3d880",
"difficulty": 0.001775789883045804,
"chainwork": "0000000000000000000000000000000000000000000000000000000b7d7b39c8",
"branchlen": 9,
"status": "headers-only"
},
{
"height": 6109,
"hash": "0000055d3f5ba3c9b7fd615822555d7b4087455374da204830123f319b391d45",
"difficulty": 0.005306311368116459,
"chainwork": "00000000000000000000000000000000000000000000000000000008a849201f",
"branchlen": 1,
"status": "valid-headers"
},
{
"height": 5680,
"hash": "00000281a69a4f0d9c0c7ae7610736785205542a84331e035f7b97889702203f",
"difficulty": 0.006903401966151241,
"chainwork": "0000000000000000000000000000000000000000000000000000000792083d42",
"branchlen": 1,
"status": "valid-headers"
}
]
So does anyone have an idea what do these statuses mean? We have "active" (that one is pretty obvious), "headers-only", "valid-headers" and "valid-fork".