Difference between revisions of "Agd start"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
  agd start --log_level=warn
 
  agd start --log_level=warn
  
agd start
+
== Errors ==
5:30PM INF starting [[ABCI]] with [[Tendermint]]
 
5:30PM INF Start chain delegating to JS executable args=["[[ag-chain-cosmos]]","--home","$HOME/.agoric","start"]
 
[[/usr/bin/env]]: ‘[[node]]’: No such file or directory
 
  
 
  [[agd]] start
 
  [[agd]] start
Line 19: Line 16:
 
  [[Error: error during handshake: error on replay: validator set is nil in genesis and still empty after InitChain]]
 
  [[Error: error during handshake: error on replay: validator set is nil in genesis and still empty after InitChain]]
 
  Usage:
 
  Usage:
  [[ag-chain-cosmos]] start [flags]
+
  .../..  
   
 
Flags:
 
      --abci string                                    specify abci transport (socket | grpc) (default "socket")
 
      --address string                                  Listen address (default "tcp://0.0.0.0:26658")
 
      --consensus.create_empty_blocks                  set this to false to only produce blocks when there are txs or when the AppHash changes (default true)
 
      --consensus.create_empty_blocks_interval string  the possible interval between empty blocks (default "0s")
 
      --consensus.double_sign_check_height int          how many blocks to look back to check existence of the node's consensus votes before joining consensus
 
      --cpu-profile string                              Enable CPU profiling and write to the provided file
 
      --db_backend string                              database backend: goleveldb | cleveldb | boltdb | rocksdb | badgerdb (default "goleveldb")
 
      --db_dir string                                  database directory (default "data")
 
      --fast_sync                                      fast blockchain syncing (default true)
 
      --genesis_hash bytesHex                          optional SHA-256 hash of the genesis file
 
      --grpc-web.address string                        The gRPC-Web server address to listen on (default "0.0.0.0:9091")
 
      --grpc-web.enable                                Define if the gRPC-Web server should be enabled. (Note: gRPC must also be enabled.) (default true)
 
      --grpc.address string                            the gRPC server address to listen on (default "0.0.0.0:9090")
 
      --grpc.enable                                    Define if the gRPC server should be enabled (default true)
 
      --halt-height uint                                Block height at which to gracefully halt the chain and shutdown the node
 
      --halt-time uint                                  Minimum block time (in Unix seconds) at which to gracefully halt the chain and shutdown the node
 
  -h, --help                                            help for start
 
      --inter-block-cache                              Enable inter-block caching (default true)
 
      --inv-check-period uint                          Assert registered invariants every N blocks
 
      --min-retain-blocks uint                          Minimum block height offset during ABCI commit to prune Tendermint blocks
 
      --minimum-gas-prices string                      Minimum gas prices to accept for transactions; Any fee in a tx must meet this minimum (e.g. 0.01photino;0.0001stake)
 
      --moniker string                                  node name (default "ubuntu-4gb-nbg1-1")
 
      --p2p.laddr string                                node listen address. (0.0.0.0:0 means any interface, any port) (default "tcp://0.0.0.0:26656")
 
      --p2p.persistent_peers string                    comma-delimited ID@host:port persistent peers
 
      --p2p.pex                                        enable/disable Peer-Exchange (default true)
 
      --p2p.private_peer_ids string                    comma-delimited private peer IDs
 
      --p2p.seed_mode                                  enable/disable seed mode
 
      --p2p.seeds string                                comma-delimited ID@host:port seed nodes
 
      --p2p.unconditional_peer_ids string              comma-delimited IDs of unconditional peers
 
      --p2p.upnp                                        enable/disable UPNP port forwarding
 
      --priv_validator_laddr string                    socket address to listen on for connections from external priv_validator process
 
      --proxy_app string                                proxy app address, or one of: 'kvstore', 'persistent_kvstore', 'counter', 'e2e' or 'noop' for local testing. (default "tcp://127.0.0.1:26658")
 
      --pruning string                                  Pruning strategy (default|nothing|everything|custom) (default "default")
 
      --pruning-interval uint                          Height interval at which pruned heights are removed from disk (ignored if pruning is not 'custom')
 
      --pruning-keep-every uint                        Offset heights to keep on disk after 'keep-every' (ignored if pruning is not 'custom')
 
      --pruning-keep-recent uint                        Number of recent heights to keep on disk (ignored if pruning is not 'custom')
 
      --rpc.grpc_laddr string                          GRPC listen address (BroadcastTx only). Port required
 
      --rpc.laddr string                                RPC listen address. Port required (default "tcp://127.0.0.1:26657")
 
      --rpc.pprof_laddr string                          pprof listen address (https://golang.org/pkg/net/http/pprof)
 
      --rpc.unsafe                                      enabled unsafe rpc methods
 
      --state-sync.snapshot-interval uint              State sync snapshot interval
 
      --state-sync.snapshot-keep-recent uint32          State sync snapshot to keep (default 2)
 
      --trace-store string                              Enable KVStore tracing to an output file
 
      --transport string                                Transport protocol: socket, grpc (default "socket")
 
      --unsafe-skip-upgrades ints                      Skip a set of upgrade heights to continue the old binary
 
      --with-tendermint                                Run abci app embedded in-process with tendermint (default true)
 
      --x-crisis-skip-assert-invariants                Skip x/crisis invariants check on startup
 
 
 
Global Flags:
 
      --home string        directory for config and data (default "/root/.ag-chain-cosmos")
 
      --log_format string  The logging format (json|plain) (default "plain")
 
      --log_level string    The logging level (trace|debug|info|warn|error|fatal|panic) (default "info")
 
      --trace              print out full stack trace on errors
 
  
 
   
 
   
 +
agd start
 +
5:30PM INF starting [[ABCI]] with [[Tendermint]]
 +
5:30PM INF Start chain delegating to JS executable args=["[[ag-chain-cosmos]]","--home","$HOME/.agoric","start"]
 +
[[/usr/bin/env]]: ‘[[node]]’: No such file or directory
  
 
== Related ==
 
== Related ==
Line 85: Line 31:
 
  [[Error: error during handshake: error on replay: validator set is nil in genesis and still empty after InitChain]]
 
  [[Error: error during handshake: error on replay: validator set is nil in genesis and still empty after InitChain]]
 
  [[$HOME/.agoric/config/genesis.json]]
 
  [[$HOME/.agoric/config/genesis.json]]
 +
[[testnet.agoric.net]]
  
 
== See also ==
 
== See also ==

Latest revision as of 15:56, 1 September 2022

agd start --help
agd start
agd start --log_level=warn

Errors[edit]

agd start
.../...
2022/08/15 12:15:56 Running SwingSet until bootstrap is ready
Loading makeSlogSender from @agoric/telemetry/src/flight-recorder.js
2022-08-15T20:15:56.833Z launch-chain: Launching SwingSet kernel
.../...
Error: error during handshake: error on replay: validator set is nil in genesis and still empty after InitChain
Usage:
.../.. 


agd start
5:30PM INF starting ABCI with Tendermint
5:30PM INF Start chain delegating to JS executable args=["ag-chain-cosmos","--home","$HOME/.agoric","start"]
/usr/bin/env: ‘node’: No such file or directory

Related[edit]

agd init
agd status
ag-chain-cosmos start
$HOME/.agoric/config/app.toml
Error: error during handshake: error on replay: validator set is nil in genesis and still empty after InitChain
$HOME/.agoric/config/genesis.json
testnet.agoric.net

See also[edit]

Advertising: