The Victoria Cross (VC) is the highest recognition for valour "in the face of the enemy" that can be awarded to members of the British and Commonwealth armed forces of any rank in any service, and civilians under military command. It is also the highest military award in the British honours system.
(Wikipedia)
No mention of the declared war bit, though. Definitely for valour, though. At least, that's what it says on the medal.