다른 노드 주소로 위장하기

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.