-
Notifications
You must be signed in to change notification settings - Fork 3
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
chore(relayer): prevent tx1 resubmission #28
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
3f0bb19
reporter uses notifier
Lazar955 1991b21
monitor uses notifier
Lazar955 55c846d
use btc client without subscription
Lazar955 eaa9900
remove zmq impl
Lazar955 8575dd1
update mocks
Lazar955 998cee9
cleanup unused code
Lazar955 376bc3a
cleanup
Lazar955 93f04e3
fix test
Lazar955 3d19173
build flag
Lazar955 e3eb8b7
rm commented out code
Lazar955 bdf4f9e
pr comments
Lazar955 f7335e2
btc scanner merge handle block logic
Lazar955 df198b3
rm unused code
Lazar955 e47d580
combine booststrap and blockevent handle
Lazar955 4fd5176
remove btcd handling in code
Lazar955 10de19b
update readme
Lazar955 ec26580
merge
Lazar955 db30811
update readme
Lazar955 f2ca5f9
update readme with bitcoind cmds
Lazar955 066a526
update readme link
Lazar955 f74d816
update bitcoind cmds
Lazar955 c8a5c36
prevent tx1 resubmission if tx2 fails
Lazar955 543812d
merge dev
Lazar955 d90117d
cleaner code
Lazar955 c773f7d
code and readibility cleanup
Lazar955 a6a0da0
more cleanup
Lazar955 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
better to have a doc string for this function saying that the tx1 should not be nil
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.
But this function uses tx1 implicitly through state, I'll add the doc string above, but I would live the check in
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.
yep yep, keeping the check is good here