Skip to content

Commit

Permalink
query.go 업데이트
Browse files Browse the repository at this point in the history
  • Loading branch information
dik654 committed Apr 2, 2024
1 parent 83f6f3a commit f5858a7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions protocol/x/blocktime/client/cli/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ func GetQueryCmd(queryRoute string) *cobra.Command {
return cmd
}

// down time 관련 설정 파라미터 가져오기
// 세 쿼리 모두 types/query.pb.go에 작성되어있음
func CmdQueryDowntimeParams() *cobra.Command {
cmd := &cobra.Command{
Use: "get-downtime-params",
Expand All @@ -51,6 +53,7 @@ func CmdQueryDowntimeParams() *cobra.Command {
return cmd
}

// 저장되어있는 모든 down time 정보 가져오기
func CmdQueryAllDowntimeInfo() *cobra.Command {
cmd := &cobra.Command{
Use: "get-all-downtime-info",
Expand All @@ -74,6 +77,7 @@ func CmdQueryAllDowntimeInfo() *cobra.Command {
return cmd
}

// 이전 블록 정보 가져오기
func CmdQueryPreviousBlockInfo() *cobra.Command {
cmd := &cobra.Command{
Use: "get-previous-block-info",
Expand Down

0 comments on commit f5858a7

Please sign in to comment.