Initialize issues branch

This commit is contained in:
2025-05-11 19:51:52 +02:00
parent 8238268c64
commit a883c07df2
33 changed files with 0 additions and 2035 deletions

4
.gitignore vendored
View File

@@ -1,4 +0,0 @@
/.vs/*
*/bin/*
*/obj/*
/packages/

View File

@@ -1,13 +0,0 @@
# Default ignored files
/shelf/
/workspace.xml
# Rider ignored files
/modules.xml
/.idea.AdventOfCode2020.iml
/contentModel.xml
/projectSettingsUpdater.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

View File

@@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="UserContentModel">
<attachedFolders />
<explicitIncludes />
<explicitExcludes />
</component>
</project>

View File

@@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

View File

@@ -1,23 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<RootNamespace>BasicBlockChain.Core.Tests</RootNamespace>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="xunit" Version="2.6.3" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.5">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\BasicBlockChain.Core\BasicBlockChain.Core.csproj" />
</ItemGroup>
</Project>

View File

@@ -1,77 +0,0 @@
using Xunit;
namespace BasicBlockChain.Core.Tests
{
public class BlockChainTests
{
#region Test Data
private static BlockChain GenerateTestData()
{
BlockChain nullCoin = new(genesisDate: new DateTime(2000, 1, 1), difficulty: 2);
nullCoin.AddTransaction(new Transaction("VAR", "NAM", 10_000_000, new DateTime(2000, 1, 2)));
nullCoin.ProcessPendingTransactions(new DateTime(2000, 1, 2), "Kable");
nullCoin.AddTransaction(new Transaction("NAM", "VAR", 5_000_000, new DateTime(2000, 1, 3)));
nullCoin.ProcessPendingTransactions(new DateTime(2000, 1, 3), "Kable");
nullCoin.AddTransaction(new Transaction("NAM", "VAR", 5_000_000, new DateTime(2000, 1, 4)));
nullCoin.ProcessPendingTransactions(new DateTime(2000, 1, 4), "Kable");
return nullCoin;
}
#endregion Test Data
#region Verify
[Fact]
public void Verify__Null()
{
BlockChain nullCoin = new();
bool result = nullCoin.Verify();
Assert.True(result);
}
[Fact]
public void Verify__Valid()
{
BlockChain nullCoin = GenerateTestData();
bool result = nullCoin.Verify();
Assert.True(result);
}
[Fact]
public void Verify__Tampered()
{
BlockChain nullCoin = GenerateTestData();
nullCoin.Chain[1].Transactions[0].MicroCoinAmount = 1000_000_000;
bool result = nullCoin.Verify();
Assert.False(result);
}
#endregion Verify
#region GetMicroCoinBalance
[Fact]
public void GetMicroCoinBalance__Test()
{
BlockChain nullCoin = GenerateTestData();
long balanceVAR = nullCoin.GetMicroCoinBalance("VAR");
long balanceNAM = nullCoin.GetMicroCoinBalance("NAM");
long balanceKable = nullCoin.GetMicroCoinBalance("Kable");
long expectedBalanceKable = nullCoin.Reward * 3;
Assert.Equal(0, balanceVAR);
Assert.Equal(0, balanceNAM);
Assert.Equal(expectedBalanceKable, balanceKable);
}
#endregion GetMicroCoinBalance
}
}

View File

@@ -1,35 +0,0 @@
using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("BasicBlockChain.Core.Tests")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("BasicBlockChain.Core.Tests")]
[assembly: AssemblyCopyright("Copyright © 2020")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("f3b0eb12-6f98-4afe-8405-bd687a04e8d0")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

View File

@@ -1,5 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="MSTest.TestAdapter" version="2.1.1" targetFramework="net48" />
<package id="MSTest.TestFramework" version="2.1.1" targetFramework="net48" />
</packages>

View File

@@ -1,13 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<RootNamespace>BasicBlockChain.Core</RootNamespace>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="VAR.Json" Version="1.2.2"/>
</ItemGroup>
</Project>

View File

@@ -1,63 +0,0 @@
using System.Security.Cryptography;
using System.Text;
using VAR.Json;
namespace BasicBlockChain.Core
{
public class Block
{
public int Index { get; set; }
public DateTime Date { get; set; }
public string PreviousHash { get; set; }
public List<Transaction> Transactions { get; set; } = new();
public string Hash { get; set; }
public int Nonce { get; set; }
public Block() { }
public Block(DateTime date, Block previousBlock, IList<Transaction> transactions)
{
Index = (previousBlock?.Index ?? -1) + 1;
Date = date;
PreviousHash = previousBlock?.Hash;
if (transactions != null) { Transactions.AddRange(transactions); }
Nonce = 0;
Hash = CalculateHash();
}
private string GetData()
{
return JsonWriter.WriteObject(Transactions);
}
public string CalculateHash(string data = null, SHA256 sha256 = null)
{
if (sha256 == null) { sha256 = SHA256.Create(); }
if (data == null)
{
data = GetData();
}
byte[] dataBytes = Encoding.UTF8.GetBytes(string.Format("{0}-{1}-{2}-{3}",
Date,
PreviousHash,
data,
Nonce));
byte[] hashBytes = sha256.ComputeHash(dataBytes);
string hash = Convert.ToBase64String(hashBytes);
return hash;
}
public void Mine(int difficulty)
{
SHA256 sha256 = SHA256.Create();
var leadingZeros = new string('0', difficulty);
string data = GetData();
while (Hash.Substring(0, difficulty) != leadingZeros)
{
Nonce++;
Hash = CalculateHash(data, sha256);
}
}
}
}

View File

@@ -1,145 +0,0 @@
namespace BasicBlockChain.Core
{
public class BlockChain
{
public List<Transaction> PendingTransactions { get; } = new();
public List<Block> Chain { get; set; } = new();
public int Difficulty { get; set; } = 2;
public int Reward { get; set; } = 1_000_000;
private List<string> _users;
public List<string> Users
{
get
{
if (_users == null)
{
InitUsers();
}
return _users;
}
set
{
_users = value;
}
}
private void InitUsers()
{
_users = new List<string>();
foreach (Block block in Chain)
{
foreach (Transaction transaction in block.Transactions)
{
AddUser(transaction.Sender, false);
AddUser(transaction.Receiver, false);
}
}
}
private void AddUser(string user, bool init = true)
{
if (string.IsNullOrEmpty(user)) { return; }
if (_users == null)
{
if (init)
{
InitUsers();
}
else
{
return;
}
}
if (_users.Contains(user)) { return; }
_users.Add(user);
}
private void AddUsersOfBlock(Block block)
{
foreach (Transaction transaction in block.Transactions)
{
AddUser(transaction.Sender);
AddUser(transaction.Receiver);
}
}
public BlockChain() { }
public BlockChain(DateTime? genesisDate = null, int difficulty = 2, int reward = 1_000_000)
{
Block genesisBlock = new(genesisDate ?? DateTime.UtcNow, null, null);
genesisBlock.Mine(difficulty);
Difficulty = difficulty;
Reward = reward;
Chain.Add(genesisBlock);
}
public void AddBlock(DateTime date, IList<Transaction> transactions)
{
Block lastBlock = Chain.Last();
Block newBlock = new(date, lastBlock, transactions);
newBlock.Mine(Difficulty);
AddUsersOfBlock(newBlock);
Chain.Add(newBlock);
}
public void AddTransaction(Transaction transaction)
{
PendingTransactions.Add(transaction);
}
public void ProcessPendingTransactions(DateTime date, string miner)
{
Block lastBlock = Chain.Last();
Block newBlock = new(date, lastBlock, PendingTransactions);
newBlock.Transactions.Add(new Transaction(null, miner, Reward, date));
newBlock.Mine(Difficulty);
AddUsersOfBlock(newBlock);
Chain.Add(newBlock);
PendingTransactions.Clear();
}
public bool Verify()
{
for (int i = 1; i < Chain.Count; i++)
{
Block currentBlock = Chain[i];
Block previousBlock = Chain[i - 1];
string currentBlockHashRecalculated = currentBlock.CalculateHash();
if (currentBlock.Hash != currentBlockHashRecalculated || currentBlock.PreviousHash != previousBlock.Hash)
{
return false;
}
}
return true;
}
public long GetMicroCoinBalance(string receiver)
{
long microCoinBalance = 0;
for (int i = 0; i < Chain.Count; i++)
{
for (int j = 0; j < Chain[i].Transactions.Count; j++)
{
var transaction = Chain[i].Transactions[j];
if (transaction.Sender == receiver)
{
microCoinBalance -= transaction.MicroCoinAmount;
}
if (transaction.Receiver == receiver)
{
microCoinBalance += transaction.MicroCoinAmount;
}
}
}
return microCoinBalance;
}
}
}

View File

@@ -1,35 +0,0 @@
using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("BasicBlockChain.Core")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("BasicBlockChain.Core")]
[assembly: AssemblyCopyright("Copyright © VAR 2020")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("919bc116-c8fc-4b65-b742-226b38437c48")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

View File

@@ -1,20 +0,0 @@
namespace BasicBlockChain.Core
{
public class Transaction
{
public string Sender { get; set; }
public string Receiver { get; set; }
public long MicroCoinAmount { get; set; }
public DateTime Date { get; set; }
public Transaction() { }
public Transaction(string sender, string receiver, long microCoinAmount, DateTime date)
{
Sender = sender;
Receiver = receiver;
MicroCoinAmount = microCoinAmount;
Date = date;
}
}
}

View File

@@ -1,4 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="VAR.Json" version="1.2.0.1065" targetFramework="net48" />
</packages>

View File

@@ -1,454 +0,0 @@
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
# User-specific files
*.rsuser
*.suo
*.user
*.userosscache
*.sln.docstates
# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs
# Mono auto generated files
mono_crash.*
# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
[Ww][Ii][Nn]32/
[Aa][Rr][Mm]/
[Aa][Rr][Mm]64/
bld/
[Bb]in/
[Oo]bj/
[Ll]og/
[Ll]ogs/
# Visual Studio 2015/2017 cache/options directory
.vs/
# Uncomment if you have tasks that create the project's static files in wwwroot
#wwwroot/
# Visual Studio 2017 auto generated files
Generated\ Files/
# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
# NUnit
*.VisualState.xml
TestResult.xml
nunit-*.xml
# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c
# Benchmark Results
BenchmarkDotNet.Artifacts/
# .NET Core
project.lock.json
project.fragment.lock.json
artifacts/
# Tye
.tye/
# ASP.NET Scaffolding
ScaffoldingReadMe.txt
# StyleCop
StyleCopReport.xml
# Files built by Visual Studio
*_i.c
*_p.c
*_h.h
*.ilk
*.meta
*.obj
*.iobj
*.pch
*.pdb
*.ipdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*_wpftmp.csproj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc
# Chutzpah Test files
_Chutzpah*
# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opendb
*.opensdf
*.sdf
*.cachefile
*.VC.db
*.VC.VC.opendb
# Visual Studio profiler
*.psess
*.vsp
*.vspx
*.sap
# Visual Studio Trace Files
*.e2e
# TFS 2012 Local Workspace
$tf/
# Guidance Automation Toolkit
*.gpState
# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user
# TeamCity is a build add-in
_TeamCity*
# DotCover is a Code Coverage Tool
*.dotCover
# AxoCover is a Code Coverage Tool
.axoCover/*
!.axoCover/settings.json
# Coverlet is a free, cross platform Code Coverage Tool
coverage*.json
coverage*.xml
coverage*.info
# Visual Studio code coverage results
*.coverage
*.coveragexml
# NCrunch
_NCrunch_*
.*crunch*.local.xml
nCrunchTemp_*
# MightyMoose
*.mm.*
AutoTest.Net/
# Web workbench (sass)
.sass-cache/
# Installshield output folder
[Ee]xpress/
# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html
# Click-Once directory
publish/
# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# Note: Comment the next line if you want to checkin your web deploy settings,
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj
# Microsoft Azure Web App publish settings. Comment the next line if you want to
# checkin your Azure Web App publish settings, but sensitive information contained
# in these scripts will be unencrypted
PublishScripts/
# NuGet Packages
*.nupkg
# NuGet Symbol Packages
*.snupkg
# The packages folder can be ignored because of Package Restore
**/[Pp]ackages/*
# except build/, which is used as an MSBuild target.
!**/[Pp]ackages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/[Pp]ackages/repositories.config
# NuGet v3's project.json files produces more ignorable files
*.nuget.props
*.nuget.targets
# Microsoft Azure Build Output
csx/
*.build.csdef
# Microsoft Azure Emulator
ecf/
rcf/
# Windows Store app package directories and files
AppPackages/
BundleArtifacts/
Package.StoreAssociation.xml
_pkginfo.txt
*.appx
*.appxbundle
*.appxupload
# Visual Studio cache files
# files ending in .cache can be ignored
*.[Cc]ache
# but keep track of directories ending in .cache
!?*.[Cc]ache/
# Others
ClientBin/
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.jfm
*.pfx
*.publishsettings
orleans.codegen.cs
# Including strong name files can present a security risk
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
#*.snk
# Since there are multiple workflows, uncomment next line to ignore bower_components
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
#bower_components/
# RIA/Silverlight projects
Generated_Code/
# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
ServiceFabricBackup/
*.rptproj.bak
# SQL Server files
*.mdf
*.ldf
*.ndf
# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings
*.rptproj.rsuser
*- [Bb]ackup.rdl
*- [Bb]ackup ([0-9]).rdl
*- [Bb]ackup ([0-9][0-9]).rdl
# Microsoft Fakes
FakesAssemblies/
# GhostDoc plugin setting file
*.GhostDoc.xml
# Node.js Tools for Visual Studio
.ntvs_analysis.dat
node_modules/
# Visual Studio 6 build log
*.plg
# Visual Studio 6 workspace options file
*.opt
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
*.vbw
# Visual Studio LightSwitch build output
**/*.HTMLClient/GeneratedArtifacts
**/*.DesktopClient/GeneratedArtifacts
**/*.DesktopClient/ModelManifest.xml
**/*.Server/GeneratedArtifacts
**/*.Server/ModelManifest.xml
_Pvt_Extensions
# Paket dependency manager
.paket/paket.exe
paket-files/
# FAKE - F# Make
.fake/
# CodeRush personal settings
.cr/personal
# Python Tools for Visual Studio (PTVS)
__pycache__/
*.pyc
# Cake - Uncomment if you are using it
# tools/**
# !tools/packages.config
# Tabs Studio
*.tss
# Telerik's JustMock configuration file
*.jmconfig
# BizTalk build output
*.btp.cs
*.btm.cs
*.odx.cs
*.xsd.cs
# OpenCover UI analysis results
OpenCover/
# Azure Stream Analytics local run output
ASALocalRun/
# MSBuild Binary and Structured Log
*.binlog
# NVidia Nsight GPU debugger configuration file
*.nvuser
# MFractors (Xamarin productivity tool) working folder
.mfractor/
# Local History for Visual Studio
.localhistory/
# BeatPulse healthcheck temp database
healthchecksdb
# Backup folder for Package Reference Convert tool in Visual Studio 2017
MigrationBackup/
# Ionide (cross platform F# VS Code tools) working folder
.ionide/
# Fody - auto-generated XML schema
FodyWeavers.xsd
##
## Visual studio for Mac
##
# globs
Makefile.in
*.userprefs
*.usertasks
config.make
config.status
aclocal.m4
install-sh
autom4te.cache/
*.tar.gz
tarballs/
test-results/
# Mac bundle stuff
*.dmg
*.app
# content below from: https://github.com/github/gitignore/blob/master/Global/macOS.gitignore
# General
.DS_Store
.AppleDouble
.LSOverride
# Icon must end with two \r
Icon
# Thumbnails
._*
# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
# content below from: https://github.com/github/gitignore/blob/master/Global/Windows.gitignore
# Windows thumbnail cache files
Thumbs.db
ehthumbs.db
ehthumbs_vista.db
# Dump file
*.stackdump
# Folder config file
[Dd]esktop.ini
# Recycle Bin used on file shares
$RECYCLE.BIN/
# Windows Installer files
*.cab
*.msi
*.msix
*.msm
*.msp
# Windows shortcuts
*.lnk
# JetBrains Rider
.idea/
*.sln.iml
##
## Visual Studio Code
##
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json

View File

@@ -1,7 +0,0 @@
<Application xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="BasicBlockChain.UI.App">
<Application.Styles>
<FluentTheme Mode="Light"/>
</Application.Styles>
</Application>

View File

@@ -1,24 +0,0 @@
using Avalonia;
using Avalonia.Controls.ApplicationLifetimes;
using Avalonia.Markup.Xaml;
namespace BasicBlockChain.UI
{
public partial class App : Application
{
public override void Initialize()
{
AvaloniaXamlLoader.Load(this);
}
public override void OnFrameworkInitializationCompleted()
{
if (ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop)
{
desktop.MainWindow = new MainWindow();
}
base.OnFrameworkInitializationCompleted();
}
}
}

View File

@@ -1,27 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
<!--Avalonia doesen't support TrimMode=link currently,but we are working on that https://github.com/AvaloniaUI/Avalonia/issues/6892 -->
<TrimMode>copyused</TrimMode>
<BuiltInComInteropSupport>true</BuiltInComInteropSupport>
</PropertyGroup>
<ItemGroup>
<None Remove=".gitignore"/>
</ItemGroup>
<ItemGroup>
<!--This helps with theme dll-s trimming.
If you will publish your application in self-contained mode with p:PublishTrimmed=true and it will use Fluent theme Default theme will be trimmed from the output and vice versa.
https://github.com/AvaloniaUI/Avalonia/issues/5593 -->
<TrimmableAssembly Include="Avalonia.Themes.Fluent"/>
<TrimmableAssembly Include="Avalonia.Themes.Default"/>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Avalonia" Version="0.10.14"/>
<PackageReference Include="Avalonia.Desktop" Version="0.10.14"/>
<!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
<PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="0.10.14"/>
<PackageReference Include="XamlNameReferenceGenerator" Version="1.3.4"/>
</ItemGroup>
</Project>

View File

@@ -1,9 +0,0 @@
<Window xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:Class="BasicBlockChain.UI.MainWindow"
Title="BasicBlockChain.UI">
Welcome to Avalonia!
</Window>

View File

@@ -1,12 +0,0 @@
using Avalonia.Controls;
namespace BasicBlockChain.UI
{
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
}
}
}

View File

@@ -1,21 +0,0 @@
using Avalonia;
using System;
namespace BasicBlockChain.UI
{
class Program
{
// Initialization code. Don't use any Avalonia, third-party APIs or any
// SynchronizationContext-reliant code before AppMain is called: things aren't initialized
// yet and stuff might break.
[STAThread]
public static void Main(string[] args) => BuildAvaloniaApp()
.StartWithClassicDesktopLifetime(args);
// Avalonia configuration, don't remove; also used by visual designer.
public static AppBuilder BuildAvaloniaApp()
=> AppBuilder.Configure<App>()
.UsePlatformDetect()
.LogToTrace();
}
}

View File

@@ -1,43 +0,0 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.28803.452
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BasicBlockChain", "BasicBlockChain\BasicBlockChain.csproj", "{34581A96-29BE-4AB6-9298-BC1AD3E78369}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BasicBlockChain.Core", "BasicBlockChain.Core\BasicBlockChain.Core.csproj", "{919BC116-C8FC-4B65-B742-226B38437C48}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BasicBlockChain.Core.Tests", "BasicBlockChain.Core.Tests\BasicBlockChain.Core.Tests.csproj", "{F3B0EB12-6F98-4AFE-8405-BD687A04E8D0}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BasicBlockChain.UI", "BasicBlockChain.UI\BasicBlockChain.UI.csproj", "{FF7A4972-ABB2-4535-9F12-08ACBD12FA8B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{34581A96-29BE-4AB6-9298-BC1AD3E78369}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{34581A96-29BE-4AB6-9298-BC1AD3E78369}.Debug|Any CPU.Build.0 = Debug|Any CPU
{34581A96-29BE-4AB6-9298-BC1AD3E78369}.Release|Any CPU.ActiveCfg = Release|Any CPU
{34581A96-29BE-4AB6-9298-BC1AD3E78369}.Release|Any CPU.Build.0 = Release|Any CPU
{919BC116-C8FC-4B65-B742-226B38437C48}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{919BC116-C8FC-4B65-B742-226B38437C48}.Debug|Any CPU.Build.0 = Debug|Any CPU
{919BC116-C8FC-4B65-B742-226B38437C48}.Release|Any CPU.ActiveCfg = Release|Any CPU
{919BC116-C8FC-4B65-B742-226B38437C48}.Release|Any CPU.Build.0 = Release|Any CPU
{F3B0EB12-6F98-4AFE-8405-BD687A04E8D0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F3B0EB12-6F98-4AFE-8405-BD687A04E8D0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F3B0EB12-6F98-4AFE-8405-BD687A04E8D0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F3B0EB12-6F98-4AFE-8405-BD687A04E8D0}.Release|Any CPU.Build.0 = Release|Any CPU
{FF7A4972-ABB2-4535-9F12-08ACBD12FA8B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{FF7A4972-ABB2-4535-9F12-08ACBD12FA8B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{FF7A4972-ABB2-4535-9F12-08ACBD12FA8B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{FF7A4972-ABB2-4535-9F12-08ACBD12FA8B}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {48CECB6D-7E06-474E-9AB9-3EC17F135997}
EndGlobalSection
EndGlobal

View File

@@ -1,2 +0,0 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:String x:Key="/Default/CodeStyle/CSharpVarKeywordUsage/ForSimpleTypes/@EntryValue">UseExplicitType</s:String></wpf:ResourceDictionary>

View File

@@ -1,7 +0,0 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:String x:Key="/Default/CodeInspection/Highlighting/SweaWarningsMode/@EntryValue">ShowAndRun</s:String>
<s:String x:Key="/Default/Environment/UnitTesting/UnitTestSessionStore/Sessions/=f8bec56c_002Dec11_002D4b01_002D93a3_002Dd60038040a8c/@EntryIndexedValue">&lt;SessionState ContinuousTestingMode="0" IsActive="True" Name="All tests from Solution" xmlns="urn:schemas-jetbrains-com:jetbrains-ut-session"&gt;
&lt;Solution /&gt;
&lt;/SessionState&gt;</s:String>
<s:Boolean x:Key="/Default/ResxEditorPersonal/CheckedGroups/=BasicBlockChain_002FFrmMain/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/ResxEditorPersonal/Initialized/@EntryValue">True</s:Boolean></wpf:ResourceDictionary>

View File

@@ -1,85 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{34581A96-29BE-4AB6-9298-BC1AD3E78369}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>BasicBlockChain</RootNamespace>
<AssemblyName>BasicBlockChain</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<StartupObject />
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>blocks.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
<Reference Include="VAR.Json, Version=1.2.0.1065, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\VAR.Json.1.2.0.1065\lib\net461\VAR.Json.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="FrmMain.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="FrmMain.Designer.cs">
<DependentUpon>FrmMain.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\BasicBlockChain.Core\BasicBlockChain.Core.csproj">
<Project>{919bc116-c8fc-4b65-b742-226b38437c48}</Project>
<Name>BasicBlockChain.Core</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="FrmMain.resx">
<DependentUpon>FrmMain.cs</DependentUpon>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<Content Include="blocks.ico" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

View File

@@ -1,250 +0,0 @@
namespace BasicBlockChain
{
partial class FrmMain
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmMain));
this.lsbTransactions = new System.Windows.Forms.ListBox();
this.lsbPendingTransactions = new System.Windows.Forms.ListBox();
this.btnMine = new System.Windows.Forms.Button();
this.grpAddTransaction = new System.Windows.Forms.GroupBox();
this.btnClearAmount = new System.Windows.Forms.Button();
this.btnClearTo = new System.Windows.Forms.Button();
this.btnClearFrom = new System.Windows.Forms.Button();
this.numAmount = new System.Windows.Forms.NumericUpDown();
this.txtTo = new System.Windows.Forms.TextBox();
this.txtFrom = new System.Windows.Forms.TextBox();
this.lblAmount = new System.Windows.Forms.Label();
this.lblTo = new System.Windows.Forms.Label();
this.lblFrom = new System.Windows.Forms.Label();
this.btnAdd = new System.Windows.Forms.Button();
this.txtMinerName = new System.Windows.Forms.TextBox();
this.lsbUsers = new System.Windows.Forms.ListBox();
this.grpAddTransaction.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.numAmount)).BeginInit();
this.SuspendLayout();
//
// lsbTransactions
//
this.lsbTransactions.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)));
this.lsbTransactions.FormattingEnabled = true;
this.lsbTransactions.Location = new System.Drawing.Point(12, 129);
this.lsbTransactions.Name = "lsbTransactions";
this.lsbTransactions.Size = new System.Drawing.Size(225, 368);
this.lsbTransactions.TabIndex = 0;
//
// lsbPendingTransactions
//
this.lsbPendingTransactions.FormattingEnabled = true;
this.lsbPendingTransactions.Location = new System.Drawing.Point(12, 12);
this.lsbPendingTransactions.Name = "lsbPendingTransactions";
this.lsbPendingTransactions.Size = new System.Drawing.Size(225, 82);
this.lsbPendingTransactions.TabIndex = 1;
//
// btnMine
//
this.btnMine.Location = new System.Drawing.Point(162, 100);
this.btnMine.Name = "btnMine";
this.btnMine.Size = new System.Drawing.Size(75, 23);
this.btnMine.TabIndex = 2;
this.btnMine.Text = "Mine";
this.btnMine.UseVisualStyleBackColor = true;
this.btnMine.Click += new System.EventHandler(this.btnMine_Click);
//
// grpAddTransaction
//
this.grpAddTransaction.Controls.Add(this.btnClearAmount);
this.grpAddTransaction.Controls.Add(this.btnClearTo);
this.grpAddTransaction.Controls.Add(this.btnClearFrom);
this.grpAddTransaction.Controls.Add(this.numAmount);
this.grpAddTransaction.Controls.Add(this.txtTo);
this.grpAddTransaction.Controls.Add(this.txtFrom);
this.grpAddTransaction.Controls.Add(this.lblAmount);
this.grpAddTransaction.Controls.Add(this.lblTo);
this.grpAddTransaction.Controls.Add(this.lblFrom);
this.grpAddTransaction.Controls.Add(this.btnAdd);
this.grpAddTransaction.Location = new System.Drawing.Point(243, 12);
this.grpAddTransaction.Name = "grpAddTransaction";
this.grpAddTransaction.Size = new System.Drawing.Size(175, 132);
this.grpAddTransaction.TabIndex = 3;
this.grpAddTransaction.TabStop = false;
this.grpAddTransaction.Text = "Add transaction";
//
// btnClearAmount
//
this.btnClearAmount.Location = new System.Drawing.Point(148, 71);
this.btnClearAmount.Name = "btnClearAmount";
this.btnClearAmount.Size = new System.Drawing.Size(21, 20);
this.btnClearAmount.TabIndex = 10;
this.btnClearAmount.Text = "X";
this.btnClearAmount.UseVisualStyleBackColor = true;
this.btnClearAmount.Click += new System.EventHandler(this.btnClearAmount_Click);
//
// btnClearTo
//
this.btnClearTo.Location = new System.Drawing.Point(148, 45);
this.btnClearTo.Name = "btnClearTo";
this.btnClearTo.Size = new System.Drawing.Size(21, 20);
this.btnClearTo.TabIndex = 9;
this.btnClearTo.Text = "X";
this.btnClearTo.UseVisualStyleBackColor = true;
this.btnClearTo.Click += new System.EventHandler(this.btnClearTo_Click);
//
// btnClearFrom
//
this.btnClearFrom.Location = new System.Drawing.Point(148, 19);
this.btnClearFrom.Name = "btnClearFrom";
this.btnClearFrom.Size = new System.Drawing.Size(21, 20);
this.btnClearFrom.TabIndex = 8;
this.btnClearFrom.Text = "X";
this.btnClearFrom.UseVisualStyleBackColor = true;
this.btnClearFrom.Click += new System.EventHandler(this.btnClearFrom_Click);
//
// numAmount
//
this.numAmount.Location = new System.Drawing.Point(47, 71);
this.numAmount.Maximum = new decimal(new int[] {
-1,
2147483647,
0,
0});
this.numAmount.Name = "numAmount";
this.numAmount.Size = new System.Drawing.Size(95, 20);
this.numAmount.TabIndex = 7;
//
// txtTo
//
this.txtTo.Location = new System.Drawing.Point(47, 45);
this.txtTo.Name = "txtTo";
this.txtTo.Size = new System.Drawing.Size(95, 20);
this.txtTo.TabIndex = 5;
//
// txtFrom
//
this.txtFrom.Location = new System.Drawing.Point(47, 19);
this.txtFrom.Name = "txtFrom";
this.txtFrom.Size = new System.Drawing.Size(95, 20);
this.txtFrom.TabIndex = 4;
//
// lblAmount
//
this.lblAmount.AutoSize = true;
this.lblAmount.Location = new System.Drawing.Point(6, 74);
this.lblAmount.Name = "lblAmount";
this.lblAmount.Size = new System.Drawing.Size(43, 13);
this.lblAmount.TabIndex = 3;
this.lblAmount.Text = "Amount";
//
// lblTo
//
this.lblTo.AutoSize = true;
this.lblTo.Location = new System.Drawing.Point(6, 48);
this.lblTo.Name = "lblTo";
this.lblTo.Size = new System.Drawing.Size(20, 13);
this.lblTo.TabIndex = 2;
this.lblTo.Text = "To";
//
// lblFrom
//
this.lblFrom.AutoSize = true;
this.lblFrom.Location = new System.Drawing.Point(6, 22);
this.lblFrom.Name = "lblFrom";
this.lblFrom.Size = new System.Drawing.Size(30, 13);
this.lblFrom.TabIndex = 1;
this.lblFrom.Text = "From";
//
// btnAdd
//
this.btnAdd.Location = new System.Drawing.Point(94, 97);
this.btnAdd.Name = "btnAdd";
this.btnAdd.Size = new System.Drawing.Size(75, 23);
this.btnAdd.TabIndex = 0;
this.btnAdd.Text = "Add";
this.btnAdd.UseVisualStyleBackColor = true;
this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
//
// txtMinerName
//
this.txtMinerName.Location = new System.Drawing.Point(69, 103);
this.txtMinerName.Name = "txtMinerName";
this.txtMinerName.Size = new System.Drawing.Size(87, 20);
this.txtMinerName.TabIndex = 4;
//
// lsbUsers
//
this.lsbUsers.FormattingEnabled = true;
this.lsbUsers.Location = new System.Drawing.Point(243, 150);
this.lsbUsers.Name = "lsbUsers";
this.lsbUsers.Size = new System.Drawing.Size(175, 134);
this.lsbUsers.TabIndex = 5;
this.lsbUsers.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.lsbUsers_MouseDoubleClick);
//
// FrmMain
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(430, 521);
this.Controls.Add(this.lsbUsers);
this.Controls.Add(this.txtMinerName);
this.Controls.Add(this.grpAddTransaction);
this.Controls.Add(this.btnMine);
this.Controls.Add(this.lsbPendingTransactions);
this.Controls.Add(this.lsbTransactions);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "FrmMain";
this.Text = "BasicBlockChain";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmMain_FormClosing);
this.grpAddTransaction.ResumeLayout(false);
this.grpAddTransaction.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.numAmount)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.ListBox lsbTransactions;
private System.Windows.Forms.ListBox lsbPendingTransactions;
private System.Windows.Forms.Button btnMine;
private System.Windows.Forms.GroupBox grpAddTransaction;
private System.Windows.Forms.TextBox txtTo;
private System.Windows.Forms.TextBox txtFrom;
private System.Windows.Forms.Label lblAmount;
private System.Windows.Forms.Label lblTo;
private System.Windows.Forms.Label lblFrom;
private System.Windows.Forms.Button btnAdd;
private System.Windows.Forms.TextBox txtMinerName;
private System.Windows.Forms.Button btnClearAmount;
private System.Windows.Forms.Button btnClearTo;
private System.Windows.Forms.Button btnClearFrom;
private System.Windows.Forms.NumericUpDown numAmount;
private System.Windows.Forms.ListBox lsbUsers;
}
}

View File

@@ -1,179 +0,0 @@
using System;
using System.IO;
using System.Windows.Forms;
using BasicBlockChain.Core;
using VAR.Json;
namespace BasicBlockChain
{
public partial class FrmMain : Form
{
private BlockChain _nullCoin = null;
public FrmMain()
{
InitializeComponent();
InitBlockChain();
}
private void btnAdd_Click(object sender, EventArgs e)
{
if (string.IsNullOrEmpty(txtTo.Text) || string.IsNullOrEmpty(txtFrom.Text)) { return; }
long amount = (long)numAmount.Value;
_nullCoin.AddTransaction(new Transaction(txtFrom.Text, txtTo.Text, amount, DateTime.UtcNow));
txtTo.Text = string.Empty;
txtFrom.Text = string.Empty;
numAmount.Value = 0;
Lists_Update();
}
private void btnMine_Click(object sender, EventArgs e)
{
if (string.IsNullOrEmpty(txtMinerName.Text)) { return; }
_nullCoin.ProcessPendingTransactions(DateTime.UtcNow, txtMinerName.Text);
Lists_Update();
}
private void btnClearFrom_Click(object sender, EventArgs e)
{
txtFrom.Text = string.Empty;
}
private void btnClearTo_Click(object sender, EventArgs e)
{
txtTo.Text = string.Empty;
}
private void btnClearAmount_Click(object sender, EventArgs e)
{
numAmount.Value = 0;
}
private void lsbUsers_MouseDoubleClick(object sender, MouseEventArgs e)
{
Wallet wallet = (Wallet)lsbUsers.SelectedItem;
if (wallet == null) { return; }
if (string.IsNullOrEmpty(txtFrom.Text))
{
txtFrom.Text = wallet.User;
return;
}
if (string.IsNullOrEmpty(txtTo.Text))
{
txtTo.Text = wallet.User;
return;
}
}
private void FrmMain_FormClosing(object sender, FormClosingEventArgs e)
{
SaveBlockChain();
}
private void Lists_Update()
{
lsbTransactions.Items.Clear();
foreach (Block block in _nullCoin.Chain)
{
foreach (Transaction transaction in block.Transactions)
{
lsbTransactions.Items.Add(Transaction_ToString(transaction));
}
}
lsbPendingTransactions.Items.Clear();
foreach (Transaction transaction in _nullCoin.PendingTransactions)
{
lsbPendingTransactions.Items.Add(Transaction_ToString(transaction));
}
lsbUsers.Items.Clear();
foreach (string user in _nullCoin.Users)
{
long amount = _nullCoin.GetMicroCoinBalance(user);
lsbUsers.Items.Add(new Wallet { User = user, Amount = amount });
}
}
public class Wallet
{
public string User { get; set; }
public long Amount { get; set; }
public override string ToString()
{
return string.Format("{0} - {1}", User, Amount);
}
}
private string Transaction_ToString(Transaction transaction)
{
return string.Format("{0} - {1} - {2} - {3}", transaction.Date, transaction.Sender, transaction.Receiver, transaction.MicroCoinAmount);
}
private const string BlockChainFile = "BlockChain.{0}.json";
private const string BlockChainLock = "BlockChain.{0}.lock";
private int _currentFile = 0;
private void InitBlockChain()
{
FrmMainBlockChain blockChain = null;
string blockChainLock;
do
{
blockChainLock = string.Format(BlockChainLock, _currentFile);
if (File.Exists(blockChainLock) == false) { break; }
_currentFile++;
} while (true);
File.WriteAllText(blockChainLock, "Lock");
string blockChainFile = string.Format(BlockChainFile, _currentFile);
if (File.Exists(blockChainFile))
{
string contentBlockChainFile = File.ReadAllText(blockChainFile);
blockChain = JsonParser.ParseText(contentBlockChainFile, typeof(FrmMainBlockChain), typeof(BlockChain), typeof(Block), typeof(Transaction)) as FrmMainBlockChain;
}
if (blockChain != null)
{
_nullCoin = blockChain.BlockChain;
txtMinerName.Text = blockChain.Miner;
}
else
{
_nullCoin = new BlockChain(genesisDate: new DateTime(2000, 1, 1), difficulty: 2);
txtMinerName.Text = string.Empty;
}
Lists_Update();
}
private void SaveBlockChain()
{
string blockChainFile = string.Format(BlockChainFile, _currentFile);
if (File.Exists(blockChainFile))
{
File.Delete(blockChainFile);
}
FrmMainBlockChain blockChain = new FrmMainBlockChain
{
BlockChain = _nullCoin,
Miner = txtMinerName.Text,
};
string strBlockChain = JsonWriter.WriteObject(blockChain, indent: true);
File.WriteAllText(blockChainFile, strBlockChain);
string blockChainLock = string.Format(BlockChainLock, _currentFile);
if (File.Exists(blockChainLock))
{
File.Delete(blockChainLock);
}
}
public class FrmMainBlockChain
{
public BlockChain BlockChain { get; set; }
public string Miner { get; set; }
};
}
}

View File

@@ -1,408 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAEAQEAAAAEAIAAoQgAAFgAAACgAAABAAAAAgAAAAAEAIAAAAAAAAEAAAHYCAAB2AgAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEBA
AAhATgCDQE0A6kBNAOpBTQCCSUkABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAEFMAC9ATQDQQE0A/0BNAP9ATQD/QE0A/0BNANQ+TgAxAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBTQArQE0AzkBNAP9ATQD/QE0A/0BNAP9ATQDUPk4AMQAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAElJAAdBTQCCQE0A60BN
AOtATgCDSUkABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAA////+B/////////wD////////8AD////////gAH///////4AAP///////AAAP//////wAAAf
/////+AAAAf/////gAAAA/////8AAAAA/////AAAAAB////4AAAAAD////gAAAAAH///+AAAAAAf///4
AAAAAB////gAAAAAH///+AAAAAAf///4AAAAAB////gAAAAAH///+AAAAAAf///4AAAAAB////gAAAAA
H///+AAAAAAf///4AAAAAB////gAAAAAH///+AAAAAAf///4AAAAAB////gAAAAAH///+AAAAAAf///4
AAAAAB////gAAAAAH///+AAAAAAf///4AAAAAB////gAAAAAH///+AAAAAAf///4AAAAAB////gAAAAA
H///+AAAAAAf///4AAAAAB////gAAAAAH///+AAAAAAf///4AAAAAB////gAAAAAH///+AAAAAAf///4
AAAAAB////gAAAAAH///+AAAAAAf///4AAAAAB////gAAAAAH///+AAAAAAf///4AAAAAB////gAAAAA
H////AAAAAA////+AAAAAH////8AAAAA/////8AAAAP/////4AAAB//////4AAAf//////wAAD//////
/wAAf///////gAH////////AA/////////AP////////+B////8=
</value>
</data>
</root>

View File

@@ -1,16 +0,0 @@
using System;
using System.Windows.Forms;
namespace BasicBlockChain
{
internal class Program
{
[STAThread]
private static void Main(string[] args)
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new FrmMain());
}
}
}

View File

@@ -1,36 +0,0 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("BasicBlockChain")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("BasicBlockChain")]
[assembly: AssemblyCopyright("Copyright © 2019")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("34581a96-29be-4ab6-9298-bc1ad3e78369")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

View File

@@ -1,4 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="VAR.Json" version="1.2.0.1065" targetFramework="net48" />
</packages>

0
issues/.keep Normal file
View File