-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #67 from Etherna/improve/BNET-132-bee-230
Improve/bnet 132 bee 230
- Loading branch information
Showing
10 changed files
with
2,017 additions
and
1,056 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
2,188 changes: 1,392 additions & 796 deletions
2,188
src/BeeNet.Client/Clients/BeeGeneratedClient.cs
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
// Copyright 2021-present Etherna SA | ||
// This file is part of Bee.Net. | ||
// | ||
// Bee.Net is free software: you can redistribute it and/or modify it under the terms of the | ||
// GNU Lesser General Public License as published by the Free Software Foundation, | ||
// either version 3 of the License, or (at your option) any later version. | ||
// | ||
// Bee.Net is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; | ||
// without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
// See the GNU Lesser General Public License for more details. | ||
// | ||
// You should have received a copy of the GNU Lesser General Public License along with Bee.Net. | ||
// If not, see <https://www.gnu.org/licenses/>. | ||
|
||
namespace Etherna.BeeNet.Models | ||
{ | ||
public sealed class NeighborhoodStatus( | ||
string neighborhood, | ||
int proximity, | ||
int reserveSizeWithinRadius) | ||
{ | ||
public string Neighborhood { get; } = neighborhood; | ||
public int Proximity { get; } = proximity; | ||
public int ReserveSizeWithinRadius { get; } = reserveSizeWithinRadius; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.