Skip to content

Commit

Permalink
Merge pull request #10 from block-core/upgrade-nugets
Browse files Browse the repository at this point in the history
Upgrade nugets
  • Loading branch information
dangershony committed Feb 23, 2024
2 parents 65be867 + 9721e3a commit b63c7d3
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<PackageReference Include="Blockcore.Features.RPC" Version="1.*" />
<PackageReference Include="Blockcore.Features.Wallet" Version="1.*" />
<PackageReference Include="Blockcore.Features.Diagnostic" Version="1.*" />
<PackageReference Include="Blockcore.NBitcoin" Version="1.*" />
<PackageReference Include="Blockcore.Core" Version="1.*" />
</ItemGroup>

<ItemGroup>
Expand Down
17 changes: 12 additions & 5 deletions Blockcore.SampleCoin/src/SampleCoin/Blockcore.SampleCoin.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,17 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Blockcore.Features.Consensus" Version="1.*" />
<PackageReference Include="Blockcore.Features.MemoryPool" Version="1.*" />
<PackageReference Include="Blockcore.Features.NodeHost" Version="1.*" />
<PackageReference Include="Blockcore.Core" Version="1.*" />
</ItemGroup>
<PackageReference Include="Blockcore.Features.Base.Persistence.LevelDb" Version="1.*" />
<PackageReference Include="Blockcore.Features.BlockStore.Persistence.LevelDb" Version="1.*" />
<PackageReference Include="Blockcore.Features.Consensus.Persistence.LevelDb" Version="1.*" />
<PackageReference Include="Blockcore.Features.BlockStore" Version="1.*" />
<PackageReference Include="Blockcore.Features.ColdStaking" Version="1.*" />
<PackageReference Include="Blockcore.Features.Consensus" Version="1.*" />
<PackageReference Include="Blockcore.Features.MemoryPool" Version="1.*" />
<PackageReference Include="Blockcore.Features.Miner" Version="1.*" />
<PackageReference Include="Blockcore.Features.RPC" Version="1.*" />
<PackageReference Include="Blockcore.Features.Wallet" Version="1.*" />
<PackageReference Include="Blockcore.Features.Diagnostic" Version="1.*" />
<PackageReference Include="Blockcore.Core" Version="1.*" /> </ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Blockcore.Consensus.ScriptInfo;
using Blockcore.Consensus.TransactionInfo;
using Blockcore.Networks;
using NBitcoin.BitcoinCore;
using Blockcore.NBitcoin.BitcoinCore;

namespace Blockcore.SampleCoin.Networks.Policies
{
Expand Down
10 changes: 5 additions & 5 deletions Blockcore.SampleCoin/src/SampleCoin/Networks/SampleCoinMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
using Blockcore.Features.MemoryPool.Rules;
using Blockcore.SampleCoin.Networks.Policies;
using Blockcore.SampleCoin.Networks.Rules;
using NBitcoin;
using NBitcoin.BouncyCastle.Math;
using NBitcoin.DataEncoders;
using System.Linq;
using System.Net;
using Blockcore.SampleCoin.Networks.Setup;
Expand All @@ -19,6 +16,9 @@
using Blockcore.P2P;
using Blockcore.Consensus.TransactionInfo;
using Blockcore.Consensus.ScriptInfo;
using Blockcore.NBitcoin;
using Blockcore.NBitcoin.BouncyCastle.math;
using Blockcore.NBitcoin.DataEncoders;
using Blockcore.SampleCoin.Networks.Deployments;

namespace Blockcore.SampleCoin.Networks
Expand Down Expand Up @@ -130,8 +130,8 @@ public SampleCoinMain()
proofOfStakeTimestampMask: setup.ProofOfStakeTimestampMask
)
{
PosEmptyCoinbase = SampleCoinSetup.Instance.IsPoSv4(),
PosUseTimeFieldInKernalHash = SampleCoinSetup.Instance.IsPoSv4()
PosEmptyCoinbase = SampleCoinSetup.Instance.IsPoSv3(),
PosUseTimeFieldInKernalHash = SampleCoinSetup.Instance.IsPoSv3()
};

// TODO: Set your Base58Prefixes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
using Blockcore.Base.Deployments;
using Blockcore.Consensus;
using Blockcore.Consensus.BlockInfo;
using Blockcore.NBitcoin;
using Blockcore.NBitcoin.BouncyCastle.math;
using Blockcore.NBitcoin.DataEncoders;
using Blockcore.Networks;
using Blockcore.P2P;
using Blockcore.SampleCoin.Networks.Policies;
using Blockcore.SampleCoin.Networks.Setup;
using NBitcoin;
using NBitcoin.BouncyCastle.Math;
using NBitcoin.DataEncoders;

namespace Blockcore.SampleCoin.Networks
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
using Blockcore.P2P;
using Blockcore.SampleCoin.Networks.Policies;
using Blockcore.SampleCoin.Networks.Setup;
using NBitcoin;
using NBitcoin.BouncyCastle.Math;
using NBitcoin.DataEncoders;
using Blockcore.NBitcoin;
using Blockcore.NBitcoin.BouncyCastle.math;
using Blockcore.NBitcoin.DataEncoders;

namespace Blockcore.SampleCoin.Networks
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using System.Collections.Generic;
using Blockcore.Consensus.Checkpoints;
using NBitcoin;
using Blockcore.NBitcoin;

namespace Blockcore.SampleCoin.Networks.Setup
{
Expand Down
3 changes: 2 additions & 1 deletion Blockcore.SampleCoin/src/SampleCoin/SampleCoinSetup.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
using System;
using System.Collections.Generic;
using Blockcore.Consensus.Checkpoints;
using Blockcore.NBitcoin;
using Blockcore.SampleCoin.Networks;
using Blockcore.SampleCoin.Networks.Setup;
using NBitcoin;


namespace Blockcore.SampleCoin
{
Expand Down

0 comments on commit b63c7d3

Please sign in to comment.