Skip to content

Commit

Permalink
Merge branch 'auxpow'
Browse files Browse the repository at this point in the history
For bitcoin/bitcoin#15141, rewrite all the
state.Invalid calls made when validating name transactions.
  • Loading branch information
domob1812 committed May 6, 2019
2 parents 3170154 + 1e68dcc commit 7c2a551
Show file tree
Hide file tree
Showing 59 changed files with 2,439 additions and 505 deletions.
1 change: 1 addition & 0 deletions Makefile.am
Expand Up @@ -43,6 +43,7 @@ DIST_DOCS = $(wildcard doc/*.md) $(wildcard doc/release-notes/*.md)
DIST_CONTRIB = $(top_srcdir)/contrib/bitcoin-cli.bash-completion \
$(top_srcdir)/contrib/bitcoin-tx.bash-completion \
$(top_srcdir)/contrib/bitcoind.bash-completion \
$(top_srcdir)/contrib/debian/copyright \
$(top_srcdir)/contrib/init \
$(top_srcdir)/contrib/install_db4.sh
DIST_SHARE = \
Expand Down
6 changes: 3 additions & 3 deletions build_msvc/bitcoin_config.h
Expand Up @@ -11,10 +11,10 @@
#define CLIENT_VERSION_IS_RELEASE false

/* Major version */
#define CLIENT_VERSION_MAJOR 1
#define CLIENT_VERSION_MAJOR 0

/* Minor version */
#define CLIENT_VERSION_MINOR 17
#define CLIENT_VERSION_MINOR 18

/* Build revision */
#define CLIENT_VERSION_REVISION 99
Expand All @@ -29,7 +29,7 @@
#define COPYRIGHT_HOLDERS_SUBSTITUTION "Bitcoin Core"

/* Copyright year */
#define COPYRIGHT_YEAR 2018
#define COPYRIGHT_YEAR 2019

/* Define to 1 to enable wallet functions */
#define ENABLE_WALLET 1
Expand Down
19 changes: 17 additions & 2 deletions configure.ac
Expand Up @@ -836,8 +836,23 @@ AC_LINK_IFELSE([AC_LANG_SOURCE([
}
])],
[
AC_DEFINE(HAVE_THREAD_LOCAL,1,[Define if thread_local is supported.])
AC_MSG_RESULT(yes)
case $host in
*mingw*)
# mingw32's implementation of thread_local has also been shown to behave
# erroneously under concurrent usage; see:
# https://gist.github.com/jamesob/fe9a872051a88b2025b1aa37bfa98605
AC_MSG_RESULT(no)
;;
*darwin*)
# TODO enable thread_local on later versions of Darwin where it is
# supported (per https://stackoverflow.com/a/29929949)
AC_MSG_RESULT(no)
;;
*)
AC_DEFINE(HAVE_THREAD_LOCAL,1,[Define if thread_local is supported.])
AC_MSG_RESULT(yes)
;;
esac
],
[
AC_MSG_RESULT(no)
Expand Down
1 change: 1 addition & 0 deletions doc/REST-interface.md
Expand Up @@ -101,6 +101,7 @@ $ curl localhost:18336/rest/getutxos/checkmempool/b2cdfd7b89def827ff8af7cd9bff76

Returns various information about the TX mempool.
Only supports JSON as output format.
* loaded : (boolean) if the mempool is fully loaded
* size : (numeric) the number of transactions in the TX mempool
* bytes : (numeric) size of the TX mempool in bytes
* usage : (numeric) total TX mempool memory usage
Expand Down
6 changes: 6 additions & 0 deletions doc/release-notes-15849.md
@@ -0,0 +1,6 @@
Thread names in logs
--------------------

On platforms supporting `thread_local`, log lines can be prefixed with the name
of the thread that caused the log. To enable this behavior, use
`-logthreadnames=1`.

0 comments on commit 7c2a551

Please sign in to comment.