From b11e41663a2ed8450366331362b8e840a53d0864 Mon Sep 17 00:00:00 2001 From: Captain Date: Sun, 20 Dec 2020 05:23:18 +0000 Subject: [PATCH] DERO Homomorphic Encryption Testnet Release2 --- blockchain/store.go | 2 +- config/config.go | 4 ++-- config/version.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/blockchain/store.go b/blockchain/store.go index 206fa31b..a8bb1bdd 100644 --- a/blockchain/store.go +++ b/blockchain/store.go @@ -149,7 +149,7 @@ func (chain *Blockchain) Load_BL_FROM_ID(hash [32]byte) (*block.Block, error) { if block_data, err := chain.Store.Block_tx_store.ReadBlock(hash); err == nil { if err = bl.Deserialize(block_data); err != nil { // we should deserialize the block here - logger.Warnf("fError deserialiing block, block id %s len(data) %d data %x", hash[:], len(block_data), block_data) + logger.Warnf("fError deserialiing block, block id %x len(data) %d data %x err %s", hash[:], len(block_data), block_data,err) return nil, err } diff --git a/config/config.go b/config/config.go index 8e14cbb3..c73e0194 100644 --- a/config/config.go +++ b/config/config.go @@ -26,7 +26,7 @@ import "github.com/deroproject/derohe/crypto" // later hardforks can make it lower by 1 sec, say every 6 months or so, until the system reaches 3 secs // by that time, networking,space requirements and processing requiremtn will probably outgrow homeusers // since most mining nodes will be running in datacenter, 3 secs blocks c -const BLOCK_TIME = uint64(60) +const BLOCK_TIME = uint64(30) // we are ignoring leap seconds from calculations @@ -113,7 +113,7 @@ var Mainnet = CHAIN_CONFIG{Name: "mainnet", } var Testnet = CHAIN_CONFIG{Name: "testnet", // testnet will always have last 3 bytes 0 - Network_ID: uuid.FromBytesOrNil([]byte{0x59, 0xd7, 0xf7, 0xe9, 0xdd, 0x48, 0xd5, 0xfd, 0x13, 0x0a, 0xf6, 0xe0, 0x21, 0x00, 0x00, 0x00}), + Network_ID: uuid.FromBytesOrNil([]byte{0x59, 0xd7, 0xf7, 0xe9, 0xdd, 0x48, 0xd5, 0xfd, 0x13, 0x0a, 0xf6, 0xe0, 0x22, 0x00, 0x00, 0x00}), P2P_Default_Port: 40401, RPC_Default_Port: 40402, Wallet_RPC_Default_Port: 40403, diff --git a/config/version.go b/config/version.go index e588e433..a810507e 100644 --- a/config/version.go +++ b/config/version.go @@ -20,4 +20,4 @@ import "github.com/blang/semver" // right now it has to be manually changed // do we need to include git commitsha?? -var Version = semver.MustParse("3.0.0-9.DEROHE.alpha+19122020") +var Version = semver.MustParse("3.0.0-10.DEROHE.alpha+20122020")