DERO Homomorphic Encryption Testnet Release2

This commit is contained in:
Captain 2020-12-20 05:23:18 +00:00
parent e25b1a7f5f
commit b11e41663a
No known key found for this signature in database
GPG Key ID: 18CDB3ED5E85D2D4
3 changed files with 4 additions and 4 deletions

View File

@ -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
}

View File

@ -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,

View File

@ -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")