silkaj issueshttps://git.duniter.org/clients/python/silkaj/-/issues2022-06-05T15:27:47+02:00https://git.duniter.org/clients/python/silkaj/-/issues/378Create and use generic send_doc_confirmation()2022-06-05T15:27:47+02:00MoulCreate and use generic send_doc_confirmation()- [x] Create generic `send_doc_confirmation()`
- [x] Use it in send-document commands
- [x] `cert`
- [x] `membership`
- [ ] other cmds
- [ ] Adapt tx tests
- [ ] Create `patched_send_doc_confirmation()`
#379: Would allow to run `t...- [x] Create generic `send_doc_confirmation()`
- [x] Use it in send-document commands
- [x] `cert`
- [x] `membership`
- [ ] other cmds
- [ ] Adapt tx tests
- [ ] Create `patched_send_doc_confirmation()`
#379: Would allow to run `test_membership_cmd()` without sending the document by running `patched_send_doc_confirmation.assert_awaited_once_with()`BacklogMoulMoulhttps://git.duniter.org/clients/python/silkaj/-/issues/283Common code between verify and blocks2023-10-21T09:01:48+02:00MoulCommon code between verify and blocks> Following #262
### Tasks
- [ ] common function to gather a range of blocks specifying `from_`, and `to`.
- [ ] common test on this function gathering blocks on a range by chunks
- [ ] two modes for `blocks` explorer:
- current: spec...> Following #262
### Tasks
- [ ] common function to gather a range of blocks specifying `from_`, and `to`.
- [ ] common test on this function gathering blocks on a range by chunks
- [ ] two modes for `blocks` explorer:
- current: specify number of blocks from head, 0 default to current window
- [ ] Same as verify: a range of blocks: blocks number `from` an `to`.
- [ ] 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 `blocks` with sub-commands `explorer`, `verify`, …: is this possible with Click?Backlog