Commit 913b8e51 authored by Sergei Zubov's avatar Sergei Zubov

Update settings

parent 153c7361
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using NBitcoin.BouncyCastle.Math; using NBitcoin.BouncyCastle.Math;
...@@ -109,7 +109,7 @@ namespace NBitcoin.Networks ...@@ -109,7 +109,7 @@ namespace NBitcoin.Networks
this.Consensus.PowNoRetargeting = false; this.Consensus.PowNoRetargeting = false;
this.Consensus.RuleChangeActivationThreshold = 1916; // 95% of 2016 this.Consensus.RuleChangeActivationThreshold = 1916; // 95% of 2016
this.Consensus.MinerConfirmationWindow = 2016; // nPowTargetTimespan / nPowTargetSpacing this.Consensus.MinerConfirmationWindow = 2016; // nPowTargetTimespan / nPowTargetSpacing
this.Consensus.LastPOWBlock = 12500; this.Consensus.LastPOWBlock = 1000;
this.Consensus.IsProofOfStake = true; this.Consensus.IsProofOfStake = true;
this.Consensus.ConsensusFactory = new PosConsensusFactory {Consensus = this.Consensus}; this.Consensus.ConsensusFactory = new PosConsensusFactory {Consensus = this.Consensus};
this.Consensus.ProofOfStakeLimit = new BigInteger(uint256 this.Consensus.ProofOfStakeLimit = new BigInteger(uint256
......
...@@ -37,7 +37,7 @@ namespace Stratis.Bitcoin.Features.Api ...@@ -37,7 +37,7 @@ namespace Stratis.Bitcoin.Features.Api
builder => builder =>
{ {
var allowedDomains = new[] { "http://localhost", "http://localhost:4200" }; var allowedDomains = new[] { "http://localhost", "http://localhost:4200", "http://localhost:6060" };
builder builder
.WithOrigins(allowedDomains) .WithOrigins(allowedDomains)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment