Closed sporkspatula closed 3 years ago
Add two functions:
isValidBid
isValidAsk
These helpers are meant to help clients validate their input data before submitting an invalid transaction to their node.
Add two functions:
isValidBid
👉 returns true if the bid is valid, false if the bid is invalidisValidAsk
👉 returns true if the ask is valid, false if the ask in invalidThese helpers are meant to help clients validate their input data before submitting an invalid transaction to their node.