Missing some blocks - playing around with update_witness command and using past, present, and new keys.
1) On 1st server blocks are being signed.
1) On 2nd server I launched the witness_node with new keys.
2) On 2nd server I started a client with a new wallet
4) On 2nd server I import_key "riverhead" "privatekeyhere" and it returns "false"
5) On 2nd server if I type "list_my_accounts" I see riverhead but it has the key from server 1 (the active witness key)
6) On 2nd server if I type "dump_private_keys" I see the pub/priv key pair from step 4
7) On 2nd server type: update_witness "riverhead" "publickeyfromstep 4" which returns:
update_witness riverhead "" "GPH5AB42MtMGrcnjtgSjwSp7T6u79Te3FnGKC5gj7vdUKNQ9hU1AL" true
10 assert_exception: Assert Exception
it != _keys.end():
{}
th_a wallet.cpp:602 get_private_key
{"witness_name":"riverhead","url":"","block_signing_key":"GPH5AB42MtMGrcnjtgSjwSp7T6u79Te3FnGKC5gj7vdUKNQ9hU1AL","broadcast":true}
th_a wallet.cpp:1401 update_witness
unlocked >>>
Dumping private keys on the 2nd server returns the pub/priv key for the U1AL pair.
Hi,
Similar steps, but in the same server.
1. Update / compile previous installation in another directory.
2. Run witness / not producing blocks to sync
3. Open client pointing to original witness
4. suggest_brain_key
5. Close new witness and restart with new port for rpc, and new key pair.
6. Back to client (still running) and update_witness betaxtrade "" "PUBLIC KEY" true
7. Get witness, and signing key is the new one
8. Run a few times get witness to see i am producing blocks
9. Confusing part.. dump_private_keys has the old one.
10. Stop other witness
11. Start cli with new port