Those who supplied the miners during the gold rush made the most money.
Actually, I'd bet it was those who taxed both the miners and the suppliers...

No income tax back then.
i.e.The federal income tax was passed by Congress in the Revenue Act of 1913.
..that year rings a bell.