DERO-HE STARGATE Testnet Release25
This commit is contained in:
parent
e60bb37e46
commit
81bc28a537
@ -226,13 +226,13 @@ func main() {
|
|||||||
mempool_tx_count := len(chain.Mempool.Mempool_List_TX())
|
mempool_tx_count := len(chain.Mempool.Mempool_List_TX())
|
||||||
regpool_tx_count := len(chain.Regpool.Regpool_List_TX())
|
regpool_tx_count := len(chain.Regpool.Regpool_List_TX())
|
||||||
|
|
||||||
if our_height < 0 { // somehow the data folder got deleted/renamed/corrupted
|
/*if our_height < 0 { // somehow the data folder got deleted/renamed/corrupted
|
||||||
logger.Error(nil, "Somehow the data directory is not accessible. shutting down")
|
logger.Error(nil, "Somehow the data directory is not accessible. shutting down")
|
||||||
l.Terminal.ExitRawMode()
|
l.Terminal.ExitRawMode()
|
||||||
l.Terminal.Print("\n\n")
|
l.Terminal.Print("\n\n")
|
||||||
os.Exit(-1)
|
os.Exit(-1)
|
||||||
return
|
return
|
||||||
}
|
}*/
|
||||||
|
|
||||||
// only update prompt if needed
|
// only update prompt if needed
|
||||||
if last_second != time.Now().Unix() || last_our_height != our_height || last_best_height != best_height || last_peer_count != peer_count || last_topo_height != topo_height || last_mempool_tx_count != mempool_tx_count || last_regpool_tx_count != regpool_tx_count {
|
if last_second != time.Now().Unix() || last_our_height != our_height || last_best_height != best_height || last_peer_count != peer_count || last_topo_height != topo_height || last_mempool_tx_count != mempool_tx_count || last_regpool_tx_count != regpool_tx_count {
|
||||||
|
@ -97,7 +97,7 @@ var Mainnet = CHAIN_CONFIG{Name: "mainnet",
|
|||||||
}
|
}
|
||||||
|
|
||||||
var Testnet = CHAIN_CONFIG{Name: "testnet", // testnet will always have last 3 bytes 0
|
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, 0x62, 0x00, 0x00, 0x00}),
|
Network_ID: uuid.FromBytesOrNil([]byte{0x59, 0xd7, 0xf7, 0xe9, 0xdd, 0x48, 0xd5, 0xfd, 0x13, 0x0a, 0xf6, 0xe0, 0x68, 0x00, 0x00, 0x00}),
|
||||||
P2P_Default_Port: 40401,
|
P2P_Default_Port: 40401,
|
||||||
RPC_Default_Port: 40402,
|
RPC_Default_Port: 40402,
|
||||||
Wallet_RPC_Default_Port: 40403,
|
Wallet_RPC_Default_Port: 40403,
|
||||||
|
@ -20,4 +20,4 @@ import "github.com/blang/semver/v4"
|
|||||||
|
|
||||||
// right now it has to be manually changed
|
// right now it has to be manually changed
|
||||||
// do we need to include git commitsha??
|
// do we need to include git commitsha??
|
||||||
var Version = semver.MustParse("3.4.67-1.DEROHE.STARGATE+14112021")
|
var Version = semver.MustParse("3.4.69-1.DEROHE.STARGATE+15112021")
|
||||||
|
@ -154,7 +154,7 @@ func (c *Connection) NotifyMiniBlock(request Objects, response *Dummy) (err erro
|
|||||||
// first check whether the incoming minblock can be added to sub chains
|
// first check whether the incoming minblock can be added to sub chains
|
||||||
if !chain.MiniBlocks.IsConnected(mbl) {
|
if !chain.MiniBlocks.IsConnected(mbl) {
|
||||||
c.previous_mbl = mbl.Serialize()
|
c.previous_mbl = mbl.Serialize()
|
||||||
c.logger.V(3).Error(err, "Disconnected miniblock")
|
c.logger.V(3).Error(err, "Disconnected miniblock","mbl",mbl.String())
|
||||||
//return fmt.Errorf("Disconnected miniblock")
|
//return fmt.Errorf("Disconnected miniblock")
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user