Add a struct used to contain both BlockRef and the wait flag, to make it reusable for both block and blob queries (and all other possible new queries).
The struct should be used with clap(flatten) to make all the fields appear as options in the query command.
TODOs:
[x] Better naming
[x] Better logging
closes #171
It would also be great to add something like wait-interval to specify how often the request of the block should be made (in wait_header_and_extrinsics). Currently, I've set a two-second sleep between each call
Add a struct used to contain both BlockRef and the wait flag, to make it reusable for both block and blob queries (and all other possible new queries).
The struct should be used with
clap(flatten)
to make all the fields appear as options in the query command.TODOs:
closes #171
It would also be great to add something like
wait-interval
to specify how often the request of the block should be made (inwait_header_and_extrinsics
). Currently, I've set a two-second sleep between each call