-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Reliable queuing in the cardano-backer #5
base: feat/watchpoc
Are you sure you want to change the base?
Conversation
205e7b8
to
41381ff
Compare
|
||
valid_backer_seals = 0 | ||
# Should check when create identifiers only | ||
if ilk in (Ilks.icp, Ilks.rot): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you change the comment to: @TODO - Should allow other methods, and check that backer trait set most recently to Cardano
, as the current comment is wrong.
src/backer/backering.py
Outdated
@@ -376,13 +380,14 @@ def __next__(self): | |||
class MailboxIterable: | |||
TimeoutMBX = 30000000 | |||
|
|||
def __init__(self, mbx, pre, topics, retry=5000, hab=None, ledger=None): | |||
def __init__(self, mbx, pre, topics, retry=5000, hab=None, ledger=None, queue=None): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
queue
shouldn't default to None
as we need it. Also, I think we can remove ledger
completely, and just check if topic == "/receipt"
b3d49fc
to
75aefb8
Compare
Context
Change
Ticket