From 26360f78e8cede5b5bfdd807af86ec098b5540f1 Mon Sep 17 00:00:00 2001 From: sevndata <885119788@qq.com> Date: Wed, 23 Oct 2024 14:31:55 +0800 Subject: [PATCH 1/3] Update v0.0.29 --- config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/config.go b/config/config.go index 21433f8..1d1d8e1 100644 --- a/config/config.go +++ b/config/config.go @@ -5,6 +5,6 @@ package config const ( ProjectName = "blockchain_box" - ProjectVersion = "v0.0.28" + ProjectVersion = "v0.0.29" ProjectDescription = "blockchain develop tool box" ) From 43ad63048cd3a6bffcb6bc8ff1c7a8c766ec093c Mon Sep 17 00:00:00 2001 From: sevndata <885119788@qq.com> Date: Thu, 24 Oct 2024 17:12:36 +0800 Subject: [PATCH 2/3] change coin_name from Pepe to Pep --- coin_flags/bip_slip_coin_number.go | 14 +++++++------- coin_flags/coin_flags.go | 8 ++++---- coin_flags/extends.go | 4 ++-- coin_flags/supported.go | 2 +- coin_flags/util.go | 4 ++-- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/coin_flags/bip_slip_coin_number.go b/coin_flags/bip_slip_coin_number.go index eeb21da..6099519 100644 --- a/coin_flags/bip_slip_coin_number.go +++ b/coin_flags/bip_slip_coin_number.go @@ -17,11 +17,11 @@ const ( BIP_SLIP_CoinNumber_Solana = 501 BIP_SLIP_CoinNumber_Aleo = 683 BIP_SLIP_CoinNumber_Bells = 1 - BIP_SLIP_CoinNumber_Pepe = 3434 - BIP_SLIP_CoinNumber_Aus = 1 //not found aus slip - BIP_SLIP_CoinNumber_DogmCoin = 1 //not found dogm slip - BIP_SLIP_CoinNumber_Earthcoin = 406 // ?=earths - BIP_SLIP_CoinNumber_Dingocoin = 1 //not found dingo slip + BIP_SLIP_CoinNumber_Pep = 1 //?=pepe 3434 + BIP_SLIP_CoinNumber_Aus = 1 //not found aus slip + BIP_SLIP_CoinNumber_DogmCoin = 1 //not found dogm slip + BIP_SLIP_CoinNumber_Earthcoin = 1 // ?=earths 406 + BIP_SLIP_CoinNumber_Dingocoin = 1 //not found dingo slip ) // GetBIPSLIPCoinNumber @@ -54,8 +54,8 @@ func (cf CoinFlag) GetBIPSLIPCoinNumber() uint32 { return BIP_SLIP_CoinNumber_Aleo case CoinFlagBEL: return BIP_SLIP_CoinNumber_Bells - case CoinFlagPEPE: - return BIP_SLIP_CoinNumber_Pepe + case CoinFlagPEP: + return BIP_SLIP_CoinNumber_Pep case CoinFlagAUS: return BIP_SLIP_CoinNumber_Aus case CoinFlagDOGM: diff --git a/coin_flags/coin_flags.go b/coin_flags/coin_flags.go index 90e959b..60a3445 100644 --- a/coin_flags/coin_flags.go +++ b/coin_flags/coin_flags.go @@ -33,7 +33,7 @@ const ( CoinFlagFIL // en: FIL | zh-CN: FIL; CoinFlagAleo // en: ALEO | zh-CN: ALEO; CoinFlagBEL // en: BEL | zh-CN: BEL; - CoinFlagPEPE + CoinFlagPEP CoinFlagAUS CoinFlagDOGM CoinFlagEAC @@ -78,8 +78,8 @@ func (cf CoinFlag) CoinName() string { return "ALEO" case CoinFlagBEL: return "BEL" - case CoinFlagPEPE: - return "PEPE" + case CoinFlagPEP: + return "PEP" case CoinFlagAUS: return "AUS" case CoinFlagDOGM: @@ -125,7 +125,7 @@ func (cf CoinFlag) CoinFullName() string { return "Aleo" case CoinFlagBEL: return "BELLS" - case CoinFlagPEPE: + case CoinFlagPEP: return "Pepecoin" case CoinFlagAUS: return "AustraliaCash" diff --git a/coin_flags/extends.go b/coin_flags/extends.go index c2134e4..509ccd4 100644 --- a/coin_flags/extends.go +++ b/coin_flags/extends.go @@ -33,8 +33,8 @@ func (cf CoinFlag) CoinRedisPrefixName() string { return "aleo" case CoinFlagBEL: return "bel" - case CoinFlagPEPE: - return "pepe" + case CoinFlagPEP: + return "pep" case CoinFlagAUS: return "aus" case CoinFlagDOGM: diff --git a/coin_flags/supported.go b/coin_flags/supported.go index 2e3e168..e9ee9c0 100644 --- a/coin_flags/supported.go +++ b/coin_flags/supported.go @@ -12,7 +12,7 @@ var ( CoinFlagMETA.CoinName(): CoinFlagMETA, CoinFlagCAU.CoinName(): CoinFlagCAU, CoinFlagBEL.CoinName(): CoinFlagBEL, - CoinFlagPEPE.CoinName(): CoinFlagPEPE, + CoinFlagPEP.CoinName(): CoinFlagPEP, CoinFlagAUS.CoinName(): CoinFlagAUS, CoinFlagDOGM.CoinName(): CoinFlagDOGM, CoinFlagEAC.CoinName(): CoinFlagEAC, diff --git a/coin_flags/util.go b/coin_flags/util.go index d5e5efe..4064fcc 100644 --- a/coin_flags/util.go +++ b/coin_flags/util.go @@ -32,8 +32,8 @@ func GetCoinFlagByCoinName(name string) CoinFlag { return CoinFlagAleo case "BEL", "BELLS", "Bel", "Bells": return CoinFlagBEL - case "PEPE", "Pepe", "Pepecoin", "PepeCoin": - return CoinFlagPEPE + case "PEP", "pep", "PEPE", "pepe", "Pep", "Pepecoin", "PepeCoin": + return CoinFlagPEP case "AUS", "AUS-Cash", "Australiacash", "Australia Cash", "AustraliaCash": return CoinFlagAUS case "Earthcoin", "EAC", "Earth", "earth", "EarthCoin", "eac": From f73d9b8e9b1fdd916be337ff2102d8281810e86b Mon Sep 17 00:00:00 2001 From: sevndata <885119788@qq.com> Date: Thu, 24 Oct 2024 18:38:00 +0800 Subject: [PATCH 3/3] change coin_name from Pepe to Pep --- coin_flags/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coin_flags/util.go b/coin_flags/util.go index 4064fcc..a33d30e 100644 --- a/coin_flags/util.go +++ b/coin_flags/util.go @@ -32,7 +32,7 @@ func GetCoinFlagByCoinName(name string) CoinFlag { return CoinFlagAleo case "BEL", "BELLS", "Bel", "Bells": return CoinFlagBEL - case "PEP", "pep", "PEPE", "pepe", "Pep", "Pepecoin", "PepeCoin": + case "PEP", "pep", "Pep", "Pepecoin", "PepeCoin": return CoinFlagPEP case "AUS", "AUS-Cash", "Australiacash", "Australia Cash", "AustraliaCash": return CoinFlagAUS