From c0ead8697b5fd66da0a0d3396af2ffbec270e528 Mon Sep 17 00:00:00 2001 From: Angelo Capossele Date: Wed, 19 May 2021 11:04:43 +0100 Subject: [PATCH] change faucet params (#1313) * change faucet params * version bump * update changelog --- CHANGELOG.md | 4 ++++ plugins/autopeering/discovery/parameters.go | 2 +- plugins/banner/plugin.go | 2 +- plugins/database/versioning.go | 2 +- plugins/faucet/plugin.go | 2 +- 5 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e0a4f59a4f..f3a59fa565 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# v0.6.1 - 2021-05-19 +* Change Faucet default parameters +* **Breaking**: bumps network and database versions + # v0.6.0 - 2021-05-19 * Add first iteration of the tokenization framework * Add aMana refresher diff --git a/plugins/autopeering/discovery/parameters.go b/plugins/autopeering/discovery/parameters.go index 68112c55c3..99b2559f92 100644 --- a/plugins/autopeering/discovery/parameters.go +++ b/plugins/autopeering/discovery/parameters.go @@ -5,7 +5,7 @@ import "github.com/iotaledger/hive.go/configuration" // Parameters contains the configuration parameters used by the message layer. var Parameters = struct { // NetworkVersion defines the config flag of the network version. - NetworkVersion int `default:"28" usage:"autopeering network version"` + NetworkVersion int `default:"29" usage:"autopeering network version"` // EntryNodes defines the config flag of the entry nodes. EntryNodes []string `default:"2PV5487xMw5rasGBXXWeqSi4hLz7r19YBt8Y1TGAsQbj@ressims.iota.cafe:15626,5EDH4uY78EA6wrBkHHAVBWBMDt7EcksRq6pjzipoW15B@entryshimmer.tanglebay.com:14646" usage:"list of trusted entry nodes for auto peering"` diff --git a/plugins/banner/plugin.go b/plugins/banner/plugin.go index 2185cb1afe..aebaebe4fc 100644 --- a/plugins/banner/plugin.go +++ b/plugins/banner/plugin.go @@ -17,7 +17,7 @@ var ( once sync.Once // AppVersion version number - AppVersion = "v0.6.0" + AppVersion = "v0.6.1" // SimplifiedAppVersion is the version number without commit hash SimplifiedAppVersion = simplifiedVersion(AppVersion) ) diff --git a/plugins/database/versioning.go b/plugins/database/versioning.go index 917d0f99ef..f3ba2de336 100644 --- a/plugins/database/versioning.go +++ b/plugins/database/versioning.go @@ -11,7 +11,7 @@ import ( const ( // DBVersion defines the version of the database schema this version of GoShimmer supports. // Every time there's a breaking change regarding the stored data, this version flag should be adjusted. - DBVersion = 30 + DBVersion = 31 ) var ( diff --git a/plugins/faucet/plugin.go b/plugins/faucet/plugin.go index a6ffc85bb6..1197b9d4a0 100644 --- a/plugins/faucet/plugin.go +++ b/plugins/faucet/plugin.go @@ -51,7 +51,7 @@ func init() { flag.String(CfgFaucetSeed, "", "the base58 encoded seed of the faucet, must be defined if this faucet is enabled") flag.Int(CfgFaucetTokensPerRequest, 1000000, "the amount of tokens the faucet should send for each request") flag.Int(CfgFaucetMaxTransactionBookedAwaitTimeSeconds, 5, "the max amount of time for a funding transaction to become booked in the value layer") - flag.Int(CfgFaucetPoWDifficulty, 25, "defines the PoW difficulty for faucet payloads") + flag.Int(CfgFaucetPoWDifficulty, 22, "defines the PoW difficulty for faucet payloads") flag.Int(CfgFaucetBlacklistCapacity, 10000, "holds the maximum amount the address blacklist holds") flag.Int(CfgFaucetPreparedOutputsCount, 126, "number of outputs the faucet prepares") flag.Int(CfgFaucetStartIndex, 0, "address index to start faucet with")