Skip to content

Commit

Permalink
Merge pull request #160 from AXErunners/development
Browse files Browse the repository at this point in the history
Release 1.3.1
  • Loading branch information
charlesrocket committed May 3, 2019
2 parents 20c419f + 4824cd6 commit 6dae6f8
Show file tree
Hide file tree
Showing 24 changed files with 97 additions and 66 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ dnl require autoconf 2.60 (AS_ECHO/AS_ECHO_N)
AC_PREREQ([2.60])
define(_CLIENT_VERSION_MAJOR, 1)
define(_CLIENT_VERSION_MINOR, 3)
define(_CLIENT_VERSION_REVISION, 0)
define(_CLIENT_VERSION_REVISION, 1)
define(_CLIENT_VERSION_BUILD, 0)
define(_CLIENT_VERSION_IS_RELEASE, true)
define(_COPYRIGHT_YEAR, 2019)
Expand Down
16 changes: 8 additions & 8 deletions contrib/devtools/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ git diff -U0 HEAD~1.. | ./contrib/devtools/clang-format-diff.py -p1 -i -v
copyright\_header.py
====================

Provides utilities for managing copyright headers of `The Bitcoin Core
Provides utilities for managing copyright headers of `The Axe Core
developers` in repository source files. It has three subcommands:

```
Expand All @@ -42,31 +42,31 @@ Specifying `verbose` will list the full filenames of files of each category.

copyright\_header.py update \<base\_directory\> [verbose]
---------------------------------------------------------
Updates all the copyright headers of `The Bitcoin Core developers` which were
Updates all the copyright headers of `The Axe Core developers` which were
changed in a year more recent than is listed. For example:
```
// Copyright (c) <firstYear>-<lastYear> The Bitcoin Core developers
// Copyright (c) <firstYear>-<lastYear> The Axe Core developers
```
will be updated to:
```
// Copyright (c) <firstYear>-<lastModifiedYear> The Bitcoin Core developers
// Copyright (c) <firstYear>-<lastModifiedYear> The Axe Core developers
```
where `<lastModifiedYear>` is obtained from the `git log` history.

This subcommand also handles copyright headers that have only a single year. In
those cases:
```
// Copyright (c) <year> The Bitcoin Core developers
// Copyright (c) <year> The Axe Core developers
```
will be updated to:
```
// Copyright (c) <year>-<lastModifiedYear> The Bitcoin Core developers
// Copyright (c) <year>-<lastModifiedYear> The Axe Core developers
```
where the update is appropriate.

copyright\_header.py insert \<file\>
------------------------------------
Inserts a copyright header for `The Bitcoin Core developers` at the top of the
Inserts a copyright header for `The Axe Core developers` at the top of the
file in either Python or C++ style as determined by the file extension. If the
file is a Python file and it has `#!` starting the first line, the header is
inserted in the line below it.
Expand All @@ -76,7 +76,7 @@ The copyright dates will be set to be `<year_introduced>-<current_year>` where
`<year_introduced>` is equal to `<current_year>`, it will be set as a single
year rather than two hyphenated years.

If the file already has a copyright for `The Bitcoin Core developers`, the
If the file already has a copyright for `The Axe Core developers`, the
script will exit.

gen-manpages.sh
Expand Down
34 changes: 19 additions & 15 deletions contrib/devtools/copyright_header.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env python3
# Copyright (c) 2016 The Bitcoin Core developers
# Copyright (c) 2019 The Dash Core developers
# Copyright (c) 2019 The Axe Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.

Expand Down Expand Up @@ -105,6 +107,8 @@ def compile_copyright_regex(copyright_style, year_style, name):
"Jan-Klaas Kollhof\n",
"Sam Rushing\n",
"ArtForz -- public domain half-a-node\n",
"The Dash Core developers\n",
"The Axe Core developers\n",
]

