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

Make BlockProcessor with less dependencies #354

Merged
merged 61 commits into from
Sep 18, 2018

Conversation

aboimpinto
Copy link
Contributor

According with issue #350, BlockProcessor has now less dependencies and with less "moving parts" to be considered.

Direct interaction of the BlockProcessor is with BlockPool and BlockPersister and no more reference to the BlockHeader that is now take care inside the BlockPersister.

This change is pushing down the treatment of the Block and BlockHeader as low as possible, close to the persistence implementation as described in the #351

aboimpinto and others added 30 commits July 10, 2018 02:13
…terface but it's not anymore, threfore should not carry the prefix "I" that identify the interfaces.
Black listed peers try to connect test
…ge of the method RandomInt.

* Small clean up on the UtCrypto
more tests will be added soon!
* Fix an inverted if logic. The code only enter in the While loop if the cancellation was requested and should be the other way around.
…ble and immutable).

The intenstion of this refactor is to bring better readability of the code and remove logic code from the DTO.
…esposable to Sign and Verify the block and the witness
…itness. Transaction, BlockHeader and Block OperationManager classes.

In this classes the verify method will be implemented.

CityOfZion#306, CityOfZion#307
…appen when the node start without genesis block.
@osmirnov osmirnov merged commit 3d872c2 into CityOfZion:development Sep 18, 2018
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