-
Notifications
You must be signed in to change notification settings - Fork 198
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add pendingBlock feed * Use pendingBlock.Transactions instead of pendingTxs * Remove SubscribePendingTxs() from sync.Reader * Use pendingSub to update transaction status * Send events from pending block instead of new Head * Remove ErrCallOnPending * wip * Use SubscriptionBlockID instead of BlockID fix nil blockid interface * Add max websocket connections * Fix sending of pending events remove equal * Use BlockIdentifier interface * Fix intermittent TestSubscribeEvents error * add tests for new blocks * Revert "Fix intermittent TestSubscribeEvents error" This reverts commit 48b4202. * use atomics for websocket connection count * remove func() from defer Co-authored-by: Daniil Ankushin <ankushin.daniil42@gmail.com> Signed-off-by: Ng Wei Han <47109095+weiihann@users.noreply.github.com> --------- Signed-off-by: Ng Wei Han <47109095+weiihann@users.noreply.github.com> Co-authored-by: weiihann <weihan774237@gmail.com> Co-authored-by: Ng Wei Han <47109095+weiihann@users.noreply.github.com> Co-authored-by: Daniil Ankushin <ankushin.daniil42@gmail.com>
- Loading branch information
1 parent
6255436
commit 198443f
Showing
10 changed files
with
374 additions
and
172 deletions.
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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.