From 5507569e6d3c8b92159339fe133400710268f306 Mon Sep 17 00:00:00 2001 From: SondreB Date: Wed, 12 Jan 2022 15:55:09 +0100 Subject: [PATCH] Feature/rsc consensus final (#371) * Changes to the RSC consensus * Update list of node IPs for RSC * Update version for next release --- src/Directory.Build.props | 2 +- .../Networks/RoyalSportsCityMain.cs | 6 +++--- .../RoyalSportsCitySetup.cs | 10 +++++----- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 1fc8aba44..c22b45028 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -1,6 +1,6 @@ - 1.1.26 + 1.1.27 net6.0 false Blockcore diff --git a/src/Networks/Blockcore.Networks.RoyalSportsCity/Networks/RoyalSportsCityMain.cs b/src/Networks/Blockcore.Networks.RoyalSportsCity/Networks/RoyalSportsCityMain.cs index 6528cf9f9..729d4def9 100644 --- a/src/Networks/Blockcore.Networks.RoyalSportsCity/Networks/RoyalSportsCityMain.cs +++ b/src/Networks/Blockcore.Networks.RoyalSportsCity/Networks/RoyalSportsCityMain.cs @@ -46,10 +46,10 @@ public RoyalSportsCityMain() DefaultMaxOutboundConnections = 16; DefaultMaxInboundConnections = 109; MaxTipAge = 2 * 60 * 60; - MinTxFee = 10000; + MinTxFee = 1000000; MaxTxFee = Money.Coins(1).Satoshi; - FallbackFee = 25000; - MinRelayTxFee = 10000; + FallbackFee = 250000; + MinRelayTxFee = 1000000; MaxTimeOffsetSeconds = 25 * 60; DefaultBanTimeSeconds = 16000; // 500 (MaxReorg) * 64 (TargetSpacing) / 2 = 4 hours, 26 minutes and 40 seconds diff --git a/src/Networks/Blockcore.Networks.RoyalSportsCity/RoyalSportsCitySetup.cs b/src/Networks/Blockcore.Networks.RoyalSportsCity/RoyalSportsCitySetup.cs index ac076bf04..969a6bbfd 100644 --- a/src/Networks/Blockcore.Networks.RoyalSportsCity/RoyalSportsCitySetup.cs +++ b/src/Networks/Blockcore.Networks.RoyalSportsCity/RoyalSportsCitySetup.cs @@ -18,9 +18,9 @@ internal class RoyalSportsCitySetup Magic = "01-52-53-43", CoinType = 6599, PremineReward = 3000000000, - PoWBlockReward = 3000, - PoSBlockReward = 1000, - LastPowBlock = 25000, + PoWBlockReward = 210, + PoSBlockReward = 21, + LastPowBlock = 2100, MaxSupply = 21000000000, GenesisText = "Decentralized Royal Sports City", TargetSpacing = TimeSpan.FromSeconds(64), @@ -34,7 +34,7 @@ internal class RoyalSportsCitySetup RootFolderName = "royalsportscity", CoinTicker = "RSC", DefaultPort = 14001, - DefaultRPCPort = 15002, + DefaultRPCPort = 14002, DefaultAPIPort = 14003, PubKeyAddress = 60, // R ScriptAddress = 122, // r @@ -47,7 +47,7 @@ internal class RoyalSportsCitySetup HashGenesisBlock = "000009b276ed4815cf1fde9078f2d21facd5ece23e6ccfb31c7f90f87563010f", HashMerkleRoot = "d8575410f6b019171ff0b4548814e7ae6fc3dd837d5ecc71d77bb21866ddb210", DNS = new[] { "seed.royalsportscity.com", "seed.royalsportscity.net" }, - Nodes = new[] { "130.185.120.45", "185.235.43.17" }, + Nodes = new[] { "188.121.108.106", "194.5.207.190", "185.226.117.108", "194.5.207.244", "185.235.43.17", "185.235.41.141", "130.185.120.45", "185.226.116.170" }, Checkpoints = new Dictionary { // TODO: Add checkpoints as the network progresses.