DOMINANT_STYLE_COMPILED = {}
Expand Down Expand Up @@ -277,7 +281,7 @@ def exec_report(base_directory, verbose):
$ ./copyright_header.py report <base_directory> [verbose]
Arguments:
<base_directory> - The base directory of a bitcoin source code repository.
<base_directory> - The base directory of a Axe Core source code repository.
[verbose] - Includes a list of every file of each subcategory in the report.
"""

Expand Down Expand Up @@ -340,7 +344,7 @@ def write_file_lines(filename, file_lines):
COPYRIGHT = 'Copyright \(c\)'
YEAR = "20[0-9][0-9]"
YEAR_RANGE = '(%s)(-%s)?' % (YEAR, YEAR)
HOLDER = 'The Bitcoin Core developers'
HOLDER = 'The Axe Core developers'
UPDATEABLE_LINE_COMPILED = re.compile(' '.join([COPYRIGHT, YEAR_RANGE, HOLDER]))

def get_updatable_copyright_line(file_lines):
Expand Down Expand Up @@ -408,32 +412,32 @@ def exec_update_header_year(base_directory):
################################################################################

UPDATE_USAGE = """
Updates all the copyright headers of "The Bitcoin Core developers" which were
Updates all the copyright headers of "The Axe Core developers" which were
changed in a year more recent than is listed. For example:
// Copyright (c) <firstYear>-<lastYear> The Bitcoin Core developers
// Copyright (c) <firstYear>-<lastYear> The Axe Core developers
will be updated to:
// Copyright (c) <firstYear>-<lastModifiedYear> The Bitcoin Core developers
// Copyright (c) <firstYear>-<lastModifiedYear> The Axe Core developers
where <lastModifiedYear> is obtained from the 'git log' history.
This subcommand also handles copyright headers that have only a single year. In those cases:
// Copyright (c) <year> The Bitcoin Core developers
// Copyright (c) <year> The Axe Core developers
will be updated to:
// Copyright (c) <year>-<lastModifiedYear> The Bitcoin Core developers
// Copyright (c) <year>-<lastModifiedYear> The Axe Core developers
where the update is appropriate.
Usage:
$ ./copyright_header.py update <base_directory>
Arguments:
<base_directory> - The base directory of a bitcoin source code repository.
<base_directory> - The base directory of Axe Core source code repository.
"""

def print_file_action_message(filename, action):
Expand All @@ -458,7 +462,7 @@ def get_header_lines(header, start_year, end_year):
return [line + '\n' for line in lines]

CPP_HEADER = '''
// Copyright (c) %s The Bitcoin Core developers
// Copyright (c) %s The Axe Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
'''
Expand All @@ -467,7 +471,7 @@ def get_cpp_header_lines_to_insert(start_year, end_year):
return reversed(get_header_lines(CPP_HEADER, start_year, end_year))

PYTHON_HEADER = '''
# Copyright (c) %s The Bitcoin Core developers
# Copyright (c) %s The Axe Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
'''
Expand Down Expand Up @@ -521,7 +525,7 @@ def insert_cpp_header(filename, file_lines, start_year, end_year):
def exec_insert_header(filename, style):
file_lines = read_file_lines(filename)
if file_already_has_core_copyright(file_lines):
sys.exit('*** %s already has a copyright by The Bitcoin Core developers'
sys.exit('*** %s already has a copyright by The Axe Core developers'
% (filename))
start_year, end_year = get_git_change_year_range(filename)
if style == 'python':
Expand All @@ -534,7 +538,7 @@ def exec_insert_header(filename, style):
################################################################################

INSERT_USAGE = """
Inserts a copyright header for "The Bitcoin Core developers" at the top of the
Inserts a copyright header for "The Axe Core developers" at the top of the
file in either Python or C++ style as determined by the file extension. If the
file is a Python file and it has a '#!' starting the first line, the header is
inserted in the line below it.
Expand All @@ -548,14 +552,14 @@ def exec_insert_header(filename, style):
"<current_year>"
If the file already has a copyright for "The Bitcoin Core developers", the
If the file already has a copyright for "The Axe Core developers", the
script will exit.
Usage:
$ ./copyright_header.py insert <file>
Arguments:
<file> - A source file in the bitcoin repository.
<file> - A source file in the Axe Core repository.
"""

def insert_cmd(argv):
Expand All @@ -580,7 +584,7 @@ def insert_cmd(argv):
################################################################################

USAGE = """
copyright_header.py - utilities for managing copyright headers of 'The Bitcoin
copyright_header.py - utilities for managing copyright headers of 'The Axe
Core developers' in repository source files.
Usage:
Expand Down
1 change: 0 additions & 1 deletion depends/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ BUILD_ID_SALT ?= salt
host:=$(BUILD)
ifneq ($(HOST),)
host:=$(HOST)
host_toolchain:=$(HOST)-
endif

