Skip to content

feat(wallet-lib): ChainStore#196

Merged
Alex-Werner merged 2 commits into
v0.22-devfrom
feat/chainstore
Jan 19, 2022
Merged

feat(wallet-lib): ChainStore#196
Alex-Werner merged 2 commits into
v0.22-devfrom
feat/chainstore

Conversation

@Alex-Werner
Copy link
Copy Markdown
Contributor

Issue being fixed or feature implemented

In dashevo/wallet-lib#351, we introduced multiple features that couldn't be managed as is due to its size.
This PR is the least minimal of them concerning ChainStore (excluding the connection to Wallet-lib) itself.

ChainStore holds any information that is relatives to a specific network.
Information such as blockHeaders, transactions, instantLocks.
Also holds the state of addresses based on the transactions imported (e.g: balances and utxos).

What was done?

  • feat: introduced ChainStore types

How Has This Been Tested?

Breaking Changes

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

@lgtm-com
Copy link
Copy Markdown

lgtm-com Bot commented Jan 17, 2022

This pull request introduces 3 alerts when merging 009b365 into a846ce2 - view on LGTM.com

new alerts:

  • 3 for Unused variable, import, function or class

@shumkov shumkov changed the title feat: added ChainStore feat(wallet-lib): ChainStore Jan 17, 2022
Copy link
Copy Markdown
Collaborator

@shumkov shumkov left a comment

Choose a reason for hiding this comment

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

LGTM! 👍

@Alex-Werner Alex-Werner merged commit 770473c into v0.22-dev Jan 19, 2022
@Alex-Werner Alex-Werner deleted the feat/chainstore branch January 19, 2022 19:56
@shumkov shumkov added this to the v0.22.0 milestone Feb 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants