I don't normally help with stuff like this anymore (Diagnosed fish wrong before) but I see everyone is steering you in a aqward direction in what way to go,
Okay since we are still uncertain I will give my view on treatment and what I think now keeping in mind we are going to stay away from any salt baths! No salt in the water because if this is dropsy certainly the end will come real quick! However this does show signs of dropsy, but is not what is on my mind! What is on my mind is the white stool it gave off, this could be a parasite or a worm so we will work on treating both! What I am thinking is Tape worm, is the stool elongated?? If so then I would suspect Tape worm, if the dropping is slimy and white its intestinal flagellates most will probably say a nematode of some sort.
Look for a med like Parasite clear, they are tablets and will kill off both, just look for something that has the name tape worm and flagellates. Continue feeding peas when treating.
What I would do is assume bloat and treat for bloat(Feeding Peas without the shell), not doing the salt bath incase its dropsy, treat with a parasite med for tape worms and flagellates and see how things progress.