修改validator 节点的名称

修改验证者的名称

使用RPC命令修改 validator的名称

cetcli tx staking edit-validator --moniker=ludete --chain-id=coinexdex-test1 --from=coinex1krhf7k0w6c45xc52l3xez0adtq88alewf7zzmx --gas=200000 --fees=400000000cet

  • –moniker : validator 节点新的名称
  • –from : valuator的操作者地址
  • –chain-id : validator所在的链ID

查询修改后的validator 名称

cetcli q staking validator coinexvaloper1krhf7k0w6c45xc52l3xez0adtq88alewj3p24j --chain-id=coinexdex

  operatoraddress: coinexvaloper1krhf7k0w6c45xc52l3xez0adtq88alewj3p24j
  conspubkey: coinexvalconspub1zcjduepqtj3xxzslfpf9g6spgquc6fdaud54x8walzmdhwy78eqv83extmaqyxujch
  jailed: false
  status: 2
  tokens: "1000000000000000"
  delegatorshares: "1000000000000000.000000000000000000"
  description:
    moniker: ludete
    identity: ""
    website: ""
    details: ""
  unbondingheight: 0
  unbondingcompletiontime: 1970-01-01T00:00:00Z
  commission:
    commission_rates:
      rate: "0.100000000000000000"
      max_rate: "0.200000000000000000"
      max_change_rate: "0.010000000000000000"
    update_time: 2019-11-12T02:06:05.596387Z
  minselfdelegation: "1000000000000000"
  • 查询的参数为validator 的操作地址
    • 示例:coinexvaloper1krhf7k0w6c45xc52l3xez0adtq88alewj3p24j

应答

  • moniker : validator的名称