Does submitblock require the wallets private key?

0

I would like to know if invoking the submitblock RPC is supposed to work if the daemon that handles the RPC does not have the private-keys for to the coinbase output address?

Oliver Weichhold

Posted 2018-11-19T17:57:51.153

Reputation: 55

Answers

3

submitblock is not a wallet RPC so it does not need private keys nor is it related to anything in the wallet. It can be used even if the wallet is disabled.

Andrew Chow

Posted 2018-11-19T17:57:51.153

Reputation: 40 910

So submitting a block to a node on behalf of your "real" wallet controlled by another node is a supported use case?Oliver Weichhold 2018-11-19T18:21:53.917

Yes. Block's aren't tied to wallets... You don't need a wallet to create a block, and a block does not need to be created by a wallet.Andrew Chow 2018-11-19T18:25:56.653

I ran into this issue https://github.com/vergecurrency/VERGE/issues/646 but hey that's VERGE /sigh

Oliver Weichhold 2018-11-19T18:29:11.950