require admin for running checks on the splitstore.
This commit is contained in:
parent
2cfd73c879
commit
3c409d5023
@ -166,7 +166,7 @@ type FullNode interface {
|
|||||||
|
|
||||||
// ChainCheckBlockstore performs an (asynchronous) health check on the chain/state blockstore
|
// ChainCheckBlockstore performs an (asynchronous) health check on the chain/state blockstore
|
||||||
// if supported by the underlying implementation.
|
// if supported by the underlying implementation.
|
||||||
ChainCheckBlockstore(context.Context) error //perm:read
|
ChainCheckBlockstore(context.Context) error //perm:admin
|
||||||
|
|
||||||
// ChainBlockstoreInfo returns some basic information about the blockstore
|
// ChainBlockstoreInfo returns some basic information about the blockstore
|
||||||
ChainBlockstoreInfo(context.Context) (map[string]interface{}, error) //perm:read
|
ChainBlockstoreInfo(context.Context) (map[string]interface{}, error) //perm:read
|
||||||
|
Loading…
Reference in New Issue
Block a user