No description
Find a file
Andrew Poelstra d04207ff22
Merge ElementsProject/elements#1029: Elements 0.21: backports from Core 0.21.0
3168f2ce7d configure: bump version to 0.21.0rc1 (Andrew Poelstra)
b221f4e624 doc: update manpages for 0.21.0 (Andrew Poelstra)
ebf6a248b8 fuzz: cleanups for versionbits fuzzer (Anthony Towns)
e98b981378 test: make sure non-IP peers get discouraged and disconnected (Vasil Dimov)
3f396ba229 test: also check disconnect in denialofservice_tests/peer_discouragement (Vasil Dimov)
79f48d69ef test: use pointers in denialofservice_tests/peer_discouragement (Vasil Dimov)
00fe59fd43 Rename CoinSelectionParams::effective_fee to m_effective_feerate (Andrew Chow)
f897fd9575 wallet: Move discard feerate fetching to CreateTransaction (Andrew Chow)
300372f8bf wallet: Move long term feerate setting to CreateTransaction (Andrew Chow)
1f58b91c48 wallet: Replace nFeeRateNeeded with effective_fee (Andrew Chow)
12a25655e8 wallet: Use existing feerate instead of getting a new one (Andrew Chow)
78cd67d4de Test that signrawtx works when a signed CSV and CLTV inputs are present (Andrew Chow)
5f714365cb Introduce DeferringSignatureChecker and inherit with SignatureExtractor (Andrew Chow)
ad985d5c23 net: add ifaddrs.h include (fanquake)
33eaeada30 build: check if -lsocket is required with *ifaddrs (fanquake)
f8237b8d50 rand: only try and use freeifaddrs if available (fanquake)
d135a860cf doc: Remove outdated comment (Hennadii Stepanov)
d92fb9693f fuzz: Bump FuzzedDataProvider.h (MarcoFalke)
9256eacadf fuzz: Bump FuzzedDataProvider.h (MarcoFalke)
07745976c7 fuzz: Update FuzzedDataProvider.h from upstream (LLVM) (practicalswift)
cdb30c3787 doc: add signet to doc/bitcoin-conf.md (Jon Atack)
4940b460c4 doc: add signet to share/examples/bitcoin.conf (Jon Atack)
969357988d Update vcpkg checkout commit. (Aaron Clauson)
337297d605 GUI: Write PSBTs to file with binary mode (Andrew Chow)
c4494ede6b tests: Test that a fully signed tx given to signrawtx is unchanged (Andrew Chow)
08298c34d8 test: disallow sendtoaddress/sendmany when private keys disabled (Jon Atack)
a143b7b87d Disallow sendtoaddress and sendmany when private keys disabled (Andrew Chow)
7233f69fc4 util: Disallow negative mocktime (MarcoFalke)
f0dec76142 net: Avoid UBSan warning in ProcessMessage(...) (practicalswift)
16e2673e24 fix the unreachable code at feature_taproot (Bruno Garcia)
9e6c08d514 qt: Use "fusion" style on macOS Big Sur with old Qt (Hennadii Stepanov)
b514a872c3 raise helpMessageDialog (randymcmillan)
640b94fe9a Fix MSVC build after gui#176 (Hennadii Stepanov)
ce108b0061 qt: Stop the effect of hidden widgets on the size of QStackedWidget (Hennadii Stepanov)
2ccf3823cf qt: Fix TxViewDelegate layout (Hennadii Stepanov)
5823cc3b43 qt: Add TransactionOverviewWidget class (Hennadii Stepanov)
c89caab283 qt: Use layout manager for Create Wallet dialog (Hennadii Stepanov)
62c12bde50 Bugfix: GUI: Restore SendConfirmationDialog button default to "Yes" (Luke Dashjr)
de31f16d60 test: add test for banning of non-IP addresses (Vasil Dimov)
0682f35ee4 net: allow CSubNet of non-IP networks (Vasil Dimov)
81ea0ed4a6 tests: Add fuzzing harness for versionbits (Anthony Towns)
b8d678c9c9 tests: check never active versionbits (Anthony Towns)
c3bd45e5dd tests: more helpful errors for failing versionbits tests (Anthony Towns)
010ba4e6e6 doc: Archive release notes, Add template for minor release (MarcoFalke)
c38b555adc doc: Move 0.21.0 release notes from wiki (Wladimir J. van der Laan)
554445bc59 Revert "Add patch to make codesign_allocate compatible with Apple's" (Pieter Wuille)
33d10b1f00 [doc] Add permissions to the getpeerinfo help. (Amiti Uttarwar)
4bca4c28c2 rpc: Add missing description of vout in getrawtransaction help text (Ben Carman)
492ed0947f qt: Align layout of checkboxes (Hennadii Stepanov)
4b1e64ac2f Add patch to make codesign_allocate compatible with Apple's (Pieter Wuille)
8db26435a0 doc: update -externalip documentation in tor.md (Jon Atack)
9a18ee73d1 doc: add tor.md section on how to get tor info via bitcoind (Jon Atack)
ba3306519f doc: update tor.md address examples from onion v2 to v3 (Jon Atack)
6299124c9c doc: warn that incoming conns are unlikely when not using default ports (Adam Jonas)
24e35438d1 doc: Add warnings for http interfaces limitations (Fabian Jahr)
a9bb81316d Removed redundant git pull from appveyor config. (Aaron Clauson)
3acfb477e3 Adjusted msvc compiler and linker settings to remove optimisations that are causing sporadic ABI issues on Visual Studio updates. (Aaron Clauson)
5e935dd6fe This change to the appveyor CI config for msvc builds reverses a change introduced in #19960. It re-applies a setting to inform vcpkg to only build release vesions of the dependencies rather than the default of debug and release. (Aaron Clauson)
14d7d20c68 Move signet onion seed from v2 to v3 (Sjors Provoost)
09ca7bbf4e doc: Update wallet database installation guide for macOS (Hennadii Stepanov)
fdd69bf902 build: Use Homebrew's sqlite package if it is available (Hennadii Stepanov)
92b1189afc build, refactor: Check that Homebrew's qt5 package is actually installed (Hennadii Stepanov)
29b0796eb9 build: Check that Homebrew's berkeley-db4 package is actually installed (Hennadii Stepanov)
b52bac2c39 Don't set BDB flags when configuring without (Jonas Schnelli)
e45e7c15e7 Add regression test for incorrect decoding (Pieter Wuille)
3bfce85eaf Improve heuristic hex transaction decoding (Pieter Wuille)
e48a9793b2 test: add coverage for passing fee rate as a string (Jon Atack)
b4eb953986 wallet, bugfix: allow send to take string fee rate values (Jon Atack)
f15c72cbd2 Send and require SENDADDRV2 before VERACK (Pieter Wuille)
c117c6c125 Don't send 'sendaddrv2' to pre-70016 software (Pieter Wuille)
a97c53172a Use the correct incremental fee constant in bumpfee help (Jon Atack)
d635fc743a Update feeRate (BTC/kvB) to fee_rate (sat/vB) in wallet_bumpfee (Jon Atack)
765c2b4d17 Allow zero-fee fundrawtxn and walletcreatefundedpsbt calls (Jon Atack)
2ca3943fdf build: Avoid secp256k1.h include from system (Niklas Gögge)
df1bd79314 wallet: fix and improve upgradewallet error responses (Jon Atack)
77627d8efd wallet: fix and improve upgradewallet result responses (Jon Atack)
92251542e5 Don't upgrade to HD split if it is already supported (Andrew Chow)
9c3df80c40 wallet: refactor GetClosestWalletFeature() (Jon Atack)
ae26ff27a9 wallet: Do not treat default constructed types as None-type (MarcoFalke)
2fe52979ea refactor: Change pointer to reference because it can not be null (MarcoFalke)
029b6799d1 test: Fix intermittent issue in mempool_compatibility (MarcoFalke)
ae8a5a5baa Fix QPainter non-determinism on macOS (Andrew Chow)
4f36e4cfc6 RPC/Wallet: unloadwallet: Clarify docs/error when both the RPC endpoint and wallet_name parameter specify a wallet (Luke Dashjr)
5412789739 tests: shrink feature_taproot transfer of funds tx (Anthony Towns)

