Remove the get_proof RPC.
The client will get an unknown method error message instead.
This commit is contained in:
parent
5c7bf3cce9
commit
cf99f733d9
@ -789,11 +789,6 @@ class Controller(ServerBase):
|
|||||||
hashX = self.scripthash_to_hashX(scripthash)
|
hashX = self.scripthash_to_hashX(scripthash)
|
||||||
return await self.unconfirmed_history(hashX)
|
return await self.unconfirmed_history(hashX)
|
||||||
|
|
||||||
async def address_get_proof(self, address):
|
|
||||||
'''Return the UTXO proof of an address.'''
|
|
||||||
hashX = self.address_to_hashX(address)
|
|
||||||
raise RPCError('address.get_proof is not yet implemented')
|
|
||||||
|
|
||||||
async def hashX_listunspent(self, hashX):
|
async def hashX_listunspent(self, hashX):
|
||||||
'''Return the list of UTXOs of a script hash.
|
'''Return the list of UTXOs of a script hash.
|
||||||
|
|
||||||
|
|||||||
@ -418,7 +418,6 @@ class ElectrumX(SessionBase):
|
|||||||
if ptuple < (1, 1):
|
if ptuple < (1, 1):
|
||||||
# Methods or semantics unique to 1.0 and earlier protocols
|
# Methods or semantics unique to 1.0 and earlier protocols
|
||||||
handlers.update({
|
handlers.update({
|
||||||
'blockcahin.address.get_proof': controller.address_get_proof,
|
|
||||||
'blockchain.numblocks.subscribe': self.numblocks_subscribe,
|
'blockchain.numblocks.subscribe': self.numblocks_subscribe,
|
||||||
'blockchain.utxo.get_address': controller.utxo_get_address,
|
'blockchain.utxo.get_address': controller.utxo_get_address,
|
||||||
'blockchain.transaction.broadcast':
|
'blockchain.transaction.broadcast':
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user