Commit Graph

13953 Commits

Author SHA1 Message Date
Ross Nicoll 31afd13311
Merge pull request #2670 from patricklodder/1.14.5-fixate
fixate 1.14.5
2021-11-07 17:08:22 +00:00
Ross Nicoll b6abd84935
Merge pull request #2667 from patricklodder/1.14.5-release-notes-update-2
Update and clarify 1.14.5 release notes
2021-11-07 17:04:42 +00:00
Patrick Lodder 90f5b87806
Update and clarify 1.14.5 release notes 2021-11-07 15:38:43 +01:00
Patrick Lodder d700e9a1a2
Merge pull request #2568 from AbcSxyZ/getting-started
Create "getting started" section
2021-11-07 09:34:58 -05:00
Ross Nicoll 0c09e2a57a
Merge pull request #2671 from patricklodder/1.14.5-link-fee-doc
doc: add link to fee recommendation
2021-11-06 18:27:46 +00:00
Ross Nicoll 97c98cf0a6
Merge pull request #2673 from patricklodder/1.14.5-2019-15947
security: Backport madvise() for lockedpool sensitive data from 1.21-dev
2021-11-06 17:49:43 +00:00
Ross Nicoll df8adf098e
Merge pull request #2668 from patricklodder/1.14.5-backport-fs-doc
doc: backport files.md that describes the data directory
2021-11-06 17:49:02 +00:00
Vasil Dimov 09f86e7494
lockedpool: avoid sensitive data in core files (FreeBSD)
This is a followup to
23991ee53 / https://github.com/bitcoin/bitcoin/pull/15600
to also use madvise(2) on FreeBSD to avoid sensitive data allocated
with secure_allocator ending up in core files in addition to preventing
it from going to the swap.
2021-11-05 08:26:11 -04:00
Luke Dashjr b4b98d7ad0
lockedpool: When possible, use madvise to avoid including sensitive information in core dumps 2021-11-05 08:26:04 -04:00
Ross Nicoll 434ae2d95e
Merge pull request #2664 from patricklodder/1.14.5-reduce-memory
doc: backport reduce-memory.md from 1.21-dev
2021-11-04 22:24:51 +00:00
AbcSxyZ 3f6754262e getting-stared: update public key of examples
To backup coins sended to the wallet of the getting-started guide:

public: DA2fBazU8Y4epNJ2fQRZCcWpxKZY9HrhLN
private: QR2KicE83yTVbJwSuKK2xVaHiQuKnRQEif3uaCZjfnZerE5WG3Hx

public: DNnGtXk9khadE7EKCmQzxjnehenX92PKAv
private: QUtGNKaL6DehpN8vmB25V4BS2LJ9XNnXmUVGUfP1fSV3dXue7szD
2021-11-04 23:04:14 +01:00
Ross Nicoll efbd5271b7
Merge pull request #2669 from patricklodder/1.14.5-seeds
Update mainnet seeds for 1.14.5
2021-11-04 21:49:54 +00:00
AbcSxyZ 2b543db997 Docs4doge: add getting started section 2021-11-04 22:24:32 +01:00
Patrick Lodder 7750dba2c6
doc: add link to fee recommendation 2021-11-04 17:09:18 -04:00
Patrick Lodder 28989f1dc4
doc: backport files.md that describes the data directory 2021-11-04 16:59:22 -04:00
Patrick Lodder e92aba9190
fixate 1.14.5 2021-11-04 16:54:55 -04:00
Patrick Lodder 0f7c23e1e5
Update mainnet seeds for 1.14.5 2021-11-04 16:35:11 -04:00
Ross Nicoll b5d69ab693
Merge pull request #2659 from patricklodder/1.14.5-fix-overviewpage-warn
trivial: remove empty pixmap tag in overviewpage.ui
2021-11-03 22:58:49 +00:00
Ross Nicoll 0e917fcf1b
Merge pull request #2666 from patricklodder/1.14.5-qt-discard-args
Give QApplication dummy arguments
2021-11-03 22:55:54 +00:00
Patrick Lodder a92f2dcde4
Merge pull request #2662 from rnicoll/1.14.5-checkpoints
Refresh checkpoints for 1.14.5
2021-11-03 18:08:09 -04:00
Patrick Lodder d2b1a61753
Give QApplication dummy arguments
Discards any Qt built-in command line arguments and replaces them
with dummy argv that only contains the binary name. Solves CVE-2021-3401.

