Migrate to Sdk projects.

* BasicBlockChain.Core.
* BasicBlockChain.Core.Tests.
* Migrate MSTests to XUnit.
This commit is contained in:
2024-01-21 18:11:22 +01:00
parent 0975975c5e
commit cb2002b619
8 changed files with 40 additions and 178 deletions

View File

@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
namespace BasicBlockChain.Core
namespace BasicBlockChain.Core
{
public class BlockChain
{
@@ -11,7 +7,7 @@ namespace BasicBlockChain.Core
public int Difficulty { get; set; } = 2;
public int Reward { get; set; } = 1_000_000;
private List<string> _users = null;
private List<string> _users;
public List<string> Users
{