add wrapper for getnamesintrie

-used for verifying db state against lbrycrd
This commit is contained in:
Jack Robison 2021-02-24 15:22:44 -05:00
parent b7df277a5c
commit 04bb7b4919
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -364,6 +364,11 @@ class LBCDaemon(Daemon):
'''Given a name, returns the winning claim value.''' '''Given a name, returns the winning claim value.'''
return await self._send_single('getvalueforname', (name,)) 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 @handles_errors
async def claimname(self, name, hexvalue, amount): async def claimname(self, name, hexvalue, amount):
'''Claim a name, used for functional tests only.''' '''Claim a name, used for functional tests only.'''