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

first steps to sync #456

Merged
merged 88 commits into from Oct 1, 2018
Merged

first steps to sync #456

merged 88 commits into from Oct 1, 2018

Conversation

aboimpinto
Copy link
Contributor

Remove some exception throw because they are getting swallow by async/await pattern and all the BlockHeader now have the type = header.

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.
aboimpinto and others added 24 commits September 21, 2018 02:13
…tsBuilder and clean up the comment and not used method in Blockchain class. All BlockModel variables were renamed to BlockRepository
…/await pattern and all the BlockHeader now have the type = header.
@codecov
Copy link

codecov bot commented Oct 1, 2018

Codecov Report

❗ No coverage uploaded for pull request base (development@a839387). Click here to learn what that means.
The diff coverage is 16.66%.

Impacted file tree graph

@@              Coverage Diff               @@
##             development     #456   +/-   ##
==============================================
  Coverage               ?   54.03%           
==============================================
  Files                  ?      298           
  Lines                  ?    12354           
  Branches               ?        0           
==============================================
  Hits                   ?     6676           
  Misses                 ?     5678           
  Partials               ?        0
Impacted Files Coverage Δ
...Models/OperationManger/WitnessOperationsManager.cs 63.63% <0%> (ø)
...Sharp.Core/Blockchain/Processing/BlockPersister.cs 0% <0%> (ø)
...Sharp.Core/Blockchain/Processing/BlockProcessor.cs 100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a839387...b22c32e. Read the comment docs.

@@ -52,6 +52,7 @@ public async Task Persist(params BlockHeader[] blockHeaders)

foreach (var blockHeader in blockHeadersToPersist)
{
blockHeader.Type = HeaderType.Header;
Copy link
Member

Choose a reason for hiding this comment

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

This never should be made

Copy link
Contributor Author

Choose a reason for hiding this comment

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

remove from my PR

@shargon shargon merged commit d524664 into CityOfZion:development Oct 1, 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