input-output-hk / cardano-rt-view

RTView: real-time watching for Cardano nodes (ARCHIVED)
Apache License 2.0
59 stars 11 forks source link

KES values are not shown for Producer node #36

Closed dorin100 closed 4 years ago

dorin100 commented 4 years ago

Producer node is not shown as started in RT-View even it is connected and synced through Relay (peer) node.

Steps to reproduce:

  1. start RT-View
  2. start relay node - cardano-node.exe run --topology ./shelley_qa-topology.json --database-path ./state --port 3002 --config ./shelley_qa-config.json --socket-path \\.\pipe\cardano-node2
  3. start producer node - cardano-node.exe run --topology ./shelley_qa-topology.json --database-path ./state --host-addr 127.0.0.1 --port 3003 --config ./shelley_qa-config.json --socket-path \\.\pipe\cardano-node3 --shelley-kes-key pool_kes.skey --shelley-vrf-key pool_vrf.skey --shelley-operational-certificate pool_operational.cert

image

Files:

dorin100 commented 4 years ago

I created and registered a new stake pool on shelley_qa but when starting the node (as Producer), the KES values are still not populated.

Steps to reproduce:

cardano-cli.exe shelley node key-gen-KES --verification-key-file pool_kes.vkey --signing-key-file pool_kes.skey
cardano-cli.exe shelley node key-gen-VRF --verification-key-file pool_vrf.vkey --signing-key-file pool_vrf.skey
cardano-cli.exe shelley node key-gen --verification-key-file pool_cold.vkey --signing-key-file pool_cold.skey --operational-certificate-issue-counter pool_cold.counter
cardano-cli.exe shelley node issue-op-cert --kes-verification-key-file pool_kes.vkey --cold-signing-key-file pool_cold.skey --operational-certificate-issue-counter pool_cold.counter --kes-period 34 --out-file pool_operational.cert
cardano-cli.exe shelley stake-pool registration-certificate --pool-pledge 0 --pool-cost 340000000 --pool-margin 0.25 --vrf-verification-key-file pool_vrf.vkey --cold-verification-key-file pool_cold.vkey --pool-owner-stake-verification-key-file pool_owner_stake.vkey --pool-reward-account-verification-key-file pool_owner_stake.vkey --metadata-url https://raw.githubusercontent.com/truststapool/a/master/a.json --metadata-hash 1840b5ee910b9a160c351bdc108e3099546e6b87895b4de1c88c54d4d2ee500f --pool-relay-port 3002 --pool-relay-ipv4 127.0.0.1 --testnet-magic 3 --out-file pool_registration.cert

cardano-cli.exe shelley stake-address registration-certificate --stake-verification-key-file pool_owner_stake.vkey --out-file pool_owner_stake_registration.cert
cardano-cli.exe shelley stake-address delegation-certificate --stake-verification-key-file pool_owner_stake.vkey --cold-verification-key-file pool_cold.vkey --out-file pool_owner_stake_delegation.cert

cardano-cli shelley query protocol-parameters --testnet-magic 3 --out-file protocol-params.json

CHANGE = 989497622575 - 200000 - 500000000 = 988997422575

cardano-cli.exe shelley transaction build-raw --fee 200000 --ttl 4561880 --out-file tx_raw_01.body --tx-in 1975f5310335d7dcca12d9601c4c81701f7e39dbff629c2fef90f7ff148383f4#0 --tx-out addr_test1qqfptfnxfa2nw60ervnlwjvewj6lu92ugmsy8aqeqckhj6p7kgzn7726uetpwk35sagrj9hay98f57dlhpgw0r6g7t0qwft3k2+988997422575 --certificate-file pool_registration.cert  
cardano-cli.exe shelley transaction sign --testnet-magic 3 --tx-body-file tx_raw_01.body --signing-key-file pool_owner.skey --signing-key-file pool_owner_stake.skey --signing-key-file pool_cold.skey --out-file tx_raw_01.signed
cardano-cli.exe shelley transaction submit --testnet-magic 3 --tx-file tx_raw_01.signed 

OS: windows 10

denisshevchenko commented 4 years ago

The problem was in the node's configuration.