This talk is based on a joint work with Eile Aïdékon and Zhan Shi. Let be a (supercritical) branching random walk and be positive marks on the vertices of the tree, distributed in an i.i.d. fashion. Following Aldous and Bandyopadhyay (2005), for each infinite ray of the tree, we associate the {\it discounted tree sum} which is the sum of the taken along the ray. We take interest in the finiteness of . To this end, we study the extreme behaviour of the local time processes of the paths . It answers a question of Nicolas Curien, and partially solves Open Problem 31 of Aldous and Bandyopadhyay.