ifneq ($(DEBUG),)
Expand Down
4 changes: 4 additions & 0 deletions depends/hosts/default.mk
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
ifneq ($(host),$(build))
host_toolchain:=$(host)-
endif

default_host_CC = $(host_toolchain)gcc
default_host_CXX = $(host_toolchain)g++
default_host_AR = $(host_toolchain)ar
Expand Down
1 change: 1 addition & 0 deletions depends/packages/chia_bls.mk
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ define $(package)_set_vars
$(package)_config_opts_i686+= -DWSIZE=32
$(package)_config_opts_x86_64+= -DWSIZE=64
$(package)_config_opts_arm+= -DWSIZE=32
$(package)_config_opts_armv7l+= -DWSIZE=32
$(package)_config_opts_debug=-DDEBUG=ON -DCMAKE_BUILD_TYPE=Debug

ifneq ($(darwin_native_toolchain),)
Expand Down
1 change: 1 addition & 0 deletions depends/packages/gmp.mk
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ $(package)_sha256_hash=5275bb04f4863a13516b2f39392ac5e272f5e1bb8057b18aec1c9b79d

define $(package)_set_vars
$(package)_config_opts+=--enable-cxx --enable-fat --with-pic --disable-shared
$(package)_cflags_armv7l_linux+=-march=armv7-a
endef

define $(package)_config_cmds
Expand Down
1 change: 1 addition & 0 deletions depends/packages/openssl.mk
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ $(package)_config_opts_linux=-fPIC -Wa,--noexecstack
$(package)_config_opts_x86_64_linux=linux-x86_64
$(package)_config_opts_i686_linux=linux-generic32
$(package)_config_opts_arm_linux=linux-generic32
$(package)_config_opts_armv7l_linux=linux-generic32
$(package)_config_opts_aarch64_linux=linux-generic64
$(package)_config_opts_mipsel_linux=linux-generic32
$(package)_config_opts_mips_linux=linux-generic32
Expand Down
2 changes: 1 addition & 1 deletion doc/Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ PROJECT_NAME = "Axe Core"
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = 1.3.0.0
PROJECT_NUMBER = 1.3.1.0

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
Expand Down
2 changes: 1 addition & 1 deletion doc/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Axe Core 1.2.0
Axe Core 1.3.1
=====================

