From cf99f733d98119f75e76d7ded31388de91de9c31 Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Sun, 15 Oct 2017 16:27:10 +0900 Subject: [PATCH] Remove the get_proof RPC. The client will get an unknown method error message instead. --- server/controller.py | 5 ----- server/session.py | 1 - 2 files changed, 6 deletions(-) diff --git a/server/controller.py b/server/controller.py index 85de543..09fc78d 100644 --- a/server/controller.py +++ b/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. diff --git a/server/session.py b/server/session.py index e870f81..0e163d8 100644 --- a/server/session.py +++ b/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':