In R.Wald's book on "General Relativity" appears on p.61 (section 4.2) a rather peculiar definition of the energy of a massive particle:
$$ E = -p_a v^a \tag{4.2.8}$$
I guess the minus sign comes from the use of the east-coast metric in Wald's book $\eta=diag(-1,1,1,1)$. Right before he first defines the momentum 4-vector $p^a$ in (4.2.7) as:
$$ p^a = m u^a \tag{4.2.7}$$
where $m$ is the (rest) mass of the particle and $u^a$ are the components of a tangent vector to the (time-like) curve along which the particle moves.
He goes on saying that
The ${\it{energy}}$ of the particle as measured by an observer -- present at the site of the particle -- whose 4-velocity $v^a$ is defined by
$$ E = -p_a v^a \tag{4.2.8} $$
Thus, in special relativity the energy is recognized to be the "time component" of the vector $p^a$. For a particle at rest with respect to the observer (i.e. $v^a = u^a$), equation (4.2.8) reduces to the familiar formula $E=mc^2$ (in our units with $c=1$).
Actually I am quite confused by this statement. Why 2 velocities intervene ? It seems that in a more general case it could be even $v^a\neq u^a$. Is there is somebody which could explain to me formula (4.2.8), how it is meant ?