Ziggy, I think you're pretty close but I'm not convinced it is either Campylopus pyriformis or setifolius. But you know a lot more than I do about these things
Looking at the first photo only, I would have said a crop opf Cardamom pods ! Peanuts are not nuts, I think they're legumes and grow underground. Cheers, Tony.
Yes Kleftiwallah they are legumes and Peanuts do develop underground but only after the flower has been pollinated above ground.