2,100,000,000,000,000 is the total max supply of sats 18,446,744,073,709,551,615 is the maximum value of an unsigned 64 bit integer. I forget now. It's been a long time since I looked at the bitcoin code.