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

latest changes static-dev -> static #8

Merged
merged 21 commits into from
Mar 1, 2020
Merged

latest changes static-dev -> static #8

merged 21 commits into from
Mar 1, 2020

Conversation

DeckerSU
Copy link
Owner

@DeckerSU DeckerSU commented Mar 1, 2020

No description provided.

RPC template for various debug tests. template is empty by default
and just return null value. actual rpc code need to be placed in
blockchain.cpp in letsdebug proc.
A rare race condition may trigger while awaiting the body of a message, see
upsteam commit libevent/libevent@5ff8eb2 for details.

This may fix some reported rpc hangs/crashes.

Issue: bitcoin/bitcoin#11593

Commits:
- bitcoin/bitcoin@6b58360
- bitcoin/bitcoin@97932cd
If any vout of tx is belongs to wallet (IsMine(tx) == true) and tx
is not from us, mean, if every vin not belongs to our wallet
(IsFromMe(tx) == false), then tx need to be checked through wallet
filter. If tx haven't any vin from trusted / whitelisted address it
shouldn't be added into wallet.

Using GetTransaction instead of myGetTransaction to get prevTx and
determine vins addresses. This will allow walletfilter code to work
without txindex=1 on any (!) nodes, not only notaries. If even one
-whitelistaddress arg set wallet filter is enabled and should allow
incoming txes from any addresses belongs to wallet (even watch-only)
and addresses listed in -whitelistaddress args. If -whitelistaddress
arg is not set wallet filter is disabled.
we don't need iterate all nodes stats inside a miner to know
max of (nStartingHeight, nSyncHeight, nCommonHeight) to get
longestchain. it's wasting CPU resources. also we don't need
additional locks directly in miner.
- added stderr output for monitoring tx fees (commented)
- suppress "free transaction rejected by rate limiter" flood in debug.log
changed boost dep to komodo selfhosted src (github) - boosts official bintray is down

https://dl.bintray.com/boostorg/release/1.72.0/source/boost_1_72_0.tar.bz2 returns Forbidden!
latest changes static-exp -> static-dev
@DeckerSU DeckerSU merged commit 27f2631 into static Mar 1, 2020
DeckerSU added a commit that referenced this pull request Nov 3, 2024
- bitcoin/bitcoin#28769
- dashpay/dash#6032
- dashpay/dash#6011

Should fix crash on Ubuntu 24.04 / gcc 13.2.0:
```
*** buffer overflow detected ***: terminated

#0  __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
#1  __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#2  __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#3  0x00007ffff764526e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#4  0x00007ffff76288ff in __GI_abort () at ./stdlib/abort.c:79
#5  0x00007ffff76297b6 in __libc_message_impl (fmt=fmt@entry=0x7ffff77ce765 "*** %s ***: terminated\n")
    at ../sysdeps/posix/libc_fatal.c:132
#6  0x00007ffff7736c19 in __GI___fortify_fail (msg=msg@entry=0x7ffff77ce74c "buffer overflow detected")
    at ./debug/fortify_fail.c:24
#7  0x00007ffff77365d4 in __GI___chk_fail () at ./debug/chk_fail.c:28
#8  0x00007ffff7737a67 in __readlink_chk (path=<optimized out>, buf=<optimized out>, len=<optimized out>,
    buflen=<optimized out>) at ./debug/readlink_chk.c:31
#9  0x0000555556ef3bc3 in qt_readlink(char const*) ()
#10 0x0000555556e3e30b in QLockFilePrivate::processNameByPid(long long) ()
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant