The serial number certainly could make it a M1860 Spencer and therefore a CW carbine. Seee my post of Nov. 12, '07 in this thread for additional info.
One thing is almost certain. While your gg grandfather may have fought in the S-A War, he didn't do so with this weapon unless he was a home guard/militia member far from Cuba or the Philippines.