From 709ea1ebcb37de13e531182d0d5ea7b5ac3ebd47 Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Fri, 27 May 2022 13:57:52 -0400 Subject: [PATCH] set constant relayfee and and estimatefee values --- hub/herald/session.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/hub/herald/session.py b/hub/herald/session.py index 8400e75..79d3f59 100644 --- a/hub/herald/session.py +++ b/hub/herald/session.py @@ -1646,7 +1646,8 @@ class LBRYElectrumX(asyncio.Protocol): async def relayfee(self): """The minimum fee a low-priority tx must pay in order to be accepted to the daemon's memory pool.""" - return await self.daemon_request('relayfee') + # return await self.daemon_request('relayfee') + return 0.00001 async def estimatefee(self, number): """The estimated transaction fee per kilobyte to be paid for a @@ -1654,8 +1655,9 @@ class LBRYElectrumX(asyncio.Protocol): number: the number of blocks """ - number = non_negative_integer(number) - return await self.daemon_request('estimatefee', number) + # number = non_negative_integer(number) + # return await self.daemon_request('estimatefee', number) + return 0.00014601 async def ping(self): """Serves as a connection keep-alive mechanism and for the client to