Skip to content
This repository has been archived by the owner on Jun 17, 2020. It is now read-only.

Check if we know about blocks by hash, not just height, add basic tests #167

Merged
merged 2 commits into from Aug 22, 2018

Conversation

chirhonul
Copy link
Member

Check new blocks by hash, not just height.

Add basic BsqStateServiceTest class.

Currently only tests the isBlockHashKnown() method added in 26842d1.

Also add a new TODO about performance implications, since we store
blocks in a LinkedList currently, which has linear time to scan through
for the block we are looking for.
Currently only tests the isBlockHashKnown() method added in 26842d1.
Copy link
Member

@ManfredKarrer ManfredKarrer left a comment

Choose a reason for hiding this comment

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

utACK

@ManfredKarrer ManfredKarrer merged commit e8ace78 into bisq-network:master Aug 22, 2018
@chirhonul chirhonul deleted the 1808-check-blockhash branch August 27, 2018 11:41
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.

None yet

2 participants