Pull request description:

  This is a cherry-pick of all the commits from Bitcoin Core 0.21.1 that are not on master, **except** those related to bech32m and Speedy Trial.

  **TODO** (will do each in a separate additional commit, no need to delay review)
  * [ ] regenerate manpages
  * [ ] bump version in configure.ac

ACKs for top commit:
  gwillen:
    utACK 3168f2ce7d

Tree-SHA512: e154a205cd4a7640d8c6b0c9527c0b2d1d307c32b3407b0c66e0ea20687391a4649f30f61eadae7e325adc44009055d97834c9641aeeca1c0b56207a684c0178
2021-09-22 21:06:46 +00:00
.github doc: Remove label from good first issue template 2020-08-24 09:31:24 +02:00
.tx tx: Update transifex slug for 0.21 2020-10-01 22:19:11 +02:00
build-aux/m4 build: check if -lsocket is required with *ifaddrs 2021-09-22 02:05:02 +00:00
build_msvc Fix MSVC build after gui#176 2021-09-22 02:05:02 +00:00
ci ci: backport bitcoin #20413 changes to nowallet bionic test 2021-07-30 16:58:43 +00:00
contrib pset: fix logic bug in analyzepsbt so that the "blinder" role may be returned 2021-09-14 15:48:35 +00:00
depends Revert "Add patch to make codesign_allocate compatible with Apple's" 2021-09-22 02:05:02 +00:00
doc doc: update manpages for 0.21.0 2021-09-22 19:13:30 +00:00
share doc: add signet to share/examples/bitcoin.conf 2021-09-22 02:05:02 +00:00
src fuzz: cleanups for versionbits fuzzer 2021-09-22 16:34:09 +00:00
test Test that signrawtx works when a signed CSV and CLTV inputs are present 2021-09-22 02:05:02 +00:00
.appveyor.yml Update vcpkg checkout commit. 2021-09-22 02:05:02 +00:00
.cirrus.yml ci: Bump macOS image to big-sur-xcode-12.5 2021-07-11 20:02:02 +00:00
.fuzzbuzz.yml ci: Add fuzzbuzz integration 2020-04-14 16:38:26 +00:00
.gitattributes Separate protocol versioning from clientversion 2014-10-29 00:24:40 -04:00
.gitignore Merge 9366a73d69 into merged_master (Bitcoin PR #19916) 2020-11-29 03:00:55 +00:00
.python-version .python-version: Specify full version 3.5.6 2019-03-02 12:06:26 -05:00
.style.yapf test: .style.yapf: Set column_limit=160 2019-03-04 18:28:13 -05:00
.travis.yml ci: Run nowallet ci config on cirrus 2021-07-11 18:58:08 +00:00
autogen.sh scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
CODEOWNERS doc: Add comments and additional reviewers to CODEOWNERS file 2020-09-01 11:23:58 -04:00
configure.ac configure: bump version to 0.21.0rc1 2021-09-22 19:13:32 +00:00
CONTRIBUTING.md Merge 6ea7348122 into merged_master (Bitcoin PR #19638) 2020-11-27 03:15:08 +00:00
COPYING doc: Update license year range to 2020 2019-12-26 23:11:21 +01:00
INSTALL.md Update INSTALL landing redirection notice for build instructions. 2016-10-06 12:27:23 +13:00
libbitcoinconsensus.pc.in build: remove libcrypto as internal dependency in libbitcoinconsensus.pc 2019-11-19 15:03:44 +01:00
Makefile.am build: drop the rendered icon stuff 2021-03-26 17:33:05 +00:00
README.md doc: Mention repo split in the READMEs 2020-06-08 10:06:14 -04:00
SECURITY.md Merge 53e1771cd8 into merged_master (Elements PR #807) 2020-11-14 16:52:10 +00:00

Elements Project blockchain platform

Build Status

https://elementsproject.org

This is the integration and staging tree for the Elements blockchain platform, a collection of feature experiments and extensions to the Bitcoin protocol. This platform enables anyone to build their own businesses or networks pegged to Bitcoin as a sidechain or run as a standalone blockchain with arbitrary asset tokens.

Modes

Elements supports a few different pre-set chains for syncing. Note though some are intended for QA and debugging only:

  • Liquid mode: elementsd -chain=liquidv1 (syncs with Liquid network)
  • Bitcoin mainnet mode: elementsd -chain=main (not intended to be run for commerce)
  • Bitcoin testnet mode: elementsd -chain=testnet3
  • Bitcoin regtest mode: elementsd -chain=regtest
  • Elements custom chains: Any other -chain= argument. It has regtest-like default parameters that can be over-ridden by the user by a rich set of start-up options.

Confidential Assets

The latest feature in the Elements blockchain platform is Confidential Assets, the ability to issue multiple assets on a blockchain where asset identifiers and amounts are blinded yet auditable through the use of applied cryptography.

Features of the Elements blockchain platform

Compared to Bitcoin itself, it adds the following features:

Previous elements that have been integrated into Bitcoin:

  • Segregated Witness
  • Relative Lock Time

Elements deferred for additional research and standardization:

Additional RPC commands and parameters:

License

Elements is released under the terms of the MIT license. See COPYING for more information or see http://opensource.org/licenses/MIT.

What is the Elements Project?

Elements is an open source, sidechain-capable blockchain platform. It also allows experiments to more rapidly bring technical innovation to the Bitcoin ecosystem.

Learn more on the Elements Project website

https://github.com/ElementsProject/elementsproject.github.io

Secure Reporting

See our vulnerability reporting guide