├── src ├── cc │ ├── utils.cpp │ ├── rogue │ │ ├── rogue.777.3 │ │ ├── rogue.777.0 │ │ ├── rogue.777.1 │ │ ├── rogue.777.2 │ │ ├── rogue.png │ │ ├── rogue.html │ │ ├── rogue.html.in │ │ ├── rogue.desktop │ │ ├── score.h │ │ └── vers.c │ ├── dapps │ │ ├── makedapps │ │ ├── diceloop │ │ ├── sendmany │ │ └── README.md │ ├── makecustom │ ├── README.md │ ├── makegames │ ├── maketetris │ ├── makeprices │ ├── CCcustom.inc │ └── makecclib ├── config │ └── .empty ├── secp256k1 │ ├── obj │ │ └── .gitignore │ ├── autogen.sh │ ├── TODO │ ├── src │ │ ├── modules │ │ │ ├── ecdh │ │ │ │ └── Makefile.am.include │ │ │ ├── recovery │ │ │ │ └── Makefile.am.include │ │ │ ├── schnorrsig │ │ │ │ └── Makefile.am.include │ │ │ └── musig │ │ │ │ └── Makefile.am.include │ │ ├── java │ │ │ ├── org_bitcoin_Secp256k1Context.c │ │ │ └── org_bitcoin_Secp256k1Context.h │ │ ├── num_gmp.h │ │ └── num_impl.h │ └── libsecp256k1.pc.in ├── 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 │ │ ├── .gitignore │ │ ├── fail1.json │ │ ├── fail40.json │ │ ├── fail41.json │ │ ├── pass3.json │ │ ├── no_nul.cpp │ │ ├── round1.json │ │ └── test_json.cpp │ ├── build-aux │ │ └── m4 │ │ │ └── .gitignore │ ├── lib │ │ └── .gitignore │ ├── README │ ├── autogen.sh │ ├── TODO │ ├── pc │ │ ├── libunivalue.pc.in │ │ └── libunivalue-uninstalled.pc.in │ ├── .gitignore │ └── README.md ├── cryptoconditions │ ├── tests │ │ ├── __init__.py │ │ └── vectors │ │ │ ├── 0000_test-minimal-preimage.json │ │ │ ├── 0005_test-basic-preimage.json │ │ │ ├── 1000_test-minimal-eval.json │ │ │ ├── 0001_test-minimal-prefix.json │ │ │ └── 0002_test-minimal-threshold.json │ ├── src │ │ ├── include │ │ │ ├── secp256k1 │ │ │ │ ├── obj │ │ │ │ │ └── .gitignore │ │ │ │ ├── autogen.sh │ │ │ │ ├── TODO │ │ │ │ ├── src │ │ │ │ │ ├── modules │ │ │ │ │ │ ├── ecdh │ │ │ │ │ │ │ └── Makefile.am.include │ │ │ │ │ │ └── recovery │ │ │ │ │ │ │ └── Makefile.am.include │ │ │ │ │ ├── java │ │ │ │ │ │ ├── org_bitcoin_Secp256k1Context.c │ │ │ │ │ │ └── org_bitcoin_Secp256k1Context.h │ │ │ │ │ ├── scalar_low.h │ │ │ │ │ ├── num_gmp.h │ │ │ │ │ ├── num_impl.h │ │ │ │ │ └── scalar_8x32.h │ │ │ │ └── libsecp256k1.pc.in │ │ │ └── ed25519 │ │ │ │ └── src │ │ │ │ ├── sc.h │ │ │ │ ├── keypair.c │ │ │ │ ├── sha512.h │ │ │ │ └── seed.c │ │ ├── stamp-h1 │ │ └── asn │ │ │ ├── per_opentype.h │ │ │ └── EvalFulfillment.h │ ├── test-requirements.txt │ ├── autogen.sh │ ├── .travis.yml │ ├── .gitignore │ └── LICENSE ├── obj │ └── .gitignore ├── test │ ├── data │ │ ├── blanktx.hex │ │ ├── txcreate2.hex │ │ ├── alertTests.raw │ │ ├── txcreatedata_seq0.hex │ │ ├── txcreatedata_seq1.hex │ │ ├── README.md │ │ ├── txcreate1.hex │ │ ├── txcreatesign.hex │ │ └── base58_encode_decode.json │ ├── buildenv.py.in │ ├── bitcoin-util-test.py │ ├── sanity_tests.cpp │ └── Checkpoints_tests.cpp ├── ac │ ├── kv │ ├── axo │ ├── beer │ ├── bet │ ├── bntn │ ├── bots │ ├── btch │ ├── ccl │ ├── ceal │ ├── chain │ ├── coqui │ ├── dex │ ├── dion │ ├── dsec │ ├── eql │ ├── glxt │ ├── hodl │ ├── iln │ ├── k64 │ ├── koin │ ├── ksb │ ├── mesh │ ├── mgnx │ ├── mgw │ ├── mnz │ ├── morty │ ├── ninja │ ├── oot │ ├── our │ ├── pgt │ ├── pizza │ ├── revs │ ├── rick │ ├── wlc │ ├── zexo │ ├── crypto │ ├── etomic │ ├── ilien │ ├── jumblr │ ├── kmdice │ ├── mshark │ ├── pangea │ ├── pirate │ ├── prlpay │ ├── supernet │ ├── vote2018 │ └── vote2019 ├── fiat │ ├── axo │ ├── beer │ ├── bet │ ├── bntn │ ├── bots │ ├── btch │ ├── ccl │ ├── ceal │ ├── dex │ ├── dion │ ├── dsec │ ├── eql │ ├── glxt │ ├── hodl │ ├── iln │ ├── k64 │ ├── koin │ ├── ksb │ ├── kv │ ├── mesh │ ├── mgnx │ ├── mgw │ ├── mnz │ ├── oot │ ├── our │ ├── pgt │ ├── revs │ ├── rfox │ ├── rick │ ├── sec │ ├── vrsc │ ├── wlc │ ├── zexo │ ├── chain │ ├── coqui │ ├── crypto │ ├── etomic │ ├── ilien │ ├── jumblr │ ├── kmdice │ ├── morty │ ├── mshark │ ├── ninja │ ├── pangea │ ├── pirate │ ├── pizza │ ├── prlpay │ ├── zilla │ ├── supernet │ ├── vote2018 │ ├── vote2019 │ ├── verus │ └── verus.bat ├── qt │ ├── res │ │ ├── icons │ │ │ ├── add.png │ │ │ ├── eye.png │ │ │ ├── key.png │ │ │ ├── about.png │ │ │ ├── clock1.png │ │ │ ├── clock2.png │ │ │ ├── clock3.png │ │ │ ├── clock4.png │ │ │ ├── clock5.png │ │ │ ├── edit.png │ │ │ ├── export.png │ │ │ ├── info.png │ │ │ ├── komodo.ico │ │ │ ├── komodo.png │ │ │ ├── open.png │ │ │ ├── quit.png │ │ │ ├── remove.png │ │ │ ├── send.png │ │ │ ├── synced.png │ │ │ ├── verify.png │ │ │ ├── z-send.png │ │ │ ├── about_qt.png │ │ │ ├── chevron.png │ │ │ ├── connect0.png │ │ │ ├── connect1.png │ │ │ ├── connect2.png │ │ │ ├── connect3.png │ │ │ ├── connect4.png │ │ │ ├── editcopy.png │ │ │ ├── eye_plus.png │ │ │ ├── filesave.png │ │ │ ├── history.png │ │ │ ├── komodo.icns │ │ │ ├── overview.png │ │ │ ├── receive.png │ │ │ ├── refresh.png │ │ │ ├── tx_inout.png │ │ │ ├── tx_input.png │ │ │ ├── tx_mined.png │ │ │ ├── warning.png │ │ │ ├── all_balance.png │ │ │ ├── configure.png │ │ │ ├── debugwindow.png │ │ │ ├── editpaste.png │ │ │ ├── eye_minus.png │ │ │ ├── fontbigger.png │ │ │ ├── fontsmaller.png │ │ │ ├── hd_disabled.png │ │ │ ├── hd_enabled.png │ │ │ ├── lock_closed.png │ │ │ ├── lock_open.png │ │ │ ├── tx_output.png │ │ │ ├── address-book.png │ │ │ ├── transaction0.png │ │ │ ├── transaction2.png │ │ │ ├── komodo_testnet.ico │ │ │ ├── network_disabled.png │ │ │ ├── transaction_abandoned.png │ │ │ └── transaction_conflicted.png │ │ ├── src │ │ │ ├── spinner.png │ │ │ └── tx_in.svg │ │ └── movies │ │ │ ├── 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 │ ├── coincontroltreewidget.h │ ├── callback.h │ ├── macdockiconhandler.h │ ├── openuridialog.h │ ├── transactiondescdialog.h │ └── transactiondesc.h ├── gui │ └── komodoku │ │ ├── board.png │ │ ├── background.png │ │ └── Roboto-Light.ttf ├── gtest │ ├── utils.cpp │ ├── test_tautology.cpp │ ├── json_test_vectors.cpp │ ├── test_block.cpp │ └── test_pedersen_hash.cpp ├── purge ├── tui │ └── requirements.txt ├── assetchains_stop ├── leveldb │ ├── .gitignore │ ├── .travis.yml │ ├── AUTHORS │ ├── util │ │ ├── filter_policy.cc │ │ └── hash.h │ ├── port │ │ ├── README │ │ └── port.h │ ├── NEWS │ ├── TODO │ └── helpers │ │ └── memenv │ │ └── memenv.h ├── komodo_nk.h ├── listassetchains ├── snark │ ├── libsnark │ │ ├── common │ │ │ ├── assert_except.hpp │ │ │ ├── template_utils.hpp │ │ │ └── default_types │ │ │ │ └── r1cs_ppzksnark_pp.hpp │ │ ├── gtests.cpp │ │ ├── algebra │ │ │ └── curves │ │ │ │ └── curve_utils.hpp │ │ └── gadgetlib1 │ │ │ ├── gadget.tcc │ │ │ ├── gadget.hpp │ │ │ └── examples │ │ │ └── simple_example.hpp │ └── AUTHORS ├── fs.cpp ├── zcash │ ├── util.h │ ├── GenerateParams.cpp │ └── prf.h ├── compat │ ├── sanity.h │ └── strnlen.cpp ├── support │ ├── cleanse.cpp │ └── cleanse.h ├── veruslaunch.h ├── util │ └── asmap.h ├── assetchains ├── amqp │ └── amqpabstractnotifier.cpp ├── zmq │ ├── zmqconfig.h │ └── zmqabstractnotifier.cpp ├── listassetchainparams ├── torcontrol.h ├── bits256.h ├── utilmoneystr.h ├── test-komodo │ └── main.cpp ├── consensus │ └── merkle.h ├── crypto │ ├── sha1.h │ ├── sha512.h │ └── ripemd160.h ├── fs.h └── clearassets ├── qa ├── rpc-tests │ ├── .gitignore │ └── test_framework │ │ └── __init__.py └── pull-tester │ ├── run-komodo-cli │ └── tests-config.sh.in ├── doc ├── bitcoin-release-notes │ ├── release-notes-0.3.16.md │ ├── release-notes-0.6.1.md │ ├── release-notes-0.3.20.1.md │ ├── release-notes-0.4.2.md │ ├── release-notes-0.4.5.md │ ├── release-notes-0.3.14.md │ ├── release-notes-0.3.15.md │ ├── release-notes-0.3.18.md │ ├── release-notes-0.3.17.md │ ├── release-notes-0.8.3.md │ ├── release-notes-0.3.20.2.md │ ├── release-notes-0.3.23.md │ └── release-notes-0.3.12.md ├── man │ └── Makefile.am ├── images │ └── komodo-qt-promo-2020-01.jpg ├── release-notes │ ├── release-notes-1.0.7-1.md │ ├── release-notes-1.0.0-rc4.md │ ├── release-notes-1.0.2.md │ ├── release-notes-0.11.2.z6.md │ └── release-notes-1.0.0.md └── unit-tests.md ├── icons ├── komodo.icns ├── komodo.ico ├── old-komodo.icns ├── old-komodo.ico ├── old-komodo-without-shadow.icns └── old-komodo-without-shadow.ico ├── share ├── pixmaps │ ├── check.ico │ ├── send16.bmp │ ├── send20.bmp │ ├── bitcoin.ico │ ├── bitcoin16.png │ ├── bitcoin32.png │ ├── bitcoin64.png │ ├── favicon.ico │ ├── bitcoin-bc.ico │ ├── bitcoin128.png │ ├── bitcoin256.png │ ├── nsis-header.bmp │ ├── nsis-wizard.bmp │ ├── send16mask.bmp │ ├── send20mask.bmp │ ├── addressbook16.bmp │ ├── addressbook20.bmp │ ├── addressbook16mask.bmp │ ├── addressbook20mask.bmp │ └── send16masknoshadow.bmp ├── nsi_win64 │ ├── komodo.ico │ ├── readme.txt │ └── content │ │ └── komodo.conf └── ui.rc ├── contrib ├── macdeploy │ ├── DS_Store │ └── fancy.plist └── komodo-qt.pro ├── depends ├── .gitignore ├── patches │ ├── qt │ │ ├── qttools_src.pro │ │ ├── qt.pro │ │ ├── fix_no_printer.patch │ │ ├── fix_android_pch.patch │ │ ├── fix_android_jni_static.patch │ │ ├── dont_hardcode_pwd.patch │ │ └── qtbase-moc-ignore-gcc-macro.patch │ ├── boost │ │ ├── include_poll.patch │ │ └── commit-74fb0a2.patch │ └── librustzcash │ │ └── cargo.config ├── builders │ ├── linux.mk │ └── default.mk ├── hosts │ ├── mingw32.mk │ └── linux.mk ├── packages │ ├── crate_aes.mk │ ├── crate_fpe.mk │ ├── crate_libc.mk │ ├── crate_rand.mk │ ├── crate_aesni.mk │ ├── crate_digest.mk │ ├── crate_nodrop.mk │ ├── crate_winapi.mk │ ├── crate_aes_soft.mk │ ├── crate_arrayvec.mk │ ├── crate_bellman.mk │ ├── crate_bit_vec.mk │ ├── crate_bitflags.mk │ ├── crate_futures.mk │ ├── crate_num_cpus.mk │ ├── crate_pairing.mk │ ├── crate_typenum.mk │ ├── crate_byteorder.mk │ ├── crate_crossbeam.mk │ ├── crate_byte_tools.mk │ ├── crate_lazy_static.mk │ ├── crate_num_bigint.mk │ ├── crate_num_integer.mk │ ├── crate_num_traits.mk │ ├── crate_generic_array.mk │ ├── crate_opaque_debug.mk │ ├── crate_stream_cipher.mk │ ├── crate_fuchsia_zircon.mk │ ├── crate_constant_time_eq.mk │ ├── crate_futures_cpupool.mk │ ├── crate_block_cipher_trait.mk │ ├── crate_fuchsia_zircon_sys.mk │ ├── xcb_proto.mk │ ├── crate_winapi_i686_pc_windows_gnu.mk │ ├── crate_winapi_x86_64_pc_windows_gnu.mk │ ├── crate_zip32.mk │ ├── crate_blake2_rfc.mk │ ├── native_ccache.mk │ ├── crate_sapling_crypto.mk │ ├── native_protobuf.mk │ ├── native_libtapi.mk │ ├── freetype.mk │ └── xproto.mk └── cargo-checksum.sh ├── zcutil ├── docker-komodo-cli.sh ├── build-mac.sh ├── build-win.sh └── cleanup-tags.sh ├── autogen.sh ├── libzcashconsensus.pc.in └── .vscode.template └── c_cpp_properties.json /src/cc/utils.cpp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/config/.empty: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/cc/rogue/rogue.777.3: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/secp256k1/obj/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/univalue/test/fail29.json: -------------------------------------------------------------------------------- 1 | [0e] -------------------------------------------------------------------------------- /src/cryptoconditions/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /qa/rpc-tests/.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | cache 3 | -------------------------------------------------------------------------------- /qa/rpc-tests/test_framework/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/obj/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /src/test/data/blanktx.hex: -------------------------------------------------------------------------------- 1 | 01000000000000000000 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,} -------------------------------------------------------------------------------- /src/cryptoconditions/src/include/secp256k1/obj/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /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"], -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /src/univalue/test/fail26.json: -------------------------------------------------------------------------------- 1 | ["tab\ character\ in\ string\ "] -------------------------------------------------------------------------------- /src/univalue/test/fail3.json: -------------------------------------------------------------------------------- 1 | {unquoted_key: "keys must be quoted"} -------------------------------------------------------------------------------- /doc/bitcoin-release-notes/release-notes-0.3.16.md: -------------------------------------------------------------------------------- 1 | Never released. 2 | -------------------------------------------------------------------------------- /doc/bitcoin-release-notes/release-notes-0.6.1.md: -------------------------------------------------------------------------------- 1 | Never released 2 | 3 | -------------------------------------------------------------------------------- /src/ac/kv: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=KV $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/test/buildenv.py.in: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | exeext="@EXEEXT@" 3 | -------------------------------------------------------------------------------- /src/test/data/txcreate2.hex: -------------------------------------------------------------------------------- 1 | 01000000000100000000000000000000000000 2 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /src/ac/axo: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=AXO $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/ac/beer: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=BEER $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/ac/bet: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=BET $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/ac/bntn: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=BNTN $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/ac/bots: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=BOTS $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/ac/btch: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=BTCH $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/ac/ccl: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=CCL $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/ac/ceal: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=CEAL $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/ac/chain: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=CHAIN $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/ac/coqui: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=COQUI $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/ac/dex: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=DEX $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/ac/dion: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=DION $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/ac/dsec: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=DSEC $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/ac/eql: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=EQL $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/ac/glxt: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=GLXT $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/ac/hodl: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=HODL $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/ac/iln: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=ILN $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/ac/k64: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=K64 $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/ac/koin: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=KOIN $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/ac/ksb: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=KSB $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/ac/mesh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=MESH $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/ac/mgnx: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=MGNX $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/ac/mgw: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=MGW $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/ac/mnz: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=MNZ $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/ac/morty: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=MORTY $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/ac/ninja: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=NINJA $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/ac/oot: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=OOT $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/ac/our: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=OUR $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/ac/pgt: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=PGT $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/ac/pizza: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=PIZZA $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/ac/revs: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=REVS $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/ac/rick: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=RICK $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/ac/wlc: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=WLC $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/ac/zexo: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=ZEXO $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/axo: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=AXO $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/beer: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=BEER $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/bet: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=BET $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/bntn: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=BNTN $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/bots: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=BOTS $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/btch: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=BTCH $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/ccl: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=CCL $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/ceal: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=CEAL $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/dex: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=DEX $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/dion: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=DION $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/dsec: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=DSEC $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/eql: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=EQL $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/glxt: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=GLXT $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/hodl: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=HODL $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/iln: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=ILN $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/k64: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=K64 $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/koin: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=KOIN $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/ksb: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=KSB $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/kv: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=KV $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/mesh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=MESH $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/mgnx: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=MGNX $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/mgw: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=MGW $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/mnz: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=MNZ $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/oot: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=OOT $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/our: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=OUR $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/pgt: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=PGT $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/revs: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=REVS $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/rfox: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=RFOX $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/rick: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=RICK $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/sec: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=SEC $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/vrsc: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=VRSC $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/wlc: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=WLC $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/zexo: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=ZEXO $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/univalue/test/fail44.json: -------------------------------------------------------------------------------- 1 | "This file ends without a newline or close-quote. -------------------------------------------------------------------------------- /src/ac/crypto: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=CRYPTO $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/ac/etomic: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=ETOMIC $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/ac/ilien: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=ILN $1 $2 $3 $4 $5 $6 3 | 4 | -------------------------------------------------------------------------------- /src/ac/jumblr: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=JUMBLR $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/ac/kmdice: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=KMDICE $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/ac/mshark: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=MSHARK $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/ac/pangea: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=PANGEA $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/ac/pirate: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=PIRATE $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/ac/prlpay: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=PRLPAY $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/cc/rogue/rogue.777.0: -------------------------------------------------------------------------------- 1 | llllljhhl jllllllllllllllllllkkllllklllljllljjllllllllllll -------------------------------------------------------------------------------- /src/cc/rogue/rogue.777.1: -------------------------------------------------------------------------------- 1 | hhhhhhhhhhkkhhhhhhhhhhhhhjjhhhhhhhhjjjjjjjjjlllllllllllllk -------------------------------------------------------------------------------- /src/cc/rogue/rogue.777.2: -------------------------------------------------------------------------------- 1 | lllljjllllll l ll lll l lll l ll l ljjj j j jhhhhhjjllllll -------------------------------------------------------------------------------- /src/cryptoconditions/src/stamp-h1: -------------------------------------------------------------------------------- 1 | timestamp for src/cryptoconditions-config.h 2 | -------------------------------------------------------------------------------- /src/fiat/chain: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=CHAIN $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/coqui: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=COQUI $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/crypto: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=CRYPTO $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/etomic: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=ETOMIC $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/ilien: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=ILN $1 $2 $3 $4 $5 $6 3 | 4 | -------------------------------------------------------------------------------- /src/fiat/jumblr: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=JUMBLR $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/kmdice: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=KMDICE $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/morty: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=MORTY $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/mshark: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=MSHARK $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/ninja: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=NINJA $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/pangea: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=PANGEA $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/pirate: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=PIRATE $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/pizza: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=PIZZA $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/prlpay: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=PRLPAY $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/zilla: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=ZILLA $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /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"]]]]]]]]]]]]]]]]]]] -------------------------------------------------------------------------------- /icons/komodo.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/icons/komodo.icns -------------------------------------------------------------------------------- /icons/komodo.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/icons/komodo.ico -------------------------------------------------------------------------------- /src/ac/supernet: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=SUPERNET $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/ac/vote2018: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=VOTE2018 $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/ac/vote2019: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=VOTE2019 $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/cryptoconditions/test-requirements.txt: -------------------------------------------------------------------------------- 1 | base58==0.2.5 2 | secp256k1 3 | pytest 4 | -------------------------------------------------------------------------------- /src/fiat/supernet: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=SUPERNET $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/vote2018: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=VOTE2018 $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/fiat/vote2019: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ./komodo-cli -ac_name=VOTE2019 $1 $2 $3 $4 $5 $6 3 | -------------------------------------------------------------------------------- /src/univalue/test/fail10.json: -------------------------------------------------------------------------------- 1 | {"Extra value after close": true} "misplaced quoted value" -------------------------------------------------------------------------------- /doc/man/Makefile.am: -------------------------------------------------------------------------------- 1 | dist_man1_MANS=zcashd.1 zcash-cli.1 zcash-fetch-params.1 zcash-tx.1 2 | -------------------------------------------------------------------------------- /src/cryptoconditions/autogen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | autoreconf -if --warnings=all 4 | -------------------------------------------------------------------------------- /src/univalue/test/.gitignore: -------------------------------------------------------------------------------- 1 | unitester 2 | test_json 3 | no_nul 4 | 5 | *.trs 6 | *.log 7 | -------------------------------------------------------------------------------- /doc/bitcoin-release-notes/release-notes-0.3.20.1.md: -------------------------------------------------------------------------------- 1 | Never released or release notes were lost. 2 | -------------------------------------------------------------------------------- /doc/bitcoin-release-notes/release-notes-0.4.2.md: -------------------------------------------------------------------------------- 1 | Never released or release notes were lost. 2 | -------------------------------------------------------------------------------- /doc/bitcoin-release-notes/release-notes-0.4.5.md: -------------------------------------------------------------------------------- 1 | Never released or release notes were lost. 2 | -------------------------------------------------------------------------------- /icons/old-komodo.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/icons/old-komodo.icns -------------------------------------------------------------------------------- /icons/old-komodo.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/icons/old-komodo.ico -------------------------------------------------------------------------------- /src/cc/rogue/rogue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/cc/rogue/rogue.png -------------------------------------------------------------------------------- /share/pixmaps/check.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/share/pixmaps/check.ico -------------------------------------------------------------------------------- /share/pixmaps/send16.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/share/pixmaps/send16.bmp -------------------------------------------------------------------------------- /share/pixmaps/send20.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/share/pixmaps/send20.bmp -------------------------------------------------------------------------------- /src/cc/rogue/rogue.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/cc/rogue/rogue.html -------------------------------------------------------------------------------- /src/qt/res/icons/add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/add.png -------------------------------------------------------------------------------- /src/qt/res/icons/eye.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/eye.png -------------------------------------------------------------------------------- /src/qt/res/icons/key.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/key.png -------------------------------------------------------------------------------- /src/univalue/test/fail1.json: -------------------------------------------------------------------------------- 1 | "This is a string that never ends, yes it goes on and on, my friends. 2 | -------------------------------------------------------------------------------- /contrib/macdeploy/DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/contrib/macdeploy/DS_Store -------------------------------------------------------------------------------- /share/nsi_win64/komodo.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/share/nsi_win64/komodo.ico -------------------------------------------------------------------------------- /share/pixmaps/bitcoin.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/share/pixmaps/bitcoin.ico -------------------------------------------------------------------------------- /share/pixmaps/bitcoin16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/share/pixmaps/bitcoin16.png -------------------------------------------------------------------------------- /share/pixmaps/bitcoin32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/share/pixmaps/bitcoin32.png -------------------------------------------------------------------------------- /share/pixmaps/bitcoin64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/share/pixmaps/bitcoin64.png -------------------------------------------------------------------------------- /share/pixmaps/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/share/pixmaps/favicon.ico -------------------------------------------------------------------------------- /src/cc/rogue/rogue.html.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/cc/rogue/rogue.html.in -------------------------------------------------------------------------------- /src/gui/komodoku/board.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/gui/komodoku/board.png -------------------------------------------------------------------------------- /src/qt/res/icons/about.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/about.png -------------------------------------------------------------------------------- /src/qt/res/icons/clock1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/clock1.png -------------------------------------------------------------------------------- /src/qt/res/icons/clock2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/clock2.png -------------------------------------------------------------------------------- /src/qt/res/icons/clock3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/clock3.png -------------------------------------------------------------------------------- /src/qt/res/icons/clock4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/clock4.png -------------------------------------------------------------------------------- /src/qt/res/icons/clock5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/clock5.png -------------------------------------------------------------------------------- /src/qt/res/icons/edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/edit.png -------------------------------------------------------------------------------- /src/qt/res/icons/export.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/export.png -------------------------------------------------------------------------------- /src/qt/res/icons/info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/info.png -------------------------------------------------------------------------------- /src/qt/res/icons/komodo.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/komodo.ico -------------------------------------------------------------------------------- /src/qt/res/icons/komodo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/komodo.png -------------------------------------------------------------------------------- /src/qt/res/icons/open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/open.png -------------------------------------------------------------------------------- /src/qt/res/icons/quit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/quit.png -------------------------------------------------------------------------------- /src/qt/res/icons/remove.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/remove.png -------------------------------------------------------------------------------- /src/qt/res/icons/send.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/send.png -------------------------------------------------------------------------------- /src/qt/res/icons/synced.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/synced.png -------------------------------------------------------------------------------- /src/qt/res/icons/verify.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/verify.png -------------------------------------------------------------------------------- /src/qt/res/icons/z-send.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/z-send.png -------------------------------------------------------------------------------- /src/qt/res/src/spinner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/src/spinner.png -------------------------------------------------------------------------------- /share/pixmaps/bitcoin-bc.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/share/pixmaps/bitcoin-bc.ico -------------------------------------------------------------------------------- /share/pixmaps/bitcoin128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/share/pixmaps/bitcoin128.png -------------------------------------------------------------------------------- /share/pixmaps/bitcoin256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/share/pixmaps/bitcoin256.png -------------------------------------------------------------------------------- /share/pixmaps/nsis-header.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/share/pixmaps/nsis-header.bmp -------------------------------------------------------------------------------- /share/pixmaps/nsis-wizard.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/share/pixmaps/nsis-wizard.bmp -------------------------------------------------------------------------------- /share/pixmaps/send16mask.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/share/pixmaps/send16mask.bmp -------------------------------------------------------------------------------- /share/pixmaps/send20mask.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/share/pixmaps/send20mask.bmp -------------------------------------------------------------------------------- /src/cryptoconditions/src/include/secp256k1/autogen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | autoreconf -if --warnings=all 4 | -------------------------------------------------------------------------------- /src/qt/res/icons/about_qt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/about_qt.png -------------------------------------------------------------------------------- /src/qt/res/icons/chevron.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/chevron.png -------------------------------------------------------------------------------- /src/qt/res/icons/connect0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/connect0.png -------------------------------------------------------------------------------- /src/qt/res/icons/connect1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/connect1.png -------------------------------------------------------------------------------- /src/qt/res/icons/connect2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/connect2.png -------------------------------------------------------------------------------- /src/qt/res/icons/connect3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/connect3.png -------------------------------------------------------------------------------- /src/qt/res/icons/connect4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/connect4.png -------------------------------------------------------------------------------- /src/qt/res/icons/editcopy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/editcopy.png -------------------------------------------------------------------------------- /src/qt/res/icons/eye_plus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/eye_plus.png -------------------------------------------------------------------------------- /src/qt/res/icons/filesave.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/filesave.png -------------------------------------------------------------------------------- /src/qt/res/icons/history.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/history.png -------------------------------------------------------------------------------- /src/qt/res/icons/komodo.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/komodo.icns -------------------------------------------------------------------------------- /src/qt/res/icons/overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/overview.png -------------------------------------------------------------------------------- /src/qt/res/icons/receive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/receive.png -------------------------------------------------------------------------------- /src/qt/res/icons/refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/refresh.png -------------------------------------------------------------------------------- /src/qt/res/icons/tx_inout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/tx_inout.png -------------------------------------------------------------------------------- /src/qt/res/icons/tx_input.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/tx_input.png -------------------------------------------------------------------------------- /src/qt/res/icons/tx_mined.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/tx_mined.png -------------------------------------------------------------------------------- /src/qt/res/icons/warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/warning.png -------------------------------------------------------------------------------- /src/test/data/alertTests.raw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/test/data/alertTests.raw -------------------------------------------------------------------------------- /src/univalue/test/fail40.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/univalue/test/fail40.json -------------------------------------------------------------------------------- /src/univalue/test/fail41.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/univalue/test/fail41.json -------------------------------------------------------------------------------- /share/pixmaps/addressbook16.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/share/pixmaps/addressbook16.bmp -------------------------------------------------------------------------------- /share/pixmaps/addressbook20.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/share/pixmaps/addressbook20.bmp -------------------------------------------------------------------------------- /src/cc/dapps/makedapps: -------------------------------------------------------------------------------- 1 | gcc -o oraclefeed cc/dapps/oraclefeed.c -lm 2 | gcc -o zmigrate cc/dapps/zmigrate.c -lm 3 | -------------------------------------------------------------------------------- /src/gui/komodoku/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/gui/komodoku/background.png -------------------------------------------------------------------------------- /src/qt/res/icons/all_balance.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/all_balance.png -------------------------------------------------------------------------------- /src/qt/res/icons/configure.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/configure.png -------------------------------------------------------------------------------- /src/qt/res/icons/debugwindow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/debugwindow.png -------------------------------------------------------------------------------- /src/qt/res/icons/editpaste.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/editpaste.png -------------------------------------------------------------------------------- /src/qt/res/icons/eye_minus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/eye_minus.png -------------------------------------------------------------------------------- /src/qt/res/icons/fontbigger.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/fontbigger.png -------------------------------------------------------------------------------- /src/qt/res/icons/fontsmaller.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/fontsmaller.png -------------------------------------------------------------------------------- /src/qt/res/icons/hd_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/hd_disabled.png -------------------------------------------------------------------------------- /src/qt/res/icons/hd_enabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/hd_enabled.png -------------------------------------------------------------------------------- /src/qt/res/icons/lock_closed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/lock_closed.png -------------------------------------------------------------------------------- /src/qt/res/icons/lock_open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/lock_open.png -------------------------------------------------------------------------------- /src/qt/res/icons/tx_output.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/tx_output.png -------------------------------------------------------------------------------- /src/gui/komodoku/Roboto-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/gui/komodoku/Roboto-Light.ttf -------------------------------------------------------------------------------- /src/qt/res/icons/address-book.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/address-book.png -------------------------------------------------------------------------------- /src/qt/res/icons/transaction0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/transaction0.png -------------------------------------------------------------------------------- /src/qt/res/icons/transaction2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/transaction2.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-000.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/movies/spinner-000.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/movies/spinner-001.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-002.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/movies/spinner-002.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-003.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/movies/spinner-003.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-004.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/movies/spinner-004.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-005.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/movies/spinner-005.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-006.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/movies/spinner-006.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-007.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/movies/spinner-007.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-008.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/movies/spinner-008.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-009.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/movies/spinner-009.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-010.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/movies/spinner-010.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-011.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/movies/spinner-011.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-012.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/movies/spinner-012.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-013.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/movies/spinner-013.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-014.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/movies/spinner-014.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-015.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/movies/spinner-015.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-016.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/movies/spinner-016.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-017.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/movies/spinner-017.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-018.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/movies/spinner-018.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-019.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/movies/spinner-019.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-020.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/movies/spinner-020.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-021.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/movies/spinner-021.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-022.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/movies/spinner-022.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-023.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/movies/spinner-023.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/movies/spinner-024.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-025.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/movies/spinner-025.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-026.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/movies/spinner-026.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-027.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/movies/spinner-027.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-028.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/movies/spinner-028.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-029.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/movies/spinner-029.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-030.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/movies/spinner-030.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-031.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/movies/spinner-031.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-032.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/movies/spinner-032.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-033.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/movies/spinner-033.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-034.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/movies/spinner-034.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-035.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/movies/spinner-035.png -------------------------------------------------------------------------------- /icons/old-komodo-without-shadow.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/icons/old-komodo-without-shadow.icns -------------------------------------------------------------------------------- /icons/old-komodo-without-shadow.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/icons/old-komodo-without-shadow.ico -------------------------------------------------------------------------------- /share/pixmaps/addressbook16mask.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/share/pixmaps/addressbook16mask.bmp -------------------------------------------------------------------------------- /share/pixmaps/addressbook20mask.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/share/pixmaps/addressbook20mask.bmp -------------------------------------------------------------------------------- /share/pixmaps/send16masknoshadow.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/share/pixmaps/send16masknoshadow.bmp -------------------------------------------------------------------------------- /src/qt/res/icons/komodo_testnet.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/komodo_testnet.ico -------------------------------------------------------------------------------- /src/qt/res/icons/network_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/network_disabled.png -------------------------------------------------------------------------------- /depends/.gitignore: -------------------------------------------------------------------------------- 1 | SDKs/ 2 | work/ 3 | built/ 4 | sources/ 5 | config.site 6 | x86_64* 7 | i686* 8 | mips* 9 | arm* 10 | -------------------------------------------------------------------------------- /doc/images/komodo-qt-promo-2020-01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/doc/images/komodo-qt-promo-2020-01.jpg -------------------------------------------------------------------------------- /src/qt/res/icons/transaction_abandoned.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/transaction_abandoned.png -------------------------------------------------------------------------------- /zcutil/docker-komodo-cli.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # ToDo: check for docker arg ac_name 4 | 5 | /komodo/src/komodo-cli $1 $2 $3 $4 6 | 7 | -------------------------------------------------------------------------------- /src/gtest/utils.cpp: -------------------------------------------------------------------------------- 1 | int GenZero(int n) 2 | { 3 | return 0; 4 | } 5 | 6 | int GenMax(int n) 7 | { 8 | return n-1; 9 | } 10 | -------------------------------------------------------------------------------- /src/qt/res/icons/transaction_conflicted.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ip-gpu/KomodoOcean/HEAD/src/qt/res/icons/transaction_conflicted.png -------------------------------------------------------------------------------- /src/purge: -------------------------------------------------------------------------------- 1 | rm -rf ~/.komodo/$1/chainstate 2 | rm -rf ~/.komodo/$1/database 3 | rm -rf ~/.komodo/$1/blocks 4 | rm -rf ~/.komodo/$1/komodostate 5 | 6 | -------------------------------------------------------------------------------- /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/cc/dapps/diceloop: -------------------------------------------------------------------------------- 1 | while true 2 | do 3 | ./c dicestatus KMDICE 5be49570c56d036abb08b6d084da93a8a86f58fc48db4a1086be95540d752d6f 4 | 5 | sleep 10 6 | done 7 | -------------------------------------------------------------------------------- /src/cc/makecustom: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | if make -f Makefile_custom "$@"; then 3 | echo CUSTOMCC BUILD SUCCESSFUL 4 | else 5 | echo CUSTOMCC BUILD FAILED 6 | exit 1 7 | fi 8 | -------------------------------------------------------------------------------- /src/tui/requirements.txt: -------------------------------------------------------------------------------- 1 | configobj==5.0.6 2 | pip==21.1 3 | pycurl==7.43.0.2 4 | setuptools==39.0.1 5 | six==1.12.0 6 | slick-bitcoinrpc==0.1.4 7 | ujson==5.2.0 8 | wheel==0.32.3 9 | -------------------------------------------------------------------------------- /src/assetchains_stop: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -eo pipefail 3 | komodo_cli='./komodo-cli' 4 | 5 | ./listassetchains | while read chain; do 6 | $komodo_cli --ac_name=$chain stop 7 | done 8 | -------------------------------------------------------------------------------- /src/secp256k1/TODO: -------------------------------------------------------------------------------- 1 | * Unit tests for fieldelem/groupelem, including ones intended to 2 | trigger fieldelem's boundary cases. 3 | * Complete constant-time operations for signing/keygen 4 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /src/leveldb/.gitignore: -------------------------------------------------------------------------------- 1 | build_config.mk 2 | *.a 3 | *.o 4 | *.dylib* 5 | *.so 6 | *.so.* 7 | *_test 8 | db_bench 9 | leveldbutil 10 | Release 11 | Debug 12 | Benchmark 13 | vs2010.* 14 | -------------------------------------------------------------------------------- /doc/release-notes/release-notes-1.0.7-1.md: -------------------------------------------------------------------------------- 1 | Jay Graber (3): 2 | Add -t to git fetch for release-notes.py 3 | Update version to 1.0.7-1 4 | Update auto-generated manpages to 1.0.7-1 5 | -------------------------------------------------------------------------------- /src/cryptoconditions/.travis.yml: -------------------------------------------------------------------------------- 1 | language: C 2 | sudo: true 3 | compiler: 4 | - clang 5 | - gcc 6 | before_script: ./autogen.sh 7 | addons: 8 | apt: 9 | packages: 10 | - gdb 11 | -------------------------------------------------------------------------------- /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/fiat/verus: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | #set working directory to the location of this script 4 | DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" 5 | cd $DIR 6 | 7 | ../komodo-cli -ac_name=VRSC "$@" 8 | -------------------------------------------------------------------------------- /src/univalue/README: -------------------------------------------------------------------------------- 1 | 2 | UniValue 3 | 4 | A universal value object, with JSON encoding (output) and decoding (input). 5 | 6 | Built as a single dynamic RAII C++ object class, and no templates. 7 | 8 | -------------------------------------------------------------------------------- /src/test/data/txcreatedata_seq0.hex: -------------------------------------------------------------------------------- 1 | 01000000011f5c38dfcf6f1a5f5a87c416076d392c87e6d41970d5ad5e477a02d66bde97580000000000fdffffff0180a81201000000001976a9141fc11f39be1729bf973a7ab6a615ca4729d6457488ac00000000 2 | -------------------------------------------------------------------------------- /src/cryptoconditions/src/include/secp256k1/TODO: -------------------------------------------------------------------------------- 1 | * Unit tests for fieldelem/groupelem, including ones intended to 2 | trigger fieldelem's boundary cases. 3 | * Complete constant-time operations for signing/keygen 4 | -------------------------------------------------------------------------------- /src/komodo_nk.h: -------------------------------------------------------------------------------- 1 | #ifndef KOMODO_NK_H 2 | #define KOMODO_NK_H 3 | 4 | //#define ASSETCHAINS_N 77 5 | //#define ASSETCHAINS_K 3 6 | 7 | #define ASSETCHAINS_N 96 8 | #define ASSETCHAINS_K 5 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /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/leveldb/.travis.yml: -------------------------------------------------------------------------------- 1 | language: cpp 2 | compiler: 3 | - clang 4 | - gcc 5 | os: 6 | - linux 7 | - osx 8 | sudo: false 9 | before_install: 10 | - echo $LANG 11 | - echo $LC_ALL 12 | script: 13 | - make -j 4 check 14 | -------------------------------------------------------------------------------- /share/nsi_win64/readme.txt: -------------------------------------------------------------------------------- 1 | Requirements: 2 | 3 | - Internet client plug-in for files download and upload (http://nsis.sourceforge.net/Inetc_plug-in) 4 | - Place komodo-qt-win.exe in content\komodo-qt-win.exe, before create installer 5 | 6 | -------------------------------------------------------------------------------- /src/gtest/test_tautology.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | TEST(tautologies, seven_eq_seven) { 4 | ASSERT_EQ(7, 7); 5 | } 6 | 7 | TEST(tautologies, DISABLED_ObviousFailure) 8 | { 9 | FAIL() << "This is expected"; 10 | } 11 | -------------------------------------------------------------------------------- /src/fiat/verus.bat: -------------------------------------------------------------------------------- 1 | @call :GET_CURRENT_DIR 2 | @cd %THIS_DIR% 3 | komodo-cli.exe -ac_name=VRSC %1 %2 %3 %4 %5 %6 %7 %8 %9 4 | @goto :EOF 5 | 6 | :GET_CURRENT_DIR 7 | @pushd %~dp0 8 | @set THIS_DIR=%CD% 9 | @popd 10 | @goto :EOF 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/cc/README.md: -------------------------------------------------------------------------------- 1 | ## CCLIB 2 | Please follow the below instructions to build the cryptoconditions library into the Komodo source directory `komodo/src` - supported operating systems are Linux, OSX and Windows (mingw crossbuild): 3 | 4 | ``` 5 | make clean 6 | make 7 | ``` 8 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 --warnings=all 10 | -------------------------------------------------------------------------------- /src/cc/dapps/sendmany: -------------------------------------------------------------------------------- 1 | export addr="RXgCPfi6wccRr3Eai3X9duTTkAirhcQLNo" 2 | ./komodo-cli -ac_name=KMDICE sendmany "" "{\"$addr\":0.023,\"$addr\":0.023,\"$addr\":0.023,\"$addr\":0.023,\"$addr\":0.023,\"$addr\":0.023,\"$addr\":0.023,\"$addr\":0.023,\"$addr\":0.023,\"$addr\":0.023}" 3 | 4 | -------------------------------------------------------------------------------- /src/cc/rogue/rogue.desktop: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Encoding=UTF-8 3 | Name=Rogue 4 | GenericName=Rogue 5 | Comment=The original curses-based adventure game 6 | Exec=rogue 7 | Icon=rogue.png 8 | Terminal=true 9 | Type=Application 10 | Categories=Game;RolePlaying; 11 | Version=1.0 12 | -------------------------------------------------------------------------------- /src/test/data/txcreatedata_seq1.hex: -------------------------------------------------------------------------------- 1 | 01000000021f5c38dfcf6f1a5f5a87c416076d392c87e6d41970d5ad5e477a02d66bde97580000000000fdffffff1f5c38dfcf6f1a5f5a87c416076d392c87e6d41970d5ad5e477a02d66bde97580000000000010000000180a81201000000001976a9141fc11f39be1729bf973a7ab6a615ca4729d6457488ac00000000 2 | -------------------------------------------------------------------------------- /src/listassetchains: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python2 2 | import os 3 | import json 4 | 5 | script_dir = os.path.dirname(__file__) 6 | with open(script_dir + '/assetchains.json') as file: 7 | assetchains = json.load(file) 8 | 9 | for chain in assetchains: 10 | print(chain['ac_name']) 11 | -------------------------------------------------------------------------------- /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/snark/libsnark/common/assert_except.hpp: -------------------------------------------------------------------------------- 1 | #ifndef ASSERT_except_H 2 | #define ASSERT_except_H 3 | 4 | #include 5 | 6 | inline void assert_except(bool condition) { 7 | if (!condition) { 8 | throw std::runtime_error("Assertion failed."); 9 | } 10 | } 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /src/univalue/test/round1.json: -------------------------------------------------------------------------------- 1 | ["\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\u007f"] 2 | -------------------------------------------------------------------------------- /src/cc/makegames: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | gcc -O3 -DBUILD_GAMESCC -std=c++11 -I../secp256k1/include -I../univalue/include -I../cryptoconditions/include -I../cryptoconditions/src -I../cryptoconditions/src/asn -I.. -I. -fPIC -shared -c -o gamescc.so cclib.cpp 3 | cp gamescc.so ../libcc.so 4 | cd .. 5 | make 6 | cd cc 7 | 8 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /src/snark/libsnark/gtests.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "common/profiling.hpp" 4 | 5 | int main(int argc, char **argv) { 6 | libsnark::inhibit_profiling_info = true; 7 | libsnark::inhibit_profiling_counters = true; 8 | 9 | testing::InitGoogleTest(&argc, argv); 10 | return RUN_ALL_TESTS(); 11 | } 12 | 13 | -------------------------------------------------------------------------------- /src/gtest/json_test_vectors.cpp: -------------------------------------------------------------------------------- 1 | #include "json_test_vectors.h" 2 | 3 | UniValue 4 | read_json(const std::string& jsondata) 5 | { 6 | UniValue v; 7 | 8 | if (!(v.read(jsondata) && v.isArray())) 9 | { 10 | ADD_FAILURE(); 11 | return UniValue(UniValue::VARR); 12 | } 13 | return v.get_array(); 14 | } 15 | -------------------------------------------------------------------------------- /libzcashconsensus.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: Zcash consensus library 7 | Description: Library for the Zcash consensus protocol. 8 | Version: @PACKAGE_VERSION@ 9 | Libs: -L${libdir} -lzcashconsensus 10 | Cflags: -I${includedir} 11 | Requires.private: libcrypto 12 | -------------------------------------------------------------------------------- /src/fs.cpp: -------------------------------------------------------------------------------- 1 | #include "fs.h" 2 | 3 | namespace fsbridge { 4 | 5 | FILE *fopen(const fs::path& p, const char *mode) 6 | { 7 | return ::fopen(p.string().c_str(), mode); 8 | } 9 | 10 | FILE *freopen(const fs::path& p, const char *mode, FILE *stream) 11 | { 12 | return ::freopen(p.string().c_str(), mode, stream); 13 | } 14 | 15 | } // fsbridge 16 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /share/nsi_win64/content/komodo.conf: -------------------------------------------------------------------------------- 1 | txindex=1 2 | addnode=5.9.102.210 3 | addnode=78.47.196.146 4 | addnode=178.63.69.164 5 | addnode=88.198.65.74 6 | addnode=5.9.122.241 7 | addnode=144.76.94.38 8 | addnode=89.248.166.91 9 | onlynet=ipv4 10 | rpcuser=komodo 11 | rpcpassword=local321 12 | rpcallowip=127.0.0.1 13 | rpcbind=127.0.0.1 14 | server=1 15 | -------------------------------------------------------------------------------- /src/cryptoconditions/src/include/ed25519/src/sc.h: -------------------------------------------------------------------------------- 1 | #ifndef SC_H 2 | #define SC_H 3 | 4 | /* 5 | The set of scalars is \Z/l 6 | where l = 2^252 + 27742317777372353535851937790883648493. 7 | */ 8 | 9 | void sc_reduce(unsigned char *s); 10 | void sc_muladd(unsigned char *s, const unsigned char *a, const unsigned char *b, const unsigned char *c); 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /src/secp256k1/src/modules/ecdh/Makefile.am.include: -------------------------------------------------------------------------------- 1 | include_HEADERS += include/secp256k1_ecdh.h 2 | noinst_HEADERS += src/modules/ecdh/main_impl.h 3 | noinst_HEADERS += src/modules/ecdh/tests_impl.h 4 | if USE_BENCHMARK 5 | noinst_PROGRAMS += bench_ecdh 6 | bench_ecdh_SOURCES = src/bench_ecdh.c 7 | bench_ecdh_LDADD = libsecp256k1.la $(SECP_LIBS) $(COMMON_LIB) 8 | endif 9 | -------------------------------------------------------------------------------- /src/test/data/README.md: -------------------------------------------------------------------------------- 1 | Description 2 | ------------ 3 | 4 | This directory contains data-driven tests for various aspects of Bitcoin. 5 | 6 | License 7 | -------- 8 | 9 | The data files in this directory are distributed under the MIT software 10 | license, see the accompanying file COPYING or 11 | http://www.opensource.org/licenses/mit-license.php. 12 | 13 | -------------------------------------------------------------------------------- /src/zcash/util.h: -------------------------------------------------------------------------------- 1 | #ifndef ZC_UTIL_H_ 2 | #define ZC_UTIL_H_ 3 | 4 | #include 5 | #include 6 | 7 | std::vector convertIntToVectorLE(const uint64_t val_int); 8 | std::vector convertBytesVectorToVector(const std::vector& bytes); 9 | uint64_t convertVectorToInt(const std::vector& v); 10 | 11 | #endif // ZC_UTIL_H_ 12 | -------------------------------------------------------------------------------- /src/gtest/test_block.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include "primitives/block.h" 4 | 5 | 6 | TEST(block_tests, header_size_is_expected) { 7 | // Dummy header with an empty Equihash solution. 8 | CBlockHeader header; 9 | CDataStream ss(SER_NETWORK, PROTOCOL_VERSION); 10 | ss << header; 11 | 12 | ASSERT_EQ(ss.size(), CBlockHeader::HEADER_SIZE); 13 | } 14 | -------------------------------------------------------------------------------- /src/cryptoconditions/src/include/secp256k1/src/modules/ecdh/Makefile.am.include: -------------------------------------------------------------------------------- 1 | include_HEADERS += include/secp256k1_ecdh.h 2 | noinst_HEADERS += src/modules/ecdh/main_impl.h 3 | noinst_HEADERS += src/modules/ecdh/tests_impl.h 4 | if USE_BENCHMARK 5 | noinst_PROGRAMS += bench_ecdh 6 | bench_ecdh_SOURCES = src/bench_ecdh.c 7 | bench_ecdh_LDADD = libsecp256k1.la $(SECP_LIBS) $(COMMON_LIB) 8 | endif 9 | -------------------------------------------------------------------------------- /src/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 | if USE_BENCHMARK 5 | noinst_PROGRAMS += bench_recover 6 | bench_recover_SOURCES = src/bench_recover.c 7 | bench_recover_LDADD = libsecp256k1.la $(SECP_LIBS) $(COMMON_LIB) 8 | endif 9 | -------------------------------------------------------------------------------- /src/cryptoconditions/.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | .cache 3 | /Makefile 4 | /Makefile.in 5 | /aclocal.m4 6 | /autom4te.cache/ 7 | /src/cryptoconditions-config.h 8 | /configure 9 | /depcomp 10 | /install-sh 11 | /libtool 12 | /ltmain.sh 13 | /m4/ 14 | /missing 15 | /stamp-h? 16 | .deps/ 17 | .dirstamp 18 | .libs/ 19 | *.l[ao] 20 | *.[ao] 21 | *~ 22 | converter-sample.c 23 | config.* 24 | .pytest_cache 25 | -------------------------------------------------------------------------------- /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/compat/sanity.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2009-2014 The Bitcoin Core developers 2 | // Distributed under the MIT software license, see the accompanying 3 | // file COPYING or http://www.opensource.org/licenses/mit-license.php. 4 | 5 | #ifndef BITCOIN_COMPAT_SANITY_H 6 | #define BITCOIN_COMPAT_SANITY_H 7 | 8 | bool glibc_sanity_test(); 9 | bool glibcxx_sanity_test(); 10 | 11 | #endif // BITCOIN_COMPAT_SANITY_H 12 | -------------------------------------------------------------------------------- /src/secp256k1/libsecp256k1.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: libsecp256k1 7 | Description: Optimized C library for EC operations on curve secp256k1 8 | URL: https://github.com/bitcoin-core/secp256k1 9 | Version: @PACKAGE_VERSION@ 10 | Cflags: -I${includedir} 11 | Libs.private: @SECP_LIBS@ 12 | Libs: -L${libdir} -lsecp256k1 13 | 14 | -------------------------------------------------------------------------------- /src/cryptoconditions/src/include/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 | if USE_BENCHMARK 5 | noinst_PROGRAMS += bench_recover 6 | bench_recover_SOURCES = src/bench_recover.c 7 | bench_recover_LDADD = libsecp256k1.la $(SECP_LIBS) $(COMMON_LIB) 8 | endif 9 | -------------------------------------------------------------------------------- /doc/bitcoin-release-notes/release-notes-0.3.14.md: -------------------------------------------------------------------------------- 1 | Version 0.3.14 is now available 2 | http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.3.14/ 3 | 4 | Changes: 5 | * Key pool feature for safer wallet backup 6 | Gavin Andresen: 7 | * TEST network mode with switch -testnet 8 | * Option to use SSL for JSON-RPC connections on unix/osx 9 | * validateaddress RPC command 10 | eurekafag: 11 | * Russian translation 12 | -------------------------------------------------------------------------------- /src/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 | if USE_BENCHMARK 5 | noinst_PROGRAMS += bench_schnorrsig 6 | bench_schnorrsig_SOURCES = src/bench_schnorrsig.c 7 | bench_schnorrsig_LDADD = libsecp256k1.la $(SECP_LIBS) $(COMMON_LIB) 8 | endif 9 | 10 | -------------------------------------------------------------------------------- /src/test/data/txcreate1.hex: -------------------------------------------------------------------------------- 1 | 01000000031f5c38dfcf6f1a5f5a87c416076d392c87e6d41970d5ad5e477a02d66bde97580000000000ffffffff7cca453133921c50d5025878f7f738d1df891fd359763331935784cf6b9c82bf1200000000fffffffffccd319e04a996c96cfc0bf4c07539aa90bd0b1a700ef72fae535d6504f9a6220100000000ffffffff0280a81201000000001976a9141fc11f39be1729bf973a7ab6a615ca4729d6457488ac0084d717000000001976a914f2d4db28cad6502226ee484ae24505c2885cb12d88ac00000000 2 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /src/test/bitcoin-util-test.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # Copyright 2014 BitPay, Inc. 3 | # Distributed under the MIT software license, see the accompanying 4 | # file COPYING or http://www.opensource.org/licenses/mit-license.php. 5 | 6 | import os 7 | import bctest 8 | import buildenv 9 | 10 | if __name__ == '__main__': 11 | bctest.bctester(os.environ["srcdir"] + "/test/data", 12 | "bitcoin-util-test.json",buildenv) 13 | 14 | -------------------------------------------------------------------------------- /depends/hosts/mingw32.mk: -------------------------------------------------------------------------------- 1 | mingw32_CC=x86_64-w64-mingw32-gcc-posix 2 | mingw32_CXX=x86_64-w64-mingw32-g++-posix 3 | mingw32_CFLAGS=-pipe 4 | mingw32_CXXFLAGS=$(mingw32_CFLAGS) -std=c++11 5 | 6 | mingw32_release_CFLAGS=-O2 7 | mingw32_release_CXXFLAGS=$(mingw32_release_CFLAGS) 8 | 9 | mingw32_debug_CFLAGS=-O1 10 | mingw32_debug_CXXFLAGS=$(mingw32_debug_CFLAGS) 11 | 12 | mingw32_debug_CPPFLAGS=-D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC 13 | -------------------------------------------------------------------------------- /doc/bitcoin-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/cryptoconditions/src/include/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.private: @SECP_LIBS@ 12 | Libs: -L${libdir} -lsecp256k1 13 | 14 | -------------------------------------------------------------------------------- /src/support/cleanse.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2009-2010 Satoshi Nakamoto 2 | // Copyright (c) 2009-2015 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 | #include "cleanse.h" 7 | 8 | #include 9 | 10 | void memory_cleanse(void *ptr, size_t len) 11 | { 12 | OPENSSL_cleanse(ptr, len); 13 | } 14 | -------------------------------------------------------------------------------- /depends/patches/boost/include_poll.patch: -------------------------------------------------------------------------------- 1 | --- boost_1_62_0-orig/boost/asio/detail/socket_types.hpp 2016-09-21 15:33:21.000000000 +0100 2 | +++ boost_1_62_0/boost/asio/detail/socket_types.hpp 2016-10-18 03:08:41.712254217 +0100 3 | @@ -58,7 +58,7 @@ 4 | #else 5 | # include 6 | # if !defined(__SYMBIAN32__) 7 | -# include 8 | +# include 9 | # endif 10 | # include 11 | # include 12 | -------------------------------------------------------------------------------- /src/univalue/.gitignore: -------------------------------------------------------------------------------- 1 | .deps/ 2 | INSTALL 3 | Makefile 4 | Makefile.in 5 | aclocal.m4 6 | autom4te.cache/ 7 | compile 8 | config.log 9 | config.status 10 | config.guess 11 | config.sub 12 | configure 13 | depcomp 14 | install-sh 15 | missing 16 | stamp-h1 17 | univalue-config.h* 18 | test-driver 19 | libtool 20 | ltmain.sh 21 | test-suite.log 22 | 23 | *.a 24 | *.la 25 | *.lo 26 | *.logs 27 | *.o 28 | *.pc 29 | *.trs 30 | 31 | .dirstamp 32 | .libs 33 | -------------------------------------------------------------------------------- /src/leveldb/port/README: -------------------------------------------------------------------------------- 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_posix.h for an example of what must be provided in a platform 9 | specific header file. 10 | 11 | -------------------------------------------------------------------------------- /src/test/data/txcreatesign.hex: -------------------------------------------------------------------------------- 1 | 01000000018594c5bdcaec8f06b78b596f31cd292a294fd031e24eec716f43dac91ea7494d000000008b48304502210096a75056c9e2cc62b7214777b3d2a592cfda7092520126d4ebfcd6d590c99bd8022051bb746359cf98c0603f3004477eac68701132380db8facba19c89dc5ab5c5e201410479be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8ffffffff01a0860100000000001976a9145834479edbbe0539b31ffd3a8f8ebadc2165ed0188ac00000000 2 | -------------------------------------------------------------------------------- /src/support/cleanse.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2009-2010 Satoshi Nakamoto 2 | // Copyright (c) 2009-2015 The Bitcoin Core developers 3 | // Distributed under the MIT software license, see the accompanying 4 | // file COPYING or http://www.opensource.org/licenses/mit-license.php. 5 | 6 | #ifndef BITCOIN_SUPPORT_CLEANSE_H 7 | #define BITCOIN_SUPPORT_CLEANSE_H 8 | 9 | #include 10 | 11 | void memory_cleanse(void *ptr, size_t len); 12 | 13 | #endif // BITCOIN_SUPPORT_CLEANSE_H 14 | -------------------------------------------------------------------------------- /src/qt/res/movies/makespinner.sh: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2014-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 | FRAMEDIR=$(dirname $0) 6 | for i in {0..35} 7 | do 8 | frame=$(printf "%03d" $i) 9 | angle=$(($i * 10)) 10 | convert $FRAMEDIR/../src/spinner.png -background "rgba(0,0,0,0.0)" -distort SRT $angle $FRAMEDIR/spinner-$frame.png 11 | done 12 | -------------------------------------------------------------------------------- /src/cryptoconditions/tests/vectors/0000_test-minimal-preimage.json: -------------------------------------------------------------------------------- 1 | { 2 | "json": { 3 | "type": "preimage-sha-256", 4 | "preimage": "" 5 | }, 6 | "cost": 0, 7 | "subtypes": [], 8 | "fingerprintContents": "", 9 | "fulfillment": "A0028000", 10 | "conditionBinary": "A0258020E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855810100", 11 | "conditionUri": "ni:///sha-256;47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU?fpt=preimage-sha-256&cost=0", 12 | "message": "" 13 | } -------------------------------------------------------------------------------- /src/cryptoconditions/src/include/ed25519/src/keypair.c: -------------------------------------------------------------------------------- 1 | #include "ed25519.h" 2 | #include "sha512.h" 3 | #include "ge.h" 4 | 5 | 6 | void ed25519_create_keypair(unsigned char *public_key, unsigned char *private_key, const unsigned char *seed) { 7 | ge_p3 A; 8 | 9 | sha512(seed, 32, private_key); 10 | private_key[0] &= 248; 11 | private_key[31] &= 63; 12 | private_key[31] |= 64; 13 | 14 | ge_scalarmult_base(&A, private_key); 15 | ge_p3_tobytes(public_key, &A); 16 | } 17 | -------------------------------------------------------------------------------- /src/snark/AUTHORS: -------------------------------------------------------------------------------- 1 | SCIPR Lab: 2 | Eli Ben-Sasson 3 | Alessandro Chiesa 4 | Daniel Genkin 5 | Shaul Kfir 6 | Eran Tromer 7 | Madars Virza 8 | 9 | External contributors: 10 | Michael Backes 11 | Manuel Barbosa 12 | Dario Fiore 13 | Jens Groth 14 | Joshua A. Kroll 15 | Shigeo MITSUNARI 16 | Raphael Reischuk 17 | Tadanori TERUYA 18 | Sean Bowe 19 | Daira Hopwood 20 | @mugatu on forum.z.cash 21 | David Mercer 22 | Joshua Yabut 23 | -------------------------------------------------------------------------------- /.vscode.template/c_cpp_properties.json: -------------------------------------------------------------------------------- 1 | { 2 | "configurations": [ 3 | { 4 | "name": "Linux", 5 | "includePath": [ 6 | "${workspaceFolder}/**" 7 | ], 8 | "defines": ["ENABLE_MINING","ENABLE_WALLET","USE_ASM"], 9 | "compilerPath": "/usr/bin/g++", 10 | "cStandard": "c11", 11 | "cppStandard": "c++11", 12 | "intelliSenseMode": "gcc-x64" 13 | } 14 | ], 15 | "version": 4 16 | } -------------------------------------------------------------------------------- /src/cryptoconditions/tests/vectors/0005_test-basic-preimage.json: -------------------------------------------------------------------------------- 1 | { 2 | "json": { 3 | "type": "preimage-sha-256", 4 | "preimage": "YWFh" 5 | }, 6 | "cost": 3, 7 | "subtypes": [], 8 | "fingerprintContents": "616161", 9 | "fulfillment": "A0058003616161", 10 | "conditionBinary": "A02580209834876DCFB05CB167A5C24953EBA58C4AC89B1ADF57F28F2F9D09AF107EE8F0810103", 11 | "conditionUri": "ni:///sha-256;mDSHbc-wXLFnpcJJU-uljErImxrfV_KPL50JrxB-6PA?fpt=preimage-sha-256&cost=3", 12 | "message": "" 13 | } -------------------------------------------------------------------------------- /src/secp256k1/src/java/org_bitcoin_Secp256k1Context.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include "org_bitcoin_Secp256k1Context.h" 4 | #include "include/secp256k1.h" 5 | 6 | SECP256K1_API jlong JNICALL Java_org_bitcoin_Secp256k1Context_secp256k1_1init_1context 7 | (JNIEnv* env, jclass classObject) 8 | { 9 | secp256k1_context *ctx = secp256k1_context_create(SECP256K1_CONTEXT_SIGN | SECP256K1_CONTEXT_VERIFY); 10 | 11 | (void)classObject;(void)env; 12 | 13 | return (uintptr_t)ctx; 14 | } 15 | 16 | -------------------------------------------------------------------------------- /src/veruslaunch.h: -------------------------------------------------------------------------------- 1 | 2 | // Copyright (c) 2018 The Verus developers 3 | // Distributed under the MIT software license, see the accompanying 4 | // file COPYING or http://www.opensource.org/licenses/mit-license.php. 5 | 6 | #ifndef VERUS_LAUNCH_H 7 | #define VERUS_LAUNCH_H 8 | 9 | #include 10 | 11 | #define WHITELIST_COUNT 704 12 | 13 | extern const char *whitelist_ids[WHITELIST_COUNT]; 14 | extern const char *whitelist_address; 15 | extern uint64_t whitelist_masks[WHITELIST_COUNT]; 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /src/cc/maketetris: -------------------------------------------------------------------------------- 1 | echo gamescc.so with tetris 2 | gcc -O3 -DBUILD_GAMESCC -std=c++11 -I../secp256k1/include -I../univalue/include -I../cryptoconditions/include -I../cryptoconditions/src -I../cryptoconditions/src/asn -I.. -I. -fPIC -shared -c -o gamescc.so cclib.cpp 3 | echo tetris dapp 4 | cd games 5 | gcc -O3 -std=c++11 -I../secp256k1/include -I../univalue/include -I../cryptoconditions/include -I../cryptoconditions/src -I../cryptoconditions/src/asn -I.. -I. -DSTANDALONE ../gamescc.cpp -lncurses -lcurl -o tetris 6 | cd .. 7 | 8 | -------------------------------------------------------------------------------- /src/cryptoconditions/tests/vectors/1000_test-minimal-eval.json: -------------------------------------------------------------------------------- 1 | { 2 | "json": { 3 | "type": "eval-sha-256", 4 | "code": "VEVTVAE" 5 | }, 6 | "cost": 131072, 7 | "subtypes": [], 8 | "fingerprintContents": "", 9 | "fulfillment": "AF0780055445535401", 10 | "conditionBinary": "AF278020FD9DA5ADD8CF3164C4F46EF3B8B4925001F414718A13CEDEDD27A27CA93D5A238103100000", 11 | "conditionUri": "ni:///sha-256;_Z2lrdjPMWTE9G7zuLSSUAH0FHGKE87e3SeifKk9WiM?fpt=eval-sha-256&cost=1048576", 12 | "message": "" 13 | } 14 | -------------------------------------------------------------------------------- /qa/pull-tester/run-komodo-cli: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # This is a thin wrapper around bitcoin-cli that strips the Windows-style EOLs 4 | # from the output if present. It is necessary when using bitcoin-cli.exe on 5 | # Linux since shells will interpret the line-endings as part of the result. 6 | 7 | CURDIR=$(cd $(dirname "$0"); pwd) 8 | # Get BUILDDIR and REAL_BITCOIND 9 | 10 | # Grab the value of $REAL_BITCOINCLI which may be bitcoin-cli.exe. 11 | . "${CURDIR}/tests-config.sh" 12 | 13 | "${REAL_BITCOINCLI}" "$@" | sed 's/\r//' 14 | -------------------------------------------------------------------------------- /src/test/data/base58_encode_decode.json: -------------------------------------------------------------------------------- 1 | [ 2 | ["", ""], 3 | ["61", "2g"], 4 | ["626262", "a3gV"], 5 | ["636363", "aPEr"], 6 | ["73696d706c792061206c6f6e6720737472696e67", "2cFupjhnEsSn59qHXstmK2ffpLv2"], 7 | ["00eb15231dfceb60925886b67d065299925915aeb172c06647", "1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L"], 8 | ["516b6fcd0f", "ABnLTmg"], 9 | ["bf4f89001e670274dd", "3SEo3LWLoPntC"], 10 | ["572e4794", "3EFU7m"], 11 | ["ecac89cad93923c02321", "EJDM8drfXA6uyA"], 12 | ["10c8511e", "Rt5zm"], 13 | ["00000000000000000000", "1111111111"] 14 | ] 15 | -------------------------------------------------------------------------------- /src/cc/makeprices: -------------------------------------------------------------------------------- 1 | echo pricescc.so 2 | gcc -O3 -DBUILD_GAMESCC -DBUILD_PRICES -std=c++11 -I../secp256k1/include -I../univalue/include -I../cryptoconditions/include -I../cryptoconditions/src -I../cryptoconditions/src/asn -I.. -I. -fPIC -shared -c -o pricescc.so cclib.cpp 3 | echo prices 4 | cd games 5 | gcc -O3 -std=c++11 -I../secp256k1/include -I../univalue/include -I../cryptoconditions/include -I../cryptoconditions/src -I../cryptoconditions/src/asn -I.. -I. -DSTANDALONE -DBUILD_PRICES ../gamescc.cpp -lncurses -lcurl -o prices 6 | cd .. 7 | 8 | 9 | -------------------------------------------------------------------------------- /src/cryptoconditions/src/include/secp256k1/src/java/org_bitcoin_Secp256k1Context.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include "org_bitcoin_Secp256k1Context.h" 4 | #include "include/secp256k1.h" 5 | 6 | SECP256K1_API jlong JNICALL Java_org_bitcoin_Secp256k1Context_secp256k1_1init_1context 7 | (JNIEnv* env, jclass classObject) 8 | { 9 | secp256k1_context *ctx = secp256k1_context_create(SECP256K1_CONTEXT_SIGN | SECP256K1_CONTEXT_VERIFY); 10 | 11 | (void)classObject;(void)env; 12 | 13 | return (uintptr_t)ctx; 14 | } 15 | 16 | -------------------------------------------------------------------------------- /src/util/asmap.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2019 The Bitcoin Core developers 2 | // Distributed under the MIT software license, see the accompanying 3 | // file COPYING or http://www.opensource.org/licenses/mit-license.php. 4 | 5 | #ifndef BITCOIN_UTIL_ASMAP_H 6 | #define BITCOIN_UTIL_ASMAP_H 7 | 8 | #include 9 | #include 10 | 11 | uint32_t Interpret(const std::vector &asmap, const std::vector &ip); 12 | 13 | bool SanityCheckASMap(const std::vector& asmap, int bits); 14 | 15 | #endif // BITCOIN_UTIL_ASMAP_H 16 | -------------------------------------------------------------------------------- /zcutil/build-mac.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # seems clang on native darwin doesn't support -fopenmp compiler flag (MULTICORE=1 for libsnark) 4 | sed -i.old -e 's|\(CURVE=ALT_BN128[ \t]*MULTICORE=\)\([0-9]\{1,\}\)|\10|' ./depends/packages/libsnark.mk 5 | make -C ${PWD}/depends v=1 NO_PROTON=1 HOST=x86_64-apple-darwin18 -j$(nproc --all) 6 | ./autogen.sh 7 | CXXFLAGS="-g0 -O2" \ 8 | CONFIG_SITE="$PWD/depends/x86_64-apple-darwin18/share/config.site" ./configure --disable-tests --disable-bench --with-gui=qt5 --disable-bip70 9 | make V=1 -j$(nproc --all) 10 | -------------------------------------------------------------------------------- /zcutil/build-win.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | HOST=x86_64-w64-mingw32 4 | CXX=x86_64-w64-mingw32-g++-posix 5 | CC=x86_64-w64-mingw32-gcc-posix 6 | PREFIX="$(pwd)/depends/$HOST" 7 | 8 | set -eu -o pipefail 9 | 10 | set -x 11 | cd "$(dirname "$(readlink -f "$0")")/.." 12 | 13 | make "$@" -C ${PWD}/depends V=1 HOST=x86_64-w64-mingw32 14 | ./autogen.sh 15 | CONFIG_SITE="$PWD/depends/x86_64-w64-mingw32/share/config.site" CXXFLAGS="-DCURL_STATICLIB -g0 -O2" ./configure --disable-tests --disable-bench --with-gui=qt5 --disable-bip70 16 | make "$@" V=1 17 | -------------------------------------------------------------------------------- /doc/release-notes/release-notes-1.0.0-rc4.md: -------------------------------------------------------------------------------- 1 | Daira Hopwood (3): 2 | Update pchMessageStart for mainnet and testnet. 3 | Update version numbers for 1.0.0-rc4. 4 | Add release notes for 1.0.0-rc4. 5 | 6 | Jack Grigg (4): 7 | Integrate production Founders' Reward keys 8 | Remove Founders' Reward override from #1398 9 | Regenerate mainnet and testnet genesis blocks for nMaxTipAge change 10 | Update tests for new genesis blocks 11 | 12 | Sean Bowe (1): 13 | Zcash zk-SNARK public parameters for 1.0 "Sprout". 14 | 15 | -------------------------------------------------------------------------------- /src/assetchains: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -eo pipefail 3 | 4 | # You can now add delay line to pubkey.txt file 5 | source pubkey.txt 6 | overide_args="$@" 7 | seed_ip=`getent hosts zero.komodoseeds.com | awk '{ print $1 }'` 8 | komodo_binary='./qt/komodo-qt' 9 | 10 | if [ -z "$delay" ]; then delay=20; fi 11 | 12 | ./listassetchainparams | while read args; do 13 | gen="" 14 | if [ $[RANDOM % 10] == 1 ]; then 15 | gen=" -gen -genproclimit=1" 16 | fi 17 | 18 | $komodo_binary $gen $args $overide_args -pubkey=$pubkey -addnode=$seed_ip & 19 | sleep $delay 20 | done 21 | -------------------------------------------------------------------------------- /doc/bitcoin-release-notes/release-notes-0.3.18.md: -------------------------------------------------------------------------------- 1 | Changes: 2 | * Fixed a wallet.dat compatibility problem if you downgraded from 0.3.17 and then upgraded again 3 | * IsStandard() check to only include known transaction types in blocks 4 | * Jgarzik's optimisation to speed up the initial block download a little 5 | 6 | The main addition in this release is the Accounts-Based JSON-RPC commands that Gavin's been working on (more details at http://www.bitcoin.org/smf/index.php?topic=1886.0). 7 | * getaccountaddress 8 | * sendfrom 9 | * move 10 | * getbalance 11 | * listtransactions 12 | -------------------------------------------------------------------------------- /doc/release-notes/release-notes-1.0.2.md: -------------------------------------------------------------------------------- 1 | ITH4Coinomia (2): 2 | Update security-warnings.md 3 | Update init.cpp 4 | 5 | S. Matthew English (1): 6 | enforcing consistency 'tor' to 'Tor' 7 | 8 | Sean Bowe (1): 9 | Write R1CS output to file in GenerateParams. 10 | 11 | Simon (4): 12 | Fixes #1762 segfault when miner is interrupted. 13 | Fixes #1779 so that sending to multiple zaddrs no longer fails. 14 | Add GenIdentity, an identity function for MappedShuffle. 15 | Add transaction size and zaddr output limit checks to z_sendmany. 16 | 17 | -------------------------------------------------------------------------------- /doc/bitcoin-release-notes/release-notes-0.3.17.md: -------------------------------------------------------------------------------- 1 | Version 0.3.17 is now available. 2 | 3 | Changes: 4 | * new getwork, thanks m0mchil 5 | * added transaction fee setting in UI options menu 6 | * free transaction limits 7 | * sendtoaddress returns transaction id instead of "sent" 8 | * getaccountaddress 9 | 10 | The UI transaction fee setting was easy since it was still there from 0.1.5 and all I had to do was re-enable it. 11 | 12 | The accounts-based commands: move, sendfrom and getbalance will be in the next release. We still have some more changes to make first. 13 | -------------------------------------------------------------------------------- /src/leveldb/NEWS: -------------------------------------------------------------------------------- 1 | Release 1.2 2011-05-16 2 | ---------------------- 3 | 4 | Fixes for larger databases (tested up to one billion 100-byte entries, 5 | i.e., ~100GB). 6 | 7 | (1) Place hard limit on number of level-0 files. This fixes errors 8 | of the form "too many open files". 9 | 10 | (2) Fixed memtable management. Before the fix, a heavy write burst 11 | could cause unbounded memory usage. 12 | 13 | A fix for a logging bug where the reader would incorrectly complain 14 | about corruption. 15 | 16 | Allow public access to WriteBatch contents so that users can easily 17 | wrap a DB. 18 | -------------------------------------------------------------------------------- /src/leveldb/TODO: -------------------------------------------------------------------------------- 1 | ss 2 | - Stats 3 | 4 | db 5 | - Maybe implement DB::BulkDeleteForRange(start_key, end_key) 6 | that would blow away files whose ranges are entirely contained 7 | within [start_key..end_key]? For Chrome, deletion of obsolete 8 | object stores, etc. can be done in the background anyway, so 9 | probably not that important. 10 | - There have been requests for MultiGet. 11 | 12 | After a range is completely deleted, what gets rid of the 13 | corresponding files if we do no future changes to that range. Make 14 | the conditions for triggering compactions fire in more situations? 15 | -------------------------------------------------------------------------------- /src/amqp/amqpabstractnotifier.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2017 The Zcash 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 "amqpabstractnotifier.h" 6 | #include "util.h" 7 | 8 | 9 | AMQPAbstractNotifier::~AMQPAbstractNotifier() 10 | { 11 | } 12 | 13 | bool AMQPAbstractNotifier::NotifyBlock(const CBlockIndex * /*CBlockIndex*/) 14 | { 15 | return true; 16 | } 17 | 18 | bool AMQPAbstractNotifier::NotifyTransaction(const CTransaction &/*transaction*/) 19 | { 20 | return true; 21 | } 22 | -------------------------------------------------------------------------------- /src/compat/strnlen.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2009-2014 The Bitcoin Core developers 2 | // Distributed under the MIT software license, see the accompanying 3 | // file COPYING or http://www.opensource.org/licenses/mit-license.php. 4 | 5 | #if defined(HAVE_CONFIG_H) 6 | #include "config/bitcoin-config.h" 7 | #endif 8 | 9 | #include 10 | 11 | #if HAVE_DECL_STRNLEN == 0 12 | size_t strnlen( const char *start, size_t max_len) 13 | { 14 | const char *end = (const char *)memchr(start, '\0', max_len); 15 | 16 | return end ? (size_t)(end - start) : max_len; 17 | } 18 | #endif // HAVE_DECL_STRNLEN 19 | -------------------------------------------------------------------------------- /depends/packages/crate_aes.mk: -------------------------------------------------------------------------------- 1 | package=crate_aes 2 | $(package)_crate_name=aes 3 | $(package)_version=0.2.0 4 | $(package)_download_path=https://static.crates.io/crates/$($(package)_crate_name) 5 | $(package)_file_name=$($(package)_crate_name)-$($(package)_version).crate 6 | $(package)_sha256_hash=e6fb1737cdc8da3db76e90ca817a194249a38fcb500c2e6ecec39b29448aa873 7 | $(package)_crate_versioned_name=$($(package)_crate_name) 8 | 9 | define $(package)_preprocess_cmds 10 | $(call generate_crate_checksum,$(package)) 11 | endef 12 | 13 | define $(package)_stage_cmds 14 | $(call vendor_crate_source,$(package)) 15 | endef 16 | -------------------------------------------------------------------------------- /depends/packages/crate_fpe.mk: -------------------------------------------------------------------------------- 1 | package=crate_fpe 2 | $(package)_crate_name=fpe 3 | $(package)_version=0.1.0 4 | $(package)_download_path=https://static.crates.io/crates/$($(package)_crate_name) 5 | $(package)_file_name=$($(package)_crate_name)-$($(package)_version).crate 6 | $(package)_sha256_hash=ce3371c82bfbd984f624cab093f55e7336f5a6e589f8518e1258f54f011b89ad 7 | $(package)_crate_versioned_name=$($(package)_crate_name) 8 | 9 | define $(package)_preprocess_cmds 10 | $(call generate_crate_checksum,$(package)) 11 | endef 12 | 13 | define $(package)_stage_cmds 14 | $(call vendor_crate_source,$(package)) 15 | endef 16 | -------------------------------------------------------------------------------- /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/tests_impl.h 4 | 5 | noinst_PROGRAMS += example_musig 6 | example_musig_SOURCES = src/modules/musig/example.c 7 | example_musig_CPPFLAGS = -DSECP256K1_BUILD -I$(top_srcdir)/include $(SECP_INCLUDES) 8 | if !ENABLE_COVERAGE 9 | example_musig_CPPFLAGS += -DVERIFY 10 | endif 11 | example_musig_LDADD = libsecp256k1.la $(SECP_LIBS) 12 | example_musig_LDFLAGS = -static 13 | 14 | if USE_TESTS 15 | TESTS += example_musig 16 | endif 17 | 18 | -------------------------------------------------------------------------------- /depends/packages/crate_libc.mk: -------------------------------------------------------------------------------- 1 | package=crate_libc 2 | $(package)_crate_name=libc 3 | $(package)_version=0.2.40 4 | $(package)_download_path=https://static.crates.io/crates/$($(package)_crate_name) 5 | $(package)_file_name=$($(package)_crate_name)-$($(package)_version).crate 6 | $(package)_sha256_hash=6fd41f331ac7c5b8ac259b8bf82c75c0fb2e469bbf37d2becbba9a6a2221965b 7 | $(package)_crate_versioned_name=$($(package)_crate_name) 8 | 9 | define $(package)_preprocess_cmds 10 | $(call generate_crate_checksum,$(package)) 11 | endef 12 | 13 | define $(package)_stage_cmds 14 | $(call vendor_crate_source,$(package)) 15 | endef 16 | -------------------------------------------------------------------------------- /depends/packages/crate_rand.mk: -------------------------------------------------------------------------------- 1 | package=crate_rand 2 | $(package)_crate_name=rand 3 | $(package)_version=0.4.2 4 | $(package)_download_path=https://static.crates.io/crates/$($(package)_crate_name) 5 | $(package)_file_name=$($(package)_crate_name)-$($(package)_version).crate 6 | $(package)_sha256_hash=eba5f8cb59cc50ed56be8880a5c7b496bfd9bd26394e176bc67884094145c2c5 7 | $(package)_crate_versioned_name=$($(package)_crate_name) 8 | 9 | define $(package)_preprocess_cmds 10 | $(call generate_crate_checksum,$(package)) 11 | endef 12 | 13 | define $(package)_stage_cmds 14 | $(call vendor_crate_source,$(package)) 15 | endef 16 | -------------------------------------------------------------------------------- /src/leveldb/util/hash.h: -------------------------------------------------------------------------------- 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 | // Simple hash function used for internal data structures 6 | 7 | #ifndef STORAGE_LEVELDB_UTIL_HASH_H_ 8 | #define STORAGE_LEVELDB_UTIL_HASH_H_ 9 | 10 | #include 11 | #include 12 | 13 | namespace leveldb { 14 | 15 | extern uint32_t Hash(const char* data, size_t n, uint32_t seed); 16 | 17 | } 18 | 19 | #endif // STORAGE_LEVELDB_UTIL_HASH_H_ 20 | -------------------------------------------------------------------------------- /depends/packages/crate_aesni.mk: -------------------------------------------------------------------------------- 1 | package=crate_aesni 2 | $(package)_crate_name=aesni 3 | $(package)_version=0.4.1 4 | $(package)_download_path=https://static.crates.io/crates/$($(package)_crate_name) 5 | $(package)_file_name=$($(package)_crate_name)-$($(package)_version).crate 6 | $(package)_sha256_hash=6810b7fb9f2bb4f76f05ac1c170b8dde285b6308955dc3afd89710268c958d9e 7 | $(package)_crate_versioned_name=$($(package)_crate_name) 8 | 9 | define $(package)_preprocess_cmds 10 | $(call generate_crate_checksum,$(package)) 11 | endef 12 | 13 | define $(package)_stage_cmds 14 | $(call vendor_crate_source,$(package)) 15 | endef 16 | -------------------------------------------------------------------------------- /depends/packages/crate_digest.mk: -------------------------------------------------------------------------------- 1 | package=crate_digest 2 | $(package)_crate_name=digest 3 | $(package)_version=0.7.2 4 | $(package)_download_path=https://static.crates.io/crates/$($(package)_crate_name) 5 | $(package)_file_name=$($(package)_crate_name)-$($(package)_version).crate 6 | $(package)_sha256_hash=00a49051fef47a72c9623101b19bd71924a45cca838826caae3eaa4d00772603 7 | $(package)_crate_versioned_name=$($(package)_crate_name) 8 | 9 | define $(package)_preprocess_cmds 10 | $(call generate_crate_checksum,$(package)) 11 | endef 12 | 13 | define $(package)_stage_cmds 14 | $(call vendor_crate_source,$(package)) 15 | endef 16 | -------------------------------------------------------------------------------- /depends/packages/crate_nodrop.mk: -------------------------------------------------------------------------------- 1 | package=crate_nodrop 2 | $(package)_crate_name=nodrop 3 | $(package)_version=0.1.12 4 | $(package)_download_path=https://static.crates.io/crates/$($(package)_crate_name) 5 | $(package)_file_name=$($(package)_crate_name)-$($(package)_version).crate 6 | $(package)_sha256_hash=9a2228dca57108069a5262f2ed8bd2e82496d2e074a06d1ccc7ce1687b6ae0a2 7 | $(package)_crate_versioned_name=$($(package)_crate_name) 8 | 9 | define $(package)_preprocess_cmds 10 | $(call generate_crate_checksum,$(package)) 11 | endef 12 | 13 | define $(package)_stage_cmds 14 | $(call vendor_crate_source,$(package)) 15 | endef 16 | -------------------------------------------------------------------------------- /depends/packages/crate_winapi.mk: -------------------------------------------------------------------------------- 1 | package=crate_winapi 2 | $(package)_crate_name=winapi 3 | $(package)_version=0.3.4 4 | $(package)_download_path=https://static.crates.io/crates/$($(package)_crate_name) 5 | $(package)_file_name=$($(package)_crate_name)-$($(package)_version).crate 6 | $(package)_sha256_hash=04e3bd221fcbe8a271359c04f21a76db7d0c6028862d1bb5512d85e1e2eb5bb3 7 | $(package)_crate_versioned_name=$($(package)_crate_name) 8 | 9 | define $(package)_preprocess_cmds 10 | $(call generate_crate_checksum,$(package)) 11 | endef 12 | 13 | define $(package)_stage_cmds 14 | $(call vendor_crate_source,$(package)) 15 | endef 16 | -------------------------------------------------------------------------------- /src/cc/CCcustom.inc: -------------------------------------------------------------------------------- 1 | 2 | bool FUNCNAME(CScript const& scriptSig) 3 | { 4 | CC *cond; 5 | if (!(cond = GetCryptoCondition(scriptSig))) 6 | return false; 7 | // Recurse the CC tree to find asset condition 8 | auto findEval = [] (CC *cond, struct CCVisitor _) { 9 | bool r = cc_typeId(cond) == CC_Eval && cond->codeLength == 1 && cond->code[0] == EVALCODE; 10 | // false for a match, true for continue 11 | return r ? 0 : 1; 12 | }; 13 | CCVisitor visitor = {findEval, (uint8_t*)"", 0, NULL}; 14 | bool out =! cc_visit(cond, visitor); 15 | cc_free(cond); 16 | return out; 17 | } 18 | -------------------------------------------------------------------------------- /src/cryptoconditions/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2017 Scott Sadler 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | -------------------------------------------------------------------------------- /src/cryptoconditions/src/include/ed25519/src/sha512.h: -------------------------------------------------------------------------------- 1 | #ifndef SHA512_H 2 | #define SHA512_H 3 | 4 | #include 5 | 6 | #include "fixedint.h" 7 | 8 | /* state */ 9 | typedef struct sha512_context_ { 10 | uint64_t length, state[8]; 11 | size_t curlen; 12 | unsigned char buf[128]; 13 | } sha512_context; 14 | 15 | 16 | int sha512_init(sha512_context * md); 17 | int sha512_final(sha512_context * md, unsigned char *out); 18 | int sha512_update(sha512_context * md, const unsigned char *in, size_t inlen); 19 | int sha512(const unsigned char *message, size_t message_len, unsigned char *out); 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /depends/packages/crate_aes_soft.mk: -------------------------------------------------------------------------------- 1 | package=crate_aes_soft 2 | $(package)_crate_name=aes-soft 3 | $(package)_version=0.2.0 4 | $(package)_download_path=https://static.crates.io/crates/$($(package)_crate_name) 5 | $(package)_file_name=$($(package)_crate_name)-$($(package)_version).crate 6 | $(package)_sha256_hash=67cc03b0a090a05cb01e96998a01905d7ceedce1bc23b756c0bb7faa0682ccb1 7 | $(package)_crate_versioned_name=$($(package)_crate_name) 8 | 9 | define $(package)_preprocess_cmds 10 | $(call generate_crate_checksum,$(package)) 11 | endef 12 | 13 | define $(package)_stage_cmds 14 | $(call vendor_crate_source,$(package)) 15 | endef 16 | -------------------------------------------------------------------------------- /depends/packages/crate_arrayvec.mk: -------------------------------------------------------------------------------- 1 | package=crate_arrayvec 2 | $(package)_crate_name=arrayvec 3 | $(package)_version=0.4.7 4 | $(package)_download_path=https://static.crates.io/crates/$($(package)_crate_name) 5 | $(package)_file_name=$($(package)_crate_name)-$($(package)_version).crate 6 | $(package)_sha256_hash=a1e964f9e24d588183fcb43503abda40d288c8657dfc27311516ce2f05675aef 7 | $(package)_crate_versioned_name=$($(package)_crate_name) 8 | 9 | define $(package)_preprocess_cmds 10 | $(call generate_crate_checksum,$(package)) 11 | endef 12 | 13 | define $(package)_stage_cmds 14 | $(call vendor_crate_source,$(package)) 15 | endef 16 | -------------------------------------------------------------------------------- /depends/packages/crate_bellman.mk: -------------------------------------------------------------------------------- 1 | package=crate_bellman 2 | $(package)_crate_name=bellman 3 | $(package)_version=0.1.0 4 | $(package)_download_path=https://static.crates.io/crates/$($(package)_crate_name) 5 | $(package)_file_name=$($(package)_crate_name)-$($(package)_version).crate 6 | $(package)_sha256_hash=eae372472c7ea8f7c8fc6a62f7d5535db8302de7f1aafda2e13a97c4830d3bcf 7 | $(package)_crate_versioned_name=$($(package)_crate_name) 8 | 9 | define $(package)_preprocess_cmds 10 | $(call generate_crate_checksum,$(package)) 11 | endef 12 | 13 | define $(package)_stage_cmds 14 | $(call vendor_crate_source,$(package)) 15 | endef 16 | -------------------------------------------------------------------------------- /depends/packages/crate_bit_vec.mk: -------------------------------------------------------------------------------- 1 | package=crate_bit_vec 2 | $(package)_crate_name=bit-vec 3 | $(package)_version=0.4.4 4 | $(package)_download_path=https://static.crates.io/crates/$($(package)_crate_name) 5 | $(package)_file_name=$($(package)_crate_name)-$($(package)_version).crate 6 | $(package)_sha256_hash=02b4ff8b16e6076c3e14220b39fbc1fabb6737522281a388998046859400895f 7 | $(package)_crate_versioned_name=$($(package)_crate_name) 8 | 9 | define $(package)_preprocess_cmds 10 | $(call generate_crate_checksum,$(package)) 11 | endef 12 | 13 | define $(package)_stage_cmds 14 | $(call vendor_crate_source,$(package)) 15 | endef 16 | -------------------------------------------------------------------------------- /depends/packages/crate_bitflags.mk: -------------------------------------------------------------------------------- 1 | package=crate_bitflags 2 | $(package)_crate_name=bitflags 3 | $(package)_version=1.0.1 4 | $(package)_download_path=https://static.crates.io/crates/$($(package)_crate_name) 5 | $(package)_file_name=$($(package)_crate_name)-$($(package)_version).crate 6 | $(package)_sha256_hash=b3c30d3802dfb7281680d6285f2ccdaa8c2d8fee41f93805dba5c4cf50dc23cf 7 | $(package)_crate_versioned_name=$($(package)_crate_name) 8 | 9 | define $(package)_preprocess_cmds 10 | $(call generate_crate_checksum,$(package)) 11 | endef 12 | 13 | define $(package)_stage_cmds 14 | $(call vendor_crate_source,$(package)) 15 | endef 16 | -------------------------------------------------------------------------------- /depends/packages/crate_futures.mk: -------------------------------------------------------------------------------- 1 | package=crate_futures 2 | $(package)_crate_name=futures 3 | $(package)_version=0.1.21 4 | $(package)_download_path=https://static.crates.io/crates/$($(package)_crate_name) 5 | $(package)_file_name=$($(package)_crate_name)-$($(package)_version).crate 6 | $(package)_sha256_hash=1a70b146671de62ec8c8ed572219ca5d594d9b06c0b364d5e67b722fc559b48c 7 | $(package)_crate_versioned_name=$($(package)_crate_name) 8 | 9 | define $(package)_preprocess_cmds 10 | $(call generate_crate_checksum,$(package)) 11 | endef 12 | 13 | define $(package)_stage_cmds 14 | $(call vendor_crate_source,$(package)) 15 | endef 16 | -------------------------------------------------------------------------------- /depends/packages/crate_num_cpus.mk: -------------------------------------------------------------------------------- 1 | package=crate_num_cpus 2 | $(package)_crate_name=num_cpus 3 | $(package)_version=1.8.0 4 | $(package)_download_path=https://static.crates.io/crates/$($(package)_crate_name) 5 | $(package)_file_name=$($(package)_crate_name)-$($(package)_version).crate 6 | $(package)_sha256_hash=c51a3322e4bca9d212ad9a158a02abc6934d005490c054a2778df73a70aa0a30 7 | $(package)_crate_versioned_name=$($(package)_crate_name) 8 | 9 | define $(package)_preprocess_cmds 10 | $(call generate_crate_checksum,$(package)) 11 | endef 12 | 13 | define $(package)_stage_cmds 14 | $(call vendor_crate_source,$(package)) 15 | endef 16 | -------------------------------------------------------------------------------- /depends/packages/crate_pairing.mk: -------------------------------------------------------------------------------- 1 | package=crate_pairing 2 | $(package)_crate_name=pairing 3 | $(package)_version=0.14.2 4 | $(package)_download_path=https://static.crates.io/crates/$($(package)_crate_name) 5 | $(package)_file_name=$($(package)_crate_name)-$($(package)_version).crate 6 | $(package)_sha256_hash=ceda21136251c6d5a422d3d798d8ac22515a6e8d3521bb60c59a8349d36d0d57 7 | $(package)_crate_versioned_name=$($(package)_crate_name) 8 | 9 | define $(package)_preprocess_cmds 10 | $(call generate_crate_checksum,$(package)) 11 | endef 12 | 13 | define $(package)_stage_cmds 14 | $(call vendor_crate_source,$(package)) 15 | endef 16 | -------------------------------------------------------------------------------- /depends/packages/crate_typenum.mk: -------------------------------------------------------------------------------- 1 | package=crate_typenum 2 | $(package)_crate_name=typenum 3 | $(package)_version=1.10.0 4 | $(package)_download_path=https://static.crates.io/crates/$($(package)_crate_name) 5 | $(package)_file_name=$($(package)_crate_name)-$($(package)_version).crate 6 | $(package)_sha256_hash=612d636f949607bdf9b123b4a6f6d966dedf3ff669f7f045890d3a4a73948169 7 | $(package)_crate_versioned_name=$($(package)_crate_name) 8 | 9 | define $(package)_preprocess_cmds 10 | $(call generate_crate_checksum,$(package)) 11 | endef 12 | 13 | define $(package)_stage_cmds 14 | $(call vendor_crate_source,$(package)) 15 | endef 16 | -------------------------------------------------------------------------------- /depends/patches/qt/fix_no_printer.patch: -------------------------------------------------------------------------------- 1 | --- x/qtbase/src/plugins/platforms/cocoa/qprintengine_mac_p.h 2 | +++ y/qtbase/src/plugins/platforms/cocoa/qprintengine_mac_p.h 3 | @@ -52,6 +52,7 @@ 4 | // 5 | 6 | #include 7 | +#include 8 | 9 | #ifndef QT_NO_PRINTER 10 | 11 | --- x/qtbase/src/plugins/plugins.pro 12 | +++ y/qtbase/src/plugins/plugins.pro 13 | @@ -9,6 +9,3 @@ qtHaveModule(gui) { 14 | !android:qtConfig(library): SUBDIRS *= generic 15 | } 16 | qtHaveModule(widgets): SUBDIRS += styles 17 | - 18 | -!winrt:qtHaveModule(printsupport): \ 19 | - SUBDIRS += printsupport 20 | -------------------------------------------------------------------------------- /depends/packages/crate_byteorder.mk: -------------------------------------------------------------------------------- 1 | package=crate_byteorder 2 | $(package)_crate_name=byteorder 3 | $(package)_version=1.2.2 4 | $(package)_download_path=https://static.crates.io/crates/$($(package)_crate_name) 5 | $(package)_file_name=$($(package)_crate_name)-$($(package)_version).crate 6 | $(package)_sha256_hash=73b5bdfe7ee3ad0b99c9801d58807a9dbc9e09196365b0203853b99889ab3c87 7 | $(package)_crate_versioned_name=$($(package)_crate_name) 8 | 9 | define $(package)_preprocess_cmds 10 | $(call generate_crate_checksum,$(package)) 11 | endef 12 | 13 | define $(package)_stage_cmds 14 | $(call vendor_crate_source,$(package)) 15 | endef 16 | -------------------------------------------------------------------------------- /depends/packages/crate_crossbeam.mk: -------------------------------------------------------------------------------- 1 | package=crate_crossbeam 2 | $(package)_crate_name=crossbeam 3 | $(package)_version=0.3.2 4 | $(package)_download_path=https://static.crates.io/crates/$($(package)_crate_name) 5 | $(package)_file_name=$($(package)_crate_name)-$($(package)_version).crate 6 | $(package)_sha256_hash=24ce9782d4d5c53674646a6a4c1863a21a8fc0cb649b3c94dfc16e45071dea19 7 | $(package)_crate_versioned_name=$($(package)_crate_name) 8 | 9 | define $(package)_preprocess_cmds 10 | $(call generate_crate_checksum,$(package)) 11 | endef 12 | 13 | define $(package)_stage_cmds 14 | $(call vendor_crate_source,$(package)) 15 | endef 16 | -------------------------------------------------------------------------------- /depends/packages/crate_byte_tools.mk: -------------------------------------------------------------------------------- 1 | package=crate_byte_tools 2 | $(package)_crate_name=byte-tools 3 | $(package)_version=0.2.0 4 | $(package)_download_path=https://static.crates.io/crates/$($(package)_crate_name) 5 | $(package)_file_name=$($(package)_crate_name)-$($(package)_version).crate 6 | $(package)_sha256_hash=560c32574a12a89ecd91f5e742165893f86e3ab98d21f8ea548658eb9eef5f40 7 | $(package)_crate_versioned_name=$($(package)_crate_name) 8 | 9 | define $(package)_preprocess_cmds 10 | $(call generate_crate_checksum,$(package)) 11 | endef 12 | 13 | define $(package)_stage_cmds 14 | $(call vendor_crate_source,$(package)) 15 | endef 16 | -------------------------------------------------------------------------------- /depends/packages/crate_lazy_static.mk: -------------------------------------------------------------------------------- 1 | package=crate_lazy_static 2 | $(package)_crate_name=lazy_static 3 | $(package)_version=1.0.0 4 | $(package)_download_path=https://static.crates.io/crates/$($(package)_crate_name) 5 | $(package)_file_name=$($(package)_crate_name)-$($(package)_version).crate 6 | $(package)_sha256_hash=c8f31047daa365f19be14b47c29df4f7c3b581832407daabe6ae77397619237d 7 | $(package)_crate_versioned_name=$($(package)_crate_name) 8 | 9 | define $(package)_preprocess_cmds 10 | $(call generate_crate_checksum,$(package)) 11 | endef 12 | 13 | define $(package)_stage_cmds 14 | $(call vendor_crate_source,$(package)) 15 | endef 16 | -------------------------------------------------------------------------------- /depends/packages/crate_num_bigint.mk: -------------------------------------------------------------------------------- 1 | package=crate_num_bigint 2 | $(package)_crate_name=num-bigint 3 | $(package)_version=0.2.0 4 | $(package)_download_path=https://static.crates.io/crates/$($(package)_crate_name) 5 | $(package)_file_name=$($(package)_crate_name)-$($(package)_version).crate 6 | $(package)_sha256_hash=3eceac7784c5dc97c2d6edf30259b4e153e6e2b42b3c85e9a6e9f45d06caef6e 7 | $(package)_crate_versioned_name=$($(package)_crate_name) 8 | 9 | define $(package)_preprocess_cmds 10 | $(call generate_crate_checksum,$(package)) 11 | endef 12 | 13 | define $(package)_stage_cmds 14 | $(call vendor_crate_source,$(package)) 15 | endef 16 | -------------------------------------------------------------------------------- /depends/packages/crate_num_integer.mk: -------------------------------------------------------------------------------- 1 | package=crate_num_integer 2 | $(package)_crate_name=num-integer 3 | $(package)_version=0.1.39 4 | $(package)_download_path=https://static.crates.io/crates/$($(package)_crate_name) 5 | $(package)_file_name=$($(package)_crate_name)-$($(package)_version).crate 6 | $(package)_sha256_hash=e83d528d2677f0518c570baf2b7abdcf0cd2d248860b68507bdcb3e91d4c0cea 7 | $(package)_crate_versioned_name=$($(package)_crate_name) 8 | 9 | define $(package)_preprocess_cmds 10 | $(call generate_crate_checksum,$(package)) 11 | endef 12 | 13 | define $(package)_stage_cmds 14 | $(call vendor_crate_source,$(package)) 15 | endef 16 | -------------------------------------------------------------------------------- /depends/packages/crate_num_traits.mk: -------------------------------------------------------------------------------- 1 | package=crate_num_traits 2 | $(package)_crate_name=num-traits 3 | $(package)_version=0.2.5 4 | $(package)_download_path=https://static.crates.io/crates/$($(package)_crate_name) 5 | $(package)_file_name=$($(package)_crate_name)-$($(package)_version).crate 6 | $(package)_sha256_hash=630de1ef5cc79d0cdd78b7e33b81f083cbfe90de0f4b2b2f07f905867c70e9fe 7 | $(package)_crate_versioned_name=$($(package)_crate_name) 8 | 9 | define $(package)_preprocess_cmds 10 | $(call generate_crate_checksum,$(package)) 11 | endef 12 | 13 | define $(package)_stage_cmds 14 | $(call vendor_crate_source,$(package)) 15 | endef 16 | -------------------------------------------------------------------------------- /src/gtest/test_pedersen_hash.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include "librustzcash.h" 3 | #include "uint256.h" 4 | 5 | TEST(PedersenHash, TestAPI) { 6 | const uint256 a = uint256S("87a086ae7d2252d58729b30263fb7b66308bf94ef59a76c9c86e7ea016536505"); 7 | const uint256 b = uint256S("a75b84a125b2353da7e8d96ee2a15efe4de23df9601b9d9564ba59de57130406"); 8 | uint256 result; 9 | 10 | librustzcash_merkle_hash(25, a.begin(), b.begin(), result.begin()); 11 | 12 | uint256 expected_result = uint256S("5bf43b5736c19b714d1f462c9d22ba3492c36e3d9bbd7ca24d94b440550aa561"); 13 | 14 | ASSERT_TRUE(result == expected_result); 15 | } 16 | -------------------------------------------------------------------------------- /depends/packages/crate_generic_array.mk: -------------------------------------------------------------------------------- 1 | package=crate_generic_array 2 | $(package)_crate_name=generic-array 3 | $(package)_version=0.9.0 4 | $(package)_download_path=https://static.crates.io/crates/$($(package)_crate_name) 5 | $(package)_file_name=$($(package)_crate_name)-$($(package)_version).crate 6 | $(package)_sha256_hash=ef25c5683767570c2bbd7deba372926a55eaae9982d7726ee2a1050239d45b9d 7 | $(package)_crate_versioned_name=$($(package)_crate_name) 8 | 9 | define $(package)_preprocess_cmds 10 | $(call generate_crate_checksum,$(package)) 11 | endef 12 | 13 | define $(package)_stage_cmds 14 | $(call vendor_crate_source,$(package)) 15 | endef 16 | -------------------------------------------------------------------------------- /depends/packages/crate_opaque_debug.mk: -------------------------------------------------------------------------------- 1 | package=crate_opaque_debug 2 | $(package)_crate_name=opaque-debug 3 | $(package)_version=0.1.1 4 | $(package)_download_path=https://static.crates.io/crates/$($(package)_crate_name) 5 | $(package)_file_name=$($(package)_crate_name)-$($(package)_version).crate 6 | $(package)_sha256_hash=d620c9c26834b34f039489ac0dfdb12c7ac15ccaf818350a64c9b5334a452ad7 7 | $(package)_crate_versioned_name=$($(package)_crate_name) 8 | 9 | define $(package)_preprocess_cmds 10 | $(call generate_crate_checksum,$(package)) 11 | endef 12 | 13 | define $(package)_stage_cmds 14 | $(call vendor_crate_source,$(package)) 15 | endef 16 | -------------------------------------------------------------------------------- /depends/packages/crate_stream_cipher.mk: -------------------------------------------------------------------------------- 1 | package=crate_stream_cipher 2 | $(package)_crate_name=stream-cipher 3 | $(package)_version=0.1.1 4 | $(package)_download_path=https://static.crates.io/crates/$($(package)_crate_name) 5 | $(package)_file_name=$($(package)_crate_name)-$($(package)_version).crate 6 | $(package)_sha256_hash=30dc6118470d69ce0fdcf7e6f95e95853f7f4f72f80d835d4519577c323814ab 7 | $(package)_crate_versioned_name=$($(package)_crate_name) 8 | 9 | define $(package)_preprocess_cmds 10 | $(call generate_crate_checksum,$(package)) 11 | endef 12 | 13 | define $(package)_stage_cmds 14 | $(call vendor_crate_source,$(package)) 15 | endef 16 | -------------------------------------------------------------------------------- /depends/packages/crate_fuchsia_zircon.mk: -------------------------------------------------------------------------------- 1 | package=crate_fuchsia_zircon 2 | $(package)_crate_name=fuchsia-zircon 3 | $(package)_version=0.3.3 4 | $(package)_download_path=https://static.crates.io/crates/$($(package)_crate_name) 5 | $(package)_file_name=$($(package)_crate_name)-$($(package)_version).crate 6 | $(package)_sha256_hash=2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82 7 | $(package)_crate_versioned_name=$($(package)_crate_name) 8 | 9 | define $(package)_preprocess_cmds 10 | $(call generate_crate_checksum,$(package)) 11 | endef 12 | 13 | define $(package)_stage_cmds 14 | $(call vendor_crate_source,$(package)) 15 | endef 16 | -------------------------------------------------------------------------------- /depends/packages/crate_constant_time_eq.mk: -------------------------------------------------------------------------------- 1 | package=crate_constant_time_eq 2 | $(package)_crate_name=constant_time_eq 3 | $(package)_version=0.1.3 4 | $(package)_download_path=https://static.crates.io/crates/$($(package)_crate_name) 5 | $(package)_file_name=$($(package)_crate_name)-$($(package)_version).crate 6 | $(package)_sha256_hash=8ff012e225ce166d4422e0e78419d901719760f62ae2b7969ca6b564d1b54a9e 7 | $(package)_crate_versioned_name=$($(package)_crate_name) 8 | 9 | define $(package)_preprocess_cmds 10 | $(call generate_crate_checksum,$(package)) 11 | endef 12 | 13 | define $(package)_stage_cmds 14 | $(call vendor_crate_source,$(package)) 15 | endef 16 | -------------------------------------------------------------------------------- /depends/packages/crate_futures_cpupool.mk: -------------------------------------------------------------------------------- 1 | package=crate_futures_cpupool 2 | $(package)_crate_name=futures-cpupool 3 | $(package)_version=0.1.8 4 | $(package)_download_path=https://static.crates.io/crates/$($(package)_crate_name) 5 | $(package)_file_name=$($(package)_crate_name)-$($(package)_version).crate 6 | $(package)_sha256_hash=ab90cde24b3319636588d0c35fe03b1333857621051837ed769faefb4c2162e4 7 | $(package)_crate_versioned_name=$($(package)_crate_name) 8 | 9 | define $(package)_preprocess_cmds 10 | $(call generate_crate_checksum,$(package)) 11 | endef 12 | 13 | define $(package)_stage_cmds 14 | $(call vendor_crate_source,$(package)) 15 | endef 16 | -------------------------------------------------------------------------------- /src/zmq/zmqconfig.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 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_ZMQ_ZMQCONFIG_H 6 | #define BITCOIN_ZMQ_ZMQCONFIG_H 7 | 8 | #if defined(HAVE_CONFIG_H) 9 | #include "config/bitcoin-config.h" 10 | #endif 11 | 12 | #include 13 | #include 14 | 15 | #if ENABLE_ZMQ 16 | #include 17 | #endif 18 | 19 | #include "primitives/block.h" 20 | #include "primitives/transaction.h" 21 | 22 | void zmqError(const char *str); 23 | 24 | #endif // BITCOIN_ZMQ_ZMQCONFIG_H 25 | -------------------------------------------------------------------------------- /depends/packages/crate_block_cipher_trait.mk: -------------------------------------------------------------------------------- 1 | package=crate_block_cipher_trait 2 | $(package)_crate_name=block-cipher-trait 3 | $(package)_version=0.5.3 4 | $(package)_download_path=https://static.crates.io/crates/$($(package)_crate_name) 5 | $(package)_file_name=$($(package)_crate_name)-$($(package)_version).crate 6 | $(package)_sha256_hash=370424437b9459f3dfd68428ed9376ddfe03d8b70ede29cc533b3557df186ab4 7 | $(package)_crate_versioned_name=$($(package)_crate_name) 8 | 9 | define $(package)_preprocess_cmds 10 | $(call generate_crate_checksum,$(package)) 11 | endef 12 | 13 | define $(package)_stage_cmds 14 | $(call vendor_crate_source,$(package)) 15 | endef 16 | -------------------------------------------------------------------------------- /depends/packages/crate_fuchsia_zircon_sys.mk: -------------------------------------------------------------------------------- 1 | package=crate_fuchsia_zircon_sys 2 | $(package)_crate_name=fuchsia-zircon-sys 3 | $(package)_version=0.3.3 4 | $(package)_download_path=https://static.crates.io/crates/$($(package)_crate_name) 5 | $(package)_file_name=$($(package)_crate_name)-$($(package)_version).crate 6 | $(package)_sha256_hash=3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7 7 | $(package)_crate_versioned_name=$($(package)_crate_name) 8 | 9 | define $(package)_preprocess_cmds 10 | $(call generate_crate_checksum,$(package)) 11 | endef 12 | 13 | define $(package)_stage_cmds 14 | $(call vendor_crate_source,$(package)) 15 | endef 16 | -------------------------------------------------------------------------------- /src/listassetchainparams: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python2 2 | import os 3 | import json 4 | 5 | def format_param(param, value): 6 | return '-' + param + '=' + value 7 | 8 | script_dir = os.path.dirname(__file__) 9 | with open(script_dir + '/assetchains.json') as file: 10 | assetchains = json.load(file) 11 | 12 | for chain in assetchains: 13 | params = [] 14 | for param, value in chain.items(): 15 | if isinstance(value, list): 16 | for dupe_value in value: 17 | params.append(format_param(param, dupe_value)) 18 | else: 19 | params.append(format_param(param, value)) 20 | print(' '.join(params)) 21 | -------------------------------------------------------------------------------- /depends/patches/qt/fix_android_pch.patch: -------------------------------------------------------------------------------- 1 | --- old/qtbase/mkspecs/common/android-base-head.conf 2 | +++ new/qtbase/mkspecs/common/android-base-head.conf 3 | @@ -72,6 +72,6 @@ CROSS_COMPILE = $$NDK_TOOLCHAIN_PATH/bin/$$NDK_TOOLS_PREFIX- 4 | QMAKE_PCH_OUTPUT_EXT = .gch 5 | 6 | QMAKE_CFLAGS_PRECOMPILE = -x c-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT} 7 | -QMAKE_CFLAGS_USE_PRECOMPILE = -include ${QMAKE_PCH_OUTPUT_BASE} 8 | +QMAKE_CFLAGS_USE_PRECOMPILE = -include-pch ${QMAKE_PCH_OUTPUT} 9 | QMAKE_CXXFLAGS_PRECOMPILE = -x c++-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT} 10 | QMAKE_CXXFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE 11 | -------------------------------------------------------------------------------- /depends/cargo-checksum.sh: -------------------------------------------------------------------------------- 1 | echo "{\"files\":{$( 2 | find . -type f | # Get list of file paths 3 | grep -v $1 | # Exclude Makefile hashes 4 | grep -v '[.]stamp_' | # Exclude Makefile stamps 5 | sed 's|^[.]/||' | # Remove leading ./ 6 | sort | # Sort (for uniformity) 7 | xargs $2 | # Get SHA256 hashes (assumes standard 'H(A) A' format) 8 | awk -v OFS='":"' '{print $2, $1}' | # 'H(A) A' -> 'A":"H(A)' 9 | sed 's|^|"|' | # 'A":"H(A)' -> '"A":"H(A)' 10 | sed 's|$|"|' | # '"A":"H(A)' -> '"A":"H(A)"' 11 | tr '\n' ',' | # Concatenate lines with commas 12 | sed 's|,$||' # Remove any trailing comma (to fit JSON spec) 13 | )},\"package\":$3}" > .cargo-checksum.json 14 | -------------------------------------------------------------------------------- /depends/packages/xcb_proto.mk: -------------------------------------------------------------------------------- 1 | package=xcb_proto 2 | $(package)_version=1.10 3 | $(package)_download_path=https://xcb.freedesktop.org/dist 4 | $(package)_file_name=xcb-proto-$($(package)_version).tar.bz2 5 | $(package)_sha256_hash=7ef40ddd855b750bc597d2a435da21e55e502a0fefa85b274f2c922800baaf05 6 | 7 | define $(package)_config_cmds 8 | $($(package)_autoconf) 9 | endef 10 | 11 | define $(package)_build_cmds 12 | $(MAKE) 13 | endef 14 | 15 | define $(package)_stage_cmds 16 | $(MAKE) DESTDIR=$($(package)_staging_dir) install 17 | endef 18 | 19 | define $(package)_postprocess_cmds 20 | find -name "*.pyc" -delete && \ 21 | find -name "*.pyo" -delete 22 | endef 23 | -------------------------------------------------------------------------------- /qa/pull-tester/tests-config.sh.in: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Copyright (c) 2013-2014 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 | BUILDDIR="@abs_top_builddir@" 7 | EXEEXT="@EXEEXT@" 8 | 9 | # These will turn into comments if they were disabled when configuring. 10 | @ENABLE_WALLET_TRUE@ENABLE_WALLET=1 11 | @BUILD_BITCOIN_UTILS_TRUE@ENABLE_UTILS=1 12 | @BUILD_BITCOIND_TRUE@ENABLE_BITCOIND=1 13 | @ENABLE_ZMQ_TRUE@ENABLE_ZMQ=1 14 | 15 | REAL_BITCOIND="$BUILDDIR/src/zcashd${EXEEXT}" 16 | REAL_BITCOINCLI="$BUILDDIR/src/zcash-cli${EXEEXT}" 17 | 18 | -------------------------------------------------------------------------------- /src/secp256k1/src/java/org_bitcoin_Secp256k1Context.h: -------------------------------------------------------------------------------- 1 | /* DO NOT EDIT THIS FILE - it is machine generated */ 2 | #include 3 | #include "include/secp256k1.h" 4 | /* Header for class org_bitcoin_Secp256k1Context */ 5 | 6 | #ifndef _Included_org_bitcoin_Secp256k1Context 7 | #define _Included_org_bitcoin_Secp256k1Context 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | /* 12 | * Class: org_bitcoin_Secp256k1Context 13 | * Method: secp256k1_init_context 14 | * Signature: ()J 15 | */ 16 | SECP256K1_API jlong JNICALL Java_org_bitcoin_Secp256k1Context_secp256k1_1init_1context 17 | (JNIEnv *, jclass); 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | #endif 23 | -------------------------------------------------------------------------------- /src/torcontrol.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 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 | /** 6 | * Functionality for communicating with Tor. 7 | */ 8 | #ifndef BITCOIN_TORCONTROL_H 9 | #define BITCOIN_TORCONTROL_H 10 | 11 | #include "scheduler.h" 12 | 13 | extern const std::string DEFAULT_TOR_CONTROL; 14 | static const bool DEFAULT_LISTEN_ONION = true; 15 | 16 | void StartTorControl(boost::thread_group& threadGroup, CScheduler& scheduler); 17 | void InterruptTorControl(); 18 | void StopTorControl(); 19 | 20 | #endif /* BITCOIN_TORCONTROL_H */ 21 | -------------------------------------------------------------------------------- /depends/packages/crate_winapi_i686_pc_windows_gnu.mk: -------------------------------------------------------------------------------- 1 | package=crate_winapi_i686_pc_windows_gnu 2 | $(package)_crate_name=winapi-i686-pc-windows-gnu 3 | $(package)_version=0.4.0 4 | $(package)_download_path=https://static.crates.io/crates/$($(package)_crate_name) 5 | $(package)_file_name=$($(package)_crate_name)-$($(package)_version).crate 6 | $(package)_sha256_hash=ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6 7 | $(package)_crate_versioned_name=$($(package)_crate_name) 8 | 9 | define $(package)_preprocess_cmds 10 | $(call generate_crate_checksum,$(package)) 11 | endef 12 | 13 | define $(package)_stage_cmds 14 | $(call vendor_crate_source,$(package)) 15 | endef 16 | -------------------------------------------------------------------------------- /src/qt/coincontroltreewidget.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2011-2014 The Bitcoin Core developers 2 | // Distributed under the MIT software license, see the accompanying 3 | // file COPYING or http://www.opensource.org/licenses/mit-license.php. 4 | 5 | #ifndef KOMODO_QT_COINCONTROLTREEWIDGET_H 6 | #define KOMODO_QT_COINCONTROLTREEWIDGET_H 7 | 8 | #include 9 | #include 10 | 11 | class CoinControlTreeWidget : public QTreeWidget 12 | { 13 | Q_OBJECT 14 | 15 | public: 16 | explicit CoinControlTreeWidget(QWidget *parent = 0); 17 | 18 | protected: 19 | virtual void keyPressEvent(QKeyEvent *event); 20 | }; 21 | 22 | #endif // KOMODO_QT_COINCONTROLTREEWIDGET_H 23 | -------------------------------------------------------------------------------- /depends/packages/crate_winapi_x86_64_pc_windows_gnu.mk: -------------------------------------------------------------------------------- 1 | package=crate_winapi_x86_64_pc_windows_gnu 2 | $(package)_crate_name=winapi-x86_64-pc-windows-gnu 3 | $(package)_version=0.4.0 4 | $(package)_download_path=https://static.crates.io/crates/$($(package)_crate_name) 5 | $(package)_file_name=$($(package)_crate_name)-$($(package)_version).crate 6 | $(package)_sha256_hash=712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f 7 | $(package)_crate_versioned_name=$($(package)_crate_name) 8 | 9 | define $(package)_preprocess_cmds 10 | $(call generate_crate_checksum,$(package)) 11 | endef 12 | 13 | define $(package)_stage_cmds 14 | $(call vendor_crate_source,$(package)) 15 | endef 16 | -------------------------------------------------------------------------------- /src/qt/callback.h: -------------------------------------------------------------------------------- 1 | #ifndef KOMODO_QT_CALLBACK_H 2 | #define KOMODO_QT_CALLBACK_H 3 | 4 | #include 5 | 6 | class Callback : public QObject 7 | { 8 | Q_OBJECT 9 | public Q_SLOTS: 10 | virtual void call() = 0; 11 | }; 12 | 13 | template 14 | class FunctionCallback : public Callback 15 | { 16 | F f; 17 | 18 | public: 19 | explicit FunctionCallback(F f_) : f(std::move(f_)) {} 20 | ~FunctionCallback() override {} 21 | void call() override { f(this); } 22 | }; 23 | 24 | template 25 | FunctionCallback* makeCallback(F f) 26 | { 27 | return new FunctionCallback(std::move(f)); 28 | } 29 | 30 | #endif // KOMODO_QT_CALLBACK_H 31 | -------------------------------------------------------------------------------- /depends/patches/qt/fix_android_jni_static.patch: -------------------------------------------------------------------------------- 1 | --- old/qtbase/src/plugins/platforms/android/androidjnimain.cpp 2 | +++ new/qtbase/src/plugins/platforms/android/androidjnimain.cpp 3 | @@ -898,6 +898,14 @@ 4 | __android_log_print(ANDROID_LOG_FATAL, "Qt", "registerNatives failed"); 5 | return -1; 6 | } 7 | + 8 | + const jint ret = QT_PREPEND_NAMESPACE(QtAndroidPrivate::initJNI(vm, env)); 9 | + if (ret != 0) 10 | + { 11 | + __android_log_print(ANDROID_LOG_FATAL, "Qt", "initJNI failed"); 12 | + return ret; 13 | + } 14 | + 15 | QWindowSystemInterfacePrivate::TabletEvent::setPlatformSynthesizesMouse(false); 16 | 17 | m_javaVM = vm; 18 | 19 | -------------------------------------------------------------------------------- /src/bits256.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "stdint.h" 3 | 4 | union _bits128 { uint8_t bytes[16]; uint16_t ushorts[8]; uint32_t uints[4]; uint64_t ulongs[2]; uint64_t txid; }; 5 | typedef union _bits128 bits128; 6 | 7 | union _bits256 { uint8_t bytes[32]; uint16_t ushorts[16]; uint32_t uints[8]; uint64_t ulongs[4]; uint64_t txid; }; 8 | typedef union _bits256 bits256; 9 | 10 | union _bits320 { uint8_t bytes[40]; uint16_t ushorts[20]; uint32_t uints[10]; uint64_t ulongs[5]; uint64_t txid; }; 11 | typedef union _bits320 bits320; 12 | 13 | union _bits384 { bits256 sig; uint8_t bytes[48]; uint16_t ushorts[24]; uint32_t uints[12]; uint64_t ulongs[6]; uint64_t txid; }; 14 | typedef union _bits384 bits384; -------------------------------------------------------------------------------- /src/utilmoneystr.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2009-2010 Satoshi Nakamoto 2 | // Copyright (c) 2009-2014 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 | /** 7 | * Money parsing/formatting utilities. 8 | */ 9 | #ifndef BITCOIN_UTILMONEYSTR_H 10 | #define BITCOIN_UTILMONEYSTR_H 11 | 12 | #include 13 | #include 14 | 15 | #include "amount.h" 16 | 17 | std::string FormatMoney(const CAmount& n); 18 | bool ParseMoney(const std::string& str, CAmount& nRet); 19 | bool ParseMoney(const char* pszIn, CAmount& nRet); 20 | 21 | #endif // BITCOIN_UTILMONEYSTR_H 22 | -------------------------------------------------------------------------------- /src/cryptoconditions/src/include/secp256k1/src/scalar_low.h: -------------------------------------------------------------------------------- 1 | /********************************************************************** 2 | * Copyright (c) 2015 Andrew Poelstra * 3 | * Distributed under the MIT software license, see the accompanying * 4 | * file COPYING or http://www.opensource.org/licenses/mit-license.php.* 5 | **********************************************************************/ 6 | 7 | #ifndef SECP256K1_SCALAR_REPR_H 8 | #define SECP256K1_SCALAR_REPR_H 9 | 10 | #include 11 | 12 | /** A scalar modulo the group order of the secp256k1 curve. */ 13 | typedef uint32_t secp256k1_scalar; 14 | 15 | #endif /* SECP256K1_SCALAR_REPR_H */ 16 | -------------------------------------------------------------------------------- /src/zcash/GenerateParams.cpp: -------------------------------------------------------------------------------- 1 | #include "zcash/JoinSplit.hpp" 2 | 3 | #include 4 | #include "crypto/common.h" 5 | 6 | int64_t MAX_MONEY = 200000000 * 100000000LL; 7 | 8 | int main(int argc, char **argv) 9 | { 10 | if (init_and_check_sodium() == -1) { 11 | return 1; 12 | } 13 | 14 | if(argc != 4) { 15 | std::cerr << "Usage: " << argv[0] << " provingKeyFileName verificationKeyFileName r1csFileName" << std::endl; 16 | return 1; 17 | } 18 | 19 | std::string pkFile = argv[1]; 20 | std::string vkFile = argv[2]; 21 | std::string r1csFile = argv[3]; 22 | 23 | ZCJoinSplit::Generate(r1csFile, vkFile, pkFile); 24 | 25 | return 0; 26 | } 27 | -------------------------------------------------------------------------------- /doc/bitcoin-release-notes/release-notes-0.8.3.md: -------------------------------------------------------------------------------- 1 | Bitcoin-Qt version 0.8.3 is now available from: 2 | http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.8.3/ 3 | 4 | This is a maintenance release to fix a denial-of-service attack that 5 | can cause nodes to crash. 6 | 7 | Please report bugs using the issue tracker at github: 8 | https://github.com/bitcoin/bitcoin/issues 9 | 10 | 0.8.3 Release notes 11 | 12 | Truncate over-size messages to prevent a memory exhaustion attack. 13 | 14 | Fix a regression that causes excessive re-writing of the 'peers.dat' file. 15 | 16 | 17 | Thanks to Peter Todd for responsibly disclosing the vulnerability 18 | ( CVE-2013-4627 ) and creating a fix. 19 | -------------------------------------------------------------------------------- /src/cryptoconditions/src/include/secp256k1/src/java/org_bitcoin_Secp256k1Context.h: -------------------------------------------------------------------------------- 1 | /* DO NOT EDIT THIS FILE - it is machine generated */ 2 | #include 3 | #include "include/secp256k1.h" 4 | /* Header for class org_bitcoin_Secp256k1Context */ 5 | 6 | #ifndef _Included_org_bitcoin_Secp256k1Context 7 | #define _Included_org_bitcoin_Secp256k1Context 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | /* 12 | * Class: org_bitcoin_Secp256k1Context 13 | * Method: secp256k1_init_context 14 | * Signature: ()J 15 | */ 16 | SECP256K1_API jlong JNICALL Java_org_bitcoin_Secp256k1Context_secp256k1_1init_1context 17 | (JNIEnv *, jclass); 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | #endif 23 | -------------------------------------------------------------------------------- /src/test-komodo/main.cpp: -------------------------------------------------------------------------------- 1 | #include "key.h" 2 | #include "base58.h" 3 | #include "chainparams.h" 4 | #include "gtest/gtest.h" 5 | #include "crypto/common.h" 6 | #include "testutils.h" 7 | 8 | 9 | int main(int argc, char **argv) { 10 | assert(init_and_check_sodium() != -1); 11 | ECC_Start(); 12 | ECCVerifyHandle handle; // Inits secp256k1 verify context 13 | SelectParams(CBaseChainParams::REGTEST); 14 | 15 | CBitcoinSecret vchSecret; 16 | // this returns false due to network prefix mismatch but works anyway 17 | vchSecret.SetString(notarySecret); 18 | notaryKey = vchSecret.GetKey(); 19 | 20 | testing::InitGoogleTest(&argc, argv); 21 | return RUN_ALL_TESTS(); 22 | } 23 | -------------------------------------------------------------------------------- /depends/packages/crate_zip32.mk: -------------------------------------------------------------------------------- 1 | package=crate_zip32 2 | $(package)_crate_name=zip32 3 | $(package)_download_path=https://github.com/zcash-hackworks/$($(package)_crate_name)/archive/ 4 | $(package)_file_name=$(package)-$($(package)_git_commit).tar.gz 5 | $(package)_download_file=$($(package)_git_commit).tar.gz 6 | $(package)_sha256_hash=b0b011ea96524f0d918a44c7ab8a3dec6270879d1ff03d7dbda6c676d25caa7e 7 | $(package)_git_commit=176470ef41583b5bd0bd749bd1b61d417aa8ec79 8 | $(package)_crate_versioned_name=$($(package)_crate_name) 9 | 10 | define $(package)_preprocess_cmds 11 | $(call generate_unpackaged_crate_checksum,$(package)) 12 | endef 13 | 14 | define $(package)_stage_cmds 15 | $(call vendor_crate_source,$(package)) 16 | endef 17 | -------------------------------------------------------------------------------- /src/secp256k1/src/num_gmp.h: -------------------------------------------------------------------------------- 1 | /********************************************************************** 2 | * Copyright (c) 2013, 2014 Pieter Wuille * 3 | * Distributed under the MIT software license, see the accompanying * 4 | * file COPYING or http://www.opensource.org/licenses/mit-license.php.* 5 | **********************************************************************/ 6 | 7 | #ifndef SECP256K1_NUM_REPR_H 8 | #define SECP256K1_NUM_REPR_H 9 | 10 | #include 11 | 12 | #define NUM_LIMBS ((256+GMP_NUMB_BITS-1)/GMP_NUMB_BITS) 13 | 14 | typedef struct { 15 | mp_limb_t data[2*NUM_LIMBS]; 16 | int neg; 17 | int limbs; 18 | } secp256k1_num; 19 | 20 | #endif /* SECP256K1_NUM_REPR_H */ 21 | -------------------------------------------------------------------------------- /zcutil/cleanup-tags.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Warning: This deletes tags on "origin", so point that at the right target! 4 | # 5 | # Note: It doesn't delete any local tags. 6 | 7 | set -exu -o pipefail 8 | 9 | ZCASH_TAG_RGX='^v[0-9]+.[0-9]+.[0-9]+.z[0-9]+' 10 | MAXJOBS=7 11 | 12 | i=0 13 | 14 | for nonzctag in $(git ls-remote origin \ 15 | | grep refs/tags/ \ 16 | | grep -v '\^{}$' \ 17 | | sed 's,^.*refs/tags/,,'\ 18 | | grep -Ev "$ZCASH_TAG_RGX" 19 | ) 20 | do 21 | git push origin ":refs/tags/${nonzctag}" & 22 | i="$(expr "$i" + 1)" 23 | [ "$i" -ge "$MAXJOBS" ] && wait -n 24 | done 25 | 26 | wait 27 | -------------------------------------------------------------------------------- /depends/packages/crate_blake2_rfc.mk: -------------------------------------------------------------------------------- 1 | package=crate_blake2_rfc 2 | $(package)_crate_name=blake2-rfc 3 | $(package)_download_path=https://github.com/gtank/$($(package)_crate_name)/archive/ 4 | $(package)_file_name=$(package)-$($(package)_git_commit).tar.gz 5 | $(package)_download_file=$($(package)_git_commit).tar.gz 6 | $(package)_sha256_hash=8a873cc41f02e669e8071ab5919931dd4263f050becf0c19820b0497c07b0ca3 7 | $(package)_git_commit=7a5b5fc99ae483a0043db7547fb79a6fa44b88a9 8 | $(package)_crate_versioned_name=$($(package)_crate_name) 9 | 10 | define $(package)_preprocess_cmds 11 | $(call generate_unpackaged_crate_checksum,$(package)) 12 | endef 13 | 14 | define $(package)_stage_cmds 15 | $(call vendor_crate_source,$(package)) 16 | endef 17 | -------------------------------------------------------------------------------- /src/qt/macdockiconhandler.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2011-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_QT_MACDOCKICONHANDLER_H 6 | #define BITCOIN_QT_MACDOCKICONHANDLER_H 7 | 8 | #include 9 | 10 | /** macOS-specific Dock icon handler. 11 | */ 12 | class MacDockIconHandler : public QObject 13 | { 14 | Q_OBJECT 15 | 16 | public: 17 | static MacDockIconHandler *instance(); 18 | static void cleanup(); 19 | 20 | Q_SIGNALS: 21 | void dockIconClicked(); 22 | 23 | private: 24 | MacDockIconHandler(); 25 | }; 26 | 27 | #endif // BITCOIN_QT_MACDOCKICONHANDLER_H 28 | -------------------------------------------------------------------------------- /src/zmq/zmqabstractnotifier.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (c) 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 | #include "zmqabstractnotifier.h" 6 | #include "util.h" 7 | 8 | 9 | CZMQAbstractNotifier::~CZMQAbstractNotifier() 10 | { 11 | assert(!psocket); 12 | } 13 | 14 | bool CZMQAbstractNotifier::NotifyBlock(const CBlockIndex * /*CBlockIndex*/) 15 | { 16 | return true; 17 | } 18 | 19 | bool CZMQAbstractNotifier::NotifyBlock(const CBlock &) 20 | { 21 | return true; 22 | } 23 | 24 | bool CZMQAbstractNotifier::NotifyTransaction(const CTransaction &/*transaction*/) 25 | { 26 | return true; 27 | } 28 | -------------------------------------------------------------------------------- /depends/packages/native_ccache.mk: -------------------------------------------------------------------------------- 1 | package=native_ccache 2 | $(package)_version=3.7.12 3 | $(package)_download_path=https://github.com/ccache/ccache/releases/download/v$($(package)_version) 4 | $(package)_file_name=ccache-$($(package)_version).tar.gz 5 | $(package)_sha256_hash=d2abe88d4c283ce960e233583061127b156ffb027c6da3cf10770fc0c7244194 6 | 7 | define $(package)_set_vars 8 | $(package)_config_opts= 9 | endef 10 | 11 | define $(package)_config_cmds 12 | $($(package)_autoconf) 13 | endef 14 | 15 | define $(package)_build_cmds 16 | $(MAKE) 17 | endef 18 | 19 | define $(package)_stage_cmds 20 | $(MAKE) DESTDIR=$($(package)_staging_dir) install 21 | endef 22 | 23 | define $(package)_postprocess_cmds 24 | rm -rf lib include 25 | endef 26 | -------------------------------------------------------------------------------- /src/univalue/README.md: -------------------------------------------------------------------------------- 1 | 2 | # UniValue 3 | 4 | ## Summary 5 | 6 | A universal value class, with JSON encoding and decoding. 7 | 8 | UniValue is an abstract data type that may be a null, boolean, string, 9 | number, array container, or a key/value dictionary container, nested to 10 | an arbitrary depth. 11 | 12 | This class is aligned with the JSON standard, [RFC 13 | 7159](https://tools.ietf.org/html/rfc7159.html). 14 | 15 | ## Library usage 16 | 17 | This is a fork of univalue used by Bitcoin Core. It is not maintained for usage 18 | by other projects. Notably, the API may break in non-backward-compatible ways. 19 | 20 | Other projects looking for a maintained library should use the upstream 21 | univalue at https://github.com/jgarzik/univalue. 22 | -------------------------------------------------------------------------------- /src/cryptoconditions/src/include/secp256k1/src/num_gmp.h: -------------------------------------------------------------------------------- 1 | /********************************************************************** 2 | * Copyright (c) 2013, 2014 Pieter Wuille * 3 | * Distributed under the MIT software license, see the accompanying * 4 | * file COPYING or http://www.opensource.org/licenses/mit-license.php.* 5 | **********************************************************************/ 6 | 7 | #ifndef SECP256K1_NUM_REPR_H 8 | #define SECP256K1_NUM_REPR_H 9 | 10 | #include 11 | 12 | #define NUM_LIMBS ((256+GMP_NUMB_BITS-1)/GMP_NUMB_BITS) 13 | 14 | typedef struct { 15 | mp_limb_t data[2*NUM_LIMBS]; 16 | int neg; 17 | int limbs; 18 | } secp256k1_num; 19 | 20 | #endif /* SECP256K1_NUM_REPR_H */ 21 | -------------------------------------------------------------------------------- /src/test/sanity_tests.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2012-2013 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 "compat/sanity.h" 6 | #include "key.h" 7 | #include "test/test_bitcoin.h" 8 | 9 | #include 10 | 11 | BOOST_FIXTURE_TEST_SUITE(sanity_tests, BasicTestingSetup) 12 | 13 | BOOST_AUTO_TEST_CASE(basic_sanity) 14 | { 15 | BOOST_CHECK_MESSAGE(glibc_sanity_test() == true, "libc sanity test"); 16 | BOOST_CHECK_MESSAGE(glibcxx_sanity_test() == true, "stdlib sanity test"); 17 | BOOST_CHECK_MESSAGE(ECC_InitSanityCheck() == true, "openssl ECC test"); 18 | } 19 | 20 | BOOST_AUTO_TEST_SUITE_END() 21 | -------------------------------------------------------------------------------- /depends/packages/crate_sapling_crypto.mk: -------------------------------------------------------------------------------- 1 | package=crate_sapling_crypto 2 | $(package)_crate_name=sapling-crypto 3 | $(package)_download_path=https://github.com/zcash-hackworks/$($(package)_crate_name)/archive/ 4 | $(package)_file_name=$(package)-$($(package)_git_commit).tar.gz 5 | $(package)_download_file=$($(package)_git_commit).tar.gz 6 | $(package)_sha256_hash=ae3a122b1f1ce97b4e80e0e8542e19aa1516e99e6c72875688c886af1a881558 7 | $(package)_git_commit=21084bde2019c04bd34208e63c3560fe2c02fb0e 8 | $(package)_crate_versioned_name=$($(package)_crate_name) 9 | 10 | define $(package)_preprocess_cmds 11 | $(call generate_unpackaged_crate_checksum,$(package)) 12 | endef 13 | 14 | define $(package)_stage_cmds 15 | $(call vendor_crate_source,$(package)) 16 | endef 17 | -------------------------------------------------------------------------------- /src/consensus/merkle.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-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_CONSENSUS_MERKLE_H 6 | #define BITCOIN_CONSENSUS_MERKLE_H 7 | 8 | #include 9 | 10 | #include 11 | #include 12 | 13 | uint256 ComputeMerkleRoot(std::vector hashes, bool* mutated = nullptr); 14 | 15 | /* 16 | * Compute the Merkle root of the transactions in a block. 17 | * *mutated is set to true if a duplicated subtree was found. 18 | */ 19 | uint256 BlockMerkleRoot(const CBlock& block, bool* mutated = nullptr); 20 | 21 | #endif // BITCOIN_CONSENSUS_MERKLE_H 22 | -------------------------------------------------------------------------------- /src/cc/rogue/score.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Score file structure 3 | * 4 | * @(#)score.h 4.6 (Berkeley) 02/05/99 5 | * 6 | * Rogue: Exploring the Dungeons of Doom 7 | * Copyright (C) 1980-1983, 1985, 1999 Michael Toy, Ken Arnold and Glenn Wichman 8 | * All rights reserved. 9 | * 10 | * See the file LICENSE.TXT for full copyright and licensing information. 11 | */ 12 | #ifndef H_SCORE_H 13 | #define H_SCORE_H 14 | 15 | struct sc_ent { 16 | unsigned int sc_uid; 17 | int sc_score; 18 | unsigned int sc_flags; 19 | unsigned short sc_monster; 20 | char sc_name[MAXSTR]; 21 | int sc_level; 22 | unsigned int sc_time; 23 | }; 24 | 25 | typedef struct sc_ent SCORE; 26 | 27 | void rd_score(SCORE *top_ten); 28 | void wr_score(SCORE *top_ten); 29 | #endif 30 | -------------------------------------------------------------------------------- /share/ui.rc: -------------------------------------------------------------------------------- 1 | bitcoin ICON "pixmaps/bitcoin.ico" 2 | 3 | #include "wx/msw/wx.rc" 4 | 5 | check ICON "pixmaps/check.ico" 6 | send16 BITMAP "pixmaps/send16.bmp" 7 | send16mask BITMAP "pixmaps/send16mask.bmp" 8 | send16masknoshadow BITMAP "pixmaps/send16masknoshadow.bmp" 9 | send20 BITMAP "pixmaps/send20.bmp" 10 | send20mask BITMAP "pixmaps/send20mask.bmp" 11 | addressbook16 BITMAP "pixmaps/addressbook16.bmp" 12 | addressbook16mask BITMAP "pixmaps/addressbook16mask.bmp" 13 | addressbook20 BITMAP "pixmaps/addressbook20.bmp" 14 | addressbook20mask BITMAP "pixmaps/addressbook20mask.bmp" 15 | favicon ICON "pixmaps/favicon.ico" 16 | -------------------------------------------------------------------------------- /src/cc/makecclib: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | rm *.so rogue/rogue games/tetris games/prices 3 | 4 | echo rogue 5 | make -f Makefile_rogue 6 | ./makerogue 7 | rm ../libcc.so 8 | cp librogue.so ../libcc.so 9 | 10 | echo sudoku/musig/dilithium 11 | gcc -O3 -std=c++11 -I../secp256k1/include -I../univalue/include -I../cryptoconditions/include -I../cryptoconditions/src -I../cryptoconditions/src/asn -I.. -I. -fPIC -shared -c -o sudokucc.so cclib.cpp 12 | 13 | echo games tetris 14 | ./maketetris 15 | 16 | echo games prices 17 | ./makeprices 18 | 19 | echo customcc stub 20 | gcc -O3 -DBUILD_CUSTOMCC -std=c++11 -I../secp256k1/include -I../univalue/include -I../cryptoconditions/include -I../cryptoconditions/src -I../cryptoconditions/src/asn -I.. -I. -fPIC -shared -c -o customcc.so cclib.cpp 21 | -------------------------------------------------------------------------------- /src/crypto/sha1.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2014 The Bitcoin Core developers 2 | // Distributed under the MIT software license, see the accompanying 3 | // file COPYING or http://www.opensource.org/licenses/mit-license.php. 4 | 5 | #ifndef BITCOIN_CRYPTO_SHA1_H 6 | #define BITCOIN_CRYPTO_SHA1_H 7 | 8 | #include 9 | #include 10 | 11 | /** A hasher class for SHA1. */ 12 | class CSHA1 13 | { 14 | private: 15 | uint32_t s[5]; 16 | unsigned char buf[64]; 17 | size_t bytes; 18 | 19 | public: 20 | static const size_t OUTPUT_SIZE = 20; 21 | 22 | CSHA1(); 23 | CSHA1& Write(const unsigned char* data, size_t len); 24 | void Finalize(unsigned char hash[OUTPUT_SIZE]); 25 | CSHA1& Reset(); 26 | }; 27 | 28 | #endif // BITCOIN_CRYPTO_SHA1_H 29 | -------------------------------------------------------------------------------- /doc/unit-tests.md: -------------------------------------------------------------------------------- 1 | Compiling/running automated tests 2 | --------------------------------- 3 | 4 | Automated tests will be automatically compiled if dependencies were met in configure 5 | and tests weren't explicitly disabled. 6 | 7 | There are two scripts for running tests: 8 | 9 | * ``qa/zcash/full-test-suite.sh``, to run the main test suite 10 | * ``qa/pull-tester/rpc-tests.sh``, to run the RPC tests. 11 | 12 | The main test suite uses two different testing frameworks. Tests using the Boost 13 | framework are under ``src/test/``; tests using the Google Test/Google Mock 14 | framework are under ``src/gtest/`` and ``src/wallet/gtest/``. The latter framework 15 | is preferred for new Zcash unit tests. 16 | 17 | RPC tests are implemented in Python under the ``qa/rpc-tests/`` directory. 18 | -------------------------------------------------------------------------------- /src/fs.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2017 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 KOMODO_FS_H 6 | #define KOMODO_FS_H 7 | 8 | #include 9 | #include 10 | 11 | #include 12 | #include 13 | #include 14 | 15 | /** Filesystem operations and types */ 16 | namespace fs = boost::filesystem; 17 | 18 | /** Bridge operations to C stdio */ 19 | namespace fsbridge { 20 | FILE *fopen(const fs::path& p, const char *mode); 21 | FILE *freopen(const fs::path& p, const char *mode, FILE *stream); 22 | }; 23 | 24 | #endif // KOMODO_FS_H 25 | -------------------------------------------------------------------------------- /src/snark/libsnark/algebra/curves/curve_utils.hpp: -------------------------------------------------------------------------------- 1 | /** @file 2 | ***************************************************************************** 3 | * @author This file is part of libsnark, developed by SCIPR Lab 4 | * and contributors (see AUTHORS). 5 | * @copyright MIT license (see LICENSE file) 6 | *****************************************************************************/ 7 | 8 | #ifndef CURVE_UTILS_HPP_ 9 | #define CURVE_UTILS_HPP_ 10 | #include 11 | 12 | #include "algebra/fields/bigint.hpp" 13 | 14 | namespace libsnark { 15 | 16 | template 17 | GroupT scalar_mul(const GroupT &base, const bigint &scalar); 18 | 19 | } // libsnark 20 | #include "algebra/curves/curve_utils.tcc" 21 | 22 | #endif // CURVE_UTILS_HPP_ 23 | -------------------------------------------------------------------------------- /src/snark/libsnark/gadgetlib1/gadget.tcc: -------------------------------------------------------------------------------- 1 | /** @file 2 | ***************************************************************************** 3 | * @author This file is part of libsnark, developed by SCIPR Lab 4 | * and contributors (see AUTHORS). 5 | * @copyright MIT license (see LICENSE file) 6 | *****************************************************************************/ 7 | 8 | #ifndef GADGET_TCC_ 9 | #define GADGET_TCC_ 10 | 11 | namespace libsnark { 12 | 13 | template 14 | gadget::gadget(protoboard &pb, const std::string &annotation_prefix) : 15 | pb(pb), annotation_prefix(annotation_prefix) 16 | { 17 | #ifdef DEBUG 18 | assert(annotation_prefix != ""); 19 | #endif 20 | } 21 | 22 | } // libsnark 23 | #endif // GADGET_TCC_ 24 | -------------------------------------------------------------------------------- /doc/release-notes/release-notes-0.11.2.z6.md: -------------------------------------------------------------------------------- 1 | Jack Grigg (4): 2 | Equihash: Only compare the first n/(k+1) bits when sorting. 3 | Randomise the nonce in the block header. 4 | Clear mempool before using it for benchmark test, fix parameter name. 5 | Fix memory leak in large tx benchmark. 6 | 7 | Sean Bowe (5): 8 | Increase block size to 2MB and update performance test. 9 | Make sigop limit `20000` just as in Bitcoin, ignoring our change to the blocksize limit. 10 | Remove the mainnet checkpoints. 11 | Fix performance test for block verification. 12 | Make `validatelargetx` test more accurate. 13 | 14 | Taylor Hornby (1): 15 | Add example mock test of CheckTransaction. 16 | 17 | aniemerg (1): 18 | Suppress Libsnark Debugging Info. 19 | -------------------------------------------------------------------------------- /src/crypto/sha512.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2014 The Bitcoin Core developers 2 | // Distributed under the MIT software license, see the accompanying 3 | // file COPYING or http://www.opensource.org/licenses/mit-license.php. 4 | 5 | #ifndef BITCOIN_CRYPTO_SHA512_H 6 | #define BITCOIN_CRYPTO_SHA512_H 7 | 8 | #include 9 | #include 10 | 11 | /** A hasher class for SHA-512. */ 12 | class CSHA512 13 | { 14 | private: 15 | uint64_t s[8]; 16 | unsigned char buf[128]; 17 | size_t bytes; 18 | 19 | public: 20 | static const size_t OUTPUT_SIZE = 64; 21 | 22 | CSHA512(); 23 | CSHA512& Write(const unsigned char* data, size_t len); 24 | void Finalize(unsigned char hash[OUTPUT_SIZE]); 25 | CSHA512& Reset(); 26 | }; 27 | 28 | #endif // BITCOIN_CRYPTO_SHA512_H 29 | -------------------------------------------------------------------------------- /src/cryptoconditions/src/asn/per_opentype.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2007 Lev Walkin . All rights reserved. 3 | * Redistribution and modifications are permitted subject to BSD license. 4 | */ 5 | #ifndef _PER_OPENTYPE_H_ 6 | #define _PER_OPENTYPE_H_ 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | asn_dec_rval_t uper_open_type_get(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td, asn_per_constraints_t *constraints, void **sptr, asn_per_data_t *pd); 13 | 14 | int uper_open_type_skip(asn_codec_ctx_t *opt_codec_ctx, asn_per_data_t *pd); 15 | 16 | int uper_open_type_put(asn_TYPE_descriptor_t *td, asn_per_constraints_t *constraints, void *sptr, asn_per_outp_t *po); 17 | 18 | #ifdef __cplusplus 19 | } 20 | #endif 21 | 22 | #endif /* _PER_OPENTYPE_H_ */ 23 | -------------------------------------------------------------------------------- /doc/bitcoin-release-notes/release-notes-0.3.20.2.md: -------------------------------------------------------------------------------- 1 | The maxsendbuffer bug (0.3.20.1 clients not being able to download the block chain from other 0.3.20.1 clients) was only going to get 2 | worse as people upgraded, so I cherry-picked the bug fix and created a minor release yesterday. 3 | 4 | The Amazon Machine Images I used to do the builds are available: 5 | 6 | ami-38a05251 Bitcoin-v0.3.20.2 Mingw (Windows; Administrator password 'bitcoin development') 7 | ami-30a05259 Bitcoin_0.3.20.2 Linux32 8 | ami-8abc4ee3 Bitcoin_0.3.20.2 Linux64 9 | 10 | (mac build will be done soon) 11 | 12 | If you have already downloaded version 0.3.20.1, please either add this to your bitcoin.conf file: 13 | 14 | maxsendbuffer=10000 15 | maxreceivebuffer=10000 16 | 17 | ... or download the new version. 18 | -------------------------------------------------------------------------------- /depends/packages/native_protobuf.mk: -------------------------------------------------------------------------------- 1 | package=native_protobuf 2 | $(package)_version=2.6.1 3 | $(package)_download_path=https://github.com/google/protobuf/releases/download/v$($(package)_version) 4 | $(package)_file_name=protobuf-$($(package)_version).tar.bz2 5 | $(package)_sha256_hash=ee445612d544d885ae240ffbcbf9267faa9f593b7b101f21d58beceb92661910 6 | 7 | define $(package)_set_vars 8 | $(package)_config_opts=--disable-shared --without-zlib 9 | endef 10 | 11 | define $(package)_config_cmds 12 | $($(package)_autoconf) 13 | endef 14 | 15 | define $(package)_build_cmds 16 | $(MAKE) -C src protoc 17 | endef 18 | 19 | define $(package)_stage_cmds 20 | $(MAKE) -C src DESTDIR=$($(package)_staging_dir) install-strip 21 | endef 22 | 23 | define $(package)_postprocess_cmds 24 | rm -rf lib include 25 | endef 26 | -------------------------------------------------------------------------------- /src/cryptoconditions/tests/vectors/0001_test-minimal-prefix.json: -------------------------------------------------------------------------------- 1 | { 2 | "json": { 3 | "type": "prefix-sha-256", 4 | "maxMessageLength": 0, 5 | "prefix": "", 6 | "subfulfillment": { 7 | "type": "preimage-sha-256", 8 | "preimage": "" 9 | } 10 | }, 11 | "cost": 1024, 12 | "subtypes": [ 13 | "preimage-sha-256" 14 | ], 15 | "fingerprintContents": "302E8000810100A227A0258020E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855810100", 16 | "fulfillment": "A10B8000810100A204A0028000", 17 | "conditionBinary": "A12A8020BB1AC5260C0141B7E54B26EC2330637C5597BF811951AC09E744AD20FF77E2878102040082020780", 18 | "conditionUri": "ni:///sha-256;uxrFJgwBQbflSybsIzBjfFWXv4EZUawJ50StIP934oc?fpt=prefix-sha-256&cost=1024&subtypes=preimage-sha-256", 19 | "message": "" 20 | } -------------------------------------------------------------------------------- /src/cryptoconditions/tests/vectors/0002_test-minimal-threshold.json: -------------------------------------------------------------------------------- 1 | { 2 | "json": { 3 | "type": "threshold-sha-256", 4 | "threshold": 1, 5 | "subfulfillments": [ 6 | { 7 | "type": "preimage-sha-256", 8 | "preimage": "" 9 | } 10 | ] 11 | }, 12 | "cost": 1024, 13 | "subtypes": [ 14 | "preimage-sha-256" 15 | ], 16 | "fingerprintContents": "302C800101A127A0258020E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855810100", 17 | "fulfillment": "A208A004A0028000A100", 18 | "conditionBinary": "A22A8020B4B84136DF48A71D73F4985C04C6767A778ECB65BA7023B4506823BEEE7631B98102040082020780", 19 | "conditionUri": "ni:///sha-256;tLhBNt9Ipx1z9JhcBMZ2eneOy2W6cCO0UGgjvu52Mbk?fpt=threshold-sha-256&cost=1024&subtypes=preimage-sha-256", 20 | "message": "" 21 | } -------------------------------------------------------------------------------- /src/leveldb/helpers/memenv/memenv.h: -------------------------------------------------------------------------------- 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 | #ifndef STORAGE_LEVELDB_HELPERS_MEMENV_MEMENV_H_ 6 | #define STORAGE_LEVELDB_HELPERS_MEMENV_MEMENV_H_ 7 | 8 | namespace leveldb { 9 | 10 | class Env; 11 | 12 | // Returns a new environment that stores its data in memory and delegates 13 | // all non-file-storage tasks to base_env. The caller must delete the result 14 | // when it is no longer needed. 15 | // *base_env must remain live while the result is in use. 16 | Env* NewMemEnv(Env* base_env); 17 | 18 | } // namespace leveldb 19 | 20 | #endif // STORAGE_LEVELDB_HELPERS_MEMENV_MEMENV_H_ 21 | -------------------------------------------------------------------------------- /src/univalue/test/test_json.cpp: -------------------------------------------------------------------------------- 1 | // Test program that can be called by the JSON test suite at 2 | // https://github.com/nst/JSONTestSuite. 3 | // 4 | // It reads JSON input from stdin and exits with code 0 if it can be parsed 5 | // successfully. It also pretty prints the parsed JSON value to stdout. 6 | 7 | #include 8 | #include 9 | #include "univalue.h" 10 | 11 | using namespace std; 12 | 13 | int main (int argc, char *argv[]) 14 | { 15 | UniValue val; 16 | if (val.read(string(istreambuf_iterator(cin), 17 | istreambuf_iterator()))) { 18 | cout << val.write(1 /* prettyIndent */, 4 /* indentLevel */) << endl; 19 | return 0; 20 | } else { 21 | cerr << "JSON Parse Error." << endl; 22 | return 1; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/cc/dapps/README.md: -------------------------------------------------------------------------------- 1 | # CryptoCondition dApps 2 | 3 | ## Compiling 4 | 5 | To compile all dapps in this directory: 6 | 7 | make 8 | 9 | ## zmigrate - Sprout to Sapling Migration dApp 10 | 11 | This tool converts Sprout zaddress funds into Sapling funds in a new Sapling address. 12 | 13 | ### Usage 14 | 15 | ./zmigrate COIN zsaplingaddr 16 | 17 | The above command may need to be run multiple times to complete the process. 18 | 19 | This CLI implementation will be called by GUI wallets, average users do not 20 | need to worry about using this low-level tool. 21 | 22 | ## oraclefeed - feed of price data using oracles 23 | 24 | ### Usage 25 | 26 | ./oraclefeed $ACNAME $ORACLETXID $MYPUBKEY $FORMAT $BINDTXID [refcoin_cli] 27 | 28 | Supported formats are L and Ihh. Price data from CoinDesk API. 29 | -------------------------------------------------------------------------------- /src/secp256k1/src/num_impl.h: -------------------------------------------------------------------------------- 1 | /********************************************************************** 2 | * Copyright (c) 2013, 2014 Pieter Wuille * 3 | * Distributed under the MIT software license, see the accompanying * 4 | * file COPYING or http://www.opensource.org/licenses/mit-license.php.* 5 | **********************************************************************/ 6 | 7 | #ifndef SECP256K1_NUM_IMPL_H 8 | #define SECP256K1_NUM_IMPL_H 9 | 10 | #if defined HAVE_CONFIG_H 11 | #include "libsecp256k1-config.h" 12 | #endif 13 | 14 | #include "num.h" 15 | 16 | #if defined(USE_NUM_GMP) 17 | #include "num_gmp_impl.h" 18 | #elif defined(USE_NUM_NONE) 19 | /* Nothing. */ 20 | #else 21 | #error "Please select num implementation" 22 | #endif 23 | 24 | #endif /* SECP256K1_NUM_IMPL_H */ 25 | -------------------------------------------------------------------------------- /src/cc/rogue/vers.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Version number. Whenever a new version number is desired, use sccs 3 | * to get vers.c. encstr is declared here to force it to be loaded 4 | * before the version number, and therefore not to be written in saved 5 | * games. 6 | * 7 | * Rogue: Exploring the Dungeons of Doom 8 | * Copyright (C) 1980-1983, 1985, 1999 Michael Toy, Ken Arnold and Glenn Wichman 9 | * All rights reserved. 10 | * 11 | * See the file LICENSE.TXT for full copyright and licensing information. 12 | */ 13 | 14 | char *release = "5.4.4"; 15 | char *encstr = "\300k||`\251Y.'\305\321\201+\277~r\"]\240_\223=1\341)\222\212\241t;\t$\270\314/<#\201\254"; 16 | char *statlist = "\355kl{+\204\255\313idJ\361\214=4:\311\271\341wK<\312\321\213,,7\271/Rk%\b\312\f\246"; 17 | char *version = "rogue (rogueforge) 09/05/07"; 18 | -------------------------------------------------------------------------------- /src/crypto/ripemd160.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2014 The Bitcoin Core developers 2 | // Distributed under the MIT software license, see the accompanying 3 | // file COPYING or http://www.opensource.org/licenses/mit-license.php. 4 | 5 | #ifndef BITCOIN_CRYPTO_RIPEMD160_H 6 | #define BITCOIN_CRYPTO_RIPEMD160_H 7 | 8 | #include 9 | #include 10 | 11 | /** A hasher class for RIPEMD-160. */ 12 | class CRIPEMD160 13 | { 14 | private: 15 | uint32_t s[5]; 16 | unsigned char buf[64]; 17 | size_t bytes; 18 | 19 | public: 20 | static const size_t OUTPUT_SIZE = 20; 21 | 22 | CRIPEMD160(); 23 | CRIPEMD160& Write(const unsigned char* data, size_t len); 24 | void Finalize(unsigned char hash[OUTPUT_SIZE]); 25 | CRIPEMD160& Reset(); 26 | }; 27 | 28 | #endif // BITCOIN_CRYPTO_RIPEMD160_H 29 | -------------------------------------------------------------------------------- /src/qt/openuridialog.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2011-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 KOMODO_QT_OPENURIDIALOG_H 6 | #define KOMODO_QT_OPENURIDIALOG_H 7 | 8 | #include 9 | 10 | namespace Ui { 11 | class OpenURIDialog; 12 | } 13 | 14 | class OpenURIDialog : public QDialog 15 | { 16 | Q_OBJECT 17 | 18 | public: 19 | explicit OpenURIDialog(QWidget *parent); 20 | ~OpenURIDialog(); 21 | 22 | QString getURI(); 23 | 24 | protected Q_SLOTS: 25 | void accept(); 26 | 27 | private Q_SLOTS: 28 | void on_selectFileButton_clicked(); 29 | 30 | private: 31 | Ui::OpenURIDialog *ui; 32 | }; 33 | 34 | #endif // KOMODO_QT_OPENURIDIALOG_H 35 | -------------------------------------------------------------------------------- /doc/release-notes/release-notes-1.0.0.md: -------------------------------------------------------------------------------- 1 | Jack Grigg (8): 2 | Rework zcutil/build-debian-package.sh to place files correctly 3 | Add lintian check to zcutil/build-debian-package.sh 4 | Fix DEBIAN/control errors raised by lintian 5 | Build libsnark with -march=x86-64 instead of -march=native 6 | Disable the metrics screen on regtest 7 | Add the Zcash genesis blocks 8 | Update tests for new genesis blocks 9 | Update version strings to 1.0.0 10 | 11 | Kevin Gallagher (6): 12 | Use fakeroot to build Debian package 13 | Update Debian package maintainer scripts 14 | Fixes executable mode of maintainer scripts 15 | Add DEBIAN/rules file (required by policy) 16 | Adds zcash.examples and zcash.manpages 17 | Run Lintian after built package is copied to $SRC_PATH 18 | 19 | -------------------------------------------------------------------------------- /src/cryptoconditions/src/include/secp256k1/src/num_impl.h: -------------------------------------------------------------------------------- 1 | /********************************************************************** 2 | * Copyright (c) 2013, 2014 Pieter Wuille * 3 | * Distributed under the MIT software license, see the accompanying * 4 | * file COPYING or http://www.opensource.org/licenses/mit-license.php.* 5 | **********************************************************************/ 6 | 7 | #ifndef SECP256K1_NUM_IMPL_H 8 | #define SECP256K1_NUM_IMPL_H 9 | 10 | #if defined HAVE_CONFIG_H 11 | #include "libsecp256k1-config.h" 12 | #endif 13 | 14 | #include "num.h" 15 | 16 | #if defined(USE_NUM_GMP) 17 | #include "num_gmp_impl.h" 18 | #elif defined(USE_NUM_NONE) 19 | /* Nothing. */ 20 | #else 21 | #error "Please select num implementation" 22 | #endif 23 | 24 | #endif /* SECP256K1_NUM_IMPL_H */ 25 | -------------------------------------------------------------------------------- /doc/bitcoin-release-notes/release-notes-0.3.23.md: -------------------------------------------------------------------------------- 1 | Win32, Linux, MacOSX and source releases for bitcoin v0.3.23 have been uploaded to 2 | https://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.3.23/ 3 | 4 | This is another quick bugfix release, trying to deal with the influx of new bitcoin users. 5 | 6 | Main items of note: 7 | 8 | * P2P connect-to-node logic changed to reduce timeout a bit. The network saw a huge influx of new users, who do not permit incoming connections. This change is a short-term hack, to more quickly hunt for useful P2P connections. Better "leaf node" logic is in the works, but this should let us limp along until then. One may use -upnp to properly forward ports, and help the network. 9 | * Transaction fee reduced to 0.0005 for new transactions 10 | * Client will relay transactions with fees as low as 0.0001 BTC 11 | -------------------------------------------------------------------------------- /src/clearassets: -------------------------------------------------------------------------------- 1 | rm -rf ~/.komodo/USD 2 | rm -rf ~/.komodo/EUR 3 | rm -rf ~/.komodo/JPY 4 | rm -rf ~/.komodo/GBP 5 | rm -rf ~/.komodo/AUD 6 | rm -rf ~/.komodo/CAD 7 | rm -rf ~/.komodo/CHF 8 | rm -rf ~/.komodo/NZD 9 | rm -rf ~/.komodo/CNY 10 | rm -rf ~/.komodo/RUB 11 | rm -rf ~/.komodo/MXN 12 | rm -rf ~/.komodo/BRL 13 | rm -rf ~/.komodo/INR 14 | rm -rf ~/.komodo/HKD 15 | rm -rf ~/.komodo/TRY 16 | rm -rf ~/.komodo/ZAR 17 | rm -rf ~/.komodo/PLN 18 | rm -rf ~/.komodo/NOK 19 | rm -rf ~/.komodo/SEK 20 | rm -rf ~/.komodo/DKK 21 | rm -rf ~/.komodo/CZK 22 | rm -rf ~/.komodo/HUF 23 | rm -rf ~/.komodo/ILS 24 | rm -rf ~/.komodo/KRW 25 | rm -rf ~/.komodo/MYR 26 | rm -rf ~/.komodo/PHP 27 | rm -rf ~/.komodo/RON 28 | rm -rf ~/.komodo/SGD 29 | rm -rf ~/.komodo/THB 30 | rm -rf ~/.komodo/BGN 31 | rm -rf ~/.komodo/IDR 32 | rm -rf ~/.komodo/HRK 33 | -------------------------------------------------------------------------------- /src/cryptoconditions/src/include/secp256k1/src/scalar_8x32.h: -------------------------------------------------------------------------------- 1 | /********************************************************************** 2 | * Copyright (c) 2014 Pieter Wuille * 3 | * Distributed under the MIT software license, see the accompanying * 4 | * file COPYING or http://www.opensource.org/licenses/mit-license.php.* 5 | **********************************************************************/ 6 | 7 | #ifndef SECP256K1_SCALAR_REPR_H 8 | #define SECP256K1_SCALAR_REPR_H 9 | 10 | #include 11 | 12 | /** A scalar modulo the group order of the secp256k1 curve. */ 13 | typedef struct { 14 | uint32_t d[8]; 15 | } secp256k1_scalar; 16 | 17 | #define SECP256K1_SCALAR_CONST(d7, d6, d5, d4, d3, d2, d1, d0) {{(d0), (d1), (d2), (d3), (d4), (d5), (d6), (d7)}} 18 | 19 | #endif /* SECP256K1_SCALAR_REPR_H */ 20 | -------------------------------------------------------------------------------- /src/zcash/prf.h: -------------------------------------------------------------------------------- 1 | /* 2 | Zcash uses SHA256Compress as a PRF for various components 3 | within the zkSNARK circuit. 4 | */ 5 | 6 | #ifndef ZC_PRF_H_ 7 | #define ZC_PRF_H_ 8 | 9 | #include "uint256.h" 10 | #include "uint252.h" 11 | 12 | #include 13 | 14 | //! Sprout functions 15 | uint256 PRF_addr_a_pk(const uint252& a_sk); 16 | uint256 PRF_addr_sk_enc(const uint252& a_sk); 17 | uint256 PRF_nf(const uint252& a_sk, const uint256& rho); 18 | uint256 PRF_pk(const uint252& a_sk, size_t i0, const uint256& h_sig); 19 | uint256 PRF_rho(const uint252& phi, size_t i0, const uint256& h_sig); 20 | 21 | //! Sapling functions 22 | uint256 PRF_ask(const uint256& sk); 23 | uint256 PRF_nsk(const uint256& sk); 24 | uint256 PRF_ovk(const uint256& sk); 25 | 26 | std::array default_diversifier(const uint256& sk); 27 | 28 | #endif // ZC_PRF_H_ 29 | -------------------------------------------------------------------------------- /contrib/komodo-qt.pro: -------------------------------------------------------------------------------- 1 | FORMS += \ 2 | ../src/qt/forms/aboutdialog.ui \ 3 | ../src/qt/forms/addressbookpage.ui \ 4 | ../src/qt/forms/askpassphrasedialog.ui \ 5 | ../src/qt/forms/coincontroldialog.ui \ 6 | ../src/qt/forms/editaddressdialog.ui \ 7 | ../src/qt/forms/helpmessagedialog.ui \ 8 | ../src/qt/forms/intro.ui \ 9 | ../src/qt/forms/openuridialog.ui \ 10 | ../src/qt/forms/optionsdialog.ui \ 11 | ../src/qt/forms/overviewpage.ui \ 12 | ../src/qt/forms/receivecoinsdialog.ui \ 13 | ../src/qt/forms/receiverequestdialog.ui \ 14 | ../src/qt/forms/debugwindow.ui \ 15 | ../src/qt/forms/sendcoinsdialog.ui \ 16 | ../src/qt/forms/sendcoinsentry.ui \ 17 | ../src/qt/forms/signverifymessagedialog.ui \ 18 | ../src/qt/forms/transactiondescdialog.ui \ 19 | 20 | RESOURCES += \ 21 | ../src/qt/komodo.qrc 22 | -------------------------------------------------------------------------------- /src/snark/libsnark/common/template_utils.hpp: -------------------------------------------------------------------------------- 1 | /** @file 2 | ***************************************************************************** 3 | 4 | Declaration of functions for supporting the use of templates. 5 | 6 | ***************************************************************************** 7 | * @author This file is part of libsnark, developed by SCIPR Lab 8 | * and contributors (see AUTHORS). 9 | * @copyright MIT license (see LICENSE file) 10 | *****************************************************************************/ 11 | 12 | #ifndef TEMPLATE_UTILS_HPP_ 13 | #define TEMPLATE_UTILS_HPP_ 14 | 15 | namespace libsnark { 16 | 17 | /* A commonly used SFINAE helper type */ 18 | template 19 | struct void_type 20 | { 21 | typedef void type; 22 | }; 23 | 24 | } // libsnark 25 | 26 | #endif // TEMPLATE_UTILS_HPP_ 27 | -------------------------------------------------------------------------------- /src/qt/res/src/tx_in.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /src/snark/libsnark/gadgetlib1/gadget.hpp: -------------------------------------------------------------------------------- 1 | /** @file 2 | ***************************************************************************** 3 | * @author This file is part of libsnark, developed by SCIPR Lab 4 | * and contributors (see AUTHORS). 5 | * @copyright MIT license (see LICENSE file) 6 | *****************************************************************************/ 7 | 8 | #ifndef GADGET_HPP_ 9 | #define GADGET_HPP_ 10 | 11 | #include "gadgetlib1/protoboard.hpp" 12 | 13 | namespace libsnark { 14 | 15 | template 16 | class gadget { 17 | protected: 18 | protoboard &pb; 19 | const std::string annotation_prefix; 20 | public: 21 | gadget(protoboard &pb, const std::string &annotation_prefix=""); 22 | }; 23 | 24 | } // libsnark 25 | #include "gadgetlib1/gadget.tcc" 26 | 27 | #endif // GADGET_HPP_ 28 | -------------------------------------------------------------------------------- /depends/patches/librustzcash/cargo.config: -------------------------------------------------------------------------------- 1 | [source.crates-io] 2 | replace-with = "vendored-sources" 3 | 4 | [source."https://github.com/gtank/blake2-rfc"] 5 | git = "https://github.com/gtank/blake2-rfc" 6 | rev = "7a5b5fc99ae483a0043db7547fb79a6fa44b88a9" 7 | replace-with = "vendored-sources" 8 | 9 | [source."https://github.com/zcash-hackworks/sapling-crypto"] 10 | git = "https://github.com/zcash-hackworks/sapling-crypto" 11 | rev = "21084bde2019c04bd34208e63c3560fe2c02fb0e" 12 | replace-with = "vendored-sources" 13 | 14 | [source."https://github.com/zcash-hackworks/zip32"] 15 | git = "https://github.com/zcash-hackworks/zip32" 16 | rev = "176470ef41583b5bd0bd749bd1b61d417aa8ec79" 17 | replace-with = "vendored-sources" 18 | 19 | [source.vendored-sources] 20 | directory = "CRATE_REGISTRY" 21 | 22 | [target.x86_64-pc-windows-gnu] 23 | linker = "x86_64-w64-mingw32-gcc" 24 | -------------------------------------------------------------------------------- /src/cryptoconditions/src/include/ed25519/src/seed.c: -------------------------------------------------------------------------------- 1 | #include "ed25519.h" 2 | 3 | #ifndef ED25519_NO_SEED 4 | 5 | #ifdef _WIN32 6 | #include 7 | #include 8 | #else 9 | #include 10 | #endif 11 | 12 | int ed25519_create_seed(unsigned char *seed) { 13 | #ifdef _WIN32 14 | HCRYPTPROV prov; 15 | 16 | if (!CryptAcquireContext(&prov, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT)) { 17 | return 1; 18 | } 19 | 20 | if (!CryptGenRandom(prov, 32, seed)) { 21 | CryptReleaseContext(prov, 0); 22 | return 1; 23 | } 24 | 25 | CryptReleaseContext(prov, 0); 26 | #else 27 | FILE *f = fopen("/dev/urandom", "rb"); 28 | 29 | if (f == NULL) { 30 | return 1; 31 | } 32 | 33 | fread(seed, 1, 32, f); 34 | fclose(f); 35 | #endif 36 | 37 | return 0; 38 | } 39 | 40 | #endif 41 | -------------------------------------------------------------------------------- /src/leveldb/port/port.h: -------------------------------------------------------------------------------- 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 | #ifndef STORAGE_LEVELDB_PORT_PORT_H_ 6 | #define STORAGE_LEVELDB_PORT_PORT_H_ 7 | 8 | #include 9 | 10 | // Include the appropriate platform specific file below. If you are 11 | // porting to a new platform, see "port_example.h" for documentation 12 | // of what the new port_.h file must provide. 13 | #if defined(LEVELDB_PLATFORM_POSIX) 14 | # include "port/port_posix.h" 15 | #elif defined(LEVELDB_PLATFORM_CHROMIUM) 16 | # include "port/port_chromium.h" 17 | #elif defined(LEVELDB_PLATFORM_WINDOWS) 18 | # include "port/port_win.h" 19 | #endif 20 | 21 | #endif // STORAGE_LEVELDB_PORT_PORT_H_ 22 | -------------------------------------------------------------------------------- /depends/patches/boost/commit-74fb0a2.patch: -------------------------------------------------------------------------------- 1 | From 74fb0a26099bc51d717f5f154b37231ce7df3e98 Mon Sep 17 00:00:00 2001 2 | From: Rob Boehne 3 | Date: Wed, 20 Nov 2019 11:25:20 -0600 4 | Subject: Revert change to elide a warning that caused Solaris builds to fail. 5 | 6 | 7 | diff --git a/include/boost/thread/pthread/thread_data.hpp b/include/boost/thread/pthread/thread_data.hpp 8 | index aefbeb43..bc9b1367 100644 9 | --- a/include/boost/thread/pthread/thread_data.hpp 10 | +++ b/include/boost/thread/pthread/thread_data.hpp 11 | @@ -57,7 +57,7 @@ namespace boost 12 | #else 13 | std::size_t page_size = ::sysconf( _SC_PAGESIZE); 14 | #endif 15 | -#if PTHREAD_STACK_MIN > 0 16 | +#ifdef PTHREAD_STACK_MIN 17 | if (size 3 | Date: Tue Aug 18 15:09:06 2020 +0800 4 | 5 | Don't hardcode pwd path 6 | 7 | Let a man use his builtins if he wants to! Also, removes the unnecessary 8 | assumption that pwd lives under /bin/pwd. 9 | 10 | See #15581. 11 | 12 | diff --git a/qtbase/configure b/qtbase/configure 13 | index 08b49a8d..faea5b55 100755 14 | --- a/qtbase/configure 15 | +++ b/qtbase/configure 16 | @@ -36,9 +36,9 @@ 17 | relconf=`basename $0` 18 | # the directory of this script is the "source tree" 19 | relpath=`dirname $0` 20 | -relpath=`(cd "$relpath"; /bin/pwd)` 21 | +relpath=`(cd "$relpath"; pwd)` 22 | # the current directory is the "build tree" or "object tree" 23 | -outpath=`/bin/pwd` 24 | +outpath=`pwd` 25 | 26 | WHICH="which" 27 | 28 | -------------------------------------------------------------------------------- /depends/builders/default.mk: -------------------------------------------------------------------------------- 1 | default_build_CC = gcc 2 | default_build_CXX = g++ 3 | default_build_AR = ar 4 | default_build_RANLIB = ranlib 5 | default_build_STRIP = strip 6 | default_build_NM = nm 7 | default_build_OTOOL = otool 8 | default_build_INSTALL_NAME_TOOL = install_name_tool 9 | 10 | define add_build_tool_func 11 | build_$(build_os)_$1 ?= $$(default_build_$1) 12 | build_$(build_arch)_$(build_os)_$1 ?= $$(build_$(build_os)_$1) 13 | build_$1=$$(build_$(build_arch)_$(build_os)_$1) 14 | endef 15 | $(foreach var,CC CXX AR RANLIB NM STRIP SHA256SUM DOWNLOAD OTOOL INSTALL_NAME_TOOL,$(eval $(call add_build_tool_func,$(var)))) 16 | define add_build_flags_func 17 | build_$(build_arch)_$(build_os)_$1 += $(build_$(build_os)_$1) 18 | build_$1=$$(build_$(build_arch)_$(build_os)_$1) 19 | endef 20 | $(foreach flags, CFLAGS CXXFLAGS LDFLAGS, $(eval $(call add_build_flags_func,$(flags)))) 21 | -------------------------------------------------------------------------------- /depends/packages/native_libtapi.mk: -------------------------------------------------------------------------------- 1 | package=native_libtapi 2 | $(package)_version=664b8414f89612f2dfd35a9b679c345aa5389026 3 | $(package)_download_path=https://github.com/tpoechtrager/apple-libtapi/archive 4 | $(package)_download_file=$($(package)_version).tar.gz 5 | $(package)_file_name=$($(package)_version).tar.gz 6 | $(package)_sha256_hash=62e419c12d1c9fad67cc1cd523132bc00db050998337c734c15bc8d73cc02b61 7 | 8 | ifeq ($(strip $(FORCE_USE_SYSTEM_CLANG)),) 9 | $(package)_dependencies=native_clang 10 | endif 11 | 12 | define $(package)_build_cmds 13 | CC=$(clang_prog) CXX=$(clangxx_prog) INSTALLPREFIX=$($(package)_staging_prefix_dir) ./build.sh 14 | endef 15 | 16 | define $(package)_stage_cmds 17 | ./install.sh && \ 18 | mkdir -p $($(package)_staging_prefix_dir)/include/llvm-c && \ 19 | cp src/llvm/include/llvm-c/lto.h $($(package)_staging_prefix_dir)/include/llvm-c 20 | endef 21 | -------------------------------------------------------------------------------- /src/qt/transactiondescdialog.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2011-2014 The Bitcoin Core developers 2 | // Distributed under the MIT software license, see the accompanying 3 | // file COPYING or http://www.opensource.org/licenses/mit-license.php. 4 | 5 | #ifndef KOMODO_QT_TRANSACTIONDESCDIALOG_H 6 | #define KOMODO_QT_TRANSACTIONDESCDIALOG_H 7 | 8 | #include 9 | 10 | namespace Ui { 11 | class TransactionDescDialog; 12 | } 13 | 14 | QT_BEGIN_NAMESPACE 15 | class QModelIndex; 16 | QT_END_NAMESPACE 17 | 18 | /** Dialog showing transaction details. */ 19 | class TransactionDescDialog : public QDialog 20 | { 21 | Q_OBJECT 22 | 23 | public: 24 | explicit TransactionDescDialog(const QModelIndex &idx, QWidget *parent = 0); 25 | ~TransactionDescDialog(); 26 | 27 | private: 28 | Ui::TransactionDescDialog *ui; 29 | }; 30 | 31 | #endif // KOMODO_QT_TRANSACTIONDESCDIALOG_H 32 | -------------------------------------------------------------------------------- /src/snark/libsnark/common/default_types/r1cs_ppzksnark_pp.hpp: -------------------------------------------------------------------------------- 1 | /** @file 2 | ***************************************************************************** 3 | 4 | This file defines default_r1cs_ppzksnark_pp based on the elliptic curve 5 | choice selected in ec_pp.hpp. 6 | 7 | ***************************************************************************** 8 | * @author This file is part of libsnark, developed by SCIPR Lab 9 | * and contributors (see AUTHORS). 10 | * @copyright MIT license (see LICENSE file) 11 | *****************************************************************************/ 12 | 13 | #ifndef R1CS_PPZKSNARK_PP_HPP_ 14 | #define R1CS_PPZKSNARK_PP_HPP_ 15 | 16 | #include "common/default_types/ec_pp.hpp" 17 | 18 | namespace libsnark { 19 | typedef default_ec_pp default_r1cs_ppzksnark_pp; 20 | } // libsnark 21 | 22 | #endif // R1CS_PPZKSNARK_PP_HPP_ 23 | -------------------------------------------------------------------------------- /src/snark/libsnark/gadgetlib1/examples/simple_example.hpp: -------------------------------------------------------------------------------- 1 | /** @file 2 | ***************************************************************************** 3 | * @author This file is part of libsnark, developed by SCIPR Lab 4 | * and contributors (see AUTHORS). 5 | * @copyright MIT license (see LICENSE file) 6 | *****************************************************************************/ 7 | 8 | #ifndef SIMPLE_EXAMPLE_HPP_ 9 | #define SIMPLE_EXAMPLE_HPP_ 10 | 11 | #include "examples/r1cs_examples.hpp" 12 | 13 | namespace libsnark { 14 | 15 | template 16 | r1cs_example gen_r1cs_example_from_protoboard(const size_t num_constraints, 17 | const size_t num_inputs); 18 | 19 | } // libsnark 20 | 21 | #include "gadgetlib1/examples/simple_example.tcc" 22 | 23 | #endif // SIMPLE_EXAMPLE_HPP_ 24 | -------------------------------------------------------------------------------- /contrib/macdeploy/fancy.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | window_bounds 6 | 7 | 300 8 | 300 9 | 800 10 | 620 11 | 12 | background_picture 13 | background.tiff 14 | icon_size 15 | 96 16 | applications_symlink 17 | 18 | items_position 19 | 20 | Applications 21 | 22 | 370 23 | 156 24 | 25 | Komodo-Qt.app 26 | 27 | 128 28 | 156 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /depends/hosts/linux.mk: -------------------------------------------------------------------------------- 1 | linux_CFLAGS=-pipe 2 | linux_CXXFLAGS=$(linux_CFLAGS) 3 | 4 | linux_release_CFLAGS=-O2 5 | linux_release_CXXFLAGS=$(linux_release_CFLAGS) 6 | 7 | linux_debug_CFLAGS=-O1 8 | linux_debug_CXXFLAGS=$(linux_debug_CFLAGS) 9 | 10 | linux_debug_CPPFLAGS=-D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC 11 | 12 | ifeq (86,$(findstring 86,$(build_arch))) 13 | i686_linux_CC=gcc -m32 14 | i686_linux_CXX=g++ -m32 15 | i686_linux_AR=ar 16 | i686_linux_RANLIB=ranlib 17 | i686_linux_NM=nm 18 | i686_linux_STRIP=strip 19 | 20 | x86_64_linux_CC=gcc -m64 21 | x86_64_linux_CXX=g++ -m64 22 | x86_64_linux_AR=ar 23 | x86_64_linux_RANLIB=ranlib 24 | x86_64_linux_NM=nm 25 | x86_64_linux_STRIP=strip 26 | else 27 | i686_linux_CC=$(default_host_CC) -m32 28 | i686_linux_CXX=$(default_host_CXX) -m32 29 | x86_64_linux_CC=$(default_host_CC) -m64 30 | x86_64_linux_CXX=$(default_host_CXX) -m64 31 | endif 32 | -------------------------------------------------------------------------------- /src/qt/transactiondesc.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2011-2014 The Bitcoin Core developers 2 | // Distributed under the MIT software license, see the accompanying 3 | // file COPYING or http://www.opensource.org/licenses/mit-license.php. 4 | 5 | #ifndef KOMODO_QT_TRANSACTIONDESC_H 6 | #define KOMODO_QT_TRANSACTIONDESC_H 7 | 8 | #include 9 | #include 10 | 11 | class TransactionRecord; 12 | 13 | class CWallet; 14 | class CWalletTx; 15 | 16 | /** Provide a human-readable extended HTML description of a transaction. 17 | */ 18 | class TransactionDesc: public QObject 19 | { 20 | Q_OBJECT 21 | 22 | public: 23 | static QString toHTML(CWallet *wallet, CWalletTx &wtx, TransactionRecord *rec, int unit); 24 | 25 | private: 26 | TransactionDesc() {} 27 | 28 | static QString FormatTxStatus(const CWalletTx& wtx); 29 | }; 30 | 31 | #endif // KOMODO_QT_TRANSACTIONDESC_H 32 | -------------------------------------------------------------------------------- /depends/packages/freetype.mk: -------------------------------------------------------------------------------- 1 | package=freetype 2 | $(package)_version=2.7.1 3 | $(package)_download_path=https://download.savannah.gnu.org/releases/$(package) 4 | $(package)_file_name=$(package)-$($(package)_version).tar.bz2 5 | $(package)_sha256_hash=3a3bb2c4e15ffb433f2032f50a5b5a92558206822e22bfe8cbe339af4aa82f88 6 | 7 | define $(package)_set_vars 8 | $(package)_config_opts=--without-zlib --without-png --without-harfbuzz --without-bzip2 --disable-static 9 | $(package)_config_opts += --enable-option-checking 10 | $(package)_config_opts_linux=--with-pic 11 | endef 12 | 13 | define $(package)_config_cmds 14 | $($(package)_autoconf) 15 | endef 16 | 17 | define $(package)_build_cmds 18 | $(MAKE) 19 | endef 20 | 21 | define $(package)_stage_cmds 22 | $(MAKE) DESTDIR=$($(package)_staging_dir) install 23 | endef 24 | 25 | define $(package)_postprocess_cmds 26 | rm lib/*.la 27 | endef 28 | -------------------------------------------------------------------------------- /depends/packages/xproto.mk: -------------------------------------------------------------------------------- 1 | package=xproto 2 | $(package)_version=7.0.26 3 | $(package)_download_path=https://xorg.freedesktop.org/releases/individual/proto 4 | $(package)_file_name=$(package)-$($(package)_version).tar.bz2 5 | $(package)_sha256_hash=636162c1759805a5a0114a369dffdeccb8af8c859ef6e1445f26a4e6e046514f 6 | 7 | define $(package)_set_vars 8 | $(package)_config_opts=--without-fop --without-xmlto --without-xsltproc --disable-specs 9 | $(package)_config_opts += --disable-dependency-tracking --enable-option-checking 10 | endef 11 | 12 | define $(package)_preprocess_cmds 13 | cp -f $(BASEDIR)/config.guess $(BASEDIR)/config.sub . 14 | endef 15 | 16 | define $(package)_config_cmds 17 | $($(package)_autoconf) 18 | endef 19 | 20 | define $(package)_build_cmds 21 | $(MAKE) 22 | endef 23 | 24 | define $(package)_stage_cmds 25 | $(MAKE) DESTDIR=$($(package)_staging_dir) install 26 | endef 27 | -------------------------------------------------------------------------------- /depends/patches/qt/qtbase-moc-ignore-gcc-macro.patch: -------------------------------------------------------------------------------- 1 | The moc executable loops through headers on CPLUS_INCLUDE_PATH and stumbles 2 | on the GCC internal _GLIBCXX_VISIBILITY macro. Tell it to ignore it as it is 3 | not supposed to be looking there to begin with. 4 | 5 | Upstream report: https://bugreports.qt.io/browse/QTBUG-83160 6 | 7 | diff --git a/qtbase/src/tools/moc/main.cpp b/qtbase/src/tools/moc/main.cpp 8 | --- a/qtbase/src/tools/moc/main.cpp 9 | +++ b/qtbase/src/tools/moc/main.cpp 10 | @@ -188,6 +188,7 @@ int runMoc(int argc, char **argv) 11 | dummyVariadicFunctionMacro.arguments += Symbol(0, PP_IDENTIFIER, "__VA_ARGS__"); 12 | pp.macros["__attribute__"] = dummyVariadicFunctionMacro; 13 | pp.macros["__declspec"] = dummyVariadicFunctionMacro; 14 | + pp.macros["_GLIBCXX_VISIBILITY"] = dummyVariadicFunctionMacro; 15 | 16 | QString filename; 17 | QString output; 18 | -------------------------------------------------------------------------------- /doc/bitcoin-release-notes/release-notes-0.3.12.md: -------------------------------------------------------------------------------- 1 | Version 0.3.12 is now available. 2 | 3 | Features: 4 | * json-rpc errors return a more standard error object. (thanks to Gavin Andresen) 5 | * json-rpc command line returns exit codes. 6 | * json-rpc "backupwallet" command. 7 | * Recovers and continues if an exception is caused by a message you received. Other nodes shouldn't be able to cause an exception, and it hasn't happened before, but if a way is found to cause an exception, this would keep it from being used to stop network nodes. 8 | 9 | If you have json-rpc code that checks the contents of the error string, you need to change it to expect error objects of the form {"code":,"message":}, which is the standard. See this thread: 10 | http://www.bitcoin.org/smf/index.php?topic=969.0 11 | 12 | Download: 13 | http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.3.12/ 14 | -------------------------------------------------------------------------------- /src/test/Checkpoints_tests.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2011-2013 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 | // 6 | // Unit tests for block-chain checkpoints 7 | // 8 | 9 | #include "checkpoints.h" 10 | 11 | #include "uint256.h" 12 | #include "test/test_bitcoin.h" 13 | #include "chainparams.h" 14 | 15 | #include 16 | 17 | using namespace std; 18 | 19 | BOOST_FIXTURE_TEST_SUITE(Checkpoints_tests, BasicTestingSetup) 20 | 21 | // TODO: checkpoints have been removed for now. 22 | /* 23 | BOOST_AUTO_TEST_CASE(sanity) 24 | { 25 | const CCheckpointData& checkpoints = Params(CBaseChainParams::MAIN).Checkpoints(); 26 | BOOST_CHECK(Checkpoints::GetTotalBlocksEstimate(checkpoints) >= 134444); 27 | } 28 | */ 29 | BOOST_AUTO_TEST_SUITE_END() 30 | -------------------------------------------------------------------------------- /src/cryptoconditions/src/asn/EvalFulfillment.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) 3 | * From ASN.1 module "Crypto-Conditions" 4 | * found in "CryptoConditions.asn" 5 | */ 6 | 7 | #ifndef _EvalFulfillment_H_ 8 | #define _EvalFulfillment_H_ 9 | 10 | 11 | #include "asn_application.h" 12 | 13 | /* Including external dependencies */ 14 | #include 15 | #include 16 | 17 | #ifdef __cplusplus 18 | extern "C" { 19 | #endif 20 | 21 | /* EvalFulfillment */ 22 | typedef struct EvalFulfillment { 23 | OCTET_STRING_t code; 24 | 25 | /* Context for parsing across buffer boundaries */ 26 | asn_struct_ctx_t _asn_ctx; 27 | } EvalFulfillment_t; 28 | 29 | /* Implementation */ 30 | extern asn_TYPE_descriptor_t asn_DEF_EvalFulfillment; 31 | 32 | #ifdef __cplusplus 33 | } 34 | #endif 35 | 36 | #endif /* _EvalFulfillment_H_ */ 37 | #include 38 | --------------------------------------------------------------------------------