Trim the lemongrass, reserve the tough trimmings for the beef, and finely chop the tender white part.
Place the beef, broth, bay leaves, and lemongrass trimmings in a saucepan. Bring to a boil, then simmer gently for 1 1/2 to 2 hours until fork-tender.
Remove the beef. If more than 1 1/2 cups of braising liquid remains, reduce it; reserve the liquid.
Char the eschalots, garlic, galangal, and dried chillies in a dry heavy skillet until fragrant and lightly blackened.
Blend the charred aromatics with the lemongrass, water, cloves, cumin, nutmeg, coriander, cardamom, and cinnamon until a paste forms.
Heat the oil in a large pot, fry the curry paste until fragrant, then stir in the coconut milk, cinnamon, star anise, tamarind, fish sauce, and sugar.
Add the potatoes, peanuts, reserved beef, and braising liquid. Simmer uncovered for about 15 minutes until the potatoes are tender.
Adjust the curry so it is rich, balanced, and thick enough to coat a spoon.
Serve the Massaman curry over steamed jasmine rice with peanuts and optional sliced chilli or fried shallots.