├── src ├── config │ └── .empty ├── crc32c │ ├── .gitmodules │ ├── .clang-format │ ├── .gitignore │ ├── .clang_complete │ ├── Crc32cConfig.cmake.in │ ├── src │ │ ├── crc32c_prefetch_unittest.cc │ │ ├── crc32c_portable_unittest.cc │ │ ├── crc32c_test_main.cc │ │ ├── crc32c_arm64.h │ │ ├── crc32c_arm64_unittest.cc │ │ ├── crc32c_sse42_unittest.cc │ │ └── crc32c_internal.h │ └── AUTHORS ├── 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 ├── ipc │ ├── capnp │ │ ├── .gitignore │ │ ├── init-types.h │ │ ├── protocol.h │ │ ├── echo.capnp │ │ └── init.capnp │ ├── exception.h │ └── context.h ├── secp256k1 │ ├── autogen.sh │ ├── .gitattributes │ ├── cmake │ │ ├── arm-linux-gnueabihf.toolchain.cmake │ │ ├── x86_64-w64-mingw32.toolchain.cmake │ │ ├── config.cmake.in │ │ ├── source_arm32.s │ │ ├── CheckArm32Assembly.cmake │ │ ├── CheckX86_64Assembly.cmake │ │ ├── CheckStringOptionValue.cmake │ │ └── TryAppendCFlags.cmake │ ├── doc │ │ └── musig-spec.mediawiki │ ├── src │ │ ├── modules │ │ │ ├── ecdsa_s2c │ │ │ │ └── Makefile.am.include │ │ │ ├── ecdh │ │ │ │ └── Makefile.am.include │ │ │ ├── ecdsa_adaptor │ │ │ │ └── Makefile.am.include │ │ │ ├── ellswift │ │ │ │ └── Makefile.am.include │ │ │ ├── recovery │ │ │ │ └── Makefile.am.include │ │ │ ├── schnorrsig │ │ │ │ └── Makefile.am.include │ │ │ ├── surjection │ │ │ │ └── Makefile.am.include │ │ │ ├── extrakeys │ │ │ │ └── Makefile.am.include │ │ │ ├── musig │ │ │ │ ├── Makefile.am.include │ │ │ │ └── main_impl.h │ │ │ ├── bppp │ │ │ │ ├── main.h │ │ │ │ └── Makefile.am.include │ │ │ ├── whitelist │ │ │ │ └── Makefile.am.include │ │ │ ├── generator │ │ │ │ └── Makefile.am.include │ │ │ └── rangeproof │ │ │ │ └── Makefile.am.include │ │ ├── int128_struct.h │ │ ├── int128_impl.h │ │ ├── int128_native.h │ │ ├── ecmult_gen_compute_table.h │ │ ├── scalar_low.h │ │ └── scalar_8x32.h │ ├── libsecp256k1.pc.in │ ├── CMakePresets.json │ ├── SECURITY.md │ └── examples │ │ └── CMakeLists.txt ├── leveldb │ ├── cmake │ │ └── leveldbConfig.cmake │ ├── .gitignore │ ├── AUTHORS │ ├── util │ │ ├── filter_policy.cc │ │ ├── options.cc │ │ └── hash.h │ ├── port │ │ ├── README.md │ │ └── port.h │ ├── NEWS │ ├── TODO │ └── .clang-format ├── qt │ ├── res │ │ ├── icons │ │ │ ├── add.png │ │ │ ├── eye.png │ │ │ ├── edit.png │ │ │ ├── proxy.png │ │ │ ├── send.png │ │ │ ├── bitcoin.icns │ │ │ ├── bitcoin.ico │ │ │ ├── bitcoin.png │ │ │ ├── chevron.png │ │ │ ├── clock1.png │ │ │ ├── clock2.png │ │ │ ├── clock3.png │ │ │ ├── clock4.png │ │ │ ├── clock5.png │ │ │ ├── connect0.png │ │ │ ├── connect1.png │ │ │ ├── connect2.png │ │ │ ├── connect3.png │ │ │ ├── connect4.png │ │ │ ├── editcopy.png │ │ │ ├── export.png │ │ │ ├── eye_plus.png │ │ │ ├── history.png │ │ │ ├── overview.png │ │ │ ├── receive.png │ │ │ ├── remove.png │ │ │ ├── synced.png │ │ │ ├── tx_inout.png │ │ │ ├── tx_input.png │ │ │ ├── tx_mined.png │ │ │ ├── warning.png │ │ │ ├── editpaste.png │ │ │ ├── eye_minus.png │ │ │ ├── fontbigger.png │ │ │ ├── hd_enabled.png │ │ │ ├── lock_open.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 │ │ ├── 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 │ │ └── fonts │ │ │ └── RobotoMono-Bold.ttf │ ├── android │ │ ├── .gitignore │ │ ├── res │ │ │ ├── drawable-hdpi │ │ │ │ └── bitcoin.png │ │ │ ├── drawable-ldpi │ │ │ │ └── bitcoin.png │ │ │ ├── drawable-mdpi │ │ │ │ └── bitcoin.png │ │ │ ├── drawable-xhdpi │ │ │ │ └── bitcoin.png │ │ │ ├── drawable-xxhdpi │ │ │ │ └── bitcoin.png │ │ │ ├── drawable-xxxhdpi │ │ │ │ └── bitcoin.png │ │ │ └── values │ │ │ │ └── libs.xml │ │ ├── gradle.properties │ │ └── src │ │ │ └── org │ │ │ └── bitcoincore │ │ │ └── qt │ │ │ └── BitcoinQtActivity.java │ ├── test │ │ ├── Makefile │ │ ├── uritests.h │ │ ├── optiontests.h │ │ ├── util.h │ │ ├── wallettests.h │ │ ├── rpcnestedtests.h │ │ └── addressbooktests.h │ ├── Makefile │ ├── macos_appnap.h │ ├── coincontroltreewidget.h │ ├── macdockiconhandler.h │ ├── main.cpp │ └── peertablesortproxy.h ├── test │ ├── data │ │ ├── asmap.raw │ │ └── README.md │ ├── Makefile │ ├── util │ │ ├── blockfilter.h │ │ ├── script.cpp │ │ ├── validation.h │ │ ├── README.md │ │ ├── validation.cpp │ │ ├── str.cpp │ │ └── wallet.h │ ├── fuzz │ │ └── parse_script.cpp │ ├── bswap_tests.cpp │ └── sanity_tests.cpp ├── .clang-tidy ├── minisketch │ ├── doc │ │ ├── plot_bits.png │ │ ├── plot_diff.png │ │ ├── plot_size.png │ │ ├── minisketch-vs.png │ │ └── plot_capacity.png │ ├── autogen.sh │ ├── .gitignore │ └── ci │ │ └── linux-debian.Dockerfile ├── util │ ├── string.cpp │ ├── types.h │ ├── getuniquepath.cpp │ ├── url.h │ ├── ui_change_type.h │ ├── rbf.cpp │ ├── thread.h │ ├── macros.h │ ├── getuniquepath.h │ ├── asmap.h │ ├── url.cpp │ ├── serfloat.h │ ├── bytevectorhash.cpp │ ├── fees.h │ └── bip32.h ├── simplicity │ ├── secp256k1 │ │ ├── int128_struct.h │ │ ├── int128_impl.h │ │ └── int128_native.h │ ├── simplicity_alloc.h │ ├── taptweak.h │ ├── regression4.h │ └── limitations.h ├── Makefile.univalue.include ├── compat │ ├── sanity.h │ ├── stdin.h │ └── strnlen.cpp ├── wallet │ ├── context.cpp │ ├── coincontrol.cpp │ ├── rpc │ │ └── wallet.h │ ├── wallettool.h │ ├── salvage.h │ ├── dump.h │ └── test │ │ └── util.h ├── zmq │ ├── zmqrpc.h │ ├── zmqutil.h │ └── zmqutil.cpp ├── init │ └── bitcoin-wallet.cpp ├── Makefile.elementssimplicity.include ├── rpc │ └── mining.h ├── script │ └── pegins.h ├── interfaces │ ├── echo.cpp │ ├── init.cpp │ └── echo.h ├── attributes.h ├── crypto │ ├── poly1305.h │ ├── sha1.h │ ├── ripemd160.h │ └── sha512.h ├── node │ ├── context.cpp │ ├── caches.h │ └── minisketchwrapper.h ├── policy │ └── settings.cpp ├── support │ └── cleanse.h ├── randomenv.h ├── consensus │ └── tx_check.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 ├── bitcoin_logo_doxygen.png ├── guix.md ├── assets-attribution.md ├── man │ ├── elementsd.1 │ ├── elements-qt.1 │ ├── elements-tx.1 │ ├── elements-cli.1 │ ├── elements-util.1 │ ├── elements-wallet.1 │ └── Makefile.am ├── policy │ └── README.md └── release-notes-20861.md ├── test ├── functional │ ├── data │ │ └── __init__.py │ ├── test_framework │ │ └── __init__.py │ └── .gitignore ├── util │ └── data │ │ ├── blanktxv1.hex │ │ ├── blanktxv2.hex │ │ ├── txcreate2.hex │ │ ├── txcreatescript2.hex │ │ ├── txcreatescript4.hex │ │ ├── txcreatemultisig2.hex │ │ ├── txcreatemultisig4.hex │ │ ├── txcreateoutpubkey2.hex │ │ ├── txcreateoutpubkey3.hex │ │ ├── txcreatemultisig3.hex │ │ ├── txcreatescript3.hex │ │ ├── txcreateoutpubkey1.hex │ │ ├── txcreatescript1.hex │ │ ├── txcreatescript5.hex │ │ ├── txcreatescript6.hex │ │ ├── txcreatemultisig4_elements.hex │ │ ├── txcreatedata_seq0.hex │ │ ├── txcreatedata_seq1.hex │ │ ├── txcreatemultisig1.hex │ │ ├── txcreatedata1.hex │ │ ├── txcreatedata2.hex │ │ ├── blanktxv1.json │ │ ├── blanktxv2.json │ │ ├── txcreatesignsegwit1.hex │ │ ├── txcreate1.hex │ │ ├── txcreatesignv1.hex │ │ ├── txcreatesignv2.hex │ │ ├── txcreate2.json │ │ └── txcreatescript1.json ├── bitcoin_functional │ └── functional │ │ ├── test_framework │ │ └── __init__.py │ │ └── .gitignore ├── sanitizer_suppressions │ └── lsan └── lint │ ├── lint-files.sh │ ├── lint-spelling.ignore-words.txt │ ├── lint-submodule.sh │ ├── lint-qt.sh │ └── lint-cpp.sh ├── INSTALL.md ├── contrib ├── seeds │ ├── .gitignore │ ├── liquid │ │ ├── nodes_test.txt │ │ └── nodes_main.txt │ └── suspicious_hosts.txt ├── assets_tutorial │ ├── test_framework │ │ └── __init__.py │ ├── bitcoin.conf │ └── elements2.conf ├── verify-commits │ ├── trusted-git-root │ ├── trusted-sha512-root-commit │ ├── trusted-keys │ ├── allow-incorrect-sha512-commits │ ├── allow-unclean-merge-commits │ └── pre-push-hook.sh ├── macdeploy │ ├── background.tiff │ └── detached-sig-apply.sh ├── testgen │ └── README.md ├── init │ ├── README.md │ └── org.bitcoin.bitcoind.plist ├── shell │ └── git-utils.bash ├── devtools │ ├── split-debug.sh.in │ └── utils.py ├── qos │ └── README.md ├── guix │ └── patches │ │ ├── oscrypto-hard-code-openssl.patch │ │ ├── elfsteem-value-error-python-39.patch │ │ └── glibc-ldd-x86_64.patch └── tracing │ └── log_p2p_traffic.bt ├── .gitattributes ├── share ├── pixmaps │ ├── bitcoin.ico │ ├── bitcoin128.png │ ├── bitcoin16.png │ ├── bitcoin256.png │ ├── bitcoin32.png │ ├── bitcoin64.png │ ├── nsis-header.bmp │ └── nsis-wizard.bmp └── rpcauth │ └── README.md ├── depends ├── patches │ └── qt │ │ ├── qttools_src.pro │ │ ├── qt.pro │ │ ├── fix_qt_pkgconfig.patch │ │ ├── fix_no_printer.patch │ │ ├── use_android_ndk23.patch │ │ └── fix_android_jni_static.patch ├── builders │ ├── linux.mk │ ├── netbsd.mk │ ├── freebsd.mk │ └── openbsd.mk ├── .gitignore ├── packages │ ├── boost.mk │ ├── libmultiprocess.mk │ ├── native_capnp.mk │ ├── capnp.mk │ ├── native_libmultiprocess.mk │ ├── systemtap.mk │ ├── xcb_proto.mk │ ├── native_ds_store.mk │ ├── native_mac_alias.mk │ └── native_libtapi.mk └── hosts │ ├── mingw32.mk │ └── android.mk ├── .tx └── config ├── libbitcoinconsensus.pc.in ├── ci ├── lint_run_all.sh ├── test_run_all.sh └── test │ ├── 00_setup_env_mac_native_arm64.sh │ ├── 00_setup_env_native_tsan.sh │ ├── 00_setup_env_win64.sh │ ├── 00_setup_env_mac.sh │ ├── wrap-qemu.sh │ ├── wrap-valgrind.sh │ ├── 00_setup_env_i686_multiprocess.sh │ ├── 00_setup_env_native_asan.sh │ ├── 00_setup_env_native_fuzz_with_valgrind.sh │ └── 00_setup_env_i686_centos.sh ├── .editorconfig ├── .github └── ISSUE_TEMPLATE │ ├── gui_issue.md │ └── feature_request.md └── autogen.sh /src/config/.empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/crc32c/.gitmodules: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.python-version: -------------------------------------------------------------------------------- 1 | 3.6.12 2 | -------------------------------------------------------------------------------- /doc/.gitignore: -------------------------------------------------------------------------------- 1 | Doxyfile 2 | -------------------------------------------------------------------------------- /src/univalue/test/fail29.json: -------------------------------------------------------------------------------- 1 | [0e] -------------------------------------------------------------------------------- /test/functional/data/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /INSTALL.md: -------------------------------------------------------------------------------- 1 | See [doc/build-\*.md](/doc) -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /contrib/assets_tutorial/test_framework/__init__.py: -------------------------------------------------------------------------------- 1 | 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 | -------------------------------------------------------------------------------- /test/bitcoin_functional/functional/test_framework/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /doc/release-notes/release-notes-0.6.1.md: -------------------------------------------------------------------------------- 1 | Never released 2 | 3 | -------------------------------------------------------------------------------- /src/ipc/capnp/.gitignore: -------------------------------------------------------------------------------- 1 | # capnp generated files 2 | *.capnp.* 3 | -------------------------------------------------------------------------------- /src/univalue/test/fail26.json: -------------------------------------------------------------------------------- 1 | ["tab\ character\ in\ string\ "] -------------------------------------------------------------------------------- /src/univalue/test/fail3.json: -------------------------------------------------------------------------------- 1 | {unquoted_key: "keys must be quoted"} -------------------------------------------------------------------------------- /test/bitcoin_functional/functional/.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | cache 3 | -------------------------------------------------------------------------------- /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"]]]]]]]]]]]]]]]]]]] -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/qt/res/icons/add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/icons/add.png -------------------------------------------------------------------------------- /src/qt/res/icons/eye.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/icons/eye.png -------------------------------------------------------------------------------- /src/test/data/asmap.raw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/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/ElementsProject/elements/HEAD/share/pixmaps/bitcoin.ico -------------------------------------------------------------------------------- /src/qt/res/icons/edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/icons/edit.png -------------------------------------------------------------------------------- /src/qt/res/icons/proxy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/icons/proxy.png -------------------------------------------------------------------------------- /src/qt/res/icons/send.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/icons/send.png -------------------------------------------------------------------------------- /src/qt/res/src/spinner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/src/spinner.png -------------------------------------------------------------------------------- /doc/bitcoin_logo_doxygen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/doc/bitcoin_logo_doxygen.png -------------------------------------------------------------------------------- /doc/guix.md: -------------------------------------------------------------------------------- 1 | # Bootstrappable Bitcoin Core Builds 2 | 3 | See [contrib/guix/README.md](../contrib/guix/README.md) 4 | -------------------------------------------------------------------------------- /share/pixmaps/bitcoin128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/share/pixmaps/bitcoin128.png -------------------------------------------------------------------------------- /share/pixmaps/bitcoin16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/share/pixmaps/bitcoin16.png -------------------------------------------------------------------------------- /share/pixmaps/bitcoin256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/share/pixmaps/bitcoin256.png -------------------------------------------------------------------------------- /share/pixmaps/bitcoin32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/share/pixmaps/bitcoin32.png -------------------------------------------------------------------------------- /share/pixmaps/bitcoin64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/share/pixmaps/bitcoin64.png -------------------------------------------------------------------------------- /share/pixmaps/nsis-header.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/share/pixmaps/nsis-header.bmp -------------------------------------------------------------------------------- /share/pixmaps/nsis-wizard.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/share/pixmaps/nsis-wizard.bmp -------------------------------------------------------------------------------- /src/.clang-tidy: -------------------------------------------------------------------------------- 1 | Checks: '-*,bugprone-argument-comment' 2 | WarningsAsErrors: bugprone-argument-comment 3 | -------------------------------------------------------------------------------- /src/qt/res/icons/bitcoin.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/icons/bitcoin.icns -------------------------------------------------------------------------------- /src/qt/res/icons/bitcoin.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/icons/bitcoin.ico -------------------------------------------------------------------------------- /src/qt/res/icons/bitcoin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/icons/bitcoin.png -------------------------------------------------------------------------------- /src/qt/res/icons/chevron.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/icons/chevron.png -------------------------------------------------------------------------------- /src/qt/res/icons/clock1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/icons/clock1.png -------------------------------------------------------------------------------- /src/qt/res/icons/clock2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/icons/clock2.png -------------------------------------------------------------------------------- /src/qt/res/icons/clock3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/icons/clock3.png -------------------------------------------------------------------------------- /src/qt/res/icons/clock4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/icons/clock4.png -------------------------------------------------------------------------------- /src/qt/res/icons/clock5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/icons/clock5.png -------------------------------------------------------------------------------- /src/qt/res/icons/connect0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/icons/connect0.png -------------------------------------------------------------------------------- /src/qt/res/icons/connect1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/icons/connect1.png -------------------------------------------------------------------------------- /src/qt/res/icons/connect2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/icons/connect2.png -------------------------------------------------------------------------------- /src/qt/res/icons/connect3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/icons/connect3.png -------------------------------------------------------------------------------- /src/qt/res/icons/connect4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/icons/connect4.png -------------------------------------------------------------------------------- /src/qt/res/icons/editcopy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/icons/editcopy.png -------------------------------------------------------------------------------- /src/qt/res/icons/export.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/icons/export.png -------------------------------------------------------------------------------- /src/qt/res/icons/eye_plus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/icons/eye_plus.png -------------------------------------------------------------------------------- /src/qt/res/icons/history.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/icons/history.png -------------------------------------------------------------------------------- /src/qt/res/icons/overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/icons/overview.png -------------------------------------------------------------------------------- /src/qt/res/icons/receive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/icons/receive.png -------------------------------------------------------------------------------- /src/qt/res/icons/remove.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/icons/remove.png -------------------------------------------------------------------------------- /src/qt/res/icons/synced.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/icons/synced.png -------------------------------------------------------------------------------- /src/qt/res/icons/tx_inout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/icons/tx_inout.png -------------------------------------------------------------------------------- /src/qt/res/icons/tx_input.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/icons/tx_input.png -------------------------------------------------------------------------------- /src/qt/res/icons/tx_mined.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/icons/tx_mined.png -------------------------------------------------------------------------------- /src/qt/res/icons/warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/icons/warning.png -------------------------------------------------------------------------------- /src/univalue/test/fail40.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/univalue/test/fail40.json -------------------------------------------------------------------------------- /src/univalue/test/fail41.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/univalue/test/fail41.json -------------------------------------------------------------------------------- /src/bench/data/block413567.raw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/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/editpaste.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/icons/editpaste.png -------------------------------------------------------------------------------- /src/qt/res/icons/eye_minus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/icons/eye_minus.png -------------------------------------------------------------------------------- /src/qt/res/icons/fontbigger.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/icons/fontbigger.png -------------------------------------------------------------------------------- /src/qt/res/icons/hd_enabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/icons/hd_enabled.png -------------------------------------------------------------------------------- /src/qt/res/icons/lock_open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/icons/lock_open.png -------------------------------------------------------------------------------- /src/qt/res/icons/tx_output.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/icons/tx_output.png -------------------------------------------------------------------------------- /test/util/data/txcreatescript2.hex: -------------------------------------------------------------------------------- 1 | 010000000001000000000000000017a91471ed53322d470bb96657deb786b94f97dd46fb158700000000 2 | -------------------------------------------------------------------------------- /test/util/data/txcreatescript4.hex: -------------------------------------------------------------------------------- 1 | 010000000001000000000000000017a9146a2c482f4985f57e702f325816c90e3723ca81ae8700000000 2 | -------------------------------------------------------------------------------- /contrib/macdeploy/background.tiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/contrib/macdeploy/background.tiff -------------------------------------------------------------------------------- /contrib/verify-commits/trusted-keys: -------------------------------------------------------------------------------- 1 | 11D43A27826A421212108BF66BE2CED14A9917BC 2 | DE10E82629A8CAD55B700B972F2A88D7F8D68E87 3 | -------------------------------------------------------------------------------- /src/minisketch/doc/plot_bits.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/minisketch/doc/plot_bits.png -------------------------------------------------------------------------------- /src/minisketch/doc/plot_diff.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/minisketch/doc/plot_diff.png -------------------------------------------------------------------------------- /src/minisketch/doc/plot_size.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/minisketch/doc/plot_size.png -------------------------------------------------------------------------------- /src/qt/android/.gitignore: -------------------------------------------------------------------------------- 1 | /.gradle 2 | /build 3 | /gradle 4 | /gradlew* 5 | /libs 6 | /src/org/kde 7 | /src/org/qtproject 8 | -------------------------------------------------------------------------------- /src/qt/res/icons/address-book.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/icons/address-book.png -------------------------------------------------------------------------------- /src/qt/res/icons/fontsmaller.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/icons/fontsmaller.png -------------------------------------------------------------------------------- /src/qt/res/icons/hd_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/icons/hd_disabled.png -------------------------------------------------------------------------------- /src/qt/res/icons/lock_closed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/icons/lock_closed.png -------------------------------------------------------------------------------- /src/qt/res/icons/transaction0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/icons/transaction0.png -------------------------------------------------------------------------------- /src/qt/res/icons/transaction2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/icons/transaction2.png -------------------------------------------------------------------------------- /src/secp256k1/.gitattributes: -------------------------------------------------------------------------------- 1 | src/precomputed_ecmult.c linguist-generated 2 | src/precomputed_ecmult_gen.c linguist-generated 3 | -------------------------------------------------------------------------------- /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/minisketch/doc/minisketch-vs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/minisketch/doc/minisketch-vs.png -------------------------------------------------------------------------------- /src/minisketch/doc/plot_capacity.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/minisketch/doc/plot_capacity.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-000.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/animation/spinner-000.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/animation/spinner-001.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-002.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/animation/spinner-002.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-003.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/animation/spinner-003.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-004.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/animation/spinner-004.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-005.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/animation/spinner-005.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-006.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/animation/spinner-006.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-007.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/animation/spinner-007.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-008.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/animation/spinner-008.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-009.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/animation/spinner-009.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-010.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/animation/spinner-010.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-011.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/animation/spinner-011.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-012.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/animation/spinner-012.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-013.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/animation/spinner-013.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-014.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/animation/spinner-014.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-015.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/animation/spinner-015.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-016.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/animation/spinner-016.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-017.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/animation/spinner-017.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-018.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/animation/spinner-018.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-019.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/animation/spinner-019.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-020.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/animation/spinner-020.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-021.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/animation/spinner-021.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-022.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/animation/spinner-022.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-023.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/animation/spinner-023.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/animation/spinner-024.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-025.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/animation/spinner-025.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-026.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/animation/spinner-026.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-027.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/animation/spinner-027.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-028.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/animation/spinner-028.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-029.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/animation/spinner-029.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-030.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/animation/spinner-030.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-031.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/animation/spinner-031.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-032.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/animation/spinner-032.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-033.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/animation/spinner-033.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-034.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/animation/spinner-034.png -------------------------------------------------------------------------------- /src/qt/res/animation/spinner-035.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/animation/spinner-035.png -------------------------------------------------------------------------------- /src/qt/res/fonts/RobotoMono-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/fonts/RobotoMono-Bold.ttf -------------------------------------------------------------------------------- /src/qt/res/icons/bitcoin_testnet.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/icons/bitcoin_testnet.ico -------------------------------------------------------------------------------- /contrib/seeds/liquid/nodes_test.txt: -------------------------------------------------------------------------------- 1 | # List of fixed seed nodes for liquidtestnet 2 | 3 | 34.68.67.175:18891 4 | 208.87.99.138:18891 5 | -------------------------------------------------------------------------------- /src/qt/res/icons/network_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/icons/network_disabled.png -------------------------------------------------------------------------------- /contrib/verify-commits/allow-incorrect-sha512-commits: -------------------------------------------------------------------------------- 1 | f8feaa4636260b599294c7285bcf1c8b7737f74e 2 | 8040ae6fc576e9504186f2ae3ff2c8125de1095c 3 | -------------------------------------------------------------------------------- /src/qt/android/res/drawable-hdpi/bitcoin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/android/res/drawable-hdpi/bitcoin.png -------------------------------------------------------------------------------- /src/qt/android/res/drawable-ldpi/bitcoin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/android/res/drawable-ldpi/bitcoin.png -------------------------------------------------------------------------------- /src/qt/android/res/drawable-mdpi/bitcoin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/android/res/drawable-mdpi/bitcoin.png -------------------------------------------------------------------------------- /src/qt/res/icons/transaction_abandoned.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/icons/transaction_abandoned.png -------------------------------------------------------------------------------- /src/qt/res/icons/transaction_conflicted.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/res/icons/transaction_conflicted.png -------------------------------------------------------------------------------- /test/util/data/txcreatemultisig3.hex: -------------------------------------------------------------------------------- 1 | 01000000000100e1f50500000000220020e15a86a23178f433d514dbbce042e87d72662b8b5edcacfd2e37ab7a2d135f0500000000 2 | -------------------------------------------------------------------------------- /test/util/data/txcreatescript3.hex: -------------------------------------------------------------------------------- 1 | 01000000000100000000000000002200200bfe935e70c321c7ca3afc75ce0d0ca2f98b5422e008bb31c00c6d7f1f1c0ad600000000 2 | -------------------------------------------------------------------------------- /src/qt/android/res/drawable-xhdpi/bitcoin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/android/res/drawable-xhdpi/bitcoin.png -------------------------------------------------------------------------------- /src/qt/android/res/drawable-xxhdpi/bitcoin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/android/res/drawable-xxhdpi/bitcoin.png -------------------------------------------------------------------------------- /test/util/data/txcreateoutpubkey1.hex: -------------------------------------------------------------------------------- 1 | 0100000000010000000000000000232102a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397ac00000000 2 | -------------------------------------------------------------------------------- /test/util/data/txcreatescript1.hex: -------------------------------------------------------------------------------- 1 | 01000000000001016d521c38ec1ea15734ae22b7c46064412829c0d0579f0a713d1c04ede979026f01000000000000000000017500000000 2 | -------------------------------------------------------------------------------- /depends/patches/qt/qttools_src.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = subdirs 2 | SUBDIRS = linguist 3 | 4 | fb = force_bootstrap 5 | CONFIG += $$fb 6 | cache(CONFIG, add, fb) 7 | -------------------------------------------------------------------------------- /src/qt/android/res/drawable-xxxhdpi/bitcoin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElementsProject/elements/HEAD/src/qt/android/res/drawable-xxxhdpi/bitcoin.png -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /test/util/data/txcreatescript5.hex: -------------------------------------------------------------------------------- 1 | 02000000000001016d521c38ec1ea15734ae22b7c46064412829c0d0579f0a713d1c04ede979026f010000000000000000000605ffffffff0000000000 2 | -------------------------------------------------------------------------------- /test/util/data/txcreatescript6.hex: -------------------------------------------------------------------------------- 1 | 02000000000001016d521c38ec1ea15734ae22b7c46064412829c0d0579f0a713d1c04ede979026f010000000000000000000605ffffffff8000000000 2 | -------------------------------------------------------------------------------- /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/android/gradle.properties: -------------------------------------------------------------------------------- 1 | androidBuildToolsVersion=28.0.3 2 | androidCompileSdkVersion=28 3 | qt5AndroidDir=new File(".").absolutePath 4 | org.gradle.jvmargs=-Xmx4608M 5 | -------------------------------------------------------------------------------- /src/secp256k1/cmake/arm-linux-gnueabihf.toolchain.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_SYSTEM_NAME Linux) 2 | set(CMAKE_SYSTEM_PROCESSOR arm) 3 | set(CMAKE_C_COMPILER arm-linux-gnueabihf-gcc) 4 | -------------------------------------------------------------------------------- /src/secp256k1/cmake/x86_64-w64-mingw32.toolchain.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_SYSTEM_NAME Windows) 2 | set(CMAKE_SYSTEM_PROCESSOR x86_64) 3 | set(CMAKE_C_COMPILER x86_64-w64-mingw32-gcc) 4 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /src/secp256k1/cmake/config.cmake.in: -------------------------------------------------------------------------------- 1 | @PACKAGE_INIT@ 2 | 3 | include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@-targets.cmake") 4 | 5 | check_required_components(@PROJECT_NAME@) 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 | -------------------------------------------------------------------------------- /depends/builders/netbsd.mk: -------------------------------------------------------------------------------- 1 | build_netbsd_SHA256SUM = shasum -a 256 2 | build_netbsd_DOWNLOAD = curl --location --fail --connect-timeout $(DOWNLOAD_CONNECT_TIMEOUT) --retry $(DOWNLOAD_RETRIES) -o 3 | -------------------------------------------------------------------------------- /src/secp256k1/doc/musig-spec.mediawiki: -------------------------------------------------------------------------------- 1 | This document was moved to [https://github.com/jonasnick/bips/blob/musig2/bip-musig2.mediawiki https://github.com/jonasnick/bips/blob/musig2/bip-musig2.mediawiki]. -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /src/secp256k1/cmake/source_arm32.s: -------------------------------------------------------------------------------- 1 | .syntax unified 2 | .eabi_attribute 24, 1 3 | .eabi_attribute 25, 1 4 | .text 5 | .global main 6 | main: 7 | ldr r0, =0x002A 8 | mov r7, #1 9 | swi 0 10 | -------------------------------------------------------------------------------- /test/util/data/txcreatemultisig4_elements.hex: -------------------------------------------------------------------------------- 1 | 01000000000001010000000000000000000000000000000000000000000000000000000000000000010000000005f5e1000017a9146edf12858999f0dae74f9c692e6694ee3621b2ac8700000000 2 | -------------------------------------------------------------------------------- /test/util/data/txcreatedata_seq0.hex: -------------------------------------------------------------------------------- 1 | 02000000011f5c38dfcf6f1a5f5a87c416076d392c87e6d41970d5ad5e477a02d66bde97580000000000fdffffff0180a81201000000001976a9141fc11f39be1729bf973a7ab6a615ca4729d6457488ac00000000 2 | -------------------------------------------------------------------------------- /.tx/config: -------------------------------------------------------------------------------- 1 | [main] 2 | host = https://www.transifex.com 3 | 4 | [bitcoin.qt-translation-023x] 5 | file_filter = src/qt/locale/bitcoin_.xlf 6 | source_file = src/qt/locale/bitcoin_en.xlf 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 | -------------------------------------------------------------------------------- /src/secp256k1/src/modules/ecdsa_s2c/Makefile.am.include: -------------------------------------------------------------------------------- 1 | include_HEADERS += include/secp256k1_ecdsa_s2c.h 2 | noinst_HEADERS += src/modules/ecdsa_s2c/main_impl.h 3 | noinst_HEADERS += src/modules/ecdsa_s2c/tests_impl.h 4 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /doc/man/elementsd.1: -------------------------------------------------------------------------------- 1 | .TH ELEMENTSD "1" 2 | .SH NAME 3 | elementsd \- manual page for elementsd 4 | 5 | This is a placeholder file. Please follow the instructions in \fIcontrib/devtools/README.md\fR to generate the manual pages after a release. 6 | -------------------------------------------------------------------------------- /src/secp256k1/cmake/CheckArm32Assembly.cmake: -------------------------------------------------------------------------------- 1 | function(check_arm32_assembly) 2 | try_compile(HAVE_ARM32_ASM 3 | ${CMAKE_BINARY_DIR}/check_arm32_assembly 4 | SOURCES ${CMAKE_SOURCE_DIR}/cmake/source_arm32.s 5 | ) 6 | endfunction() 7 | -------------------------------------------------------------------------------- /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 | noinst_HEADERS += src/modules/ecdh/bench_impl.h 5 | -------------------------------------------------------------------------------- /doc/man/elements-qt.1: -------------------------------------------------------------------------------- 1 | .TH ELEMENTS-QT "1" 2 | .SH NAME 3 | elements-qt \- manual page for elements-qt 4 | 5 | This is a placeholder file. Please follow the instructions in \fIcontrib/devtools/README.md\fR to generate the manual pages after a release. 6 | -------------------------------------------------------------------------------- /doc/man/elements-tx.1: -------------------------------------------------------------------------------- 1 | .TH ELEMENTS-TX "1" 2 | .SH NAME 3 | elements-tx \- manual page for elements-tx 4 | 5 | This is a placeholder file. Please follow the instructions in \fIcontrib/devtools/README.md\fR to generate the manual pages after a release. 6 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /depends/builders/freebsd.mk: -------------------------------------------------------------------------------- 1 | build_freebsd_CC=clang 2 | build_freebsd_CXX=clang++ 3 | 4 | build_freebsd_SHA256SUM = shasum -a 256 5 | build_freebsd_DOWNLOAD = curl --location --fail --connect-timeout $(DOWNLOAD_CONNECT_TIMEOUT) --retry $(DOWNLOAD_RETRIES) -o 6 | -------------------------------------------------------------------------------- /doc/man/elements-cli.1: -------------------------------------------------------------------------------- 1 | .TH ELEMENTS-CLI "1" 2 | .SH NAME 3 | elements-cli \- manual page for elements-cli 4 | 5 | This is a placeholder file. Please follow the instructions in \fIcontrib/devtools/README.md\fR to generate the manual pages after a release. 6 | -------------------------------------------------------------------------------- /doc/man/elements-util.1: -------------------------------------------------------------------------------- 1 | .TH ELEMENTS-UTIL "1" 2 | .SH NAME 3 | elements-util \- manual page for elements-util 4 | 5 | This is a placeholder file. Please follow the instructions in \fIcontrib/devtools/README.md\fR to generate the manual pages after a release. 6 | -------------------------------------------------------------------------------- /doc/man/elements-wallet.1: -------------------------------------------------------------------------------- 1 | .TH ELEMENTS-WALLET "1" 2 | .SH NAME 3 | elements-wallet \- manual page for elements-wallet 4 | 5 | This is a placeholder file. Please follow the instructions in \fIcontrib/devtools/README.md\fR to generate the manual pages after a release. 6 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /contrib/seeds/liquid/nodes_main.txt: -------------------------------------------------------------------------------- 1 | # List of fixed seed nodes for liquidv1 2 | 3 | 35.196.16.254:7042 4 | 35.237.176.63:7042 5 | 35.237.81.14:7042 6 | 35.237.147.21:7042 7 | 35.227.95.109:7042 8 | 35.231.141.173:7042 9 | 104.196.48.184:7042 10 | 35.231.10.147:7042 11 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /depends/builders/openbsd.mk: -------------------------------------------------------------------------------- 1 | build_openbsd_CC = clang 2 | build_openbsd_CXX = clang++ 3 | 4 | build_openbsd_SHA256SUM = sha256 5 | build_openbsd_DOWNLOAD = curl --location --fail --connect-timeout $(DOWNLOAD_CONNECT_TIMEOUT) --retry $(DOWNLOAD_RETRIES) -o 6 | 7 | build_openbsd_TAR = gtar 8 | -------------------------------------------------------------------------------- /test/util/data/txcreatedata_seq1.hex: -------------------------------------------------------------------------------- 1 | 01000000021f5c38dfcf6f1a5f5a87c416076d392c87e6d41970d5ad5e477a02d66bde97580000000000fdffffff1f5c38dfcf6f1a5f5a87c416076d392c87e6d41970d5ad5e477a02d66bde97580000000000010000000180a81201000000001976a9141fc11f39be1729bf973a7ab6a615ca4729d6457488ac00000000 2 | -------------------------------------------------------------------------------- /test/util/data/txcreatemultisig1.hex: -------------------------------------------------------------------------------- 1 | 01000000000100e1f5050000000069522102a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff39721021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d2102df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb48553ae00000000 2 | -------------------------------------------------------------------------------- /src/secp256k1/src/modules/ecdsa_adaptor/Makefile.am.include: -------------------------------------------------------------------------------- 1 | include_HEADERS += include/secp256k1_ecdsa_adaptor.h 2 | noinst_HEADERS += src/modules/ecdsa_adaptor/main_impl.h 3 | noinst_HEADERS += src/modules/ecdsa_adaptor/dleq_impl.h 4 | noinst_HEADERS += src/modules/ecdsa_adaptor/tests_impl.h 5 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /test/sanitizer_suppressions/lsan: -------------------------------------------------------------------------------- 1 | # Suppress warnings triggered in dependencies 2 | leak:libQt5Widgets 3 | 4 | # false-positive due to use of secure_allocator<> 5 | leak:GetRNGState 6 | 7 | # Temporary hack while figuring out why wallet destruction doesn't seem to happen according to asan 8 | leak:LoadWallets 9 | -------------------------------------------------------------------------------- /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/secp256k1/src/int128_struct.h: -------------------------------------------------------------------------------- 1 | #ifndef SECP256K1_INT128_STRUCT_H 2 | #define SECP256K1_INT128_STRUCT_H 3 | 4 | #include 5 | #include "util.h" 6 | 7 | typedef struct { 8 | uint64_t lo; 9 | uint64_t hi; 10 | } secp256k1_uint128; 11 | 12 | typedef secp256k1_uint128 secp256k1_int128; 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /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/secp256k1/src/modules/ellswift/Makefile.am.include: -------------------------------------------------------------------------------- 1 | include_HEADERS += include/secp256k1_ellswift.h 2 | noinst_HEADERS += src/modules/ellswift/bench_impl.h 3 | noinst_HEADERS += src/modules/ellswift/main_impl.h 4 | noinst_HEADERS += src/modules/ellswift/tests_impl.h 5 | noinst_HEADERS += src/modules/ellswift/tests_exhaustive_impl.h 6 | -------------------------------------------------------------------------------- /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 | noinst_HEADERS += src/modules/recovery/bench_impl.h 6 | -------------------------------------------------------------------------------- /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 | noinst_HEADERS += src/modules/schnorrsig/bench_impl.h 6 | -------------------------------------------------------------------------------- /src/secp256k1/src/modules/surjection/Makefile.am.include: -------------------------------------------------------------------------------- 1 | include_HEADERS += include/secp256k1_surjectionproof.h 2 | noinst_HEADERS += src/modules/surjection/main_impl.h 3 | noinst_HEADERS += src/modules/surjection/surjection.h 4 | noinst_HEADERS += src/modules/surjection/surjection_impl.h 5 | noinst_HEADERS += src/modules/surjection/tests_impl.h 6 | 7 | -------------------------------------------------------------------------------- /src/simplicity/secp256k1/int128_struct.h: -------------------------------------------------------------------------------- 1 | #ifndef SECP256K1_INT128_STRUCT_H 2 | #define SECP256K1_INT128_STRUCT_H 3 | 4 | #include 5 | #include "util.h" 6 | 7 | typedef struct secp256k1_uint128 { 8 | uint64_t lo; 9 | uint64_t hi; 10 | } secp256k1_uint128; 11 | 12 | typedef secp256k1_uint128 secp256k1_int128; 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /test/lint/lint-files.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # Copyright (c) 2021 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 | export LC_ALL=C 7 | 8 | set -e 9 | cd "$(dirname "$0")/../.." 10 | test/lint/lint-files.py 11 | -------------------------------------------------------------------------------- /src/Makefile.univalue.include: -------------------------------------------------------------------------------- 1 | include univalue/sources.mk 2 | 3 | LIBUNIVALUE = libunivalue.la 4 | noinst_LTLIBRARIES += $(LIBUNIVALUE) 5 | libunivalue_la_SOURCES = $(UNIVALUE_LIB_SOURCES_INT) $(UNIVALUE_DIST_HEADERS_INT) $(UNIVALUE_LIB_HEADERS_INT) $(UNIVALUE_TEST_FILES_INT) 6 | libunivalue_la_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/$(UNIVALUE_INCLUDE_DIR_INT) 7 | -------------------------------------------------------------------------------- /src/qt/Makefile: -------------------------------------------------------------------------------- 1 | .PHONY: FORCE 2 | all: FORCE 3 | $(MAKE) -C .. elements_qt test_elements_qt 4 | clean: FORCE 5 | $(MAKE) -C .. elements_qt_clean test_elements_qt_clean 6 | check: FORCE 7 | $(MAKE) -C .. test_elements_qt_check 8 | elements-qt elements-qt.exe: FORCE 9 | $(MAKE) -C .. elements_qt 10 | apk: FORCE 11 | $(MAKE) -C .. elements_qt_apk 12 | -------------------------------------------------------------------------------- /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/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 | https://www.opensource.org/licenses/mit-license.php. 12 | 13 | -------------------------------------------------------------------------------- /src/compat/sanity.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2009-2021 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 glibcxx_sanity_test(); 9 | 10 | #endif // BITCOIN_COMPAT_SANITY_H 11 | -------------------------------------------------------------------------------- /test/lint/lint-spelling.ignore-words.txt: -------------------------------------------------------------------------------- 1 | asend 2 | ba 3 | blockin 4 | bu 5 | cachable 6 | clen 7 | covert 8 | creat 9 | fo 10 | fpr 11 | hights 12 | hist 13 | inout 14 | invokable 15 | inflight 16 | keypair 17 | mor 18 | mut 19 | nin 20 | ser 21 | siz 22 | te 23 | unparseable 24 | unser 25 | useable 26 | validata 27 | wit 28 | xwindows 29 | te 30 | ligh 31 | atack 32 | lsat 33 | -------------------------------------------------------------------------------- /test/util/data/txcreatedata1.hex: -------------------------------------------------------------------------------- 1 | 02000000011f5c38dfcf6f1a5f5a87c416076d392c87e6d41970d5ad5e477a02d66bde97580000000000ffffffff0280a81201000000001976a9141fc11f39be1729bf973a7ab6a615ca4729d6457488ac0084d71700000000526a4c4f54686973204f505f52455455524e207472616e73616374696f6e206f7574707574207761732063726561746564206279206d6f646966696564206372656174657261777472616e73616374696f6e2e00000000 2 | -------------------------------------------------------------------------------- /test/util/data/txcreatedata2.hex: -------------------------------------------------------------------------------- 1 | 02000000011f5c38dfcf6f1a5f5a87c416076d392c87e6d41970d5ad5e477a02d66bde97580000000000ffffffff0280a81201000000001976a9141fc11f39be1729bf973a7ab6a615ca4729d6457488ac0000000000000000526a4c4f54686973204f505f52455455524e207472616e73616374696f6e206f7574707574207761732063726561746564206279206d6f646966696564206372656174657261777472616e73616374696f6e2e00000000 2 | -------------------------------------------------------------------------------- /src/crc32c/Crc32cConfig.cmake.in: -------------------------------------------------------------------------------- 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 | @PACKAGE_INIT@ 6 | 7 | include("${CMAKE_CURRENT_LIST_DIR}/Crc32cTargets.cmake") 8 | 9 | check_required_components(Crc32c) 10 | -------------------------------------------------------------------------------- /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 | 13 | -------------------------------------------------------------------------------- /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 | noinst_HEADERS += src/modules/extrakeys/hsort.h 6 | noinst_HEADERS += src/modules/extrakeys/hsort_impl.h 7 | -------------------------------------------------------------------------------- /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 | namespace wallet { 8 | WalletContext::WalletContext() {} 9 | WalletContext::~WalletContext() {} 10 | } // namespace wallet 11 | -------------------------------------------------------------------------------- /src/util/types.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2021 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_TYPES_H 6 | #define BITCOIN_UTIL_TYPES_H 7 | 8 | template 9 | inline constexpr bool ALWAYS_FALSE{false}; 10 | 11 | #endif // BITCOIN_UTIL_TYPES_H 12 | -------------------------------------------------------------------------------- /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 70 > ../../src/test/data/key_io_valid.json 8 | PYTHONPATH=../../test/functional/test_framework ./gen_key_io_test_vectors.py invalid 70 > ../../src/test/data/key_io_invalid.json 9 | -------------------------------------------------------------------------------- /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](../../doc/init.md) for more information. 13 | -------------------------------------------------------------------------------- /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-2021 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_ZMQRPC_H 13 | -------------------------------------------------------------------------------- /src/zmq/zmqutil.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2014-2021 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 | #include 9 | 10 | void zmqError(const std::string& str); 11 | 12 | #endif // BITCOIN_ZMQ_ZMQUTIL_H 13 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /test/util/data/txcreatesignsegwit1.hex: -------------------------------------------------------------------------------- 1 | 02000000000101ffeeddccbbaa99887766554433221100ffeeddccbbaa998877665544332211000000000000ffffffff01a0860100000000001976a9145834479edbbe0539b31ffd3a8f8ebadc2165ed0188ac0247304402202e8d8677912f73909ffbdb3ee87d10cce41d398ee206e534fa18330b566ece34022004f944f018a03c9f5b4cf0e9b0ae4f14049b55e7b6810a6ac26cd67cb4dcb31f01210279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f8179800000000 2 | -------------------------------------------------------------------------------- /contrib/shell/git-utils.bash: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | git_root() { 4 | git rev-parse --show-toplevel 2> /dev/null 5 | } 6 | 7 | git_head_version() { 8 | local recent_tag 9 | if recent_tag="$(git describe --exact-match HEAD 2> /dev/null)"; then 10 | recent_tag="${recent_tag#elements-}" 11 | echo "${recent_tag#v}" 12 | else 13 | git rev-parse --short=12 HEAD 14 | fi 15 | } 16 | -------------------------------------------------------------------------------- /src/ipc/capnp/init-types.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2021 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_IPC_CAPNP_INIT_TYPES_H 6 | #define BITCOIN_IPC_CAPNP_INIT_TYPES_H 7 | 8 | #include 9 | 10 | #endif // BITCOIN_IPC_CAPNP_INIT_TYPES_H 11 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /depends/patches/qt/qt.pro: -------------------------------------------------------------------------------- 1 | # Create the super cache so modules will add themselves to it. 2 | cache(, super) 3 | 4 | !QTDIR_build: cache(CONFIG, add, $$list(QTDIR_build)) 5 | 6 | prl = no_install_prl 7 | CONFIG += $$prl 8 | cache(CONFIG, add stash, prl) 9 | 10 | TEMPLATE = subdirs 11 | SUBDIRS = qtbase qttools qttranslations 12 | 13 | qttools.depends = qtbase 14 | qttranslations.depends = qttools 15 | 16 | load(qt_configure) 17 | -------------------------------------------------------------------------------- /ci/lint_run_all.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # 3 | # Copyright (c) 2019-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 | set -o errexit; source ./ci/test/00_setup_env.sh 10 | set -o errexit; source ./ci/lint/04_install.sh 11 | set -o errexit; source ./ci/lint/06_script.sh 12 | -------------------------------------------------------------------------------- /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/secp256k1/src/modules/musig/Makefile.am.include: -------------------------------------------------------------------------------- 1 | include_HEADERS += include/secp256k1_musig.h 2 | noinst_HEADERS += src/modules/musig/main_impl.h 3 | noinst_HEADERS += src/modules/musig/keyagg.h 4 | noinst_HEADERS += src/modules/musig/keyagg_impl.h 5 | noinst_HEADERS += src/modules/musig/session.h 6 | noinst_HEADERS += src/modules/musig/session_impl.h 7 | noinst_HEADERS += src/modules/musig/adaptor_impl.h 8 | noinst_HEADERS += src/modules/musig/tests_impl.h 9 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/init/bitcoin-wallet.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2021 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 interfaces { 8 | std::unique_ptr MakeWalletInit(int argc, char* argv[], int& exit_status) 9 | { 10 | return std::make_unique(); 11 | } 12 | } // namespace interfaces 13 | -------------------------------------------------------------------------------- /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/simplicity/simplicity_alloc.h: -------------------------------------------------------------------------------- 1 | #ifndef SIMPLICITY_SIMPLICITY_ALLOC_H 2 | #define SIMPLICITY_SIMPLICITY_ALLOC_H 3 | 4 | #include 5 | 6 | /* Allocate with malloc by default. */ 7 | #define simplicity_malloc malloc 8 | 9 | /* Allocate+zero initialize with calloc by default. */ 10 | #define simplicity_calloc calloc 11 | 12 | /* Deallocate with free by default. */ 13 | #define simplicity_free free 14 | 15 | #endif /* SIMPLICITY_SIMPLICITY_ALLOC_H */ 16 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /src/secp256k1/cmake/CheckX86_64Assembly.cmake: -------------------------------------------------------------------------------- 1 | include(CheckCSourceCompiles) 2 | 3 | function(check_x86_64_assembly) 4 | check_c_source_compiles(" 5 | #include 6 | 7 | int main() 8 | { 9 | uint64_t a = 11, tmp; 10 | __asm__ __volatile__(\"movq $0x100000000,%1; mulq %%rsi\" : \"+a\"(a) : \"S\"(tmp) : \"cc\", \"%rdx\"); 11 | } 12 | " HAVE_X86_64_ASM) 13 | set(HAVE_X86_64_ASM ${HAVE_X86_64_ASM} PARENT_SCOPE) 14 | endfunction() 15 | -------------------------------------------------------------------------------- /test/util/data/txcreatesignv1.hex: -------------------------------------------------------------------------------- 1 | 01000000018594c5bdcaec8f06b78b596f31cd292a294fd031e24eec716f43dac91ea7494d000000008a4730440220131432090a6af42da3e8335ff110831b41a44f4e9d18d88f5d50278380696c7202200fc2e48938f323ad13625890c0ea926c8a189c08b8efc38376b20c8a2188e96e01410479be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8ffffffff01a0860100000000001976a9145834479edbbe0539b31ffd3a8f8ebadc2165ed0188ac00000000 2 | -------------------------------------------------------------------------------- /test/util/data/txcreatesignv2.hex: -------------------------------------------------------------------------------- 1 | 02000000018594c5bdcaec8f06b78b596f31cd292a294fd031e24eec716f43dac91ea7494d000000008a473044022079c7aa014177a2e973caf6df7c7b8f15399083b91eba370ea1e19c4caed9181e02205f8f8763505ce8e6cbdd2cd28fab3fd407a75003e7d0dc04e6bebb0a3c89e7cb01410479be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8ffffffff01a0860100000000001976a9145834479edbbe0539b31ffd3a8f8ebadc2165ed0188ac00000000 2 | -------------------------------------------------------------------------------- /src/Makefile.elementssimplicity.include: -------------------------------------------------------------------------------- 1 | include simplicity/elements-sources.mk 2 | 3 | LIBELEMENTSSIMPLICITY = libelementssimplicity.la 4 | noinst_LTLIBRARIES += $(LIBELEMENTSSIMPLICITY) 5 | libelementssimplicity_la_SOURCES = $(ELEMENTS_SIMPLICITY_LIB_SOURCES_INT) $(ELEMENTS_SIMPLICITY_DIST_HEADERS_INT) $(ELEMENTS_SIMPLICITY_LIB_HEADERS_INT) 6 | libelementssimplicity_la_CPPFLAGS = $(AM_CPPFLAGS) $(SHANI_CXXFLAGS) $(SANITIZER_CXXFLAGS) -I$(srcdir)/$(ELEMENTS_SIMPLICITY_INCLUDE_DIR_INT) 7 | -------------------------------------------------------------------------------- /src/secp256k1/src/int128_impl.h: -------------------------------------------------------------------------------- 1 | #ifndef SECP256K1_INT128_IMPL_H 2 | #define SECP256K1_INT128_IMPL_H 3 | 4 | #include "util.h" 5 | 6 | #include "int128.h" 7 | 8 | #if defined(SECP256K1_WIDEMUL_INT128) 9 | # if defined(SECP256K1_INT128_NATIVE) 10 | # include "int128_native_impl.h" 11 | # elif defined(SECP256K1_INT128_STRUCT) 12 | # include "int128_struct_impl.h" 13 | # else 14 | # error "Please select int128 implementation" 15 | # endif 16 | #endif 17 | 18 | #endif 19 | -------------------------------------------------------------------------------- /src/util/getuniquepath.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2021 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 7 | #include 8 | 9 | fs::path GetUniquePath(const fs::path& base) 10 | { 11 | FastRandomContext rnd; 12 | fs::path tmpFile = base / HexStr(rnd.randbytes(8)); 13 | return tmpFile; 14 | } -------------------------------------------------------------------------------- /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/secp256k1/src/modules/bppp/main.h: -------------------------------------------------------------------------------- 1 | #ifndef SECP256K1_MODULE_BPPP_MAIN_H 2 | #define SECP256K1_MODULE_BPPP_MAIN_H 3 | 4 | /* this type must be completed before any of the modules/bppp includes */ 5 | struct secp256k1_bppp_generators { 6 | size_t n; 7 | /* n total generators; includes both G_i and H_i */ 8 | /* For BP++, the generators are G_i from [0..(n - 8)] and the last 8 values 9 | are generators are for H_i */ 10 | secp256k1_ge* gens; 11 | }; 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /src/simplicity/secp256k1/int128_impl.h: -------------------------------------------------------------------------------- 1 | #ifndef SECP256K1_INT128_IMPL_H 2 | #define SECP256K1_INT128_IMPL_H 3 | 4 | #include "util.h" 5 | 6 | #include "int128.h" 7 | 8 | #if defined(SECP256K1_WIDEMUL_INT128) 9 | # if defined(SECP256K1_INT128_NATIVE) 10 | # include "int128_native_impl.h" 11 | # elif defined(SECP256K1_INT128_STRUCT) 12 | # include "int128_struct_impl.h" 13 | # else 14 | # error "Please select int128 implementation" 15 | # endif 16 | #endif 17 | 18 | #endif 19 | -------------------------------------------------------------------------------- /depends/packages/boost.mk: -------------------------------------------------------------------------------- 1 | package=boost 2 | $(package)_version=1.81.0 3 | $(package)_download_path=https://archives.boost.io/release/$($(package)_version)/source/ 4 | $(package)_file_name=boost_$(subst .,_,$($(package)_version)).tar.gz 5 | $(package)_sha256_hash=205666dea9f6a7cfed87c7a6dfbeb52a2c1b9de55712c9c1a87735d7181452b6 6 | 7 | define $(package)_stage_cmds 8 | mkdir -p $($(package)_staging_prefix_dir)/include && \ 9 | cp -r boost $($(package)_staging_prefix_dir)/include 10 | endef 11 | -------------------------------------------------------------------------------- /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 | Rodrigo Tobar 11 | Harry Mallon 12 | -------------------------------------------------------------------------------- /src/secp256k1/src/modules/whitelist/Makefile.am.include: -------------------------------------------------------------------------------- 1 | include_HEADERS += include/secp256k1_whitelist.h 2 | noinst_HEADERS += src/modules/whitelist/whitelist_impl.h 3 | noinst_HEADERS += src/modules/whitelist/main_impl.h 4 | noinst_HEADERS += src/modules/whitelist/tests_impl.h 5 | if USE_BENCHMARK 6 | noinst_PROGRAMS += bench_whitelist 7 | bench_whitelist_SOURCES = src/bench_whitelist.c 8 | bench_whitelist_LDADD = libsecp256k1.la 9 | bench_generator_CPPFLAGS = $(SECP_CONFIG_DEFINES) 10 | endif 11 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /depends/hosts/mingw32.mk: -------------------------------------------------------------------------------- 1 | ifneq ($(shell $(SHELL) $(.SHELLFLAGS) "command -v $(host)-g++-posix"),) 2 | mingw32_CXX := $(host)-g++-posix 3 | endif 4 | 5 | mingw32_CFLAGS=-pipe 6 | mingw32_CXXFLAGS=$(mingw32_CFLAGS) 7 | 8 | mingw32_release_CFLAGS=-O2 9 | mingw32_release_CXXFLAGS=$(mingw32_release_CFLAGS) 10 | 11 | mingw32_debug_CFLAGS=-O1 12 | mingw32_debug_CXXFLAGS=$(mingw32_debug_CFLAGS) 13 | 14 | mingw32_debug_CPPFLAGS=-D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC 15 | 16 | mingw_cmake_system=Windows 17 | -------------------------------------------------------------------------------- /src/wallet/coincontrol.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2018-2021 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 | namespace wallet { 10 | CCoinControl::CCoinControl() 11 | { 12 | m_avoid_partial_spends = gArgs.GetBoolArg("-avoidpartialspends", DEFAULT_AVOIDPARTIALSPENDS); 13 | } 14 | } // namespace wallet 15 | -------------------------------------------------------------------------------- /src/zmq/zmqutil.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2014-2021 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 | 10 | #include 11 | #include 12 | 13 | void zmqError(const std::string& str) 14 | { 15 | LogPrint(BCLog::ZMQ, "zmq: Error: %s, msg: %s\n", str, zmq_strerror(errno)); 16 | } 17 | -------------------------------------------------------------------------------- /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/bench/data.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2019-2021 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{std::begin(block413567_raw), std::end(block413567_raw)}; 12 | 13 | } // namespace data 14 | } // namespace benchmark 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 | -------------------------------------------------------------------------------- /depends/patches/qt/fix_qt_pkgconfig.patch: -------------------------------------------------------------------------------- 1 | --- old/qtbase/mkspecs/features/qt_module.prf 2 | +++ new/qtbase/mkspecs/features/qt_module.prf 3 | @@ -269,7 +269,7 @@ load(qt_installs) 4 | load(qt_targets) 5 | 6 | # this builds on top of qt_common 7 | -!internal_module:if(unix|mingw):!if(darwin:debug_and_release:CONFIG(debug, debug|release)) { 8 | +if(unix|mingw):!if(darwin:debug_and_release:CONFIG(debug, debug|release)) { 9 | CONFIG += create_pc 10 | QMAKE_PKGCONFIG_DESTDIR = pkgconfig 11 | host_build: \ 12 | -------------------------------------------------------------------------------- /src/qt/android/res/values/libs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | arm64-v8a;libbitcoin-qt_arm64-v8a.so 6 | 7 | 8 | armeabi-v7a;libbitcoin-qt_armeabi-v7a.so 9 | 10 | 11 | x86_64;libbitcoin-qt_x86_64.so 12 | 13 | 14 | x86;libbitcoin-qt_x86.so 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /contrib/guix/patches/oscrypto-hard-code-openssl.patch: -------------------------------------------------------------------------------- 1 | diff --git a/oscrypto/__init__.py b/oscrypto/__init__.py 2 | index eb27313..371ab24 100644 3 | --- a/oscrypto/__init__.py 4 | +++ b/oscrypto/__init__.py 5 | @@ -302,3 +302,8 @@ def load_order(): 6 | 'oscrypto._win.tls', 7 | 'oscrypto.tls', 8 | ] 9 | + 10 | + 11 | +paths = '@GUIX_OSCRYPTO_USE_OPENSSL@'.split(',') 12 | +assert len(paths) == 2, 'Value for OSCRYPTO_USE_OPENSSL env var must be two paths separated by a comma' 13 | +use_openssl(*paths) 14 | -------------------------------------------------------------------------------- /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/secp256k1/cmake/CheckStringOptionValue.cmake: -------------------------------------------------------------------------------- 1 | function(check_string_option_value option) 2 | get_property(expected_values CACHE ${option} PROPERTY STRINGS) 3 | if(expected_values) 4 | if(${option} IN_LIST expected_values) 5 | return() 6 | endif() 7 | message(FATAL_ERROR "${option} value is \"${${option}}\", but must be one of ${expected_values}.") 8 | endif() 9 | message(AUTHOR_WARNING "The STRINGS property must be set before invoking `check_string_option_value' function.") 10 | endfunction() 11 | -------------------------------------------------------------------------------- /src/wallet/rpc/wallet.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2016-2021 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_WALLET_RPC_WALLET_H 6 | #define BITCOIN_WALLET_RPC_WALLET_H 7 | 8 | #include 9 | 10 | class CRPCCommand; 11 | 12 | namespace wallet { 13 | Span GetWalletRPCCommands(); 14 | } // namespace wallet 15 | 16 | #endif // BITCOIN_WALLET_RPC_WALLET_H 17 | -------------------------------------------------------------------------------- /contrib/guix/patches/elfsteem-value-error-python-39.patch: -------------------------------------------------------------------------------- 1 | diff --git a/examples/otool.py b/examples/otool.py 2 | index 2b8efc0..d797b2e 100755 3 | --- a/examples/otool.py 4 | +++ b/examples/otool.py 5 | @@ -342,7 +342,7 @@ if __name__ == '__main__': 6 | try: 7 | e = macho_init.MACHO(raw, 8 | parseSymbols = False) 9 | - except ValueError, err: 10 | + except ValueError as err: 11 | print("%s:" %file) 12 | print(" %s" % err) 13 | continue 14 | -------------------------------------------------------------------------------- /depends/hosts/android.mk: -------------------------------------------------------------------------------- 1 | ifeq ($(HOST),armv7a-linux-android) 2 | android_CXX=$(ANDROID_TOOLCHAIN_BIN)/$(HOST)eabi$(ANDROID_API_LEVEL)-clang++ 3 | android_CC=$(ANDROID_TOOLCHAIN_BIN)/$(HOST)eabi$(ANDROID_API_LEVEL)-clang 4 | else 5 | android_CXX=$(ANDROID_TOOLCHAIN_BIN)/$(HOST)$(ANDROID_API_LEVEL)-clang++ 6 | android_CC=$(ANDROID_TOOLCHAIN_BIN)/$(HOST)$(ANDROID_API_LEVEL)-clang 7 | endif 8 | android_AR=$(ANDROID_TOOLCHAIN_BIN)/llvm-ar 9 | android_RANLIB=$(ANDROID_TOOLCHAIN_BIN)/llvm-ranlib 10 | 11 | android_cmake_system=Android 12 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /doc/man/Makefile.am: -------------------------------------------------------------------------------- 1 | dist_man1_MANS= 2 | 3 | if BUILD_BITCOIND 4 | dist_man1_MANS+=elementsd.1 5 | endif 6 | 7 | if ENABLE_QT 8 | dist_man1_MANS+=elements-qt.1 9 | endif 10 | 11 | if BUILD_BITCOIN_CLI 12 | dist_man1_MANS+=elements-cli.1 13 | endif 14 | 15 | if BUILD_BITCOIN_TX 16 | dist_man1_MANS+=elements-tx.1 17 | endif 18 | 19 | if BUILD_BITCOIN_UTIL 20 | dist_man1_MANS+=elements-util.1 21 | endif 22 | 23 | if ENABLE_WALLET 24 | if BUILD_BITCOIN_WALLET 25 | dist_man1_MANS+=elements-wallet.1 26 | endif 27 | endif 28 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # This is the top-most EditorConfig file. 2 | root = true 3 | 4 | # For all files. 5 | [*] 6 | charset = utf-8 7 | end_of_line = lf 8 | indent_style = space 9 | insert_final_newline = true 10 | trim_trailing_whitespace = true 11 | 12 | # Source code files 13 | [*.{h,cpp,py,sh}] 14 | indent_size = 4 15 | 16 | # .cirrus.yml, .fuzzbuzz.yml, etc. 17 | [*.yml] 18 | indent_size = 2 19 | 20 | # Makefiles 21 | [{*.am,Makefile.*.include}] 22 | indent_style = tab 23 | 24 | # Autoconf scripts 25 | [configure.ac] 26 | indent_size = 2 27 | -------------------------------------------------------------------------------- /.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/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 | -------------------------------------------------------------------------------- /ci/test_run_all.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # 3 | # Copyright (c) 2019-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 | set -o errexit; source ./ci/test/00_setup_env.sh 10 | set -o errexit; source ./ci/test/04_install.sh 11 | set -o errexit; source ./ci/test/05_before_script.sh 12 | set -o errexit; source ./ci/test/06_script_a.sh 13 | set -o errexit; source ./ci/test/06_script_b.sh 14 | -------------------------------------------------------------------------------- /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/secp256k1/src/modules/generator/Makefile.am.include: -------------------------------------------------------------------------------- 1 | include_HEADERS += include/secp256k1_generator.h 2 | noinst_HEADERS += src/modules/generator/pedersen.h 3 | noinst_HEADERS += src/modules/generator/pedersen_impl.h 4 | noinst_HEADERS += src/modules/generator/main_impl.h 5 | noinst_HEADERS += src/modules/generator/tests_impl.h 6 | if USE_BENCHMARK 7 | noinst_PROGRAMS += bench_generator 8 | bench_generator_SOURCES = src/bench_generator.c 9 | bench_generator_LDADD = libsecp256k1.la 10 | bench_generator_CPPFLAGS = $(SECP_CONFIG_DEFINES) 11 | endif 12 | -------------------------------------------------------------------------------- /contrib/assets_tutorial/bitcoin.conf: -------------------------------------------------------------------------------- 1 | regtest=1 2 | txindex=1 3 | # We are spawning these inside a Python script which will manage them, so don't daemonize 4 | daemon=0 5 | # Extra debugging output in case things go wrong 6 | debug=1 7 | debugexclude=libevent 8 | debugexclude=leveldb 9 | printtoconsole=0 10 | 11 | rpcuser=user3 12 | rpcpassword=password3 13 | 14 | # Set a fallback fee, since initially the nodes will have no transaction data 15 | # to do fee estimation from 16 | fallbackfee=0.0002 17 | 18 | [regtest] 19 | rpcport=18888 20 | port=18889 21 | -------------------------------------------------------------------------------- /src/ipc/capnp/protocol.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2021 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_IPC_CAPNP_PROTOCOL_H 6 | #define BITCOIN_IPC_CAPNP_PROTOCOL_H 7 | 8 | #include 9 | 10 | namespace ipc { 11 | class Protocol; 12 | namespace capnp { 13 | std::unique_ptr MakeCapnpProtocol(); 14 | } // namespace capnp 15 | } // namespace ipc 16 | 17 | #endif // BITCOIN_IPC_CAPNP_PROTOCOL_H 18 | -------------------------------------------------------------------------------- /src/qt/res/animation/makespinner.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # 3 | # Copyright (c) 2014-2021 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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /src/test/fuzz/parse_script.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2009-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 | #include