-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Utility] Local Proof of Stake CLI - Issue #112 #169
Merged
deblasis
merged 269 commits into
pokt-network:main
from
deblasis:issue/utility_local_proof_of_stake_cli
Nov 11, 2022
Merged
Changes from 6 commits
Commits
Show all changes
269 commits
Select commit
Hold shift + click to select a range
d72bf2d
fix(config.proto): updated timeout type
deblasis be4875d
feat(RPC): basic RPC server with naive sync TX broadcast
deblasis 43bd107
fix(RPC): fixed HTTP method for Health and Version routes
deblasis 9699847
Merge remote-tracking branch 'origin/issue/utility_local_proof_of_sta…
deblasis 478f73d
Merge remote-tracking branch 'origin/issue/utility_local_proof_of_sta…
deblasis 96b0127
chore(go.mod): tidy
deblasis 4d3331d
style(RPC): format
deblasis 6ae00ea
Merge branch 'issue/utility_local_proof_of_stake_cli_RPC' into issue/…
deblasis 2bda3f3
chore(go.mod): tidy + vendor
deblasis bc6ad76
feat(Utility): CLI RPC client function
deblasis e60ea54
feat(Utility): RPC defaults const
deblasis ec76e05
feat(Utility): GetSignBytes
deblasis 6ae396e
feat(Utility): CLI utils
deblasis b87b721
feat(Utility): stake cmd scaffolding
deblasis 762c85c
refactor(Utility): RPC server RoutesMap for CLI/client use
deblasis b3a813c
Merge branch 'issue/utility_local_proof_of_stake_cli_RPC' into issue/…
deblasis 93497dd
Merge branch 'issue/utility_local_proof_of_stake_cli_CLI' into issue/…
deblasis 5ac34ff
refactor(Utility): RPC server exporting RouteKey and RoutesMap
deblasis b668756
feat(Utility): CLI
deblasis af55e4a
refactor(Utility): RPC server exporting RouteKey and RoutesMap
deblasis 4bf2fd2
chore(Utility): Removed TODO
deblasis b80a57c
fix(Utility): CLI: making use of the pwd flag
deblasis 5e185e4
fix(Utility): CLI: code review feedback
deblasis ecc360c
fix(Utility): CLI custodial stake command: OutputAddr = fromAddr
deblasis 655f3d0
refactor(Utility): CLI: refactor command bindings
deblasis aa7ba68
Merge branch 'issue/utility_local_proof_of_stake_cli_CLI' into issue/…
deblasis 6bad3ec
fix(Utility): Fix route after merge
deblasis d876e0e
refactor(Utility): CLI: named return values fix
deblasis d2c8f49
Merge branch 'issue/utility_local_proof_of_stake_cli_CLI' into issue/…
deblasis d5fb9e8
Merge branch 'issue/utility_local_proof_of_stake_cli_RPC' into issue/…
deblasis ae0faa4
test(Utility): CLI: simplified tests for PK parsing from file
deblasis f07965e
feat(Utility): RPC OpenApi spec and code generation
deblasis 20f0185
refactor(Utility): RPC server refactoring using code generation
deblasis a86e273
feat(Utility): RPC OpenApi spec and code generation
deblasis dc51992
feat(Utility): Updated RPC spec
deblasis 0d7c657
feat(Utility): Regenerated RPC boilerplate and updates
deblasis 07a6349
docs(Utility): RPC and node docs barebones + RPC spec notes
deblasis a2eb0e9
feat(Utility): Updated RPC spec
deblasis 349ea3a
docs(Utility): CLI docs barebones
deblasis 6081c34
fix(Utility): CLI: added missing message handling for account
deblasis 0bebfa8
fix(Shared): fixed RPC config
deblasis 1e8e2de
feat(Utility): CLI updated to use the generated RPC client
deblasis 7487c3d
Merge branch 'issue/utility_local_proof_of_stake_cli_CLI' into issue/…
deblasis abef3ab
Merge branch 'issue/utility_local_proof_of_stake_cli_RPC' into issue/…
deblasis 0fdd761
chore(go.mod): tidy
deblasis d5727b8
refactor(Utility): CLI + RPC models in server.gen.go
deblasis 70a7e5d
style(Utility): removed redundant struct definition
deblasis 7a68f55
docs(README.md): fixed LICENSE reference
deblasis e6f8b4d
docs(README.md): updated with references to CLI, RPC and Node docs
deblasis cb97735
refactor(Shared): RPC config defaults -changing soon,I'm centralizin
deblasis 4aa4447
refactor(Shared): RPC config defaults -changing soon,I'm centralizin
deblasis 3ed73dd
fix(Utility): RPC: updated to use test_artifacts defaults
deblasis 0633550
refactor(Shared): RPC config defaults -changing soon,I'm centralizin
deblasis 5726671
feat(Utility): CLI: updated to use test_artifacts default
deblasis afef144
Merge branch 'issue/utility_local_proof_of_stake_cli_RPC' into issue/…
deblasis cd8c48c
Merge branch 'issue/utility_local_proof_of_stake_cli_CLI' into issue/…
deblasis 6548150
docs(Utility): RPC and node basic docs
deblasis 535ce94
Merge branch 'issue/utility_local_proof_of_stake_cli_RPC' into issue/…
deblasis 915fcfb
docs(Utility): CLI: Changelog
deblasis 7817538
Merge branch 'issue/utility_local_proof_of_stake_cli_CLI' into issue/…
deblasis a4e7e79
fix(Utility): CLI: fixed output to user. It shouldn't be logging
deblasis c0ac1ea
Merge branch 'issue/utility_local_proof_of_stake_cli_CLI' into issue/…
deblasis d258fd5
fix(Utility): CLI code review feedback
deblasis d07c14a
style(Utility): code review feedback
deblasis 653f6d7
feat(Tooling): Updated makefile commands to better handle codegen
deblasis 5706162
feat(Tooling): Updated makefile commands to better handle codegen
deblasis dda85a0
fix(Utility): Fix duplicated models
deblasis acaa3e9
Merge branch 'issue/utility_local_proof_of_stake_cli_CLI' into issue/…
deblasis ecb0f07
chore(Utility): fixed versioning schema
deblasis f5c5a34
Merge branch 'issue/utility_local_proof_of_stake_cli_RPC' into issue/…
deblasis e5c3ae5
feat(Utility): CLI documentation generator + first stab at docs
deblasis 054f981
Merge branch 'issue/utility_local_proof_of_stake_cli_CLI' into issue/…
deblasis bd42240
Merge remote-tracking branch 'upstream/main' into issue/utility_local…
deblasis 35914a8
fix(Utility): CLI specific fixes
deblasis 377cf14
fix(Utility): types fixes
deblasis 21459d3
fix(Utility): RPC configs post-merge
deblasis 7823a87
feat(Consensus): configOptions
deblasis e7d9c4e
feat(P2P): configOptions
deblasis 60d3c14
feat(Utility): CLI: using configOptions to inject PK
deblasis 6123cbb
Merge remote-tracking branch 'upstream/main' into issue/utility_local…
deblasis c725570
fix(Utility): RPC configs post-merge
deblasis 9e4501e
feat(Consensus): configOptions
deblasis 015915d
feat(P2P): configOptions
deblasis 5178e60
fix(Utility): RPC fix post merge
deblasis 761ceea
fix(Utility): RPC disabled by default because of TECHDEBT
deblasis f4c72fa
Merge branch 'issue/utility_local_proof_of_stake_cli_CLI' into issue/…
deblasis 3c3cdb4
Merge branch 'issue/utility_local_proof_of_stake_cli_RPC' into issue/…
deblasis e2a5793
chore(go.mod): tidy
deblasis 2625979
Merge branch 'main' into issue/utility_local_proof_of_stake_cli_CLI
deblasis e9b90e1
Merge branch 'issue/utility_local_proof_of_stake_cli_CLI' into issue/…
deblasis 2283910
Merge remote-tracking branch 'upstream/main' into issue/utility_local…
deblasis 2cea452
fix(go.mod): tidy
deblasis 2b8a9d1
fix(CLI): test_artifacts
deblasis 663fb8a
fix(go.mod): tidy
deblasis dca3786
fix(CLI): updated to use new typesUtil.ActorType
deblasis c04285b
fix(CLI): runtime based init
deblasis 5b61539
fix(test_artifacts): fix
deblasis daffff9
fix(CLI): runtime using WithRandomPK()
deblasis 0c85a8c
fix(CLI): fixed client-only initialization
deblasis 7458c0a
fix(Makefile): protogen first
deblasis 40b93b6
feat(Utility): GetActorName function (can we autogenerate these?)
deblasis 9d5f130
Merge remote-tracking branch 'upstream/main' into issue/utility_local…
deblasis 32c5e57
Merge branch 'issue/utility_local_proof_of_stake_cli_CLI' into issue/…
deblasis 5433bbf
fix(RPC): test_artifacts in runtime
deblasis a9bd32d
fix(go.mod): tidy
deblasis 20f2ebc
fix(CLI): debug commands are now feature flagged
deblasis 52b46a3
chore(go.mod): tidy
deblasis f40f742
chore(CLI): git rm app/pocket/rpc/client.gen.go
deblasis 42a3831
chore(CLI): s/j/tx and s/prepareTx/prepareTxJson
deblasis accd5c8
refactor(shared): converters
deblasis dbdeccf
fix(CLI): debug nits
deblasis 8aef547
refactor(CLI): confirmation and credentials
deblasis f02a670
chore(CLI): removed HACK todo
deblasis 69ffc84
fix(Makefile): premature protoc
deblasis 1b1a0ed
fix(RPC): added imports used in codegen files
deblasis 0950d1d
Merge branch 'issue/utility_local_proof_of_stake_cli_CLI' into issue/…
deblasis a47ed37
docs(RPC): added swagger editor link
deblasis 8fd61cd
fix(RPC): added imports used in codegen files
deblasis 9fd0227
Merge branch 'issue/utility_local_proof_of_stake_cli_RPC' into issue/…
deblasis 267099c
feat(RPC): config proto
deblasis 4da3f54
feat(RPC): RPCModule and noopRpcModule
deblasis a5668c6
refactor(Shared): shared.Create -> shared.CreateNode
deblasis 8763125
refactor(RPC): moved scaffolding into rpc module
deblasis e42edbd
Merge branch 'issue/utility_local_proof_of_stake_cli_CLI' into issue/…
deblasis 50a365a
Merge branch 'issue/utility_local_proof_of_stake_cli_RPC' into issue/…
deblasis 014b647
fix(RPC): removed redundant file
deblasis baff109
fix(CLI): debug merge fix
deblasis ac514b3
docs(RPC): fixed link after refactoring
deblasis 843bc0c
docs(RPC): updated code organization post refactoring
deblasis f6b2457
Merge branch 'issue/utility_local_proof_of_stake_cli_RPC' into issue/…
deblasis 35f8ef2
Update app/client/cli/utils.go
deblasis bf38384
fix(RPC): gitignoring generated files
deblasis db4bbdd
style(Persistence): reverting space change
deblasis aa1c737
refactor(Defaults): runtime/defaults package
deblasis 65326d5
chore(CLI): issue handle
deblasis e626d93
chore(CLI): Issue #310 links
deblasis 67bc84c
refactor(CLI): preallocation fix
deblasis d3c726a
style(CLI): oneMillion
deblasis 8d7a1a4
style(CLI): s/RelayChainIDs/relayChainIDs
deblasis 27e36c2
feat(Utility): ActorType.GetName()
deblasis 1eabec4
chore(Utility): tracking issue #142
deblasis 13485a2
chore(Utility): GetBytes -> GetCanonicalBytes
deblasis ce28724
chore(CLI): actorCmd -> accountCmd
deblasis e91a1ab
docs(CLI): fromAddr note (address currently sourced from pk)
deblasis 476b124
Merge remote-tracking branch 'upstream/main' into issue/utility_local…
deblasis 3c0f0ba
chore(Runtime): new default value from main
deblasis c740614
refactor(CLI): moving utility functions in utils.go
deblasis 1a95835
chore(CLI): NewDebug -> NewDebugCommand
deblasis a80a81c
Merge branch 'issue/utility_local_proof_of_stake_cli_CLI' into issue/…
deblasis 4ea5f2c
Merge remote-tracking branch 'upstream/main' into issue/utility_local…
deblasis ab28db1
fix(RPC): gitignoring generated files
deblasis b4e074d
refactor(Consensus): mocks with Return(nil) and not Do(...)
deblasis e21da21
docs(RPC): updated changelog versions
deblasis 020232a
fix(Makefile): generate_rpc_openapi
deblasis 3fa07a2
fix(Makefile): fix for git clone + make develop_test
deblasis 26bedd7
Update rpc/v1/openapi.yaml
deblasis 2ea4c29
Merge branch 'issue/utility_local_proof_of_stake_cli_RPC' of github.c…
deblasis a386526
Update rpc/doc/CHANGELOG.md
deblasis 6060489
Update rpc/noop_module.go
deblasis b817942
Merge branch 'issue/utility_local_proof_of_stake_cli_RPC' of github.c…
deblasis 976af85
chore(Shared): added TODOes for ValidateXXX() in modules
deblasis 0fafac5
docs(RPC): broadcast_tx_sync summary updated
deblasis d620226
Update rpc/doc/README.md
deblasis 3f8d614
Update rpc/doc/README.md
deblasis 5e30739
Update rpc/doc/README.md
deblasis 9b63346
Merge branch 'issue/utility_local_proof_of_stake_cli_RPC' of github.c…
deblasis 1931fbb
fix(Makefile): gitignoring generated files breaks tests fix
deblasis f75a872
docs(CLI): added todos for exactArgs
deblasis ddff925
Merge remote-tracking branch 'upstream/main' into issue/utility_local…
deblasis c9c5ff5
Merge branch 'issue/utility_local_proof_of_stake_cli_CLI' into issue/…
deblasis 3e85a20
Merge branch 'issue/utility_local_proof_of_stake_cli_RPC' into issue/…
deblasis 45fcf0f
chore(RPC): added types.go
deblasis 83894a6
refactor(RPC): sourcing defaults from defaults not test_artifacts
deblasis 187615b
feat(CLI): system commands RPC🤝CLI
deblasis b495a0c
feat(Consensus): CurrentRound() and CurrentStep()
deblasis 2e07000
feat(RPC): /v1/consensus/round_state
deblasis cb3e615
feat(RPC): /v1/consensus/round_state handler
deblasis 4cfae32
feat(RPC): /v1/consensus/round_state
deblasis 4326fbe
Merge branch 'issue/utility_local_proof_of_stake_cli_RPC' into issue/…
deblasis 8aac6f4
refactor(CLI): system command typoes copypastas
deblasis df9ecd5
feat(CLI): consensus commands -RoundState and individual ones
deblasis b7623e4
chore(CLI): typo
deblasis 82defd6
docs(CLI): short commands descriptions
deblasis f128275
docs(Config): Adding some more color around configuration
deblasis 9bc8c90
Merge branch 'issue/utility_local_proof_of_stake_cli_RPC' into issue/…
deblasis 0d59799
fix(CLI): tx message signing
deblasis a5b5e6a
feat(CLI): reporting statuscode and body
deblasis 9bd355c
fix(Proto): deterministic
deblasis 3b51c76
refactor(CLI): prepareTxJSON -> prepareTxBytes
deblasis 7c3a741
docs(Docs): Adding some more color config + raw_hex_bytes
deblasis 0b6addd
Merge branch 'issue/utility_local_proof_of_stake_cli_RPC' into issue/…
deblasis f29bb7e
Merge branch 'issue/utility_local_proof_of_stake_cli_CLI' into issue/…
deblasis c9efa96
refactor(CLI): Stake command
deblasis 20c3918
fix(CLI): tx message signing
deblasis b0a5a78
feat(CLI): reporting statuscode and body
deblasis cbbeb97
Merge branch 'issue/utility_local_proof_of_stake_cli_CLI' into issue/…
deblasis 8c1952e
feat(Tooling): swagger-ui
deblasis bd9f0dd
feat(RPC): cors feature flag
deblasis 225be2f
Update utility/types/message.go
deblasis 5cecd49
chore(Runtime): comment spacing
deblasis 7238b03
docs(CLI): Changelog
deblasis a2d86d3
Merge branch 'issue/utility_local_proof_of_stake_cli_CLI' into issue/…
deblasis b9d9d1e
docs(CLI): changelog
deblasis 9a786d4
docs(RPC): changelog
deblasis d1b802f
chore(Runtime): comment spacing
deblasis 3550f4d
Update runtime/docs/README.md
deblasis 7dc0093
chore(Consensus): SetBus mock Do(func(modules.Bus) {}) -> Return()
deblasis ef62a95
Merge branch 'issue/utility_local_proof_of_stake_cli_RPC' of github.c…
deblasis d9743f5
refactor(Consensus): mocks with Return(nil) and not Do(...)
deblasis 2ec2448
chore(Consensus): SetBus mock Do(func(modules.Bus) {}) -> Return()
deblasis c22acd5
Merge branch 'issue/utility_local_proof_of_stake_cli_CLI' into issue/…
deblasis 206c98c
Merge branch 'issue/utility_local_proof_of_stake_cli_RPC' into issue/…
deblasis 16754c9
docs(Pocket): changelog
deblasis aae749d
Merge branch 'issue/utility_local_proof_of_stake_cli_RPC' into issue/…
deblasis 8e3cf02
Update app/pocket/doc/README.md
deblasis e023452
Update app/pocket/doc/README.md
deblasis 350f28a
docs(RPC): changelog
deblasis a6f17a7
Merge branch 'issue/utility_local_proof_of_stake_cli_RPC' of github.c…
deblasis 0cb1d2d
docs(RPC): docs TOC
deblasis 022becd
docs(RPC): Transports -> Endpoints
deblasis 5f2ba8b
feat(Tooling): swagger-ui
deblasis 15e326d
docs(RPC): swagger ui link to editor and ref to make cmd
deblasis e85f046
feat(rpcServer): rpcServer is now IntegratableModule
deblasis b26eb91
chore(Shared): tracking TODO (implement validations) #334
deblasis 9d11193
Merge branch 'issue/utility_local_proof_of_stake_cli_RPC' into issue/…
deblasis 1f2d6c6
Merge remote-tracking branch 'origin/main' into issue/utility_local_p…
deblasis ae931be
fix(RPC): merge fix
deblasis 39bc308
chore(go.mod): tidy
deblasis cb32e05
Merge branch 'issue/utility_local_proof_of_stake_cli_RPC' into issue/…
deblasis d163f12
chore(go.mod): tidy
deblasis f817f3c
feat(Tooling): added empty mock_module package for cold start
deblasis c268a99
Merge remote-tracking branch 'upstream/main' into issue/utility_local…
deblasis 52bf2c5
docs(RPC): nit
deblasis 7037ddc
Merge branch 'issue/utility_local_proof_of_stake_cli_RPC' into issue/…
deblasis ee7e263
Update app/client/cli/consensus.go
deblasis 709ca52
docs(CLI): better commands descriptions
deblasis f2c765f
feat(CLI): boldText helper
deblasis a8b2666
style(CLI): nit: real estate
deblasis 67d7e38
refactor(CLI): ConsensusState
deblasis 9aea8b6
docs(CLI): updated docs
deblasis aa53fab
docs(CLI): \n at the end of sentences in Stake command desc.
deblasis 967f85b
docs(CLI): regenerated docs
deblasis e9a742f
fix(RPC): int64 on RoundState fields
deblasis 9958b01
refactor(Shared): unexporting XXModuleName
deblasis 9ba7989
Merge remote-tracking branch 'upstream/main' into issue/utility_local…
deblasis 0b2e2f3
Merge remote-tracking branch 'upstream/main' into issue/utility_local…
deblasis d314441
Merge branch 'issue/utility_local_proof_of_stake_cli_RPC' into issue/…
deblasis 5ce3563
feat(node): single source of truth for version + overridable
deblasis 649396f
Merge branch 'issue/utility_local_proof_of_stake_cli_RPC' into issue/…
deblasis d177cbc
Merge remote-tracking branch 'upstream/main' into issue/utility_local…
deblasis File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 0 additions & 35 deletions
35
app/client/cli/doc/commands/client_Application_Stake_Custodial.md
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
## client Consensus | ||
|
||
Consensus specific commands | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for Consensus | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--path_to_private_key_file string Path to private key to use when signing (default "./pk.json") | ||
--remote_cli_url string takes a remote endpoint in the form of <protocol>://<host> (uses RPC Port) (default "http://localhost:50832") | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [client](client.md) - Pocket Network Command Line Interface (CLI) | ||
* [client Consensus Height](client_Consensus_Height.md) - Returns the Height | ||
* [client Consensus Round](client_Consensus_Round.md) - Returns the Round | ||
* [client Consensus State](client_Consensus_State.md) - Returns "Height/Round/Step" | ||
* [client Consensus Step](client_Consensus_Step.md) - Returns the Step | ||
|
||
###### Auto generated by spf13/cobra on 8-Nov-2022 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
## client Consensus Height | ||
|
||
Returns the Height | ||
|
||
### Synopsis | ||
|
||
Height returns the height in the node's current consensus state | ||
|
||
``` | ||
client Consensus Height [flags] | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for Height | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--path_to_private_key_file string Path to private key to use when signing (default "./pk.json") | ||
--remote_cli_url string takes a remote endpoint in the form of <protocol>://<host> (uses RPC Port) (default "http://localhost:50832") | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [client Consensus](client_Consensus.md) - Consensus specific commands | ||
|
||
###### Auto generated by spf13/cobra on 8-Nov-2022 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
## client Consensus Round | ||
|
||
Returns the Round | ||
|
||
### Synopsis | ||
|
||
Round returns the round in the node's current consensus state | ||
|
||
``` | ||
client Consensus Round [flags] | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for Round | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--path_to_private_key_file string Path to private key to use when signing (default "./pk.json") | ||
--remote_cli_url string takes a remote endpoint in the form of <protocol>://<host> (uses RPC Port) (default "http://localhost:50832") | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [client Consensus](client_Consensus.md) - Consensus specific commands | ||
|
||
###### Auto generated by spf13/cobra on 8-Nov-2022 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
## client Consensus State | ||
|
||
Returns "Height/Round/Step" | ||
|
||
### Synopsis | ||
|
||
State returns the height, round and step in "Height/Round/Step" format | ||
|
||
``` | ||
client Consensus State [flags] | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for State | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--path_to_private_key_file string Path to private key to use when signing (default "./pk.json") | ||
--remote_cli_url string takes a remote endpoint in the form of <protocol>://<host> (uses RPC Port) (default "http://localhost:50832") | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [client Consensus](client_Consensus.md) - Consensus specific commands | ||
|
||
###### Auto generated by spf13/cobra on 8-Nov-2022 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
## client Consensus Step | ||
|
||
Returns the Step | ||
|
||
### Synopsis | ||
|
||
Step returns the step in the node's current consensus state | ||
|
||
``` | ||
client Consensus Step [flags] | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for Step | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--path_to_private_key_file string Path to private key to use when signing (default "./pk.json") | ||
--remote_cli_url string takes a remote endpoint in the form of <protocol>://<host> (uses RPC Port) (default "http://localhost:50832") | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [client Consensus](client_Consensus.md) - Consensus specific commands | ||
|
||
###### Auto generated by spf13/cobra on 8-Nov-2022 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Optional nit: this formats as a single line in markdown github. Was that the intention or did you mean to split it out?
I'd add new lines to make reading easier but doesn't really matter.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense, updated 👍