Use binary.Read/Write when reading and writing booleans in Encode and Decode functions that operate on the WaitingProof struct.
In this commit boltdb persistent storage have been added, which allow as to not loose announcement proofs inside gossiper subsystem.