Skip to content
This repository was archived by the owner on Oct 28, 2021. It is now read-only.

Commit 8d0bada

Browse files
committed
Merge remote-tracking branch 'origin/release/1.4'
2 parents aad677c + ac70379 commit 8d0bada

File tree

6 files changed

+17
-5
lines changed

6 files changed

+17
-5
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 1.5.0.dev1
2+
current_version = 1.4.0rc3
33
tag = True
44
commit = True
55
message = Aleth {new_version}

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ HunterGate(
4141
)
4242

4343
project(aleth)
44-
set(PROJECT_VERSION 1.5.0.dev1)
44+
set(PROJECT_VERSION 1.4.0rc3)
4545

4646
if (NOT EXISTS ${CMAKE_SOURCE_DIR}/evmjit/.git)
4747
message(FATAL_ERROR "Git submodules not initialized, execute:\n git submodule update --init")

circle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ jobs:
230230
name: "Create GitHub release"
231231
command: |
232232
prerelease_flag=$([[ $CIRCLE_TAG =~ ^v[0-9\.]+$ ]] || echo '-prerelease')
233-
ghr -u ethereum -r cpp-ethereum $prerelease_flag $CIRCLE_TAG ~/package
233+
ghr -u ethereum -r aleth $prerelease_flag $CIRCLE_TAG ~/package
234234
235235
# Builds aleth docker image and uploads it to Docker Hub.
236236
docker-aleth: &docker-aleth

libevm/VMFactory.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#endif
2929

3030
#if ETH_HERA
31-
#include <hera.h>
31+
#include <hera/hera.h>
3232
#endif
3333

3434
namespace po = boost::program_options;

libp2p/Host.cpp

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,6 +527,12 @@ void Host::addNode(NodeID const& _node, NodeIPEndpoint const& _endpoint)
527527
else
528528
return;
529529

530+
if (_node == id())
531+
{
532+
cnetdetails << "Ingoring the request to connect to self " << _node;
533+
return;
534+
}
535+
530536
if (_endpoint.tcpPort() < 30300 || _endpoint.tcpPort() > 30305)
531537
cnetdetails << "Non-standard port being recorded: " << _endpoint.tcpPort();
532538

@@ -543,6 +549,12 @@ void Host::requirePeer(NodeID const& _n, NodeIPEndpoint const& _endpoint)
543549
if (!m_run)
544550
return;
545551

552+
if (_n == id())
553+
{
554+
cnetdetails << "Ingoring the request to connect to self " << _n;
555+
return;
556+
}
557+
546558
Node node(_n, _endpoint, PeerType::Required);
547559
if (_n)
548560
{

0 commit comments

Comments
 (0)