Manually ported from bitcoin/bitcoin@a2714a5c
2021-11-03 12:05:46 -04:00
Patrick Lodder 49e947f282
Merge pull request #2663 from rnicoll/1.14.5-release-notes
Refresh 1.14.5 release notes
2021-11-02 19:34:07 -04:00
Ross Nicoll 6c752caf90
Refresh 1.14.5 release notes 2021-11-02 23:24:54 +00:00
Patrick Lodder abb99e6ddb
doc: backport reduce-memory.md from 1.21-dev
Changes:
- bitcoin -> dogecoin
- 0.14.0 -> 1.14.0
2021-11-02 19:20:25 -04:00
Ross Nicoll 6c053f4bc6
Merge pull request #2661 from patricklodder/1.14.5-fee-recommendation-doc
doc: write out the fee recommendation
2021-11-02 21:34:59 +00:00
Patrick Lodder fbf07173b4
Merge pull request #2657 from rnicoll/1.14.5-bitcoinstrings
Refresh baseline language files
2021-11-02 17:14:52 -04:00
Patrick Lodder 4213f7584b
doc: write out the fee recommendation 2021-11-02 17:07:09 -04:00
Ross Nicoll 5280e456f5
Refresh checkpoints for 1.14.5 2021-11-02 20:36:47 +00:00
Ross Nicoll 56c2ac1263
Merge pull request #2658 from patricklodder/1.14.5-manpages
Update manpages for 1.14.5
2021-11-02 20:16:06 +00:00
Patrick Lodder 60618c5099
trivial: remove empty pixmap tag in overviewpage.ui
QT complains about this, removing the tag removes the warning.
2021-11-01 19:45:06 -04:00
Ross Nicoll 5bb3112c68
Refresh translation files
Also fixes an issue with `make qt/bitcoinstrings.cpp` not working correctly, due to incorrect variable names
2021-11-01 23:21:59 +00:00
Patrick Lodder ba2c8c0fa6
Update manpages for 1.14.5 2021-11-01 19:08:07 -04:00
Patrick Lodder 8e4ea27962
Merge pull request #2491 from edtubbs/master
[feat] Added AVX2 SHA support
2021-11-01 18:47:05 -04:00
Ross Nicoll 2076361f88
Merge pull request #2654 from patricklodder/1.14.5-namecoin-aux-api
[rpc] configure auxpow rpc methods to use Namecoin-compatible API
2021-11-01 22:15:46 +00:00
Patrick Lodder d3d688deae
rpc: configure auxpow rpc methods to use Namecoin-compatible API
Allows easy integration with mining software that expects either
a "_target" (Namecoin) or a "target" (Dogecoin) field when
creating auxpow blocks using the -rpcnamecoinapi startup arg.

This saves pools effort in integrating the API they need whenever
a new Dogecoin Core release comes out.
2021-11-01 15:59:23 -04:00
Ross Nicoll 5df1b6af3e
Merge pull request #2653 from xanimo/1.14.5-submitblock-error
rpc: improve error message in submitblock
2021-11-01 17:08:08 +00:00
Patrick Lodder c86f68df76
Merge pull request #2492 from rnicoll/1.14.5-release-notes
1.14.5 release notes structure
2021-11-01 13:01:21 -04:00
Dakoda Greaves 27ac4a1e79
rpc: improve error message in submitblock
split previous conditional statement into 2
check that block both starts with and contains a coinbase transaction
2021-10-31 17:44:25 -07:00
Ross Nicoll 097d87df2f
Merge pull request #2286 from rnicoll/1.14.4-improve-checkblock-failure
Shut down if trying to connect a corrupted block
2021-10-31 23:55:38 +00:00
Ross Nicoll 85226b80bd
Merge pull request #2647 from patricklodder/1.14.5-addl-aux-methods
[rpc] Add createauxblock and submitauxblock back to RPC
2021-10-31 23:10:36 +00:00
Patrick 2291b6a7cc
rpc: cache aux block per scriptPubKey in createauxblock
- RPC caching source cherry-picked from: btccom@f4b613b2
- Adds addl test scenarios to createauxblock.py tests

Allows pool operators to run multiple sub-pools with different
target addresses from a single dogecoind instance. Without this
enhancement, subsequent calls to createauxblock with differing
addresses ignore the address given and instead just return the
block containing the address that initially triggered generation
of the cached block. This can quickly lead to unpredictable
results as race scenarios between sub-pools come into play.

Note that, like with getauxblock, the cache only resets on aux
block creation, not submission, so submitauxblock will accept
multiple submissions at the same height until createauxblock is
called, resulting in chaintip forks.

Co-Authored-By: leezhen <jasper.li@bitmain.com>
2021-10-30 15:59:46 -04:00
Patrick e90d4437a2
qa: add qa test for createauxblock 2021-10-30 15:59:45 -04:00
Patrick 8efd7e62bd
trivial: fix indentation/spacing in rpc/mining.cpp
Fixes some indentation issues to make the mining rpc code easier
to read and clean up some odd lines
2021-10-30 15:59:39 -04:00
Michi Lumin c2532d3f6a
rpc: Add createauxblock and submitauxblock methods back
Adds back Namecoin's createauxblock and submitauxblock rpc methods
to allow easier integration for mining pools that wish to reuse
existing implementations of Namecoin/Bitcoin merge mining.

Cherry-picked from: michilumin@1c5b9b33

Changes post-pick:
- Fixed issue with erroneously moved LOCK in getauxblock
- Disabled mining of witness tx as done for getauxblock
- Fixed indentation, increasing readability and fixing warnings
- Follow Dogecoin API for "target" instead of "_target"
- Remove personal comments
2021-10-30 15:52:50 -04:00
Ross Nicoll e254dd665b
Merge pull request #2645 from patricklodder/1.14.5-dustlimitinfo
[rpc] Add dustlimit info to getnetworkinfo
2021-10-30 19:38:12 +01:00
Ross Nicoll 8971b04ae8
Merge pull request #2646 from rnicoll/get-block-subsidy-rebased
Remove GetBlockSubsidy
2021-10-29 12:09:11 +01:00
KabDeveloper 4c94a061c0 Remove GetBlockSubsidy (Not Used - replaced) 2021-10-28 23:36:48 +01:00
Patrick c3cead8737
[rpc] Add dustlimit info to getnetworkinfo 2021-10-28 16:24:33 -04:00
Ross Nicoll b2a55984f8
Merge pull request #2551 from crozone/1.14.5-dev
Hardened systemd unit file
2021-10-23 19:56:53 +01:00
Ross Nicoll c909ac2e09
Merge pull request #2629 from xanimo/1.14.5-pruning
qa: fixes pruning test
2021-10-22 00:29:28 +01:00