This is the official reference wallet for AXE digital currency and comprises the backbone of the AXE peer-to-peer network. You can [download AXE Core](https://axerunners.com/) or [build it yourself](#building) using the guides below.
Expand Down
24 changes: 3 additions & 21 deletions doc/release-notes.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Axe Core version 1.3.0.0
Axe Core version 1.3.1.0
==========================

Release is now available from:

<https://github.com/AXErunners/axe/releases>

This is a new minor version release, bringing various bugfixes and other improvements.
This is a new version release, bringing various bugfixes and other improvements.

Please report bugs using the issue tracker at github:

Expand All @@ -32,22 +32,4 @@ the node.
Notable changes
===============

Instantsend Autolocks activated.

Number of false-positives from anti virus software should be reduced
--------------------------------------------------------------------
We have removed all mining code from Windows and Mac binaries, which should avoid most of the false-positive alerts
from anti virus software. Linux builds are not affected. The mining code found in `axe-qt` and `axed` are only meant
for regression/integration tests and devnets, so there is no harm in removing this code from non-linux builds.

Fixed an issue with invalid merkle blocks causing SPV nodes to ban other nodes
------------------------------------------------------------------------------
A fix that was introduces in the last minor version caused creation of invalid merkle blocks, which in turn cause SPV
nodes to ban 1.2.3 nodes. This can be observed on mobile clients which have troubles maintaining connections. This
release fixes this issue and should allow SPV/mobile clients to sync with upgraded nodes.

Bug fixes/Other improvements
----------------------------
There are few bug fixes in this release:
- Fixed an issue with transaction sometimes not being fully zapped when `-zapwallettxes` is used
- Fixed an issue with the `protx revoke` RPC and REASON_CHANGE_OF_KEYS
Decentralized governance activated.
4 changes: 2 additions & 2 deletions src/chainparams.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -184,10 +184,10 @@ class CMainParams : public CChainParams {
consensus.nMasternodePaymentsIncreasePeriod = 576*30;
consensus.nInstantSendConfirmationsRequired = 6;
consensus.nInstantSendKeepLock = 24;
consensus.nBudgetPaymentsStartBlock = 9999999;
consensus.nBudgetPaymentsStartBlock = 271350;
consensus.nBudgetPaymentsCycleBlocks = 16616;
consensus.nBudgetPaymentsWindowBlocks = 100;
consensus.nSuperblockStartBlock = 9999999;
consensus.nSuperblockStartBlock = 304800;
consensus.nSuperblockStartHash = uint256S("");
consensus.nSuperblockCycle = 16616; // ~(60*24*30)/2.6, actual number of blocks per month is 200700 / 12 = 16725
consensus.nGovernanceMinQuorum = 10;
Expand Down
2 changes: 1 addition & 1 deletion src/clientversion.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
//! These need to be macros, as clientversion.cpp's and axe*-res.rc's voodoo requires it
#define CLIENT_VERSION_MAJOR 1
#define CLIENT_VERSION_MINOR 3
#define CLIENT_VERSION_REVISION 0
#define CLIENT_VERSION_REVISION 1
#define CLIENT_VERSION_BUILD 0

//! Set to true for release, false for prerelease or test build
Expand Down
2 changes: 1 addition & 1 deletion src/governance-object.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ static const int GOVERNANCE_OBJECT_PROPOSAL = 1;
static const int GOVERNANCE_OBJECT_TRIGGER = 2;
static const int GOVERNANCE_OBJECT_WATCHDOG = 3;

static const CAmount GOVERNANCE_PROPOSAL_FEE_TX = (5.0 * COIN);
static const CAmount GOVERNANCE_PROPOSAL_FEE_TX = (0.5 * COIN);

static const int64_t GOVERNANCE_FEE_CONFIRMATIONS = 6;
static const int64_t GOVERNANCE_MIN_RELAY_FEE_CONFIRMATIONS = 1;
Expand Down
4 changes: 2 additions & 2 deletions src/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
#include "miner.h"
#include "netbase.h"
#include "net.h"
#include "netfulfilledman.h"
#include "net_processing.h"
#include "policy/policy.h"
#include "rpc/server.h"
Expand Down Expand Up @@ -2035,7 +2034,8 @@ bool AppInitMain(boost::thread_group& threadGroup, CScheduler& scheduler)

// LOAD SERIALIZED DAT FILES INTO DATA CACHES FOR INTERNAL USE

if (!fLiteMode) {
bool fIgnoreCacheFiles = fLiteMode || fReindex || fReindexChainState;
if (!fIgnoreCacheFiles) {
boost::filesystem::path pathDB = GetDataDir();
std::string strDBName;

Expand Down
16 changes: 8 additions & 8 deletions src/qt/optionsdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,14 @@ OptionsDialog::OptionsDialog(QWidget *parent, bool enableWallet) :
}

/* Theme selector */
ui->theme->addItem(QString("AXE-light"), QVariant("light"));
ui->theme->addItem(QString("AXE-light-hires"), QVariant("light-hires"));
ui->theme->addItem(QString("AXE-light-retro"), QVariant("light-retro"));
ui->theme->addItem(QString("AXE-light-hires-retro"), QVariant("light-hires-retro"));
ui->theme->addItem(QString("AXE-blue"), QVariant("drkblue"));
ui->theme->addItem(QString("AXE-Crownium"), QVariant("crownium"));
ui->theme->addItem(QString("AXE-traditional"), QVariant("trad"));
ui->theme->addItem(QString("Light"), QVariant("light"));
ui->theme->addItem(QString("Light-HiRes"), QVariant("light-hires"));
ui->theme->addItem(QString("Light-Retro"), QVariant("light-retro"));
ui->theme->addItem(QString("Light-HiRes-Retro"), QVariant("light-hires-retro"));
ui->theme->addItem(QString("Blue"), QVariant("drkblue"));
ui->theme->addItem(QString("Crownium"), QVariant("crownium"));
ui->theme->addItem(QString("Traditional"), QVariant("trad"));

/* Language selector */
QDir translations(":translations");

Expand Down
Binary file modified src/qt/res/icons/light-retro/overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/qt/res/icons/light-retro/toolbar.png
Binary file not shown.
Binary file removed src/qt/res/icons/light-retro/toolbar_testnet.png
Binary file not shown.
Binary file removed src/qt/res/icons/light/toolbar.png
Binary file not shown.
Binary file removed src/qt/res/icons/light/toolbar_testnet.png
Binary file not shown.
Loading

0 comments on commit 6dae6f8

Please sign in to comment.