Skip to content
This repository was archived by the owner on Jul 27, 2022. It is now read-only.

Problem: (CRO-215) Transaction synchronization code is tightly coupled with transaction index#222

Merged
tomtau merged 1 commit intocrypto-com:masterfrom
devashishdxt:transaction-handler
Jul 22, 2019
Merged

Problem: (CRO-215) Transaction synchronization code is tightly coupled with transaction index#222
tomtau merged 1 commit intocrypto-com:masterfrom
devashishdxt:transaction-handler

Conversation

@devashishdxt
Copy link
Copy Markdown
Contributor

Solution: This is first of a series of PRs which will slowly extract out all the transaction synchronization code from transaction index

…d with transaction index

Solution This is first of a series of PRs which will slowly extract out all the transaction synchronization code from transaction index
@devashishdxt
Copy link
Copy Markdown
Contributor Author

Code in TransactionHandler is almost exactly similar to current code in DefaultIndex. In future PRs, I'll be deleting the duplicate code from DefaultIndex and using TransactionHandler for synchronization.

Copy link
Copy Markdown
Contributor

@tomtau tomtau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@tomtau tomtau merged commit 58f8c84 into crypto-com:master Jul 22, 2019
@codecov
Copy link
Copy Markdown

codecov bot commented Jul 22, 2019

Codecov Report

❗ No coverage uploaded for pull request base (master@f54a28c). Click here to learn what that means.
The diff coverage is 63.84%.

@@           Coverage Diff            @@
##             master    #222   +/-   ##
========================================
  Coverage          ?   76.5%           
========================================
  Files             ?      89           
  Lines             ?    8988           
  Branches          ?       0           
========================================
  Hits              ?    6876           
  Misses            ?    2112           
  Partials          ?       0
Impacted Files Coverage Δ
client-index/src/lib.rs 0% <ø> (ø)
...work/src/network_ops/default_network_ops_client.rs 92.36% <0%> (ø)
client-rpc/src/client_rpc.rs 54.11% <0%> (ø)
client-index/src/index/unauthorized_index.rs 42.85% <25%> (ø)
client-index/src/index/default_index.rs 3.79% <42.85%> (ø)
client-core/src/wallet/default_wallet_client.rs 91.15% <44.44%> (ø)
...t-index/src/handler/default_transaction_handler.rs 69.07% <69.07%> (ø)

@devashishdxt devashishdxt deleted the transaction-handler branch July 23, 2019 06:57
bors bot added a commit that referenced this pull request Oct 2, 2019
441: Bump ethbloom from 0.7.0 to 0.8.0 r=devashishdxt a=dependabot-preview[bot]

Bumps [ethbloom](https://github.com/paritytech/parity-common) from 0.7.0 to 0.8.0.
<details>
<summary>Commits</summary>

- [`1e9f990`](paritytech/parity-common@1e9f990) update rand to 0.7 (breaking change) ([#217](https://github-redirect.dependabot.com/paritytech/parity-common/issues/217))
- [`f884d77`](paritytech/parity-common@f884d77) Fix deprecation warning ([#168](https://github-redirect.dependabot.com/paritytech/parity-common/issues/168))
- [`b0ec18d`](paritytech/parity-common@b0ec18d) Fix typos ([#229](https://github-redirect.dependabot.com/paritytech/parity-common/issues/229))
- [`28781a0`](paritytech/parity-common@28781a0) Bump parking_lot version ([#227](https://github-redirect.dependabot.com/paritytech/parity-common/issues/227))
- [`bf0ba84`](paritytech/parity-common@bf0ba84) [kvdb-web] bump futures-preview to 0.3.0-alpha.18 ([#225](https://github-redirect.dependabot.com/paritytech/parity-common/issues/225))
- [`31b6479`](paritytech/parity-common@31b6479) [kvdb-web] indexeddb implementation ([#202](https://github-redirect.dependabot.com/paritytech/parity-common/issues/202))
- [`085d18b`](paritytech/parity-common@085d18b) [kvdb-memorydb] Migrated code to 2018 edition, updated parking_lot ([#222](https://github-redirect.dependabot.com/paritytech/parity-common/issues/222))
- [`baf1df9`](paritytech/parity-common@baf1df9) Migrated code to 2018 edition, updated dependencies ([#221](https://github-redirect.dependabot.com/paritytech/parity-common/issues/221))
- [`6a580c1`](paritytech/parity-common@6a580c1) Bump version ([#219](https://github-redirect.dependabot.com/paritytech/parity-common/issues/219))
- [`67a9e7d`](paritytech/parity-common@67a9e7d) Find PendingIterator in Transaction Pool ([#218](https://github-redirect.dependabot.com/paritytech/parity-common/issues/218))
- Additional commits viewable in [compare view](paritytech/parity-common@ethbloom-v0.7.0...ethbloom-v0.8.0)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=ethbloom&package-manager=cargo&previous-version=0.7.0&new-version=0.8.0)](https://dependabot.com/compatibility-score.html?dependency-name=ethbloom&package-manager=cargo&previous-version=0.7.0&new-version=0.8.0)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

</details>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants