graph-node icon indicating copy to clipboard operation
graph-node copied to clipboard

New `graphman` command for clearing the call cache for a given chain

Open tilacog opened this issue 3 years ago • 0 comments

We could expand the graphman chain command with new tasks that deal with the call cache.

For instance, the following command:

$ graphman chain call-cache remove <chain-name> --from <block-pointer> --to <block-pointer>

Would delete rows from the call cache between the blocks specified by the --from/--to block pointers.

If omitted, the absent pointers would be interpreted as open ends of an interval, potentially allowing the invoker to truncate the entire call cache.

tilacog avatar Jul 12 '22 18:07 tilacog