Skip to content

Commit

Permalink
add wrapper for getnamesintrie
Browse files Browse the repository at this point in the history
-used for verifying db state against lbrycrd
  • Loading branch information
jackrobison committed Feb 24, 2021
1 parent 5698bb0 commit e0cd165
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lbry/wallet/server/daemon.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,11 @@ async def getvalueforname(self, name):
'''Given a name, returns the winning claim value.'''
return await self._send_single('getvalueforname', (name,))

@handles_errors
async def getnamesintrie(self):
'''Given a name, returns the winning claim value.'''
return await self._send_single('getnamesintrie')

@handles_errors
async def claimname(self, name, hexvalue, amount):
'''Claim a name, used for functional tests only.'''
Expand Down

0 comments on commit e0cd165

Please sign in to comment.