Wallet merging of copies
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 42/100
- Issue type
- Refactor
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- java
- Domain
- backend-api-design, blockchain
Research direction
Start with the Wallet.merge() and Remote.pull() entry points, then inspect the Copies type and compare the linked Ruby merge implementation. Done means Wallet.merge(Copies) owns sorting and transaction merging, while Remote.pull() no longer sorts explicitly.
Written by the indexing model from the issue text.
Description
According to the whitepaper merging of two wallets is an operation of merging copies into a local one.
Merge algorithm first sorts the copies and then merges transactions from that copies.
Currently, sorting is done outside Wallet.merge() method. It is part of Remote.pull() method.
I propose to add an additional method to Wallet : Wallet merge(Copies copies) and remove explicit sorting from Remote.pull().
Similar to what we have in ruby version
- Dominant language
- Java
- Stars
- 22
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from zold-io/java-api
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug good first issue
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
bug help wanted
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
bug pdd
Difficulty 2/5 Under an hour Newbie friendliness 72/100
-
bug pdd
Difficulty 2/5 Under an hour Newbie friendliness 68/100
All issues in zold-io/java-api
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100