Browse Source

Remove the get_proof RPC.

The client will get an unknown method error message instead.
patch-1
Neil Booth 8 years ago
parent
commit
cf99f733d9
  1. 5
      server/controller.py
  2. 1
      server/session.py

5
server/controller.py

@ -789,11 +789,6 @@ class Controller(ServerBase):
hashX = self.scripthash_to_hashX(scripthash)
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):
'''Return the list of UTXOs of a script hash.

1
server/session.py

@ -418,7 +418,6 @@ class ElectrumX(SessionBase):
if ptuple < (1, 1):
# Methods or semantics unique to 1.0 and earlier protocols
handlers.update({
'blockcahin.address.get_proof': controller.address_get_proof,
'blockchain.numblocks.subscribe': self.numblocks_subscribe,
'blockchain.utxo.get_address': controller.utxo_get_address,
'blockchain.transaction.broadcast':

Loading…
Cancel
Save