Get_blocks function requires changes

  1. The regular API calls from witness_node should have get_blocks capability to serve multiple blocks from a single api call. Calling multiple get_block calls one at a time is both time consuming and wastes resources.

  2. the get_blocks as written does not have a maximum amount that is allowed to be called, this is bad. This allows for ddos attacks by trying to pull all 39 million blocks from a node, potentially crashing said node.

Edited by cryptosig