Skip to content
This repository was archived by the owner on Apr 9, 2024. It is now read-only.

refactor(service): use db tip to swap current tip #315

Merged
merged 4 commits into from
Nov 22, 2021
Merged

refactor(service): use db tip to swap current tip #315

merged 4 commits into from
Nov 22, 2021

Conversation

KaoImin
Copy link

@KaoImin KaoImin commented Nov 22, 2021

What this PR does / why we need it:

  1. Add a use tx pool cache option that the default value is true. This is used for integration tests.
  2. Use db tip to swap current tip.

Which issue(s) this PR fixes:

Fixes #

Which docs this PR relation:

Ref #

Which toolchain this PR adaption:

No Breaking Change

Special notes for your reviewer:

@KaoImin KaoImin changed the title feat(config): add a use tx pool cache option refactor(service): use db tip to swap current tip Nov 22, 2021
@KaoImin KaoImin requested a review from zhengjianhui November 22, 2021 09:09
@rev-chaos rev-chaos merged commit 0ce8c9c into dev Nov 22, 2021
@KaoImin KaoImin deleted the prepare branch November 22, 2021 09:28
KaoImin pushed a commit that referenced this pull request Dec 1, 2021
* feat: add use tx pool cache config

* fix network type

* update docs

* refactor swap tip in readonly mode
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants