diff --git a/cmd/derod/main.go b/cmd/derod/main.go index a31c748..80503f1 100644 --- a/cmd/derod/main.go +++ b/cmd/derod/main.go @@ -226,13 +226,13 @@ func main() { mempool_tx_count := len(chain.Mempool.Mempool_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") l.Terminal.ExitRawMode() l.Terminal.Print("\n\n") os.Exit(-1) return - } + }*/ // 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 { diff --git a/config/config.go b/config/config.go index 106b9df..e223ee1 100644 --- a/config/config.go +++ b/config/config.go @@ -97,7 +97,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, 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, RPC_Default_Port: 40402, Wallet_RPC_Default_Port: 40403, diff --git a/config/version.go b/config/version.go index 4d4b877..a5c3b30 100644 --- a/config/version.go +++ b/config/version.go @@ -20,4 +20,4 @@ import "github.com/blang/semver/v4" // right now it has to be manually changed // 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") diff --git a/p2p/rpc_notifications.go b/p2p/rpc_notifications.go index ac4d7e1..947ed7d 100644 --- a/p2p/rpc_notifications.go +++ b/p2p/rpc_notifications.go @@ -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 if !chain.MiniBlocks.IsConnected(mbl) { 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") continue }