Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V13.0.1 #22

Merged
merged 52 commits into from
May 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
d0d9dd6
Reset Improvement Proposals
CryptoCentric Apr 4, 2021
105a424
chia_bls path update
CryptoCentric Apr 4, 2021
2f40faa
Branding Update
CryptoCentric Apr 5, 2021
f420769
Branding Update Icons
CryptoCentric Apr 5, 2021
bd7ebd1
Add Depth to Overlay
CryptoCentric Apr 5, 2021
8bc492d
[depends] mac_alias 2.0.6, ds_store 1.1.2
CryptoCentric Apr 6, 2021
9cf6e36
Reset Devnet to upstream format
CryptoCentric Apr 6, 2021
438311a
Further Devnet Formats
CryptoCentric Apr 6, 2021
92f3026
Rename Params
CryptoCentric Apr 6, 2021
f46b1dc
Further Param changes
CryptoCentric Apr 6, 2021
9c0a1be
Remove temporary condition
CryptoCentric Apr 6, 2021
6c9b36c
Update for DC nodes
CryptoCentric Apr 21, 2021
cc14de8
llmq add, set CN amounts
CryptoCentric Apr 21, 2021
a4dc932
Update Masternode List Descript
CryptoCentric Apr 21, 2021
4520132
GUI: Realign Horizontal Position
CryptoCentric Apr 21, 2021
6fd596a
Set Deterministic Start Date
CryptoCentric Apr 22, 2021
958f7e6
Contrib: embed C++11 patch in install_db4.sh
CryptoCentric Apr 22, 2021
546f3bd
update sporks and versions
CryptoCentric Apr 22, 2021
da3b447
Update README.md
CryptoCentric Apr 25, 2021
14f396b
Reset epoch
CryptoCentric Apr 27, 2021
aadf11f
Check correct MN collateral in Protx
CryptoCentric Apr 28, 2021
df4fa06
Adjust Testent params, set spork block height
CryptoCentric Apr 30, 2021
660ef24
Revert "Adjust Testent params, set spork block height"
CryptoCentric Apr 30, 2021
a3e933c
Soft Fork timing confirm reduction
CryptoCentric Apr 30, 2021
baff739
Revert "Soft Fork timing confirm reduction"
CryptoCentric May 1, 2021
f830ef4
Update spork block and epoch
CryptoCentric May 1, 2021
6a267ea
add more height before spork block
CryptoCentric May 1, 2021
920638a
GUI update
CryptoCentric May 3, 2021
f25ec85
Further GUI
CryptoCentric May 3, 2021
097d8e5
Remove Blue in History png
CryptoCentric May 3, 2021
2a5ffd9
Backport bitcoin #13623 Migrate gitian-build.sh to python (#2319)
charlesrocket Oct 21, 2018
b1d54c1
Migrate gitian-build.sh
charlesrocket Jan 1, 2020
8013de0
Contrib: tidy databases
CryptoCentric May 9, 2021
5e6f724
Update Build Notes for Gitian and Unix
CryptoCentric May 9, 2021
789017c
Absify References
CryptoCentric May 9, 2021
35dcde9
Update QT for DM functions
CryptoCentric May 9, 2021
55047cd
Updates man version
CryptoCentric May 9, 2021
91ca97f
Revise old release notes
CryptoCentric May 9, 2021
92625c6
RPC: Add deterministic tests
CryptoCentric May 9, 2021
43f086a
Absify Absolute related functions
CryptoCentric May 9, 2021
c3e2fd2
Re-add quorum commitments
CryptoCentric May 9, 2021
10bf59a
Set deterministic block number activation
CryptoCentric May 9, 2021
2dc3ed4
Chain: update defaultAssumeValid
CryptoCentric May 9, 2021
87f531b
Contrib: update hardcoded seeds
CryptoCentric May 9, 2021
685811c
Set SENTINEL_PING_EXPIRED
CryptoCentric May 9, 2021
738a65a
Contrib: Cleanup of auto_gbd and devtools
CryptoCentric May 9, 2021
ef34a5b
Lower Governance Protocol
CryptoCentric May 9, 2021
6625d9d
Chain: Reformat autochecks
CryptoCentric May 9, 2021
591f5b4
Spork: Reset masternode updated nodes
CryptoCentric May 13, 2021
5517c82
Final Parameter changes to llmq
CryptoCentric May 13, 2021
727ba48
Docs: Update release notes for v.13
CryptoCentric May 13, 2021
a1484c3
Update Description and One Protocol Information
CryptoCentric May 13, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ libconftest.dylib*
*.o
*.o-*
*.patch
!depends/patches/*/*.patch
*.a
*.pb.cc
*.pb.h
Expand All @@ -82,6 +83,7 @@ libconftest.dylib*
Makefile
absolute-qt
Absolute-Qt.app

!/depends/Makefile

# Unit-tests
Expand Down Expand Up @@ -109,6 +111,7 @@ linux-coverage-build
linux-build
win32-build
qa/pull-tester/tests_config.py

qa/pull-tester/tests_config.ini
qa/cache/*

Expand Down
19 changes: 18 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,29 @@
cmake_minimum_required(VERSION 3.7)
project(absolute)

set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD 14)

include_directories(
src
src/qt/forms
src/leveldb/include
src/univalue/include
)

if(UNIX AND NOT APPLE)
set(DEPENDS_PREFIX depends/x86_64-pc-linux-gnu)
elseif(APPLE)
set(DEPENDS_PREFIX depends/x86_64-apple-darwin11)
elseif(WIN32)
set(DEPENDS_PREFIX depends/x86_64-w64-mingw32)
endif()

message(STATUS "DEPENDS_PREFIX: ${DEPENDS_PREFIX}")

if(DEFINED DEPENDS_PREFIX)
include_directories(${DEPENDS_PREFIX}/include)
include_directories(${DEPENDS_PREFIX}/include/QtWidgets)
endif()
add_definitions(
-DENABLE_WALLET=1
)
Expand Down Expand Up @@ -58,6 +73,8 @@ file(GLOB SOURCE_FILES
src/*.h
src/evo/*.h
src/evo/*.cpp
src/llmq/*.h
src/llmq/*.cpp
src/rpc/*.cpp
src/rpc/*.h
)
Expand Down
6 changes: 6 additions & 0 deletions Jenkinsfile.gitian
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ for(int i = 0; i < targets.size(); i++) {
tail -F var/install.log &
tail -F var/build.log &
USE_DOCKER=1 ./bin/gbuild -j ${proc} -m ${mem} --commit absolute=${commit} --url absolute=${repositoryUrl} ../absolute/contrib/gitian-descriptors/gitian-${target}.yml
RET=\$?
# give the above tail calls enough time to print everything on failure
sleep 2s
exit \$RET
"""
} finally {
// make sure it doesn't run forever
Expand All @@ -114,6 +118,8 @@ for(int i = 0; i < targets.size(); i++) {
archiveArtifacts artifacts: 'absolutecore-binaries/*', fingerprint: true
}

// TODO remove this in a few days (only needed to prune the old compressed file from Jenkins caches)
sh "cd gitian-builder/cache && find -name ccache.tar.gz | xargs rm -f"
sh "cd gitian-builder/cache && tar czfv ../../cache-${gitianDescriptor.name}.tar.gz common ${gitianDescriptor.name}"
archiveArtifacts artifacts: "cache-${gitianDescriptor.name}.tar.gz", fingerprint: true
}
Expand Down
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ SUBDIRS += doc/man
endif
.PHONY: deploy FORCE

override GZIP_ENV = "-9n"
GZIP_ENV="-9n"
export PYTHONPATH

if BUILD_BITCOIN_LIBS
Expand Down
27 changes: 16 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
# Absolute 0.12.3.1
# Absolute 0.13.0.1

Absolute will service the AbsoluteX platform designed to help advertising, promotions and events, with smart contracts that will have a global reach of network enablers. Our Proof of View network will allow agents, organisers and promoters the ability to reach a global audience and utilise their participation to achieve their desired media goals.
https://www.absify.me

The network is driven by ultra-low transaction fees, reliable and fast transactions (10x faster than Bitcoin) which are supported by a large core network of Masternodes.
Products designed by you. Create and configure your own items with the option to log your creation on the Absolute blockchain.

Absolute Coin gives you the access to the wide range of options created by two-tier blockchain system (Standard and Proof of View nodes). InstaSend payments are near-instant and greatly practical for the network users. PrivateSend is designed and implemented to ensure that sources of payments cannot be tracked and identified. Additionally, MasterNode holders will soon be assigned voting rights to decide about the future of the network.
Our goal is to allow you to produce excellent quality products that are designed by you using our online configurator. Certain designs have the choice of being recorded in the Absolute blockchain, allow independent verification that the design you made is unique to you.

The One Protocol is Absolutes goal aiming for there only to be one ABS left in circulation. Although this is unlikely due to the mechanics of supply and demand, it allows us to reward you by reducing supply based on the performance of our business. This makes your holdings absolute more valuable.

On a monthly basis we take 10% of our profit margin to buy and then destroy those collected ABS. This destroyed ABS is sent to specific addresses which are then closed off and hardcoded into the system to make sure that they are never used again. We then use these addresses to offset the max supply calculations.

Find out more about the One Protocol: https://absify.me/one-protocol/

----------------

## Absolute Technical Details

Expand All @@ -16,18 +23,16 @@ Absolute Coin gives you the access to the wide range of options created by two-t
| PoW Algorithm | Lyra2REv2 |
| MN Collateral | 2500 ABS |
| Rewards split | Miners 20% and MasterNodes 80% |
| Maximum supply | 52.5 M - 20.35 M Block Rewards and 32.15 M PoV |
| Maximum supply | 52.5 M |
| One Protocol (As of v.13) | 0.48 M |
| Difficulty retargeting algo | Dark Gravity Wave v3 |

| Area | Proof Of View Setting |
| ------ | ------ |
| Platform | On Demand |
| Block Reward | Max 5% Fee of Block Volume |
| PoV Node / Escrow Node Collateral | TBA ABS |



For building please see INSTALL / proper files in the doc subfolder.

Masternode install scripts are supported on Ubuntu 16.04 and 18.04
Masternode install scripts are supported on Ubuntu 18.04 and 20.04

Development Process
-------------------
Expand Down
3 changes: 2 additions & 1 deletion ci/test_integrationtests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

set -e

PASS_ARGS="$@"
source ./ci/matrix.sh

if [ "$RUN_TESTS" != "true" ]; then
Expand All @@ -15,4 +16,4 @@ export LD_LIBRARY_PATH=$BUILD_DIR/depends/$HOST/lib

cd build-ci/absolutecore-$BUILD_TARGET

./qa/pull-tester/rpc-tests.py --coverage
./qa/pull-tester/rpc-tests.py --coverage $PASS_ARGS
30 changes: 16 additions & 14 deletions configure.ac
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
dnl require autoconf 2.60 (AS_ECHO/AS_ECHO_N)
AC_PREREQ([2.60])
define(_CLIENT_VERSION_MAJOR, 0)
define(_CLIENT_VERSION_MINOR, 12)
define(_CLIENT_VERSION_REVISION, 3)
define(_CLIENT_VERSION_MINOR, 13)
define(_CLIENT_VERSION_REVISION, 0)
define(_CLIENT_VERSION_BUILD, 1)
define(_CLIENT_VERSION_IS_RELEASE, true)
define(_COPYRIGHT_YEAR, 2018)
Expand Down Expand Up @@ -164,11 +164,7 @@ AC_ARG_ENABLE([glibc-back-compat],
[use_glibc_compat=$enableval],
[use_glibc_compat=no])

AC_ARG_ENABLE([threadlocal],
[AS_HELP_STRING([--enable-threadlocal],
[enable features that depend on the c++ thread_local keyword (currently just thread names in debug logs). (default is to enabled if there is platform support and glibc-back-compat is not enabled)])],
[use_thread_local=$enableval],
[use_thread_local=auto])


AC_ARG_WITH([system-univalue],
[AS_HELP_STRING([--with-system-univalue],
Expand Down Expand Up @@ -196,6 +192,16 @@ AC_ARG_ENABLE([debug],
[enable_debug=$enableval],
[enable_debug=no])

# Enable in-wallet miner
AC_ARG_ENABLE([miner],
[AS_HELP_STRING([--enable-miner],
[enable in-wallet miner (default is yes)])],
[enable_miner=$enableval],
[enable_miner=yes])
AM_CONDITIONAL([ENABLE_MINER], [test x$enable_miner = xyes])
if test "x$enable_miner" = xyes; then
AC_DEFINE(ENABLE_MINER, 1, [Define this symbol if in-wallet miner should be enabled])
fi
# Turn warnings into errors
AC_ARG_ENABLE([werror],
[AS_HELP_STRING([--enable-werror],
Expand Down Expand Up @@ -492,8 +498,7 @@ if test x$use_glibc_compat != xno; then
[ fdelt_type="long int"])
AC_MSG_RESULT($fdelt_type)
AC_DEFINE_UNQUOTED(FDELT_TYPE, $fdelt_type,[parameter and return value type for __fdelt_chk])
AX_CHECK_LINK_FLAG([[-Wl,--wrap=__divmoddi4]], [COMPAT_LDFLAGS="$COMPAT_LDFLAGS -Wl,--wrap=__divmoddi4"])
AX_CHECK_LINK_FLAG([[-Wl,--wrap=log2f]], [COMPAT_LDFLAGS="$COMPAT_LDFLAGS -Wl,--wrap=log2f"])

else
AC_SEARCH_LIBS([clock_gettime],[rt])
fi
Expand Down Expand Up @@ -1132,11 +1137,7 @@ AC_SUBST(BITCOIN_CLI_NAME)
AC_SUBST(BITCOIN_TX_NAME)

AC_SUBST(RELDFLAGS)
AC_SUBST(DEBUG_CPPFLAGS)
AC_SUBST(WARN_CXXFLAGS)
AC_SUBST(NOWARN_CXXFLAGS)
AC_SUBST(DEBUG_CXXFLAGS)
AC_SUBST(COMPAT_LDFLAGS)

AC_SUBST(ERROR_CXXFLAGS)
AC_SUBST(HARDENED_CXXFLAGS)
AC_SUBST(HARDENED_CPPFLAGS)
Expand Down Expand Up @@ -1227,6 +1228,7 @@ echo " with test = $use_tests"
echo " with bench = $use_bench"
echo " with upnp = $use_upnp"
echo " debug enabled = $enable_debug"
echo " miner enabled = $enable_miner"
echo " werror = $enable_werror"
echo
echo " target os = $TARGET_OS"
Expand Down
4 changes: 4 additions & 0 deletions contrib/auto_gdb/absolute_dbg.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
# use testnet settings, if you need mainnet, use ~/.absolutecore/absoluted.pid file instead
dash_pid=$(<~/.absolutecore/testnet3/dashd.pid)
sudo gdb -batch -ex "source debug.gdb" absoluted ${absolute_pid}
4 changes: 0 additions & 4 deletions contrib/auto_gdb/dash_dbg.sh

This file was deleted.

65 changes: 0 additions & 65 deletions contrib/devtools/fix-copyright-headers.py

This file was deleted.

Loading