伪装为另一个节点地址

从 Smartnode 版本 v1.15.7 开始,用户将能够模拟任意地址的行为。在伪装为另一个地址时, 您的节点将继续使用您的节点地址执行节点和监视塔任务循环,并使用您的 validator 密钥执行诸如证明等职责。您将无法 以伪装的地址提交交易或签署消息。此功能对于支持和调试特别有用。

如果您希望通过另一个节点地址的视角与 Smartnode 交互,请使用以下命令:rocketpool wallet masquerade

rp@user:~$ rocketpool wallet masquerade

Masquerading allows you to set your node address to any address you want. All commands will
act as though your node wallet is for that address. Since you don't have the private key for
that address, you can't submit transactions or sign messages though; commands will be read-only
until you end the masquerade with `rocketpool wallet end-masquerade`.

Please enter an address to masquerade as:
0xcaB549EdE082592D10FE6a238e7e8914aD3a074d

Are you sure you want to masquerade as 0xcaB549EdE082592D10FE6a238e7e8914aD3a074d? [y/n]
y

Your node is now masquerading as address 0xcaB549EdE082592D10FE6a238e7e8914aD3a074d.

当您完成伪装模式后,只需运行 rocketpool wallet end-masquerade 并按照提示操作:

rp@user:~$ rocketpool wallet end-masquerade

The node wallet is 0xE8325F5f4486c2FF2AC7B522Fbc9eB249d46C936. You will no longer be masquerading as 0xcaB549EdE082592D10FE6a238e7e8914aD3a074d.

Are you sure you want to end masquerade mode? [y/n]
y

Successfully ended masquerade mode.

此外,您可以通过运行 rocketpool wallet status 检查节点钱包的状态:

rp@node:~$ rocketpool wallet status

Your Smart Node is currently using the Hoodi Test Network.

The node wallet is initialized, but you are currently masquerading as 0xcaB549EdE082592D10FE6a238e7e8914aD3a074d
Wallet Address: 0xE8325F5f4486c2FF2AC7B522Fbc9eB249d46C936
Due to this mismatch, the node cannot submit transactions. Use the command 'rocketpool wallet end-masquerade' to end masquerading and restore your wallet address.