Common code between verify and blocks
Following #262 (closed)
Tasks
-
common function to gather a range of blocks specifying from_, andto. -
common test on this function gathering blocks on a range by chunks -
two modes for blocksexplorer:- current: specify number of blocks from head, 0 default to current window
-
Same as verify: a range of blocks: blocks number fromanto. -
How to specify/filter the two modes: --range,--from-head/--head(this one would be the default).
This could be a method into a class that would inherit the @click.command decorator. Would that work?
Later
-
command blockswith sub-commandsexplorer,verify, …: is this possible with Click?
Edited by Moul