├── src ├── config │ └── .empty ├── crc32c │ ├── .gitmodules │ ├── .clang-format │ ├── .gitignore │ ├── .clang_complete │ ├── Crc32cConfig.cmake │ ├── AUTHORS │ └── src │ │ ├── crc32c_prefetch_unittest.cc │ │ ├── crc32c_portable_unittest.cc │ │ ├── crc32c_test_main.cc │ │ ├── crc32c_arm64_unittest.cc │ │ ├── crc32c_arm64.h │ │ ├── crc32c_sse42_unittest.cc │ │ └── crc32c_internal.h ├── secp256k1 │ ├── obj │ │ └── .gitignore │ ├── autogen.sh │ ├── src │ │ ├── modules │ │ │ ├── extrakeys │ │ │ │ └── Makefile.am.include │ │ │ ├── ecdh │ │ │ │ └── Makefile.am.include │ │ │ ├── recovery │ │ │ │ └── Makefile.am.include │ │ │ └── schnorrsig │ │ │ │ └── Makefile.am.include │ │ ├── num_gmp.h │ │ ├── scalar_low.h │ │ ├── num_impl.h │ │ ├── scalar_8x32.h │ │ └── scalar_4x64.h │ ├── libsecp256k1.pc.in │ └── SECURITY.md ├── univalue │ ├── test │ │ ├── fail29.json │ │ ├── fail16.json │ │ ├── fail30.json │ │ ├── fail31.json │ │ ├── round4.json │ │ ├── round5.json │ │ ├── round7.json │ │ ├── fail33.json │ │ ├── fail34.json │ │ ├── fail36.json │ │ ├── round6.json │ │ ├── fail2.json │ │ ├── fail24.json │ │ ├── fail27.json │ │ ├── fail28.json │ │ ├── fail37.json │ │ ├── fail38.json │ │ ├── fail39.json │ │ ├── fail4.json │ │ ├── fail8.json │ │ ├── round2.json │ │ ├── fail19.json │ │ ├── fail20.json │ │ ├── fail23.json │ │ ├── fail5.json │ │ ├── fail9.json │ │ ├── fail11.json │ │ ├── fail25.json │ │ ├── fail6.json │ │ ├── fail7.json │ │ ├── fail12.json │ │ ├── fail14.json │ │ ├── fail15.json │ │ ├── fail17.json │ │ ├── fail21.json │ │ ├── fail22.json │ │ ├── fail35.json │ │ ├── round3.json │ │ ├── fail26.json │ │ ├── fail3.json │ │ ├── fail13.json │ │ ├── fail32.json │ │ ├── fail42.json │ │ ├── fail44.json │ │ ├── fail18.json │ │ ├── pass2.json │ │ ├── fail10.json │ │ ├── fail1.json │ │ ├── .gitignore │ │ ├── fail40.json │ │ ├── fail41.json │ │ ├── pass3.json │ │ ├── no_nul.cpp │ │ ├── round1.json │ │ └── test_json.cpp │ ├── build-aux │ │ └── m4 │ │ │ └── .gitignore │ ├── lib │ │ └── .gitignore │ ├── autogen.sh │ ├── TODO │ ├── pc │ │ ├── libunivalue.pc.in │ │ └── libunivalue-uninstalled.pc.in │ ├── .gitignore │ └── README.md ├── bench │ ├── .gitignore │ ├── data │ │ └── block413567.raw │ ├── nanobench.cpp │ ├── data.cpp │ ├── data.h │ ├── examples.cpp │ └── merkle_root.cpp ├── leveldb │ ├── cmake │ │ └── leveldbConfig.cmake │ ├── .gitignore │ ├── AUTHORS │ ├── util │ │ ├── filter_policy.cc │ │ ├── options.cc │ │ ├── hash.h │ │ └── env_windows_test_helper.h │ ├── port │ │ ├── README.md │ │ └── port.h │ ├── NEWS │ ├── TODO │ ├── .clang-format │ ├── helpers │ │ └── memenv │ │ │ └── memenv.h │ └── db │ │ └── db_iter.h ├── test │ ├── data │ │ ├── asmap.raw │ │ └── README.md │ ├── Makefile │ ├── fuzz │ │ ├── fuzz.h │ │ ├── parse_script.cpp │ │ └── crypto_poly1305.cpp │ ├── util │ │ ├── blockfilter.h │ │ ├── validation.h │ │ ├── README.md │ │ ├── validation.cpp │ │ ├── wallet.h │ │ ├── str.cpp │ │ ├── blockfilter.cpp │ │ └── mining.h │ ├── sanity_tests.cpp │ └── bswap_tests.cpp ├── qt │ ├── res │ │ ├── icons │ │ │ ├── add.png │ │ │ ├── edit.png │ │ │ ├── eye.png │ │ │ ├── proxy.png │ │ │ ├── send.png │ │ │ ├── bitcoin.ico │ │ │ ├── bitcoin.png │ │ │ ├── chevron.png │ │ │ ├── clock1.png │ │ │ ├── clock2.png │ │ │ ├── clock3.png │ │ │ ├── clock4.png │ │ │ ├── clock5.png │ │ │ ├── export.png │ │ │ ├── history.png │ │ │ ├── receive.png │ │ │ ├── remove.png │ │ │ ├── synced.png │ │ │ ├── warning.png │ │ │ ├── bitcoin.icns │ │ │ ├── connect0.png │ │ │ ├── connect1.png │ │ │ ├── connect2.png │ │ │ ├── connect3.png │ │ │ ├── connect4.png │ │ │ ├── editcopy.png │ │ │ ├── editpaste.png │ │ │ ├── eye_minus.png │ │ │ ├── eye_plus.png │ │ │ ├── fontbigger.png │ │ │ ├── hd_enabled.png │ │ │ ├── lock_open.png │ │ │ ├── overview.png │ │ │ ├── tx_inout.png │ │ │ ├── tx_input.png │ │ │ ├── tx_mined.png │ │ │ ├── tx_output.png │ │ │ ├── address-book.png │ │ │ ├── fontsmaller.png │ │ │ ├── hd_disabled.png │ │ │ ├── lock_closed.png │ │ │ ├── transaction0.png │ │ │ ├── transaction2.png │ │ │ ├── bitcoin_testnet.ico │ │ │ ├── network_disabled.png │ │ │ ├── transaction_abandoned.png │ │ │ └── transaction_conflicted.png │ │ ├── src │ │ │ ├── spinner.png │ │ │ └── tx_in.svg │ │ └── animation │ │ │ ├── spinner-000.png │ │ │ ├── spinner-001.png │ │ │ ├── spinner-002.png │ │ │ ├── spinner-003.png │ │ │ ├── spinner-004.png │ │ │ ├── spinner-005.png │ │ │ ├── spinner-006.png │ │ │ ├── spinner-007.png │ │ │ ├── spinner-008.png │ │ │ ├── spinner-009.png │ │ │ ├── spinner-010.png │ │ │ ├── spinner-011.png │ │ │ ├── spinner-012.png │ │ │ ├── spinner-013.png │ │ │ ├── spinner-014.png │ │ │ ├── spinner-015.png │ │ │ ├── spinner-016.png │ │ │ ├── spinner-017.png │ │ │ ├── spinner-018.png │ │ │ ├── spinner-019.png │ │ │ ├── spinner-020.png │ │ │ ├── spinner-021.png │ │ │ ├── spinner-022.png │ │ │ ├── spinner-023.png │ │ │ ├── spinner-024.png │ │ │ ├── spinner-025.png │ │ │ ├── spinner-026.png │ │ │ ├── spinner-027.png │ │ │ ├── spinner-028.png │ │ │ ├── spinner-029.png │ │ │ ├── spinner-030.png │ │ │ ├── spinner-031.png │ │ │ ├── spinner-032.png │ │ │ ├── spinner-033.png │ │ │ ├── spinner-034.png │ │ │ ├── spinner-035.png │ │ │ └── makespinner.sh │ ├── test │ │ ├── Makefile │ │ ├── uritests.h │ │ ├── compattests.h │ │ ├── util.h │ │ ├── wallettests.h │ │ ├── rpcnestedtests.h │ │ ├── addressbooktests.h │ │ ├── compattests.cpp │ │ └── util.cpp │ ├── Makefile │ ├── macos_appnap.h │ ├── coincontroltreewidget.h │ ├── macdockiconhandler.h │ ├── openuridialog.h │ ├── main.cpp │ ├── transactiondescdialog.h │ └── macnotificationhandler.h ├── util │ ├── string.cpp │ ├── macros.h │ ├── url.h │ ├── ui_change_type.h │ ├── asmap.h │ ├── rbf.cpp │ ├── rbf.h │ ├── memory.h │ ├── url.cpp │ ├── bytevectorhash.cpp │ ├── fees.h │ ├── bip32.h │ ├── bytevectorhash.h │ └── moneystr.h ├── wallet │ ├── context.cpp │ ├── salvage.h │ ├── wallettool.h │ └── test │ │ └── wallet_test_fixture.cpp ├── zmq │ ├── zmqutil.h │ ├── zmqrpc.h │ └── zmqutil.cpp ├── compat │ ├── sanity.h │ ├── stdin.h │ ├── strnlen.cpp │ └── cpuid.h ├── shutdown.h ├── net_types.h ├── rpc │ └── mining.h ├── node │ ├── context.cpp │ ├── coin.h │ └── coin.cpp ├── versionbitsinfo.cpp ├── shutdown.cpp ├── crypto │ ├── poly1305.h │ ├── sha1.h │ ├── ripemd160.h │ ├── sha512.h │ ├── hkdf_sha256_32.h │ ├── hkdf_sha256_32.cpp │ ├── hmac_sha256.h │ └── hmac_sha512.h ├── versionbitsinfo.h ├── policy │ └── settings.cpp ├── support │ └── cleanse.h ├── randomenv.h ├── torcontrol.h ├── attributes.h ├── consensus │ └── tx_check.h ├── optional.h ├── Makefile.test_fuzz.include ├── pow.h └── warnings.h ├── .python-version ├── doc ├── .gitignore ├── release-notes │ ├── release-notes-0.3.16.md │ ├── release-notes-0.6.1.md │ ├── release-notes-0.4.2.md │ ├── release-notes-0.4.5.md │ ├── release-notes-0.3.20.1.md │ ├── release-notes-0.19.0.md │ ├── release-notes-0.3.14.md │ ├── release-notes-0.3.15.md │ ├── release-notes-0.3.18.md │ ├── release-notes-0.3.17.md │ ├── release-notes-0.8.3.md │ ├── release-notes-0.3.20.2.md │ ├── release-notes-0.3.23.md │ ├── release-notes-0.3.12.md │ └── release-notes-0.3.19.md ├── bitcoin_logo_doxygen.png ├── assets-attribution.md ├── release-notes-21392.md ├── gitian-building.md ├── man │ └── Makefile.am └── README_doxygen.md ├── contrib ├── seeds │ ├── .gitignore │ ├── nodes_test.txt │ ├── suspicious_hosts.txt │ └── README.md ├── verify-commits │ ├── trusted-git-root │ ├── trusted-sha512-root-commit │ ├── allow-incorrect-sha512-commits │ ├── allow-unclean-merge-commits │ ├── trusted-keys │ └── pre-push-hook.sh ├── init │ ├── README.md │ └── org.bitcoin.bitcoind.plist ├── testgen │ └── README.md ├── devtools │ └── split-debug.sh.in ├── qos │ └── README.md ├── gitian-descriptors │ └── assign_DISTNAME ├── macdeploy │ └── fancy.plist └── bitcoin-qt.pro ├── test ├── functional │ ├── test_framework │ │ └── __init__.py │ ├── .gitignore │ └── create_cache.py ├── util │ └── data │ │ ├── blanktxv1.hex │ │ ├── blanktxv2.hex │ │ ├── txcreate2.hex │ │ ├── txcreatescript1.hex │ │ ├── txcreatescript5.hex │ │ ├── txcreatescript6.hex │ │ ├── txcreatescript2.hex │ │ ├── txcreatescript4.hex │ │ ├── txcreatemultisig2.hex │ │ ├── txcreatemultisig4.hex │ │ ├── txcreateoutpubkey2.hex │ │ ├── txcreateoutpubkey3.hex │ │ ├── txcreatemultisig3.hex │ │ ├── txcreatescript3.hex │ │ ├── txcreateoutpubkey1.hex │ │ ├── txcreatedata_seq0.hex │ │ ├── txcreatedata_seq1.hex │ │ ├── txcreatemultisig1.hex │ │ ├── txcreatedata1.hex │ │ ├── txcreatedata2.hex │ │ ├── blanktxv1.json │ │ ├── blanktxv2.json │ │ ├── txcreate1.hex │ │ ├── txcreatesignv1.hex │ │ ├── txcreatesignv2.hex │ │ ├── txcreate2.json │ │ ├── txcreatescript1.json │ │ └── txcreateoutpubkey1.json ├── sanitizer_suppressions │ └── lsan └── lint │ ├── lint-spelling.ignore-words.txt │ ├── lint-submodule.sh │ ├── lint-qt.sh │ ├── lint-cpp.sh │ ├── lint-filenames.sh │ └── extended-lint-all.sh ├── .gitattributes ├── share ├── pixmaps │ ├── bitcoin.ico │ ├── bitcoin128.png │ ├── bitcoin16.png │ ├── bitcoin256.png │ ├── bitcoin32.png │ ├── bitcoin64.png │ ├── nsis-header.bmp │ └── nsis-wizard.bmp └── rpcauth │ └── README.md ├── INSTALL.md ├── depends ├── builders │ ├── linux.mk │ └── default.mk ├── .gitignore ├── hosts │ ├── mingw32.mk │ ├── android.mk │ └── linux.mk ├── patches │ ├── libevent │ │ └── 0001-fix-windows-getaddrinfo.patch │ ├── qt │ │ ├── fix_no_printer.patch │ │ ├── fix_android_jni_static.patch │ │ ├── fix_powerpc_libpng.patch │ │ ├── fix_riscv64_arch.patch │ │ ├── fix_rcc_determinism.patch │ │ ├── dont_hardcode_pwd.patch │ │ └── xkb-default.patch │ ├── boost │ │ └── unused_var_in_process.patch │ ├── fontconfig │ │ └── gperf_header_regen.patch │ └── native_cctools │ │ └── ld64_disable_threading.patch └── packages │ ├── capnp.mk │ ├── libmultiprocess.mk │ ├── native_capnp.mk │ ├── native_libmultiprocess.mk │ ├── xcb_proto.mk │ ├── native_mac_alias.mk │ ├── native_biplist.mk │ ├── native_ds_store.mk │ ├── packages.mk │ ├── sqlite.mk │ ├── freetype.mk │ ├── xproto.mk │ ├── expat.mk │ └── native_libdmg-hfsplus.mk ├── .tx └── config ├── ci ├── lint │ └── 05_before_script.sh ├── test │ ├── 00_setup_env_native_multiprocess.sh │ ├── 03_before_install.sh │ ├── 00_setup_env_mac_host.sh │ ├── wrap-qemu.sh │ ├── 00_setup_env_i686_centos.sh │ ├── 00_setup_env_win64.sh │ ├── wrap-valgrind.sh │ ├── 00_setup_env_native_nowallet.sh │ ├── wrap-wine.sh │ ├── 00_setup_env_native_fuzz.sh │ ├── 00_setup_env_native_tsan.sh │ ├── 00_setup_env_native_fuzz_with_valgrind.sh │ ├── 00_setup_env_mac.sh │ ├── 00_setup_env_native_asan.sh │ └── 00_setup_env_native_valgrind.sh └── test_run_all.sh ├── libbitcoinconsensus.pc.in ├── .github └── ISSUE_TEMPLATE │ ├── gui_issue.md │ ├── feature_request.md │ └── good_first_issue.md ├── autogen.sh └── SECURITY.md /src/config/.empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/crc32c/.gitmodules: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.python-version: -------------------------------------------------------------------------------- 1 | 3.5.6 2 | -------------------------------------------------------------------------------- /doc/.gitignore: -------------------------------------------------------------------------------- 1 | Doxyfile 2 | -------------------------------------------------------------------------------- /src/secp256k1/obj/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/univalue/test/fail29.json: -------------------------------------------------------------------------------- 1 | [0e] -------------------------------------------------------------------------------- /src/bench/.gitignore: -------------------------------------------------------------------------------- 1 | bench_bitcoin 2 | -------------------------------------------------------------------------------- /src/univalue/test/fail16.json: -------------------------------------------------------------------------------- 1 | [\naked] -------------------------------------------------------------------------------- /src/univalue/test/fail30.json: -------------------------------------------------------------------------------- 1 | [0e+] -------------------------------------------------------------------------------- /src/univalue/test/fail31.json: -------------------------------------------------------------------------------- 1 | [0e+-1] -------------------------------------------------------------------------------- /src/univalue/test/round4.json: -------------------------------------------------------------------------------- 1 | 7 2 | -------------------------------------------------------------------------------- /src/univalue/test/round5.json: -------------------------------------------------------------------------------- 1 | true 2 | -------------------------------------------------------------------------------- /src/univalue/test/round7.json: -------------------------------------------------------------------------------- 1 | null 2 | -------------------------------------------------------------------------------- /contrib/seeds/.gitignore: -------------------------------------------------------------------------------- 1 | seeds_main.txt 2 | -------------------------------------------------------------------------------- /src/univalue/test/fail33.json: -------------------------------------------------------------------------------- 1 | ["mismatch"} -------------------------------------------------------------------------------- /src/univalue/test/fail34.json: -------------------------------------------------------------------------------- 1 | {} garbage -------------------------------------------------------------------------------- /src/univalue/test/fail36.json: -------------------------------------------------------------------------------- 1 | {"a":} 2 | -------------------------------------------------------------------------------- /src/univalue/test/round6.json: -------------------------------------------------------------------------------- 1 | false 2 | -------------------------------------------------------------------------------- /test/functional/test_framework/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/univalue/build-aux/m4/.gitignore: -------------------------------------------------------------------------------- 1 | /*.m4 2 | -------------------------------------------------------------------------------- /src/univalue/lib/.gitignore: -------------------------------------------------------------------------------- 1 | gen 2 | .libs 3 | -------------------------------------------------------------------------------- /src/univalue/test/fail2.json: -------------------------------------------------------------------------------- 1 | ["Unclosed array" -------------------------------------------------------------------------------- /src/univalue/test/fail24.json: -------------------------------------------------------------------------------- 1 | ['single quote'] -------------------------------------------------------------------------------- /src/univalue/test/fail27.json: -------------------------------------------------------------------------------- 1 | ["line 2 | break"] -------------------------------------------------------------------------------- /src/univalue/test/fail28.json: -------------------------------------------------------------------------------- 1 | ["line\ 2 | break"] -------------------------------------------------------------------------------- /src/univalue/test/fail37.json: -------------------------------------------------------------------------------- 1 | {"a":1 "b":2} 2 | -------------------------------------------------------------------------------- /src/univalue/test/fail38.json: -------------------------------------------------------------------------------- 1 | ["\ud834"] 2 | -------------------------------------------------------------------------------- /src/univalue/test/fail39.json: -------------------------------------------------------------------------------- 1 | ["\udd61"] 2 | -------------------------------------------------------------------------------- /src/univalue/test/fail4.json: -------------------------------------------------------------------------------- 1 | ["extra comma",] -------------------------------------------------------------------------------- /src/univalue/test/fail8.json: -------------------------------------------------------------------------------- 1 | ["Extra close"]] -------------------------------------------------------------------------------- /src/univalue/test/round2.json: -------------------------------------------------------------------------------- 1 | ["a§■𐎒𝅘𝅥𝅯"] 2 | -------------------------------------------------------------------------------- /test/functional/.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | cache 3 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | src/clientversion.cpp export-subst 2 | -------------------------------------------------------------------------------- /src/univalue/test/fail19.json: -------------------------------------------------------------------------------- 1 | {"Missing colon" null} -------------------------------------------------------------------------------- /src/univalue/test/fail20.json: -------------------------------------------------------------------------------- 1 | {"Double colon":: null} -------------------------------------------------------------------------------- /src/univalue/test/fail23.json: -------------------------------------------------------------------------------- 1 | ["Bad value", truth] -------------------------------------------------------------------------------- /src/univalue/test/fail5.json: -------------------------------------------------------------------------------- 1 | ["double extra comma",,] -------------------------------------------------------------------------------- /src/univalue/test/fail9.json: -------------------------------------------------------------------------------- 1 | {"Extra comma": true,} -------------------------------------------------------------------------------- /test/util/data/blanktxv1.hex: -------------------------------------------------------------------------------- 1 | 01000000000000000000 2 | -------------------------------------------------------------------------------- /test/util/data/blanktxv2.hex: -------------------------------------------------------------------------------- 1 | 02000000000000000000 2 | -------------------------------------------------------------------------------- /src/univalue/test/fail11.json: -------------------------------------------------------------------------------- 1 | {"Illegal expression": 1 + 2} -------------------------------------------------------------------------------- /src/univalue/test/fail25.json: -------------------------------------------------------------------------------- 1 | [" tab character in string "] -------------------------------------------------------------------------------- /src/univalue/test/fail6.json: -------------------------------------------------------------------------------- 1 | [ , "<-- missing value"] -------------------------------------------------------------------------------- /src/univalue/test/fail7.json: -------------------------------------------------------------------------------- 1 | ["Comma after the close"], -------------------------------------------------------------------------------- /doc/release-notes/release-notes-0.3.16.md: -------------------------------------------------------------------------------- 1 | Never released. 2 | -------------------------------------------------------------------------------- /src/univalue/test/fail12.json: -------------------------------------------------------------------------------- 1 | {"Illegal invocation": alert()} -------------------------------------------------------------------------------- /src/univalue/test/fail14.json: -------------------------------------------------------------------------------- 1 | {"Numbers cannot be hex": 0x14} -------------------------------------------------------------------------------- /src/univalue/test/fail15.json: -------------------------------------------------------------------------------- 1 | ["Illegal backslash escape: \x15"] -------------------------------------------------------------------------------- /src/univalue/test/fail17.json: -------------------------------------------------------------------------------- 1 | ["Illegal backslash escape: \017"] -------------------------------------------------------------------------------- /src/univalue/test/fail21.json: -------------------------------------------------------------------------------- 1 | {"Comma instead of colon", null} -------------------------------------------------------------------------------- /src/univalue/test/fail22.json: -------------------------------------------------------------------------------- 1 | ["Colon instead of comma": false] -------------------------------------------------------------------------------- /src/univalue/test/fail35.json: -------------------------------------------------------------------------------- 1 | [ true true true [] [] [] ] 2 | -------------------------------------------------------------------------------- /src/univalue/test/round3.json: -------------------------------------------------------------------------------- 1 | "abcdefghijklmnopqrstuvwxyz" 2 | -------------------------------------------------------------------------------- /doc/release-notes/release-notes-0.6.1.md: -------------------------------------------------------------------------------- 1 | Never released 2 | 3 | -------------------------------------------------------------------------------- /src/univalue/test/fail26.json: -------------------------------------------------------------------------------- 1 | ["tab\ character\ in\ string\ "] -------------------------------------------------------------------------------- /src/univalue/test/fail3.json: -------------------------------------------------------------------------------- 1 | {unquoted_key: "keys must be quoted"} -------------------------------------------------------------------------------- /src/univalue/test/fail13.json: -------------------------------------------------------------------------------- 1 | {"Numbers cannot have leading zeroes": 013} -------------------------------------------------------------------------------- /src/univalue/test/fail32.json: -------------------------------------------------------------------------------- 1 | {"Comma instead if closing brace": true, -------------------------------------------------------------------------------- /src/univalue/test/fail42.json: -------------------------------------------------------------------------------- 1 | ["before nul byte"]"after nul byte" 2 | -------------------------------------------------------------------------------- /test/util/data/txcreate2.hex: -------------------------------------------------------------------------------- 1 | 02000000000100000000000000000000000000 2 | -------------------------------------------------------------------------------- /src/univalue/test/fail44.json: -------------------------------------------------------------------------------- 1 | "This file ends without a newline or close-quote. -------------------------------------------------------------------------------- /src/crc32c/.clang-format: -------------------------------------------------------------------------------- 1 | --- 2 | Language: Cpp 3 | BasedOnStyle: Google 4 | -------------------------------------------------------------------------------- /src/secp256k1/autogen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | autoreconf -if --warnings=all 4 | -------------------------------------------------------------------------------- /src/univalue/test/fail18.json: -------------------------------------------------------------------------------- 1 | [[[[[[[[[[[[[[[[[[[["Too deep"]]]]]]]]]]]]]]]]]]]] -------------------------------------------------------------------------------- /src/univalue/test/pass2.json: -------------------------------------------------------------------------------- 1 | [[[[[[[[[[[[[[[[[[["Not too deep"]]]]]]]]]]]]]]]]]]] -------------------------------------------------------------------------------- /test/util/data/txcreatescript1.hex: -------------------------------------------------------------------------------- 1 | 0100000000010000000000000000017500000000 2 | -------------------------------------------------------------------------------- /contrib/verify-commits/trusted-git-root: -------------------------------------------------------------------------------- 1 | 82bcf405f6db1d55b684a1f63a4aabad376cdad7 2 | -------------------------------------------------------------------------------- /doc/release-notes/release-notes-0.4.2.md: -------------------------------------------------------------------------------- 1 | Never released or release notes were lost. 2 | -------------------------------------------------------------------------------- /doc/release-notes/release-notes-0.4.5.md: -------------------------------------------------------------------------------- 1 | Never released or release notes were lost. 2 | -------------------------------------------------------------------------------- /src/univalue/test/fail10.json: -------------------------------------------------------------------------------- 1 | {"Extra value after close": true} "misplaced quoted value" -------------------------------------------------------------------------------- /doc/release-notes/release-notes-0.3.20.1.md: -------------------------------------------------------------------------------- 1 | Never released or release notes were lost. 2 | -------------------------------------------------------------------------------- /test/util/data/txcreatescript5.hex: -------------------------------------------------------------------------------- 1 | 02000000000100000000000000000605ffffffff0000000000 2 | -------------------------------------------------------------------------------- /test/util/data/txcreatescript6.hex: -------------------------------------------------------------------------------- 1 | 02000000000100000000000000000605ffffffff8000000000 2 | -------------------------------------------------------------------------------- /contrib/verify-commits/trusted-sha512-root-commit: -------------------------------------------------------------------------------- 1 | 309bf16257b2395ce502017be627186b749ee749 2 | -------------------------------------------------------------------------------- /src/leveldb/cmake/leveldbConfig.cmake: -------------------------------------------------------------------------------- 1 | include("${CMAKE_CURRENT_LIST_DIR}/leveldbTargets.cmake") 2 | -------------------------------------------------------------------------------- /src/univalue/test/fail1.json: -------------------------------------------------------------------------------- 1 | "This is a string that never ends, yes it goes on and on, my friends. 2 | -------------------------------------------------------------------------------- /src/test/data/asmap.raw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/test/data/asmap.raw -------------------------------------------------------------------------------- /src/univalue/test/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | object 3 | unitester 4 | test_json 5 | no_nul 6 | 7 | *.trs 8 | *.log 9 | -------------------------------------------------------------------------------- /share/pixmaps/bitcoin.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/share/pixmaps/bitcoin.ico -------------------------------------------------------------------------------- /src/qt/res/icons/add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/icons/add.png -------------------------------------------------------------------------------- /src/qt/res/icons/edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/icons/edit.png -------------------------------------------------------------------------------- /src/qt/res/icons/eye.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/icons/eye.png -------------------------------------------------------------------------------- /src/qt/res/icons/proxy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/icons/proxy.png -------------------------------------------------------------------------------- /src/qt/res/icons/send.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/icons/send.png -------------------------------------------------------------------------------- /src/qt/res/src/spinner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/src/spinner.png -------------------------------------------------------------------------------- /doc/bitcoin_logo_doxygen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/doc/bitcoin_logo_doxygen.png -------------------------------------------------------------------------------- /share/pixmaps/bitcoin128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/share/pixmaps/bitcoin128.png -------------------------------------------------------------------------------- /share/pixmaps/bitcoin16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/share/pixmaps/bitcoin16.png -------------------------------------------------------------------------------- /share/pixmaps/bitcoin256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/share/pixmaps/bitcoin256.png -------------------------------------------------------------------------------- /share/pixmaps/bitcoin32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/share/pixmaps/bitcoin32.png -------------------------------------------------------------------------------- /share/pixmaps/bitcoin64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/share/pixmaps/bitcoin64.png -------------------------------------------------------------------------------- /src/qt/res/icons/bitcoin.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/icons/bitcoin.ico -------------------------------------------------------------------------------- /src/qt/res/icons/bitcoin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/icons/bitcoin.png -------------------------------------------------------------------------------- /src/qt/res/icons/chevron.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/icons/chevron.png -------------------------------------------------------------------------------- /src/qt/res/icons/clock1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/icons/clock1.png -------------------------------------------------------------------------------- /src/qt/res/icons/clock2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/icons/clock2.png -------------------------------------------------------------------------------- /src/qt/res/icons/clock3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/icons/clock3.png -------------------------------------------------------------------------------- /src/qt/res/icons/clock4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/icons/clock4.png -------------------------------------------------------------------------------- /src/qt/res/icons/clock5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/icons/clock5.png -------------------------------------------------------------------------------- /src/qt/res/icons/export.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/icons/export.png -------------------------------------------------------------------------------- /src/qt/res/icons/history.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/icons/history.png -------------------------------------------------------------------------------- /src/qt/res/icons/receive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/icons/receive.png -------------------------------------------------------------------------------- /src/qt/res/icons/remove.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/icons/remove.png -------------------------------------------------------------------------------- /src/qt/res/icons/synced.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/icons/synced.png -------------------------------------------------------------------------------- /src/qt/res/icons/warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/icons/warning.png -------------------------------------------------------------------------------- /share/pixmaps/nsis-header.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/share/pixmaps/nsis-header.bmp -------------------------------------------------------------------------------- /share/pixmaps/nsis-wizard.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/share/pixmaps/nsis-wizard.bmp -------------------------------------------------------------------------------- /src/bench/data/block413567.raw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/bench/data/block413567.raw -------------------------------------------------------------------------------- /src/crc32c/.gitignore: -------------------------------------------------------------------------------- 1 | # Editors. 2 | *.sw* 3 | .DS_Store 4 | /.vscode 5 | 6 | # Build directory. 7 | build/ 8 | out/ 9 | -------------------------------------------------------------------------------- /src/leveldb/.gitignore: -------------------------------------------------------------------------------- 1 | # Editors. 2 | *.sw* 3 | .vscode 4 | .DS_Store 5 | 6 | # Build directory. 7 | build/ 8 | out/ 9 | -------------------------------------------------------------------------------- /src/qt/res/icons/bitcoin.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/icons/bitcoin.icns -------------------------------------------------------------------------------- /src/qt/res/icons/connect0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/icons/connect0.png -------------------------------------------------------------------------------- /src/qt/res/icons/connect1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/icons/connect1.png -------------------------------------------------------------------------------- /src/qt/res/icons/connect2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/icons/connect2.png -------------------------------------------------------------------------------- /src/qt/res/icons/connect3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/icons/connect3.png -------------------------------------------------------------------------------- /src/qt/res/icons/connect4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/icons/connect4.png -------------------------------------------------------------------------------- /src/qt/res/icons/editcopy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/icons/editcopy.png -------------------------------------------------------------------------------- /src/qt/res/icons/editpaste.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/icons/editpaste.png -------------------------------------------------------------------------------- /src/qt/res/icons/eye_minus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/icons/eye_minus.png -------------------------------------------------------------------------------- /src/qt/res/icons/eye_plus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/icons/eye_plus.png -------------------------------------------------------------------------------- /src/qt/res/icons/fontbigger.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/icons/fontbigger.png -------------------------------------------------------------------------------- /src/qt/res/icons/hd_enabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/icons/hd_enabled.png -------------------------------------------------------------------------------- /src/qt/res/icons/lock_open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/icons/lock_open.png -------------------------------------------------------------------------------- /src/qt/res/icons/overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/icons/overview.png -------------------------------------------------------------------------------- /src/qt/res/icons/tx_inout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/icons/tx_inout.png -------------------------------------------------------------------------------- /src/qt/res/icons/tx_input.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/icons/tx_input.png -------------------------------------------------------------------------------- /src/qt/res/icons/tx_mined.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/icons/tx_mined.png -------------------------------------------------------------------------------- /src/qt/res/icons/tx_output.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/icons/tx_output.png -------------------------------------------------------------------------------- /src/univalue/test/fail40.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/univalue/test/fail40.json -------------------------------------------------------------------------------- /src/univalue/test/fail41.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/univalue/test/fail41.json -------------------------------------------------------------------------------- /test/util/data/txcreatescript2.hex: -------------------------------------------------------------------------------- 1 | 010000000001000000000000000017a91471ed53322d470bb96657deb786b94f97dd46fb158700000000 2 | -------------------------------------------------------------------------------- /test/util/data/txcreatescript4.hex: -------------------------------------------------------------------------------- 1 | 010000000001000000000000000017a9146a2c482f4985f57e702f325816c90e3723ca81ae8700000000 2 | -------------------------------------------------------------------------------- /src/qt/res/icons/address-book.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/icons/address-book.png -------------------------------------------------------------------------------- /src/qt/res/icons/fontsmaller.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/icons/fontsmaller.png -------------------------------------------------------------------------------- /src/qt/res/icons/hd_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/icons/hd_disabled.png -------------------------------------------------------------------------------- /src/qt/res/icons/lock_closed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/icons/lock_closed.png -------------------------------------------------------------------------------- /src/qt/res/icons/transaction0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/icons/transaction0.png -------------------------------------------------------------------------------- /src/qt/res/icons/transaction2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/icons/transaction2.png -------------------------------------------------------------------------------- /test/util/data/txcreatemultisig2.hex: -------------------------------------------------------------------------------- 1 | 01000000000100e1f5050000000017a9141c6fbaf46d64221e80cbae182c33ddf81b9294ac8700000000 2 | -------------------------------------------------------------------------------- /test/util/data/txcreatemultisig4.hex: -------------------------------------------------------------------------------- 1 | 01000000000100e1f5050000000017a9146edf12858999f0dae74f9c692e6694ee3621b2ac8700000000 2 | -------------------------------------------------------------------------------- /test/util/data/txcreateoutpubkey2.hex: -------------------------------------------------------------------------------- 1 | 0100000000010000000000000000160014a2516e770582864a6a56ed21a102044e388c62e300000000 2 | -------------------------------------------------------------------------------- /test/util/data/txcreateoutpubkey3.hex: -------------------------------------------------------------------------------- 1 | 010000000001000000000000000017a914a5ab14c9804d0d8bf02f1aea4e82780733ad0a838700000000 2 | -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-000.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/animation/spinner-000.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/animation/spinner-001.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-002.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/animation/spinner-002.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-003.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/animation/spinner-003.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-004.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/animation/spinner-004.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-005.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/animation/spinner-005.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-006.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/animation/spinner-006.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-007.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/animation/spinner-007.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-008.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/animation/spinner-008.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-009.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/animation/spinner-009.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-010.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/animation/spinner-010.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-011.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/animation/spinner-011.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-012.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/animation/spinner-012.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-013.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/animation/spinner-013.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-014.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/animation/spinner-014.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-015.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/animation/spinner-015.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-016.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/animation/spinner-016.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-017.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/animation/spinner-017.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-018.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/animation/spinner-018.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-019.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/animation/spinner-019.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-020.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/animation/spinner-020.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-021.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/animation/spinner-021.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-022.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/animation/spinner-022.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-023.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/animation/spinner-023.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/animation/spinner-024.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-025.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/animation/spinner-025.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-026.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/animation/spinner-026.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-027.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/animation/spinner-027.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-028.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/animation/spinner-028.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-029.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/animation/spinner-029.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-030.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/animation/spinner-030.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-031.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/animation/spinner-031.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-032.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/animation/spinner-032.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-033.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/animation/spinner-033.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-034.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/animation/spinner-034.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-035.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/animation/spinner-035.png -------------------------------------------------------------------------------- /src/qt/res/icons/bitcoin_testnet.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/icons/bitcoin_testnet.ico -------------------------------------------------------------------------------- /src/qt/res/icons/network_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/icons/network_disabled.png -------------------------------------------------------------------------------- /contrib/verify-commits/allow-incorrect-sha512-commits: -------------------------------------------------------------------------------- 1 | f8feaa4636260b599294c7285bcf1c8b7737f74e 2 | 8040ae6fc576e9504186f2ae3ff2c8125de1095c 3 | -------------------------------------------------------------------------------- /src/qt/res/icons/transaction_abandoned.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/icons/transaction_abandoned.png -------------------------------------------------------------------------------- /src/qt/res/icons/transaction_conflicted.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BitcoinActivation/bitcoin/HEAD/src/qt/res/icons/transaction_conflicted.png -------------------------------------------------------------------------------- /test/util/data/txcreatemultisig3.hex: -------------------------------------------------------------------------------- 1 | 01000000000100e1f50500000000220020e15a86a23178f433d514dbbce042e87d72662b8b5edcacfd2e37ab7a2d135f0500000000 2 | -------------------------------------------------------------------------------- /test/util/data/txcreatescript3.hex: -------------------------------------------------------------------------------- 1 | 01000000000100000000000000002200200bfe935e70c321c7ca3afc75ce0d0ca2f98b5422e008bb31c00c6d7f1f1c0ad600000000 2 | -------------------------------------------------------------------------------- /test/util/data/txcreateoutpubkey1.hex: -------------------------------------------------------------------------------- 1 | 0100000000010000000000000000232102a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397ac00000000 2 | -------------------------------------------------------------------------------- /src/test/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | $(MAKE) -C .. bitcoin_test 3 | clean: 4 | $(MAKE) -C .. bitcoin_test_clean 5 | check: 6 | $(MAKE) -C .. bitcoin_test_check 7 | -------------------------------------------------------------------------------- /doc/assets-attribution.md: -------------------------------------------------------------------------------- 1 | The list of assets used in the bitcoin source and their attribution can now be found in [contrib/debian/copyright](../contrib/debian/copyright). 2 | -------------------------------------------------------------------------------- /src/qt/test/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | $(MAKE) -C ../../ test_bitcoin_qt 3 | clean: 4 | $(MAKE) -C ../../ test_bitcoin_qt_clean 5 | check: 6 | $(MAKE) -C ../../ test_bitcoin_qt_check 7 | -------------------------------------------------------------------------------- /INSTALL.md: -------------------------------------------------------------------------------- 1 | Building Bitcoin 2 | ================ 3 | 4 | See doc/build-*.md for instructions on building the various 5 | elements of the Bitcoin Core reference implementation of Bitcoin. 6 | -------------------------------------------------------------------------------- /depends/builders/linux.mk: -------------------------------------------------------------------------------- 1 | build_linux_SHA256SUM = sha256sum 2 | build_linux_DOWNLOAD = curl --location --fail --connect-timeout $(DOWNLOAD_CONNECT_TIMEOUT) --retry $(DOWNLOAD_RETRIES) -o 3 | -------------------------------------------------------------------------------- /depends/.gitignore: -------------------------------------------------------------------------------- 1 | SDKs/ 2 | work/ 3 | built/ 4 | sources/ 5 | config.site 6 | x86_64* 7 | i686* 8 | mips* 9 | arm* 10 | aarch64* 11 | powerpc* 12 | riscv32* 13 | riscv64* 14 | s390x* 15 | -------------------------------------------------------------------------------- /src/univalue/test/pass3.json: -------------------------------------------------------------------------------- 1 | { 2 | "JSON Test Pattern pass3": { 3 | "The outermost value": "must be an object or array.", 4 | "In this test": "It is an object." 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /test/util/data/txcreatedata_seq0.hex: -------------------------------------------------------------------------------- 1 | 02000000011f5c38dfcf6f1a5f5a87c416076d392c87e6d41970d5ad5e477a02d66bde97580000000000fdffffff0180a81201000000001976a9141fc11f39be1729bf973a7ab6a615ca4729d6457488ac00000000 2 | -------------------------------------------------------------------------------- /.tx/config: -------------------------------------------------------------------------------- 1 | [main] 2 | host = https://www.transifex.com 3 | 4 | [bitcoin.qt-translation-021x] 5 | file_filter = src/qt/locale/bitcoin_.ts 6 | source_file = src/qt/locale/bitcoin_en.ts 7 | source_lang = en 8 | -------------------------------------------------------------------------------- /src/univalue/test/no_nul.cpp: -------------------------------------------------------------------------------- 1 | #include "univalue.h" 2 | 3 | int main (int argc, char *argv[]) 4 | { 5 | char buf[] = "___[1,2,3]___"; 6 | UniValue val; 7 | return val.read(buf + 3, 7) ? 0 : 1; 8 | } 9 | -------------------------------------------------------------------------------- /doc/release-notes/release-notes-0.19.0.md: -------------------------------------------------------------------------------- 1 | 0.19.0 note 2 | ----------- 3 | 4 | Due to a last-minute issue (#17449), 0.19.0, although it was tagged, was never released. 5 | 6 | See the release notes for 0.19.0.1 instead. 7 | -------------------------------------------------------------------------------- /contrib/verify-commits/allow-unclean-merge-commits: -------------------------------------------------------------------------------- 1 | 6052d509105790a26b3ad5df43dd61e7f1b24a12 2 | 3798e5de334c3deb5f71302b782f6b8fbd5087f1 3 | 326ffed09bfcc209a2efd6a2ebc69edf6bd200b5 4 | 97d83739db0631be5d4ba86af3616014652c00ec 5 | -------------------------------------------------------------------------------- /test/sanitizer_suppressions/lsan: -------------------------------------------------------------------------------- 1 | # Suppress warnings triggered in dependencies 2 | leak:libqminimal 3 | leak:libQt5Core 4 | leak:libQt5Gui 5 | leak:libQt5Widgets 6 | 7 | # false-positive due to use of secure_allocator<> 8 | leak:GetRNGState 9 | -------------------------------------------------------------------------------- /doc/release-notes-21392.md: -------------------------------------------------------------------------------- 1 | Low-level changes 2 | ================= 3 | 4 | RPC 5 | --- 6 | 7 | * BIP 9 has been replaced with BIP 8. This change is reflected in `getblockchaininfo` where references to BIP 9 have been replaced with references to BIP 8. 8 | -------------------------------------------------------------------------------- /src/util/string.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2019 The Bitcoin Core developers 2 | // Distributed under the MIT software license, see the accompanying 3 | // file COPYING or http://www.opensource.org/licenses/mit-license.php. 4 | 5 | #include 6 | -------------------------------------------------------------------------------- /test/lint/lint-spelling.ignore-words.txt: -------------------------------------------------------------------------------- 1 | hights 2 | mor 3 | mut 4 | objext 5 | useable 6 | wit 7 | unparseable 8 | copyable 9 | cachable 10 | errorstring 11 | keyserver 12 | homogenous 13 | setban 14 | hist 15 | ser 16 | unselect 17 | lowercased 18 | -------------------------------------------------------------------------------- /src/crc32c/.clang_complete: -------------------------------------------------------------------------------- 1 | -Ibuild/include/ 2 | -Ibuild/third_party/glog/ 3 | -Iinclude/ 4 | -Ithird_party/benchmark/include/ 5 | -Ithird_party/googletest/googletest/include/ 6 | -Ithird_party/googletest/googlemock/include/ 7 | -Ithird_party/glog/src/ 8 | -std=c++11 9 | -------------------------------------------------------------------------------- /src/univalue/autogen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | srcdir="$(dirname $0)" 4 | cd "$srcdir" 5 | if [ -z ${LIBTOOLIZE} ] && GLIBTOOLIZE="`which glibtoolize 2>/dev/null`"; then 6 | LIBTOOLIZE="${GLIBTOOLIZE}" 7 | export LIBTOOLIZE 8 | fi 9 | autoreconf --install --force 10 | -------------------------------------------------------------------------------- /doc/gitian-building.md: -------------------------------------------------------------------------------- 1 | Gitian building 2 | ================ 3 | 4 | This file was moved to [the Bitcoin Core documentation repository](https://github.com/bitcoin-core/docs/blob/master/gitian-building.md) at [https://github.com/bitcoin-core/docs](https://github.com/bitcoin-core/docs). 5 | -------------------------------------------------------------------------------- /src/secp256k1/src/modules/extrakeys/Makefile.am.include: -------------------------------------------------------------------------------- 1 | include_HEADERS += include/secp256k1_extrakeys.h 2 | noinst_HEADERS += src/modules/extrakeys/tests_impl.h 3 | noinst_HEADERS += src/modules/extrakeys/tests_exhaustive_impl.h 4 | noinst_HEADERS += src/modules/extrakeys/main_impl.h 5 | -------------------------------------------------------------------------------- /test/util/data/txcreatedata_seq1.hex: -------------------------------------------------------------------------------- 1 | 01000000021f5c38dfcf6f1a5f5a87c416076d392c87e6d41970d5ad5e477a02d66bde97580000000000fdffffff1f5c38dfcf6f1a5f5a87c416076d392c87e6d41970d5ad5e477a02d66bde97580000000000010000000180a81201000000001976a9141fc11f39be1729bf973a7ab6a615ca4729d6457488ac00000000 2 | -------------------------------------------------------------------------------- /test/util/data/txcreatemultisig1.hex: -------------------------------------------------------------------------------- 1 | 01000000000100e1f5050000000069522102a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff39721021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d2102df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb48553ae00000000 2 | -------------------------------------------------------------------------------- /contrib/seeds/nodes_test.txt: -------------------------------------------------------------------------------- 1 | # List of fixed seed nodes for testnet 2 | 3 | # Onion nodes 4 | thfsmmn2jbitcoin.onion 5 | it2pj4f7657g3rhi.onion 6 | nkf5e6b7pl4jfd4a.onion 7 | 4zhkir2ofl7orfom.onion 8 | t6xj6wilh4ytvcs7.onion 9 | i6y6ivorwakd7nw3.onion 10 | ubqj4rsu3nqtxmtp.onion 11 | 12 | -------------------------------------------------------------------------------- /src/univalue/TODO: -------------------------------------------------------------------------------- 1 | 2 | Rearrange tree for easier 'git subtree' style use 3 | 4 | Move towards C++11 etc. 5 | 6 | Namespace support - must come up with useful shorthand, avoiding 7 | long Univalue::Univalue::Univalue usages forced upon library users. 8 | 9 | Improve test suite 10 | 11 | -------------------------------------------------------------------------------- /contrib/verify-commits/trusted-keys: -------------------------------------------------------------------------------- 1 | 71A3B16735405025D447E8F274810B012346C9A6 2 | 133EAC179436F14A5CF1B794860FEB804E669320 3 | 32EE5C4C3FA15CCADB46ABE529D4BCB6416F53EC 4 | B8B3F1C0E58C15DB6A81D30C3648A882F4316B9B 5 | CA03882CB1FC067B5D3ACFE4D300116E1C875A3D 6 | E777299FC265DD04793070EB944D35F9AC3DB76A 7 | -------------------------------------------------------------------------------- /src/bench/nanobench.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2019-2020 The Bitcoin Core developers 2 | // Distributed under the MIT software license, see the accompanying 3 | // file COPYING or http://www.opensource.org/licenses/mit-license.php. 4 | 5 | #define ANKERL_NANOBENCH_IMPLEMENT 6 | #include 7 | -------------------------------------------------------------------------------- /src/qt/Makefile: -------------------------------------------------------------------------------- 1 | .PHONY: FORCE 2 | all: FORCE 3 | $(MAKE) -C .. bitcoin_qt test_bitcoin_qt 4 | clean: FORCE 5 | $(MAKE) -C .. bitcoin_qt_clean test_bitcoin_qt_clean 6 | check: FORCE 7 | $(MAKE) -C .. test_bitcoin_qt_check 8 | bitcoin-qt bitcoin-qt.exe: FORCE 9 | $(MAKE) -C .. bitcoin_qt 10 | -------------------------------------------------------------------------------- /src/univalue/test/round1.json: -------------------------------------------------------------------------------- 1 | ["\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\u007f"] 2 | -------------------------------------------------------------------------------- /src/crc32c/Crc32cConfig.cmake: -------------------------------------------------------------------------------- 1 | # Copyright 2017 The CRC32C Authors. All rights reserved. 2 | # Use of this source code is governed by a BSD-style license that can be 3 | # found in the LICENSE file. See the AUTHORS file for names of contributors. 4 | 5 | include("${CMAKE_CURRENT_LIST_DIR}/Crc32cTargets.cmake") 6 | -------------------------------------------------------------------------------- /ci/lint/05_before_script.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # 3 | # Copyright (c) 2018-2019 The Bitcoin Core developers 4 | # Distributed under the MIT software license, see the accompanying 5 | # file COPYING or http://www.opensource.org/licenses/mit-license.php. 6 | 7 | export LC_ALL=C 8 | 9 | git fetch --unshallow 10 | -------------------------------------------------------------------------------- /src/univalue/pc/libunivalue.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: libunivalue 7 | Description: libunivalue, C++ universal value object and JSON library 8 | Version: @VERSION@ 9 | Libs: -L${libdir} -lunivalue 10 | Cflags: -I${includedir} 11 | -------------------------------------------------------------------------------- /contrib/seeds/suspicious_hosts.txt: -------------------------------------------------------------------------------- 1 | 130.211.129.106 2 | 148.251.238.178 3 | 176.9.46.6 4 | 178.63.107.226 5 | 54.173.72.127 6 | 54.174.10.182 7 | 54.183.64.54 8 | 54.194.231.211 9 | 54.66.214.167 10 | 54.66.220.137 11 | 54.67.33.14 12 | 54.77.251.214 13 | 54.94.195.96 14 | 54.94.200.247 15 | 83.81.130.26 16 | 88.198.17.7 -------------------------------------------------------------------------------- /src/univalue/pc/libunivalue-uninstalled.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: libunivalue 7 | Description: libunivalue, C++ universal value object and JSON library 8 | Version: @VERSION@ 9 | Libs: ${pc_top_builddir}/${pcfiledir}/libunivalue.la 10 | -------------------------------------------------------------------------------- /libbitcoinconsensus.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: @PACKAGE_NAME@ consensus library 7 | Description: Library for the Bitcoin consensus protocol. 8 | Version: @PACKAGE_VERSION@ 9 | Libs: -L${libdir} -lbitcoinconsensus 10 | Cflags: -I${includedir} 11 | -------------------------------------------------------------------------------- /src/wallet/context.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2020 The Bitcoin Core developers 2 | // Distributed under the MIT software license, see the accompanying 3 | // file COPYING or http://www.opensource.org/licenses/mit-license.php. 4 | 5 | #include 6 | 7 | WalletContext::WalletContext() {} 8 | WalletContext::~WalletContext() {} 9 | -------------------------------------------------------------------------------- /src/leveldb/AUTHORS: -------------------------------------------------------------------------------- 1 | # Names should be added to this file like so: 2 | # Name or Organization 3 | 4 | Google Inc. 5 | 6 | # Initial version authors: 7 | Jeffrey Dean 8 | Sanjay Ghemawat 9 | 10 | # Partial list of contributors: 11 | Kevin Regan 12 | Johan Bilien 13 | -------------------------------------------------------------------------------- /src/secp256k1/src/modules/ecdh/Makefile.am.include: -------------------------------------------------------------------------------- 1 | include_HEADERS += include/secp256k1_ecdh.h 2 | noinst_HEADERS += src/modules/ecdh/main_impl.h 3 | noinst_HEADERS += src/modules/ecdh/tests_impl.h 4 | if USE_BENCHMARK 5 | noinst_PROGRAMS += bench_ecdh 6 | bench_ecdh_SOURCES = src/bench_ecdh.c 7 | bench_ecdh_LDADD = libsecp256k1.la $(SECP_LIBS) $(COMMON_LIB) 8 | endif 9 | -------------------------------------------------------------------------------- /src/test/data/README.md: -------------------------------------------------------------------------------- 1 | Description 2 | ------------ 3 | 4 | This directory contains data-driven tests for various aspects of Bitcoin. 5 | 6 | License 7 | -------- 8 | 9 | The data files in this directory are distributed under the MIT software 10 | license, see the accompanying file COPYING or 11 | http://www.opensource.org/licenses/mit-license.php. 12 | 13 | -------------------------------------------------------------------------------- /depends/hosts/mingw32.mk: -------------------------------------------------------------------------------- 1 | mingw32_CFLAGS=-pipe 2 | mingw32_CXXFLAGS=$(mingw32_CFLAGS) 3 | 4 | mingw32_release_CFLAGS=-O2 5 | mingw32_release_CXXFLAGS=$(mingw32_release_CFLAGS) 6 | 7 | mingw32_debug_CFLAGS=-O1 8 | mingw32_debug_CXXFLAGS=$(mingw32_debug_CFLAGS) 9 | 10 | mingw32_debug_CPPFLAGS=-D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC 11 | 12 | mingw_cmake_system=Windows 13 | -------------------------------------------------------------------------------- /src/zmq/zmqutil.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2014-2018 The Bitcoin Core developers 2 | // Distributed under the MIT software license, see the accompanying 3 | // file COPYING or http://www.opensource.org/licenses/mit-license.php. 4 | 5 | #ifndef BITCOIN_ZMQ_ZMQUTIL_H 6 | #define BITCOIN_ZMQ_ZMQUTIL_H 7 | 8 | void zmqError(const char* str); 9 | 10 | #endif // BITCOIN_ZMQ_ZMQUTIL_H 11 | -------------------------------------------------------------------------------- /test/util/data/txcreatedata1.hex: -------------------------------------------------------------------------------- 1 | 02000000011f5c38dfcf6f1a5f5a87c416076d392c87e6d41970d5ad5e477a02d66bde97580000000000ffffffff0280a81201000000001976a9141fc11f39be1729bf973a7ab6a615ca4729d6457488ac0084d71700000000526a4c4f54686973204f505f52455455524e207472616e73616374696f6e206f7574707574207761732063726561746564206279206d6f646966696564206372656174657261777472616e73616374696f6e2e00000000 2 | -------------------------------------------------------------------------------- /test/util/data/txcreatedata2.hex: -------------------------------------------------------------------------------- 1 | 02000000011f5c38dfcf6f1a5f5a87c416076d392c87e6d41970d5ad5e477a02d66bde97580000000000ffffffff0280a81201000000001976a9141fc11f39be1729bf973a7ab6a615ca4729d6457488ac0000000000000000526a4c4f54686973204f505f52455455524e207472616e73616374696f6e206f7574707574207761732063726561746564206279206d6f646966696564206372656174657261777472616e73616374696f6e2e00000000 2 | -------------------------------------------------------------------------------- /contrib/init/README.md: -------------------------------------------------------------------------------- 1 | Sample configuration files for: 2 | ``` 3 | SystemD: bitcoind.service 4 | Upstart: bitcoind.conf 5 | OpenRC: bitcoind.openrc 6 | bitcoind.openrcconf 7 | CentOS: bitcoind.init 8 | macOS: org.bitcoin.bitcoind.plist 9 | ``` 10 | have been made available to assist packagers in creating node packages here. 11 | 12 | See doc/init.md for more information. 13 | -------------------------------------------------------------------------------- /contrib/testgen/README.md: -------------------------------------------------------------------------------- 1 | ### TestGen ### 2 | 3 | Utilities to generate test vectors for the data-driven Bitcoin tests. 4 | 5 | Usage: 6 | 7 | PYTHONPATH=../../test/functional/test_framework ./gen_key_io_test_vectors.py valid 50 > ../../src/test/data/key_io_valid.json 8 | PYTHONPATH=../../test/functional/test_framework ./gen_key_io_test_vectors.py invalid 50 > ../../src/test/data/key_io_invalid.json 9 | -------------------------------------------------------------------------------- /src/util/macros.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2019 The Bitcoin Core developers 2 | // Distributed under the MIT software license, see the accompanying 3 | // file COPYING or http://www.opensource.org/licenses/mit-license.php. 4 | 5 | #ifndef BITCOIN_UTIL_MACROS_H 6 | #define BITCOIN_UTIL_MACROS_H 7 | 8 | #define PASTE(x, y) x ## y 9 | #define PASTE2(x, y) PASTE(x, y) 10 | 11 | #endif // BITCOIN_UTIL_MACROS_H 12 | -------------------------------------------------------------------------------- /src/leveldb/util/filter_policy.cc: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2012 The LevelDB Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. See the AUTHORS file for names of contributors. 4 | 5 | #include "leveldb/filter_policy.h" 6 | 7 | namespace leveldb { 8 | 9 | FilterPolicy::~FilterPolicy() {} 10 | 11 | } // namespace leveldb 12 | -------------------------------------------------------------------------------- /src/zmq/zmqrpc.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2018 The Bitcoin Core developers 2 | // Distributed under the MIT software license, see the accompanying 3 | // file COPYING or http://www.opensource.org/licenses/mit-license.php. 4 | 5 | #ifndef BITCOIN_ZMQ_ZMQRPC_H 6 | #define BITCOIN_ZMQ_ZMQRPC_H 7 | 8 | class CRPCTable; 9 | 10 | void RegisterZMQRPCCommands(CRPCTable& t); 11 | 12 | #endif // BITCOIN_ZMQ_ZMRRPC_H 13 | -------------------------------------------------------------------------------- /src/compat/sanity.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2009-2014 The Bitcoin Core developers 2 | // Distributed under the MIT software license, see the accompanying 3 | // file COPYING or http://www.opensource.org/licenses/mit-license.php. 4 | 5 | #ifndef BITCOIN_COMPAT_SANITY_H 6 | #define BITCOIN_COMPAT_SANITY_H 7 | 8 | bool glibc_sanity_test(); 9 | bool glibcxx_sanity_test(); 10 | 11 | #endif // BITCOIN_COMPAT_SANITY_H 12 | -------------------------------------------------------------------------------- /src/secp256k1/libsecp256k1.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: libsecp256k1 7 | Description: Optimized C library for EC operations on curve secp256k1 8 | URL: https://github.com/bitcoin-core/secp256k1 9 | Version: @PACKAGE_VERSION@ 10 | Cflags: -I${includedir} 11 | Libs: -L${libdir} -lsecp256k1 12 | Libs.private: @SECP_LIBS@ 13 | 14 | -------------------------------------------------------------------------------- /test/util/data/blanktxv1.json: -------------------------------------------------------------------------------- 1 | { 2 | "txid": "d21633ba23f70118185227be58a63527675641ad37967e2aa461559f577aec43", 3 | "hash": "d21633ba23f70118185227be58a63527675641ad37967e2aa461559f577aec43", 4 | "version": 1, 5 | "size": 10, 6 | "vsize": 10, 7 | "weight": 40, 8 | "locktime": 0, 9 | "vin": [ 10 | ], 11 | "vout": [ 12 | ], 13 | "hex": "01000000000000000000" 14 | } 15 | -------------------------------------------------------------------------------- /test/util/data/blanktxv2.json: -------------------------------------------------------------------------------- 1 | { 2 | "txid": "4ebd325a4b394cff8c57e8317ccf5a8d0e2bdf1b8526f8aad6c8e43d8240621a", 3 | "hash": "4ebd325a4b394cff8c57e8317ccf5a8d0e2bdf1b8526f8aad6c8e43d8240621a", 4 | "version": 2, 5 | "size": 10, 6 | "vsize": 10, 7 | "weight": 40, 8 | "locktime": 0, 9 | "vin": [ 10 | ], 11 | "vout": [ 12 | ], 13 | "hex": "02000000000000000000" 14 | } 15 | -------------------------------------------------------------------------------- /doc/release-notes/release-notes-0.3.14.md: -------------------------------------------------------------------------------- 1 | Version 0.3.14 is now available 2 | http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.3.14/ 3 | 4 | Changes: 5 | * Key pool feature for safer wallet backup 6 | Gavin Andresen: 7 | * TEST network mode with switch -testnet 8 | * Option to use SSL for JSON-RPC connections on unix/osx 9 | * validateaddress RPC command 10 | eurekafag: 11 | * Russian translation 12 | -------------------------------------------------------------------------------- /src/crc32c/AUTHORS: -------------------------------------------------------------------------------- 1 | # This is the list of CRC32C authors for copyright purposes. 2 | # 3 | # This does not necessarily list everyone who has contributed code, since in 4 | # some cases, their employer may be the copyright holder. To see the full list 5 | # of contributors, see the revision history in source control. 6 | Google Inc. 7 | 8 | Fangming Fang 9 | Vadim Skipin 10 | -------------------------------------------------------------------------------- /test/util/data/txcreate1.hex: -------------------------------------------------------------------------------- 1 | 02000000031f5c38dfcf6f1a5f5a87c416076d392c87e6d41970d5ad5e477a02d66bde97580000000000ffffffff7cca453133921c50d5025878f7f738d1df891fd359763331935784cf6b9c82bf1200000000fffffffffccd319e04a996c96cfc0bf4c07539aa90bd0b1a700ef72fae535d6504f9a6220100000000ffffffff0280a81201000000001976a9141fc11f39be1729bf973a7ab6a615ca4729d6457488ac0084d717000000001976a914f2d4db28cad6502226ee484ae24505c2885cb12d88ac00000000 2 | -------------------------------------------------------------------------------- /contrib/devtools/split-debug.sh.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | if [ $# -ne 3 ]; 4 | then echo "usage: $0 " 5 | fi 6 | 7 | @OBJCOPY@ --enable-deterministic-archives -p --only-keep-debug $1 $3 8 | @OBJCOPY@ --enable-deterministic-archives -p --strip-debug $1 $2 9 | @STRIP@ --enable-deterministic-archives -p -s $2 10 | @OBJCOPY@ --enable-deterministic-archives -p --add-gnu-debuglink=$3 $2 11 | -------------------------------------------------------------------------------- /doc/release-notes/release-notes-0.3.15.md: -------------------------------------------------------------------------------- 1 | * paytxfee switch is now per KB, so it adds the correct fee for large transactions 2 | * sending avoids using coins with less than 6 confirmations if it can 3 | * BitcoinMiner processes transactions in priority order based on age of dependencies 4 | * make sure generation doesn't start before block 74000 downloaded 5 | * bugfixes by Dean Gores 6 | * testnet, keypoololdest and paytxfee added to getinfo 7 | -------------------------------------------------------------------------------- /src/shutdown.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2009-2010 Satoshi Nakamoto 2 | // Copyright (c) 2009-2018 The Bitcoin Core developers 3 | // Distributed under the MIT software license, see the accompanying 4 | // file COPYING or http://www.opensource.org/licenses/mit-license.php. 5 | 6 | #ifndef BITCOIN_SHUTDOWN_H 7 | #define BITCOIN_SHUTDOWN_H 8 | 9 | void StartShutdown(); 10 | void AbortShutdown(); 11 | bool ShutdownRequested(); 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /doc/man/Makefile.am: -------------------------------------------------------------------------------- 1 | dist_man1_MANS= 2 | 3 | if BUILD_BITCOIND 4 | dist_man1_MANS+=bitcoind.1 5 | endif 6 | 7 | if ENABLE_QT 8 | dist_man1_MANS+=bitcoin-qt.1 9 | endif 10 | 11 | if BUILD_BITCOIN_CLI 12 | dist_man1_MANS+=bitcoin-cli.1 13 | endif 14 | 15 | if BUILD_BITCOIN_TX 16 | dist_man1_MANS+=bitcoin-tx.1 17 | endif 18 | 19 | if ENABLE_WALLET 20 | if BUILD_BITCOIN_WALLET 21 | dist_man1_MANS+=bitcoin-wallet.1 22 | endif 23 | endif 24 | -------------------------------------------------------------------------------- /src/net_types.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2019 The Bitcoin Core developers 2 | // Distributed under the MIT software license, see the accompanying 3 | // file COPYING or http://www.opensource.org/licenses/mit-license.php. 4 | 5 | #ifndef BITCOIN_NET_TYPES_H 6 | #define BITCOIN_NET_TYPES_H 7 | 8 | #include 9 | 10 | class CBanEntry; 11 | class CSubNet; 12 | 13 | using banmap_t = std::map; 14 | 15 | #endif // BITCOIN_NET_TYPES_H 16 | -------------------------------------------------------------------------------- /src/univalue/.gitignore: -------------------------------------------------------------------------------- 1 | .deps/ 2 | INSTALL 3 | Makefile 4 | Makefile.in 5 | aclocal.m4 6 | autom4te.cache/ 7 | compile 8 | config.log 9 | config.status 10 | config.guess 11 | config.sub 12 | configure 13 | depcomp 14 | install-sh 15 | missing 16 | stamp-h1 17 | univalue-config.h* 18 | test-driver 19 | libtool 20 | ltmain.sh 21 | test-suite.log 22 | 23 | *.a 24 | *.la 25 | *.lo 26 | *.logs 27 | *.o 28 | *.pc 29 | *.trs 30 | 31 | .dirstamp 32 | .libs 33 | -------------------------------------------------------------------------------- /src/zmq/zmqutil.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2014-2018 The Bitcoin Core developers 2 | // Distributed under the MIT software license, see the accompanying 3 | // file COPYING or http://www.opensource.org/licenses/mit-license.php. 4 | 5 | #include 6 | 7 | #include 8 | 9 | #include 10 | 11 | void zmqError(const char* str) 12 | { 13 | LogPrint(BCLog::ZMQ, "zmq: Error: %s, errno=%s\n", str, zmq_strerror(errno)); 14 | } 15 | -------------------------------------------------------------------------------- /contrib/init/org.bitcoin.bitcoind.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Label 6 | org.bitcoin.bitcoind 7 | ProgramArguments 8 | 9 | /usr/local/bin/bitcoind 10 | 11 | RunAtLoad 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/leveldb/port/README.md: -------------------------------------------------------------------------------- 1 | This directory contains interfaces and implementations that isolate the 2 | rest of the package from platform details. 3 | 4 | Code in the rest of the package includes "port.h" from this directory. 5 | "port.h" in turn includes a platform specific "port_.h" file 6 | that provides the platform specific implementation. 7 | 8 | See port_stdcxx.h for an example of what must be provided in a platform 9 | specific header file. 10 | 11 | -------------------------------------------------------------------------------- /src/secp256k1/src/modules/recovery/Makefile.am.include: -------------------------------------------------------------------------------- 1 | include_HEADERS += include/secp256k1_recovery.h 2 | noinst_HEADERS += src/modules/recovery/main_impl.h 3 | noinst_HEADERS += src/modules/recovery/tests_impl.h 4 | noinst_HEADERS += src/modules/recovery/tests_exhaustive_impl.h 5 | if USE_BENCHMARK 6 | noinst_PROGRAMS += bench_recover 7 | bench_recover_SOURCES = src/bench_recover.c 8 | bench_recover_LDADD = libsecp256k1.la $(SECP_LIBS) $(COMMON_LIB) 9 | endif 10 | -------------------------------------------------------------------------------- /contrib/qos/README.md: -------------------------------------------------------------------------------- 1 | ### QoS (Quality of service) ### 2 | 3 | This is a Linux bash script that will set up tc to limit the outgoing bandwidth for connections to the Bitcoin network. It limits outbound TCP traffic with a source or destination port of 8333, but not if the destination IP is within a LAN. 4 | 5 | This means one can have an always-on bitcoind instance running, and another local bitcoind/bitcoin-qt instance which connects to this node and receives blocks from it. 6 | -------------------------------------------------------------------------------- /test/util/data/txcreatesignv1.hex: -------------------------------------------------------------------------------- 1 | 01000000018594c5bdcaec8f06b78b596f31cd292a294fd031e24eec716f43dac91ea7494d000000008a4730440220131432090a6af42da3e8335ff110831b41a44f4e9d18d88f5d50278380696c7202200fc2e48938f323ad13625890c0ea926c8a189c08b8efc38376b20c8a2188e96e01410479be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8ffffffff01a0860100000000001976a9145834479edbbe0539b31ffd3a8f8ebadc2165ed0188ac00000000 2 | -------------------------------------------------------------------------------- /test/util/data/txcreatesignv2.hex: -------------------------------------------------------------------------------- 1 | 02000000018594c5bdcaec8f06b78b596f31cd292a294fd031e24eec716f43dac91ea7494d000000008a473044022079c7aa014177a2e973caf6df7c7b8f15399083b91eba370ea1e19c4caed9181e02205f8f8763505ce8e6cbdd2cd28fab3fd407a75003e7d0dc04e6bebb0a3c89e7cb01410479be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8ffffffff01a0860100000000001976a9145834479edbbe0539b31ffd3a8f8ebadc2165ed0188ac00000000 2 | -------------------------------------------------------------------------------- /src/secp256k1/src/modules/schnorrsig/Makefile.am.include: -------------------------------------------------------------------------------- 1 | include_HEADERS += include/secp256k1_schnorrsig.h 2 | noinst_HEADERS += src/modules/schnorrsig/main_impl.h 3 | noinst_HEADERS += src/modules/schnorrsig/tests_impl.h 4 | noinst_HEADERS += src/modules/schnorrsig/tests_exhaustive_impl.h 5 | if USE_BENCHMARK 6 | noinst_PROGRAMS += bench_schnorrsig 7 | bench_schnorrsig_SOURCES = src/bench_schnorrsig.c 8 | bench_schnorrsig_LDADD = libsecp256k1.la $(SECP_LIBS) $(COMMON_LIB) 9 | endif 10 | -------------------------------------------------------------------------------- /src/crc32c/src/crc32c_prefetch_unittest.cc: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The CRC32C Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. See the AUTHORS file for names of contributors. 4 | 5 | #include "./crc32c_prefetch.h" 6 | 7 | // There is no easy way to test cache prefetching. We can only test that the 8 | // crc32c_prefetch.h header compiles on its own, so it doesn't have any unstated 9 | // dependencies. 10 | -------------------------------------------------------------------------------- /src/rpc/mining.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2020 The Bitcoin Core developers 2 | // Distributed under the MIT software license, see the accompanying 3 | // file COPYING or http://www.opensource.org/licenses/mit-license.php. 4 | 5 | #ifndef BITCOIN_RPC_MINING_H 6 | #define BITCOIN_RPC_MINING_H 7 | 8 | /** Default max iterations to try in RPC generatetodescriptor, generatetoaddress, and generateblock. */ 9 | static const uint64_t DEFAULT_MAX_TRIES{1000000}; 10 | 11 | #endif // BITCOIN_RPC_MINING_H 12 | -------------------------------------------------------------------------------- /src/test/fuzz/fuzz.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2009-2019 The Bitcoin Core developers 2 | // Distributed under the MIT software license, see the accompanying 3 | // file COPYING or http://www.opensource.org/licenses/mit-license.php. 4 | 5 | #ifndef BITCOIN_TEST_FUZZ_FUZZ_H 6 | #define BITCOIN_TEST_FUZZ_FUZZ_H 7 | 8 | #include 9 | #include 10 | 11 | void initialize(); 12 | void test_one_input(const std::vector& buffer); 13 | 14 | #endif // BITCOIN_TEST_FUZZ_FUZZ_H 15 | -------------------------------------------------------------------------------- /src/util/url.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-2020 The Bitcoin Core developers 2 | // Distributed under the MIT software license, see the accompanying 3 | // file COPYING or http://www.opensource.org/licenses/mit-license.php. 4 | 5 | #ifndef BITCOIN_UTIL_URL_H 6 | #define BITCOIN_UTIL_URL_H 7 | 8 | #include 9 | 10 | using UrlDecodeFn = std::string(const std::string& url_encoded); 11 | UrlDecodeFn urlDecode; 12 | extern UrlDecodeFn* const URL_DECODE; 13 | 14 | #endif // BITCOIN_UTIL_URL_H 15 | -------------------------------------------------------------------------------- /src/node/context.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2019-2020 The Bitcoin Core developers 2 | // Distributed under the MIT software license, see the accompanying 3 | // file COPYING or http://www.opensource.org/licenses/mit-license.php. 4 | 5 | #include 6 | 7 | #include 8 | #include 9 | #include 10 | #include 11 | #include 12 | #include 13 | 14 | NodeContext::NodeContext() {} 15 | NodeContext::~NodeContext() {} 16 | -------------------------------------------------------------------------------- /contrib/gitian-descriptors/assign_DISTNAME: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 The Bitcoin Core developers 2 | # Distributed under the MIT software license, see the accompanying 3 | # file COPYING or http://www.opensource.org/licenses/mit-license.php. 4 | # 5 | # A helper script to be sourced into the gitian descriptors 6 | 7 | if RECENT_TAG="$(git describe --exact-match HEAD)"; then 8 | VERSION="${RECENT_TAG#v}" 9 | else 10 | VERSION="$(git rev-parse --short=12 HEAD)" 11 | fi 12 | DISTNAME="bitcoin-${VERSION}" 13 | -------------------------------------------------------------------------------- /share/rpcauth/README.md: -------------------------------------------------------------------------------- 1 | RPC Tools 2 | --------------------- 3 | 4 | ### [RPCAuth](/share/rpcauth) ### 5 | 6 | ``` 7 | usage: rpcauth.py [-h] username [password] 8 | 9 | Create login credentials for a JSON-RPC user 10 | 11 | positional arguments: 12 | username the username for authentication 13 | password leave empty to generate a random password or specify "-" to 14 | prompt for password 15 | 16 | optional arguments: 17 | -h, --help show this help message and exit 18 | ``` 19 | -------------------------------------------------------------------------------- /src/leveldb/util/options.cc: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2011 The LevelDB Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. See the AUTHORS file for names of contributors. 4 | 5 | #include "leveldb/options.h" 6 | 7 | #include "leveldb/comparator.h" 8 | #include "leveldb/env.h" 9 | 10 | namespace leveldb { 11 | 12 | Options::Options() : comparator(BytewiseComparator()), env(Env::Default()) {} 13 | 14 | } // namespace leveldb 15 | -------------------------------------------------------------------------------- /src/util/ui_change_type.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2012-2020 The Bitcoin Core developers 2 | // Distributed under the MIT software license, see the accompanying 3 | // file COPYING or http://www.opensource.org/licenses/mit-license.php. 4 | 5 | #ifndef BITCOIN_UTIL_UI_CHANGE_TYPE_H 6 | #define BITCOIN_UTIL_UI_CHANGE_TYPE_H 7 | 8 | /** General change type (added, updated, removed). */ 9 | enum ChangeType { 10 | CT_NEW, 11 | CT_UPDATED, 12 | CT_DELETED 13 | }; 14 | 15 | #endif // BITCOIN_UTIL_UI_CHANGE_TYPE_H 16 | -------------------------------------------------------------------------------- /src/compat/stdin.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2018 The Bitcoin Core developers 2 | // Distributed under the MIT software license, see the accompanying 3 | // file COPYING or http://www.opensource.org/licenses/mit-license.php. 4 | 5 | #ifndef BITCOIN_COMPAT_STDIN_H 6 | #define BITCOIN_COMPAT_STDIN_H 7 | 8 | struct NoechoInst { 9 | NoechoInst(); 10 | ~NoechoInst(); 11 | }; 12 | 13 | #define NO_STDIN_ECHO() NoechoInst _no_echo 14 | 15 | bool StdinTerminal(); 16 | bool StdinReady(); 17 | 18 | #endif // BITCOIN_COMPAT_STDIN_H 19 | -------------------------------------------------------------------------------- /src/qt/test/uritests.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2009-2015 The Bitcoin Core developers 2 | // Distributed under the MIT software license, see the accompanying 3 | // file COPYING or http://www.opensource.org/licenses/mit-license.php. 4 | 5 | #ifndef BITCOIN_QT_TEST_URITESTS_H 6 | #define BITCOIN_QT_TEST_URITESTS_H 7 | 8 | #include 9 | #include 10 | 11 | class URITests : public QObject 12 | { 13 | Q_OBJECT 14 | 15 | private Q_SLOTS: 16 | void uriTests(); 17 | }; 18 | 19 | #endif // BITCOIN_QT_TEST_URITESTS_H 20 | -------------------------------------------------------------------------------- /src/qt/res/animation/makespinner.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # 3 | # Copyright (c) 2014-2019 The Bitcoin Core developers 4 | # Distributed under the MIT software license, see the accompanying 5 | # file COPYING or http://www.opensource.org/licenses/mit-license.php. 6 | 7 | export LC_ALL=C 8 | FRAMEDIR=$(dirname $0) 9 | for i in {0..35} 10 | do 11 | frame=$(printf "%03d" $i) 12 | angle=$((i * 10)) 13 | convert $FRAMEDIR/../src/spinner.png -background "rgba(0,0,0,0.0)" -distort SRT $angle $FRAMEDIR/spinner-$frame.png 14 | done 15 | -------------------------------------------------------------------------------- /src/test/util/blockfilter.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2019 The Bitcoin Core developers 2 | // Distributed under the MIT software license, see the accompanying 3 | // file COPYING or http://www.opensource.org/licenses/mit-license.php. 4 | 5 | #ifndef BITCOIN_TEST_UTIL_BLOCKFILTER_H 6 | #define BITCOIN_TEST_UTIL_BLOCKFILTER_H 7 | 8 | #include 9 | class CBlockIndex; 10 | 11 | bool ComputeFilter(BlockFilterType filter_type, const CBlockIndex* block_index, BlockFilter& filter); 12 | 13 | #endif // BITCOIN_TEST_UTIL_BLOCKFILTER_H 14 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/gui_issue.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: An issue or feature request related to the GUI 3 | about: Any report, issue or feature request related to the GUI should be reported at https://github.com/bitcoin-core/gui/issues/ 4 | title: Any report, issue or feature request related to the GUI should be reported at https://github.com/bitcoin-core/gui/issues/ 5 | labels: GUI 6 | assignees: '' 7 | 8 | --- 9 | 10 | Any report, issue or feature request related to the GUI should be reported at 11 | https://github.com/bitcoin-core/gui/issues/ 12 | -------------------------------------------------------------------------------- /src/bench/data.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2019 The Bitcoin Core developers 2 | // Distributed under the MIT software license, see the accompanying 3 | // file COPYING or http://www.opensource.org/licenses/mit-license.php. 4 | 5 | #include 6 | 7 | namespace benchmark { 8 | namespace data { 9 | 10 | #include 11 | const std::vector block413567{block413567_raw, block413567_raw + sizeof(block413567_raw) / sizeof(block413567_raw[0])}; 12 | 13 | } // namespace data 14 | } // namespace benchmark 15 | -------------------------------------------------------------------------------- /src/util/asmap.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2019 The Bitcoin Core developers 2 | // Distributed under the MIT software license, see the accompanying 3 | // file COPYING or http://www.opensource.org/licenses/mit-license.php. 4 | 5 | #ifndef BITCOIN_UTIL_ASMAP_H 6 | #define BITCOIN_UTIL_ASMAP_H 7 | 8 | #include 9 | #include 10 | 11 | uint32_t Interpret(const std::vector &asmap, const std::vector &ip); 12 | 13 | bool SanityCheckASMap(const std::vector& asmap, int bits); 14 | 15 | #endif // BITCOIN_UTIL_ASMAP_H 16 | -------------------------------------------------------------------------------- /src/util/rbf.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2016-2019 The Bitcoin Core developers 2 | // Distributed under the MIT software license, see the accompanying 3 | // file COPYING or http://www.opensource.org/licenses/mit-license.php. 4 | 5 | #include 6 | 7 | #include 8 | 9 | bool SignalsOptInRBF(const CTransaction &tx) 10 | { 11 | for (const CTxIn &txin : tx.vin) { 12 | if (txin.nSequence <= MAX_BIP125_RBF_SEQUENCE) { 13 | return true; 14 | } 15 | } 16 | return false; 17 | } 18 | -------------------------------------------------------------------------------- /src/bench/data.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2019 The Bitcoin Core developers 2 | // Distributed under the MIT software license, see the accompanying 3 | // file COPYING or http://www.opensource.org/licenses/mit-license.php. 4 | 5 | #ifndef BITCOIN_BENCH_DATA_H 6 | #define BITCOIN_BENCH_DATA_H 7 | 8 | #include 9 | #include 10 | 11 | namespace benchmark { 12 | namespace data { 13 | 14 | extern const std::vector block413567; 15 | 16 | } // namespace data 17 | } // namespace benchmark 18 | 19 | #endif // BITCOIN_BENCH_DATA_H 20 | -------------------------------------------------------------------------------- /src/qt/test/compattests.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2009-2016 The Bitcoin Core developers 2 | // Distributed under the MIT software license, see the accompanying 3 | // file COPYING or http://www.opensource.org/licenses/mit-license.php. 4 | 5 | #ifndef BITCOIN_QT_TEST_COMPATTESTS_H 6 | #define BITCOIN_QT_TEST_COMPATTESTS_H 7 | 8 | #include 9 | #include 10 | 11 | class CompatTests : public QObject 12 | { 13 | Q_OBJECT 14 | 15 | private Q_SLOTS: 16 | void bswapTests(); 17 | }; 18 | 19 | #endif // BITCOIN_QT_TEST_COMPATTESTS_H 20 | -------------------------------------------------------------------------------- /test/lint/lint-submodule.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # 3 | # Copyright (c) 2020 The Bitcoin Core developers 4 | # Distributed under the MIT software license, see the accompanying 5 | # file COPYING or http://www.opensource.org/licenses/mit-license.php. 6 | # 7 | # This script checks for git modules 8 | export LC_ALL=C 9 | EXIT_CODE=0 10 | 11 | CMD=$(git submodule status --recursive) 12 | if test -n "$CMD"; 13 | then 14 | echo These submodules were found, delete them: 15 | echo "$CMD" 16 | EXIT_CODE=1 17 | fi 18 | 19 | exit $EXIT_CODE 20 | 21 | -------------------------------------------------------------------------------- /doc/release-notes/release-notes-0.3.18.md: -------------------------------------------------------------------------------- 1 | Changes: 2 | * Fixed a wallet.dat compatibility problem if you downgraded from 0.3.17 and then upgraded again 3 | * IsStandard() check to only include known transaction types in blocks 4 | * Jgarzik's optimisation to speed up the initial block download a little 5 | 6 | The main addition in this release is the Accounts-Based JSON-RPC commands that Gavin's been working on (more details at http://www.bitcoin.org/smf/index.php?topic=1886.0). 7 | * getaccountaddress 8 | * sendfrom 9 | * move 10 | * getbalance 11 | * listtransactions 12 | -------------------------------------------------------------------------------- /depends/patches/libevent/0001-fix-windows-getaddrinfo.patch: -------------------------------------------------------------------------------- 1 | diff -ur libevent-2.1.8-stable.orig/configure.ac libevent-2.1.8-stable/configure.ac 2 | --- libevent-2.1.8-stable.orig/configure.ac 2017-01-29 17:51:00.000000000 +0000 3 | +++ libevent-2.1.8-stable/configure.ac 2020-03-07 01:11:16.311335005 +0000 4 | @@ -389,6 +389,10 @@ 5 | #ifdef HAVE_NETDB_H 6 | #include 7 | #endif 8 | +#ifdef _WIN32 9 | +#include 10 | +#include 11 | +#endif 12 | ]], 13 | [[ 14 | getaddrinfo; 15 | Only in libevent-2.1.8-stable: configure.ac~ 16 | -------------------------------------------------------------------------------- /doc/release-notes/release-notes-0.3.17.md: -------------------------------------------------------------------------------- 1 | Version 0.3.17 is now available. 2 | 3 | Changes: 4 | * new getwork, thanks m0mchil 5 | * added transaction fee setting in UI options menu 6 | * free transaction limits 7 | * sendtoaddress returns transaction id instead of "sent" 8 | * getaccountaddress 9 | 10 | The UI transaction fee setting was easy since it was still there from 0.1.5 and all I had to do was re-enable it. 11 | 12 | The accounts-based commands: move, sendfrom and getbalance will be in the next release. We still have some more changes to make first. 13 | -------------------------------------------------------------------------------- /depends/packages/capnp.mk: -------------------------------------------------------------------------------- 1 | package=capnp 2 | $(package)_version=$(native_$(package)_version) 3 | $(package)_download_path=$(native_$(package)_download_path) 4 | $(package)_file_name=$(native_$(package)_file_name) 5 | $(package)_sha256_hash=$(native_$(package)_sha256_hash) 6 | $(package)_dependencies=native_$(package) 7 | 8 | define $(package)_config_cmds 9 | $($(package)_autoconf) --with-external-capnp 10 | endef 11 | 12 | define $(package)_build_cmds 13 | $(MAKE) 14 | endef 15 | 16 | define $(package)_stage_cmds 17 | $(MAKE) DESTDIR=$($(package)_staging_dir) install 18 | endef 19 | -------------------------------------------------------------------------------- /ci/test/00_setup_env_native_multiprocess.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # 3 | # Copyright (c) 2020 The Bitcoin Core developers 4 | # Distributed under the MIT software license, see the accompanying 5 | # file COPYING or http://www.opensource.org/licenses/mit-license.php. 6 | 7 | export LC_ALL=C.UTF-8 8 | 9 | export CONTAINER_NAME=ci_native_multiprocess 10 | export DOCKER_NAME_TAG=ubuntu:20.04 11 | export PACKAGES="cmake python3" 12 | export DEP_OPTS="MULTIPROCESS=1" 13 | export GOAL="install" 14 | export BITCOIN_CONFIG="--with-boost-process" 15 | export TEST_RUNNER_ENV="BITCOIND=bitcoin-node" 16 | -------------------------------------------------------------------------------- /depends/packages/libmultiprocess.mk: -------------------------------------------------------------------------------- 1 | package=libmultiprocess 2 | $(package)_version=$(native_$(package)_version) 3 | $(package)_download_path=$(native_$(package)_download_path) 4 | $(package)_file_name=$(native_$(package)_file_name) 5 | $(package)_sha256_hash=$(native_$(package)_sha256_hash) 6 | $(package)_dependencies=native_$(package) boost capnp 7 | 8 | define $(package)_config_cmds 9 | $($(package)_cmake) 10 | endef 11 | 12 | define $(package)_build_cmds 13 | $(MAKE) 14 | endef 15 | 16 | define $(package)_stage_cmds 17 | $(MAKE) DESTDIR=$($(package)_staging_dir) install 18 | endef 19 | -------------------------------------------------------------------------------- /src/leveldb/NEWS: -------------------------------------------------------------------------------- 1 | Release 1.2 2011-05-16 2 | ---------------------- 3 | 4 | Fixes for larger databases (tested up to one billion 100-byte entries, 5 | i.e., ~100GB). 6 | 7 | (1) Place hard limit on number of level-0 files. This fixes errors 8 | of the form "too many open files". 9 | 10 | (2) Fixed memtable management. Before the fix, a heavy write burst 11 | could cause unbounded memory usage. 12 | 13 | A fix for a logging bug where the reader would incorrectly complain 14 | about corruption. 15 | 16 | Allow public access to WriteBatch contents so that users can easily 17 | wrap a DB. 18 | -------------------------------------------------------------------------------- /src/test/fuzz/parse_script.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2009-2019 The Bitcoin Core developers 2 | // Distributed under the MIT software license, see the accompanying 3 | // file COPYING or http://www.opensource.org/licenses/mit-license.php. 4 | 5 | #include 6 | #include