mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 20:42:59 +01:00
8cac4ed930
07cae5287c [wallet] remove unused GetScriptForMining (Sjors Provoost) 8bb3e4c487 [rpc] remove deprecated generate method (Sjors Provoost) Pull request description: As announced in v0.18, the wallet generate rpc method is deprecated and will be fully removed in v0.19. Clients should transition to using the node rpc method `generatetoaddress`. Tree-SHA512: 9e5e913b59f3e18440b2b7b356124c7b87ad19f81a1ab6ada06a6c396b84e734895465f569296f1ba8c12abf74863bab5fd77765c9e806c239713aa83a59485f
641 B
641 B
Deprecated or removed RPCs
- The wallet's
generate
RPC method was deprecated in v0.18 and has now been fully removed. This RPC is only used for testing, but its implementation reached across multiple subsystems (wallet and mining), so it has been removed to simplify the wallet-node interface. Projects that are usinggenerate
for testing purposes should transition to using thegeneratetoaddress
RPC, which does not require or use the wallet component. Callinggeneratetoaddress
with an address returned by thegetnewaddress
RPC gives the same functionality as the oldgenerate
RPC.