-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Make preconfirmation optional on API endpoints #2925
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
Changes from 22 commits
e93324b
c1c1a04
3922b3d
e052e10
2c6ff01
ff1d2ac
be78e5b
d1cedac
deb4c78
5d7b07b
79ce8b0
ad46cde
fc91841
ec3c92f
f4591cd
e94b818
b5f5a63
6a75a49
d9d1cf7
c42573d
1e47f97
cf7fd60
1075737
114d0ac
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Make preconfirmation optional on API endpoints. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -523,6 +523,14 @@ impl CombinedDatabase { | |
|
|
||
| Ok(()) | ||
| } | ||
|
|
||
| pub fn shutdown(self) { | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This seems unrelated to the main PR. Does this have a specific purpose compared to just dropping the handles? I'm fine with doing this here, but maybe the changelog should mention it?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. cc @xgreenx that added this change
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. CI was failing constantly with SIGSEG, so I fixed that by adding it=D |
||
| self.on_chain.shutdown(); | ||
| self.off_chain.shutdown(); | ||
| self.relayer.shutdown(); | ||
| self.gas_price.shutdown(); | ||
| self.compression.shutdown(); | ||
| } | ||
| } | ||
|
|
||
| /// A trait for listening to shutdown signals. | ||
|
|
||
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.
nit: I'd prefer either
includePrecofirmationsor justpreconfirmationsThere 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.
Changed to
includePrecomfirmationit's still singular as you can only receive 1 preconfirmation for a TX.