Blockchain-based vehicular ad-hoc networks: A comprehensive survey