Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Swarm constructor have BlockChain<T> #324

Merged
merged 3 commits into from
Jul 3, 2019

Conversation

earlbread
Copy link
Contributor

This makes Swarm constructor receive BlockChain<T> and have a type parameter T.

@earlbread earlbread added this to the 0.4.0 milestone Jul 3, 2019
@earlbread earlbread requested review from dahlia and longfin July 3, 2019 02:18
@earlbread earlbread self-assigned this Jul 3, 2019
longfin
longfin previously approved these changes Jul 3, 2019
CHANGES.md Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Jul 3, 2019

Codecov Report

Merging #324 into master will decrease coverage by 0.1%.
The diff coverage is 87.57%.

@@            Coverage Diff             @@
##           master     #324      +/-   ##
==========================================
- Coverage   87.39%   87.28%   -0.11%     
==========================================
  Files         189      189              
  Lines       12744    12769      +25     
==========================================
+ Hits        11137    11145       +8     
- Misses       1355     1374      +19     
+ Partials      252      250       -2
Impacted Files Coverage Δ
Libplanet/Net/DifferentProtocolVersionEventArgs.cs 100% <ø> (ø) ⬆️
...planet/Net/DifferentAppProtocolVersionException.cs 75% <ø> (ø) ⬆️
Libplanet/Net/Peer.cs 92.72% <ø> (ø) ⬆️
Libplanet.Tests/Net/SwarmTest.cs 91.29% <86.61%> (-2.47%) ⬇️
Libplanet/Net/Swarm.cs 74.88% <91.42%> (-0.01%) ⬇️
Libplanet/Crypto/PrivateKey.cs 85.58% <0%> (+0.9%) ⬆️

CHANGES.md Outdated Show resolved Hide resolved
@dahlia dahlia changed the title Make Swarm have BlockChain<T> Make Swarm constructor have BlockChain<T> Jul 3, 2019
@earlbread earlbread force-pushed the swarm-blockchain2 branch 2 times, most recently from 894a900 to 395299b Compare July 3, 2019 07:06
CHANGES.md Outdated Show resolved Hide resolved
CHANGES.md Outdated Show resolved Hide resolved
CHANGES.md Outdated Show resolved Hide resolved
Libplanet/Net/Swarm.cs Outdated Show resolved Hide resolved
Libplanet/Net/Swarm.cs Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Jul 3, 2019

Codecov Report

Merging #324 into master will decrease coverage by 0.04%.
The diff coverage is 87.57%.

@@            Coverage Diff             @@
##           master     #324      +/-   ##
==========================================
- Coverage   87.39%   87.34%   -0.05%     
==========================================
  Files         189      189              
  Lines       12744    12767      +23     
==========================================
+ Hits        11137    11151      +14     
- Misses       1355     1366      +11     
+ Partials      252      250       -2
Impacted Files Coverage Δ
Libplanet/Net/DifferentProtocolVersionEventArgs.cs 100% <ø> (ø) ⬆️
...planet/Net/DifferentAppProtocolVersionException.cs 75% <ø> (ø) ⬆️
Libplanet/Net/Peer.cs 92.72% <ø> (ø) ⬆️
Libplanet.Tests/Net/SwarmTest.cs 92.34% <86.61%> (-1.42%) ⬇️
Libplanet/Net/Swarm.cs 74.84% <91.42%> (-0.04%) ⬇️
Libplanet/Crypto/PrivateKey.cs 85.58% <0%> (+0.9%) ⬆️

earlbread and others added 3 commits July 3, 2019 16:31
Co-Authored-By: Swen Mun <longfinfunnel@gmail.com>
Co-Authored-By: Hong Minhee <hong.minhee@gmail.com>
@earlbread
Copy link
Contributor Author

Applied review comments. Please take a look.

@earlbread earlbread merged commit 5e554ca into planetarium:master Jul 3, 2019
@earlbread earlbread deleted the swarm-blockchain2 branch July 3, 2019 08:01
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.

3 participants