├── .gitattributes ├── .gitignore ├── .travis.yml ├── CMakeLists.txt ├── CONTRIBUTING.md ├── INSTALL.md ├── LICENSE ├── Makefile.am ├── README.md ├── autogen.sh ├── build-aux └── m4 │ ├── ax_boost_base.m4 │ ├── ax_boost_chrono.m4 │ ├── ax_boost_filesystem.m4 │ ├── ax_boost_program_options.m4 │ ├── ax_boost_random.m4 │ ├── ax_boost_system.m4 │ ├── ax_boost_thread.m4 │ ├── ax_boost_unit_test_framework.m4 │ ├── ax_check_compile_flag.m4 │ ├── ax_check_link_flag.m4 │ ├── ax_check_preproc_flag.m4 │ ├── ax_cxx_compile_stdcxx.m4 │ ├── ax_gcc_func_attribute.m4 │ ├── ax_pthread.m4 │ ├── bitcoin_find_bdb48.m4 │ ├── bitcoin_qt.m4 │ ├── bitcoin_subdir_to_include.m4 │ └── l_atomic.m4 ├── building ├── common.sh └── mac │ ├── README.md │ ├── build.sh │ ├── dist.sh │ └── requirements.sh ├── configure.ac ├── contrib ├── README.md ├── bitrpc │ ├── README.md │ └── bitrpc.py ├── debian │ ├── Lux.desktop │ ├── README.md │ ├── changelog │ ├── compat │ ├── control │ ├── copyright │ ├── examples │ │ └── lux.conf │ ├── gbp.conf │ ├── lux-qt.install │ ├── lux-qt.lintian-overrides │ ├── lux-qt.protocol │ ├── luxd.bash-completion │ ├── luxd.examples │ ├── luxd.install │ ├── luxd.lintian-overrides │ ├── luxd.manpages │ ├── manpages │ │ ├── lux-qt.1 │ │ ├── lux.conf.5 │ │ └── luxd.1 │ ├── patches │ │ ├── README │ │ └── series │ ├── rules │ ├── source │ │ └── format │ └── watch ├── devtools │ ├── README.md │ ├── fix-copyright-headers.py │ ├── github-merge.py │ ├── split-debug.sh.in │ ├── symbol-check.py │ └── update-translations.py ├── gitian-build.sh ├── gitian-descriptors │ ├── README.md │ ├── gitian-aarch64.yml │ ├── gitian-linux.yml │ ├── gitian-osx-signer.yml │ ├── gitian-osx.yml │ ├── gitian-rpi2.yml │ ├── gitian-win-signer.yml │ └── gitian-win.yml ├── gitian-downloader │ ├── aschildbach-key.pgp │ ├── bluematt-key.pgp │ ├── cfields-key.pgp │ ├── devrandom-key.pgp │ ├── gavinandresen-key.pgp │ ├── laanwj-key.pgp │ ├── linux-download-config │ ├── luke-jr-key.pgp │ ├── michagogo-key.pgp │ ├── sipa-key.pgp │ ├── tcatm-key.pgp │ ├── win32-download-config │ └── wtogami-key.pgp ├── init │ ├── README.md │ ├── luxd.conf │ ├── luxd.init │ ├── luxd.openrc │ ├── luxd.openrcconf │ └── luxd.service ├── linearize │ ├── README.md │ ├── example-linearize.cfg │ ├── linearize-data.py │ └── linearize-hashes.py ├── lux-qt.pro ├── luxd.bash-completion ├── macdeploy │ ├── LICENSE │ ├── README.md │ ├── background.svg │ ├── custom_dsstore.py │ ├── detached-sig-apply.sh │ ├── detached-sig-create.sh │ ├── extract-osx-sdk.sh │ ├── fancy.plist │ ├── libs │ │ └── libboost_system-mt.dylib │ └── macdeployqtplus ├── qos │ ├── README.md │ └── tc.sh ├── qt_translations.py ├── seeds │ ├── README.md │ ├── generate-seeds.py │ └── makeseeds.py ├── spendfrom │ ├── README.md │ ├── setup.py │ └── spendfrom.py ├── test-patches │ └── README.md ├── testgen │ ├── README.md │ ├── base58.py │ └── gen_base58_test_vectors.py ├── tidy_datadir.sh ├── verifysfbinaries │ ├── README.md │ └── verify.sh └── zmq │ └── zmq_sub.py ├── cross-build-osx.sh ├── depends ├── Makefile ├── README.md ├── build-linux.sh ├── build-mac.sh ├── build-wins.sh ├── builders │ ├── darwin.mk │ ├── default.mk │ └── linux.mk ├── config.guess ├── config.site.in ├── config.sub ├── description.md ├── funcs.mk ├── hosts │ ├── darwin.mk │ ├── default.mk │ ├── linux.mk │ └── mingw32.mk ├── install-dependencies.sh ├── install_db4.sh ├── packages.md ├── packages │ ├── bdb.mk │ ├── boost.mk │ ├── dbus.mk │ ├── expat.mk │ ├── fontconfig.mk │ ├── freetype.mk │ ├── libICE.mk │ ├── libSM.mk │ ├── libX11.mk │ ├── libXau.mk │ ├── libXext.mk │ ├── libevent.mk │ ├── libxcb.mk │ ├── miniupnpc.mk │ ├── native_biplist.mk │ ├── native_ccache.mk │ ├── native_cctools.mk │ ├── native_cdrkit.mk │ ├── native_ds_store.mk │ ├── native_libdmg-hfsplus.mk │ ├── native_mac_alias.mk │ ├── native_protobuf.mk │ ├── openssl.mk │ ├── packages.mk │ ├── protobuf.mk │ ├── qrencode.mk │ ├── qt.mk │ ├── xcb_proto.mk │ ├── xextproto.mk │ ├── xproto.mk │ ├── xtrans.mk │ ├── zeromq.mk │ └── zlib.mk └── patches │ ├── native_biplist │ └── sorted_list.patch │ ├── native_cdrkit │ └── cdrkit-deterministic.patch │ ├── native_mac_alias │ └── python3.patch │ ├── qt │ ├── aarch32-qmake.conf │ ├── aarch64-qmake.conf │ ├── fix-cocoahelpers-macos.patch │ ├── fix-xcb-include-order.patch │ ├── fix_qt_pkgconfig.patch │ ├── mac-qmake.conf │ ├── mingw-uuidof.patch │ ├── pidlist_absolute.patch │ └── qfixed-coretext.patch │ ├── xextproto │ └── fix_aarch64_build.patch │ └── zeromq │ ├── 0001-fix-build-with-older-mingw64.patch │ ├── 0002-disable-pthread_set_name_np.patch │ ├── 9114d3957725acd34aa8b8d011585812f3369411.patch │ └── 9e6745c12e0b100cd38acecc16ce7db02905e27c.patch ├── doc ├── CHANGELOG ├── Doxyfile ├── README ├── README.md ├── README_osx.md ├── README_windows.txt ├── REST-interface.md ├── assets-attribution.md ├── bitcoin_logo_doxygen.png ├── bootstrap.md ├── build-msw.md ├── build-msw.txt ├── build-netbsd.md ├── build-openbsd.md ├── build-osx.md ├── build-osx.txt ├── build-unix.md ├── build-unix.txt ├── build-windows.md ├── coding.txt ├── developer-notes.md ├── dnsseed-policy.md ├── files.md ├── gitian-building.md ├── gitian-building │ ├── create_vm_file_location_size.png │ ├── create_vm_hard_drive.png │ ├── create_vm_hard_drive_file_type.png │ ├── create_vm_memsize.png │ ├── create_vm_page1.png │ ├── create_vm_storage_physical_hard_drive.png │ ├── debian_install_10_configure_clock.png │ ├── debian_install_11_partition_disks.png │ ├── debian_install_12_choose_disk.png │ ├── debian_install_13_partition_scheme.png │ ├── debian_install_14_finish.png │ ├── debian_install_15_write_changes.png │ ├── debian_install_16_choose_a_mirror.png │ ├── debian_install_17_choose_a_mirror2.png │ ├── debian_install_18_proxy_settings.png │ ├── debian_install_19_software_selection.png │ ├── debian_install_1_boot_menu.png │ ├── debian_install_20_install_grub.png │ ├── debian_install_21_finish_installation.png │ ├── debian_install_2_select_a_language.png │ ├── debian_install_3_select_location.png │ ├── debian_install_4_configure_keyboard.png │ ├── debian_install_5_configure_the_network.png │ ├── debian_install_6_domain_name.png │ ├── debian_install_6a_set_up_root_password.png │ ├── debian_install_7_set_up_user_fullname.png │ ├── debian_install_8_set_up_username.png │ ├── debian_install_9_user_password.png │ ├── network_settings.png │ ├── port_forwarding_rules.png │ └── select_startup_disk.png ├── guide-startmany.md ├── img │ ├── bootstrap1.png │ ├── bootstrap2.png │ ├── bootstrap4.png │ ├── bootstrap5.png │ ├── smartcontract1.png │ ├── smartcontract2.png │ ├── smartcontract3.png │ ├── smartcontract4.png │ └── smartcontract5.png ├── init.md ├── instantx.md ├── masternode-budget.md ├── masternode_conf.md ├── multiwallet-qt.md ├── readme-qt.rst ├── release-notes.md ├── release-notes │ └── release-notes-4.0.0.md ├── release-process.md ├── release-process.txt ├── smartcontract.md ├── ssl.md ├── template │ └── ISSUE_TEMPLATE_example.md ├── tor.md ├── translation_process.md ├── travis-ci.txt ├── unit-tests.md └── zmq.md ├── pkg.m4 ├── qa ├── pull-tester │ ├── rpc-tests.sh │ ├── run-bitcoin-cli │ ├── run-bitcoind-for-test.sh.in │ └── tests-config.sh.in └── rpc-tests │ ├── README.md │ ├── bipdersig.py │ ├── conflictedbalance.sh │ ├── forknotify.py │ ├── getblocktemplate_longpoll.py │ ├── getblocktemplate_proposals.py │ ├── getchaintips.py │ ├── httpbasics.py │ ├── invalidateblock.py │ ├── keypool.py │ ├── listtransactions.py │ ├── mempool_coinbase_spends.py │ ├── mempool_resurrect_test.py │ ├── mempool_spendcoinbase.py │ ├── netutil.py │ ├── python-bitcoinrpc │ ├── bitcoinrpc │ │ ├── __init__.py │ │ └── authproxy.py │ └── setup.py │ ├── receivedby.py │ ├── reindex.py │ ├── rest.py │ ├── rpcbind_test.py │ ├── send.sh │ ├── smartfees.py │ ├── test_framework.py │ ├── txn_doublespend.py │ ├── util.py │ ├── util.sh │ ├── wallet.py │ ├── walletbackup.py │ └── zapwallettxes.sh ├── share ├── certs │ ├── BitcoinFoundation_Apple_Cert.pem │ ├── BitcoinFoundation_Comodo_Cert.pem │ └── PrivateKeyNotes.md ├── genbuild.sh ├── pixmaps │ ├── bitcoin-bc.ico │ ├── bitcoin.ico │ ├── bitcoin.png │ ├── bitcoin128.bmp │ ├── bitcoin128.png │ ├── bitcoin16.bmp │ ├── bitcoin16.png │ ├── bitcoin256.bmp │ ├── bitcoin256.png │ ├── bitcoin32.bmp │ ├── bitcoin32.png │ ├── bitcoin64.bmp │ ├── bitcoin64.png │ ├── favicon.ico │ ├── nsis-header.bmp │ ├── nsis-header.png │ ├── nsis-wizard.bmp │ └── nsis-wizard.png ├── qt │ ├── Info.plist.in │ ├── extract_strings_qt.py │ ├── img │ │ ├── reload.png │ │ └── reload.xcf │ ├── make_spinner.py │ ├── make_windows_icon.sh │ └── protobuf.pri ├── setup.nsi.in └── ui.rc ├── src ├── Makefile.am ├── Makefile.cryptopp.include ├── Makefile.qt.include ├── Makefile.qttest.include ├── Makefile.test.include ├── activemasternode.cpp ├── activemasternode.h ├── addrman.cpp ├── addrman.h ├── alert.cpp ├── alert.h ├── allocators.cpp ├── allocators.h ├── amount.cpp ├── amount.h ├── arith_uint256.cpp ├── arith_uint256.h ├── base58.cpp ├── base58.h ├── bech32.cpp ├── bech32.h ├── bip38.cpp ├── bip38.h ├── bloom.cpp ├── bloom.h ├── chain.cpp ├── chain.h ├── chainparams.cpp ├── chainparams.h ├── chainparamsbase.cpp ├── chainparamsbase.h ├── chainparamsseeds.h ├── checkpoints.cpp ├── checkpoints.h ├── checkqueue.h ├── clientversion.cpp ├── clientversion.h ├── coincontrol.h ├── coins.cpp ├── coins.h ├── compat.h ├── compat │ ├── glibc_compat.cpp │ ├── glibc_sanity.cpp │ ├── glibcxx_compat.cpp │ ├── glibcxx_sanity.cpp │ ├── sanity.h │ └── strnlen.cpp ├── compressor.cpp ├── compressor.h ├── config │ ├── .empty │ ├── condition_variable.hpp │ └── implementation.hpp ├── consensus │ ├── consensus.h │ ├── merkle.cpp │ ├── merkle.h │ ├── params.h │ ├── validation.cpp │ └── validation.h ├── core_io.h ├── core_memusage.h ├── core_read.cpp ├── core_write.cpp ├── cpp-ethereum │ ├── .gitmodules │ ├── .travis.yml │ ├── CMakeLists.txt │ ├── CodingStandards.txt │ ├── LICENSE │ ├── README.md │ ├── appveyor.yml │ ├── bench │ │ ├── CMakeLists.txt │ │ └── main.cpp │ ├── cmake │ │ ├── CMakeParseArguments.cmake │ │ ├── EthBuildInfo.cmake │ │ ├── EthCompilerSettings.cmake │ │ ├── EthDependencies.cmake │ │ ├── EthExecutableHelper.cmake │ │ ├── EthOptions.cmake │ │ ├── EthPolicy.cmake │ │ ├── EthUtils.cmake │ │ ├── FindCURL.cmake │ │ ├── FindCpuid.cmake │ │ ├── FindDev.cmake │ │ ├── FindEth.cmake │ │ ├── FindGmp.cmake │ │ ├── FindLevelDB.cmake │ │ ├── FindMHD.cmake │ │ ├── FindMiniupnpc.cmake │ │ ├── FindPackageHandleStandardArgs.cmake │ │ ├── FindPackageMessage.cmake │ │ ├── FindRocksDB.cmake │ │ ├── FindSSH2.cmake │ │ ├── FindUtils.cmake │ │ ├── FindWeb3.cmake │ │ ├── FindWindowsSDK.cmake │ │ ├── Findjson_rpc_cpp.cmake │ │ ├── ProjectBoost.cmake │ │ ├── ProjectCryptopp.cmake │ │ ├── ProjectJsonCpp.cmake │ │ ├── ProjectJsonRpcCpp.cmake │ │ ├── ProjectSecp256k1.cmake │ │ ├── UseCpuid.cmake │ │ ├── UseDev.cmake │ │ ├── UseEth.cmake │ │ ├── UseGmp.cmake │ │ ├── UseMhd.cmake │ │ ├── UseMiniupnpc.cmake │ │ ├── UseOpenSSL.cmake │ │ ├── UseSSH2.cmake │ │ ├── UseUtils.cmake │ │ ├── UseWeb3.cmake │ │ ├── UseZLIB.cmake │ │ ├── scripts │ │ │ ├── buildinfo.cmake │ │ │ ├── configure.cmake │ │ │ ├── copydlls.cmake │ │ │ ├── helpers.cmake │ │ │ ├── install_deps.cmake │ │ │ ├── jsonrpcstub.cmake │ │ │ ├── resource.hpp.in │ │ │ ├── resources.cmake │ │ │ └── runtest.cmake │ │ ├── secp256k1 │ │ │ └── CMakeLists.txt │ │ └── templates │ │ │ └── BuildInfo.h.in │ ├── codecov.yml │ ├── dist │ │ └── snap │ │ │ └── snapcraft.yaml │ ├── doc │ │ ├── Doxyfile │ │ ├── dependency_graph │ │ │ ├── README.md │ │ │ ├── generate.py │ │ │ └── generate.sh │ │ └── gitbook │ │ │ ├── README.md │ │ │ ├── SUMMARY.md │ │ │ ├── book.json │ │ │ ├── chapter1.md │ │ │ ├── cli_tools.md │ │ │ ├── code_editor.md │ │ │ ├── cold_wallet_storage_device.md │ │ │ ├── dapps_deployment.md │ │ │ ├── ethkey.md │ │ │ ├── getting_started.md │ │ │ ├── interactive_console.md │ │ │ ├── javascript_console.md │ │ │ ├── mining.md │ │ │ ├── mix.md │ │ │ ├── mix_bc.png │ │ │ ├── poa.md │ │ │ ├── project_editor.md │ │ │ ├── scenarios_editor.md │ │ │ ├── state_mix.png │ │ │ ├── state_viewer.md │ │ │ ├── styles │ │ │ └── website.css │ │ │ ├── transaction_debugger.md │ │ │ ├── transaction_explorer.md │ │ │ └── whisper.md │ ├── eth │ │ ├── AccountManager.cpp │ │ ├── AccountManager.h │ │ ├── CMakeLists.txt │ │ ├── Farm.h │ │ ├── farm.json │ │ └── main.cpp │ ├── ethkey │ │ ├── CMakeLists.txt │ │ ├── KeyAux.h │ │ └── main.cpp │ ├── ethminer │ │ ├── CMakeLists.txt │ │ ├── FarmClient.h │ │ ├── MinerAux.h │ │ ├── main.cpp │ │ └── minerfarm.json │ ├── ethvm │ │ ├── CMakeLists.txt │ │ └── main.cpp │ ├── evmjit │ │ ├── .clang-format │ │ ├── .travis.yml │ │ ├── CMakeLists.txt │ │ ├── LICENSE.md │ │ ├── README.md │ │ ├── appveyor.yml │ │ ├── circle.yml │ │ ├── cmake │ │ │ └── ProjectLLVM.cmake │ │ ├── docker │ │ │ ├── Dockerfile │ │ │ └── test.sh │ │ ├── docs │ │ │ └── Doxyfile │ │ ├── examples │ │ │ ├── CMakeLists.txt │ │ │ ├── capi.c │ │ │ └── examplevm.c │ │ ├── libevmjit │ │ │ ├── Arith256.cpp │ │ │ ├── Arith256.h │ │ │ ├── Array.cpp │ │ │ ├── Array.h │ │ │ ├── BasicBlock.cpp │ │ │ ├── BasicBlock.h │ │ │ ├── BuildInfo.h.in │ │ │ ├── CMakeLists.txt │ │ │ ├── Cache.cpp │ │ │ ├── Cache.h │ │ │ ├── Common.h │ │ │ ├── Compiler.cpp │ │ │ ├── Compiler.h │ │ │ ├── CompilerHelper.cpp │ │ │ ├── CompilerHelper.h │ │ │ ├── Endianness.cpp │ │ │ ├── Endianness.h │ │ │ ├── ExecStats.cpp │ │ │ ├── ExecStats.h │ │ │ ├── Ext.cpp │ │ │ ├── Ext.h │ │ │ ├── GasMeter.cpp │ │ │ ├── GasMeter.h │ │ │ ├── Instruction.cpp │ │ │ ├── Instruction.h │ │ │ ├── JIT.cpp │ │ │ ├── JIT.h │ │ │ ├── Memory.cpp │ │ │ ├── Memory.h │ │ │ ├── Optimizer.cpp │ │ │ ├── Optimizer.h │ │ │ ├── RuntimeManager.cpp │ │ │ ├── RuntimeManager.h │ │ │ ├── Type.cpp │ │ │ ├── Type.h │ │ │ ├── Utils.cpp │ │ │ ├── Utils.h │ │ │ └── preprocessor │ │ │ │ ├── llvm_includes_end.h │ │ │ │ └── llvm_includes_start.h │ │ ├── scripts │ │ │ ├── build.sh │ │ │ ├── install_cmake.sh │ │ │ └── travis_update_docs.sh │ │ ├── tests │ │ │ ├── CMakeLists.txt │ │ │ ├── test-evm.cpp │ │ │ └── test-evmjit-standalone.c │ │ └── wercker.yml │ ├── homebrew │ │ ├── INSTALL_RECEIPT.json │ │ ├── fix_homebrew_paths_in_standalone_zip.py │ │ ├── homebrew.mxcl.cpp-ethereum.plist │ │ └── prepare_receipt.sh │ ├── libdevcore │ │ ├── Assertions.h │ │ ├── Base64.cpp │ │ ├── Base64.h │ │ ├── CMakeLists.txt │ │ ├── Common.cpp │ │ ├── Common.h │ │ ├── CommonData.cpp │ │ ├── CommonData.h │ │ ├── CommonIO.cpp │ │ ├── CommonIO.h │ │ ├── CommonJS.cpp │ │ ├── CommonJS.h │ │ ├── Exceptions.h │ │ ├── FileSystem.cpp │ │ ├── FileSystem.h │ │ ├── FixedHash.cpp │ │ ├── FixedHash.h │ │ ├── Guards.cpp │ │ ├── Guards.h │ │ ├── Hash.cpp │ │ ├── Hash.h │ │ ├── Log.cpp │ │ ├── Log.h │ │ ├── MemoryDB.cpp │ │ ├── MemoryDB.h │ │ ├── OverlayDB.cpp │ │ ├── OverlayDB.h │ │ ├── RLP.cpp │ │ ├── RLP.h │ │ ├── RangeMask.h │ │ ├── SHA3.cpp │ │ ├── SHA3.h │ │ ├── Terminal.h │ │ ├── TransientDirectory.cpp │ │ ├── TransientDirectory.h │ │ ├── TrieCommon.cpp │ │ ├── TrieCommon.h │ │ ├── TrieDB.cpp │ │ ├── TrieDB.h │ │ ├── TrieHash.cpp │ │ ├── TrieHash.h │ │ ├── UndefMacros.h │ │ ├── Worker.cpp │ │ ├── Worker.h │ │ ├── concurrent_queue.h │ │ ├── db.h │ │ ├── debugbreak.h │ │ ├── picosha2.h │ │ └── vector_ref.h │ ├── libdevcrypto │ │ ├── AES.cpp │ │ ├── AES.h │ │ ├── CMakeLists.txt │ │ ├── Common.cpp │ │ ├── Common.h │ │ ├── CryptoPP.cpp │ │ ├── CryptoPP.h │ │ ├── ECDHE.cpp │ │ ├── ECDHE.h │ │ ├── Exceptions.h │ │ ├── SecretStore.cpp │ │ └── SecretStore.h │ ├── libethash │ │ ├── CMakeLists.txt │ │ ├── compiler.h │ │ ├── data_sizes.h │ │ ├── endian.h │ │ ├── ethash.h │ │ ├── fnv.h │ │ ├── internal.c │ │ ├── internal.h │ │ ├── io.c │ │ ├── io.h │ │ ├── io_posix.c │ │ ├── io_win32.c │ │ ├── mmap.h │ │ ├── mmap_win32.c │ │ ├── sha3.c │ │ ├── sha3.h │ │ ├── util.c │ │ ├── util.h │ │ └── util_win32.c │ ├── libethashseal │ │ ├── CMakeLists.txt │ │ ├── Ethash.cpp │ │ ├── Ethash.h │ │ ├── EthashAux.cpp │ │ ├── EthashAux.h │ │ ├── EthashCPUMiner.cpp │ │ ├── EthashCPUMiner.h │ │ ├── EthashClient.cpp │ │ ├── EthashClient.h │ │ ├── EthashProofOfWork.cpp │ │ ├── EthashProofOfWork.h │ │ ├── GenesisInfo.cpp │ │ ├── GenesisInfo.h │ │ └── genesis │ │ │ ├── CMakeLists.txt │ │ │ ├── eip150Test.cpp │ │ │ ├── eip158Test.cpp │ │ │ ├── frontierTest.cpp │ │ │ ├── homesteadTest.cpp │ │ │ ├── luxMainNetwork.cpp │ │ │ ├── luxTestNetwork.cpp │ │ │ ├── mainNetwork.cpp │ │ │ ├── mainNetworkTest.cpp │ │ │ ├── metropolisTest.cpp │ │ │ ├── ropsten.cpp │ │ │ └── transitionnetTest.cpp │ ├── libethcore │ │ ├── ABI.cpp │ │ ├── ABI.h │ │ ├── BasicAuthority.cpp │ │ ├── BasicAuthority.h │ │ ├── BlockHeader.cpp │ │ ├── BlockHeader.h │ │ ├── CMakeLists.txt │ │ ├── ChainOperationParams.cpp │ │ ├── ChainOperationParams.h │ │ ├── Common.cpp │ │ ├── Common.h │ │ ├── CommonJS.cpp │ │ ├── CommonJS.h │ │ ├── Exceptions.h │ │ ├── ICAP.cpp │ │ ├── ICAP.h │ │ ├── KeyManager.cpp │ │ ├── KeyManager.h │ │ ├── Precompiled.cpp │ │ ├── Precompiled.h │ │ ├── SealEngine.cpp │ │ ├── SealEngine.h │ │ ├── Transaction.cpp │ │ └── Transaction.h │ ├── libethereum │ │ ├── Account.cpp │ │ ├── Account.h │ │ ├── BasicGasPricer.cpp │ │ ├── BasicGasPricer.h │ │ ├── Block.cpp │ │ ├── Block.h │ │ ├── BlockChain.cpp │ │ ├── BlockChain.h │ │ ├── BlockChainSync.cpp │ │ ├── BlockChainSync.h │ │ ├── BlockDetails.cpp │ │ ├── BlockDetails.h │ │ ├── BlockQueue.cpp │ │ ├── BlockQueue.h │ │ ├── CMakeLists.txt │ │ ├── ChainParams.cpp │ │ ├── ChainParams.h │ │ ├── Client.cpp │ │ ├── Client.h │ │ ├── ClientBase.cpp │ │ ├── ClientBase.h │ │ ├── ClientTest.cpp │ │ ├── ClientTest.h │ │ ├── CodeSizeCache.h │ │ ├── CommonNet.cpp │ │ ├── CommonNet.h │ │ ├── Defaults.cpp │ │ ├── Defaults.h │ │ ├── EthereumHost.cpp │ │ ├── EthereumHost.h │ │ ├── EthereumPeer.cpp │ │ ├── EthereumPeer.h │ │ ├── Executive.cpp │ │ ├── Executive.h │ │ ├── ExtVM.cpp │ │ ├── ExtVM.h │ │ ├── GasPricer.cpp │ │ ├── GasPricer.h │ │ ├── GenericFarm.h │ │ ├── GenericMiner.cpp │ │ ├── GenericMiner.h │ │ ├── GenesisInfo.cpp │ │ ├── GenesisInfo.h │ │ ├── Interface.cpp │ │ ├── Interface.h │ │ ├── LogFilter.cpp │ │ ├── LogFilter.h │ │ ├── MiningClient.cpp │ │ ├── MiningClient.h │ │ ├── State.cpp │ │ ├── State.h │ │ ├── Transaction.cpp │ │ ├── Transaction.h │ │ ├── TransactionQueue.cpp │ │ ├── TransactionQueue.h │ │ ├── TransactionReceipt.cpp │ │ ├── TransactionReceipt.h │ │ └── VerifiedBlock.h │ ├── libevm │ │ ├── All.h │ │ ├── CMakeLists.txt │ │ ├── ExtVMFace.cpp │ │ ├── ExtVMFace.h │ │ ├── JitVM.cpp │ │ ├── JitVM.h │ │ ├── SmartVM.cpp │ │ ├── SmartVM.h │ │ ├── VM.cpp │ │ ├── VM.h │ │ ├── VMCalls.cpp │ │ ├── VMConfig.h │ │ ├── VMFace.h │ │ ├── VMFactory.cpp │ │ ├── VMFactory.h │ │ ├── VMOpt.cpp │ │ └── VMValidate.cpp │ ├── libevmcore │ │ ├── CMakeLists.txt │ │ ├── EVMSchedule.h │ │ ├── Exceptions.h │ │ ├── Instruction.cpp │ │ └── Instruction.h │ ├── libp2p │ │ ├── All.h │ │ ├── CMakeLists.txt │ │ ├── Capability.cpp │ │ ├── Capability.h │ │ ├── Common.cpp │ │ ├── Common.h │ │ ├── Host.cpp │ │ ├── Host.h │ │ ├── HostCapability.cpp │ │ ├── HostCapability.h │ │ ├── Network.cpp │ │ ├── Network.h │ │ ├── NodeTable.cpp │ │ ├── NodeTable.h │ │ ├── Peer.cpp │ │ ├── Peer.h │ │ ├── RLPXFrameCoder.cpp │ │ ├── RLPXFrameCoder.h │ │ ├── RLPXFrameReader.cpp │ │ ├── RLPXFrameReader.h │ │ ├── RLPXFrameWriter.cpp │ │ ├── RLPXFrameWriter.h │ │ ├── RLPXPacket.h │ │ ├── RLPXSocket.h │ │ ├── RLPXSocketIO.cpp │ │ ├── RLPXSocketIO.h │ │ ├── RLPxHandshake.cpp │ │ ├── RLPxHandshake.h │ │ ├── Session.cpp │ │ ├── Session.h │ │ ├── UDP.cpp │ │ ├── UDP.h │ │ ├── UPnP.cpp │ │ └── UPnP.h │ ├── libweb3jsonrpc │ │ ├── AccountHolder.cpp │ │ ├── AccountHolder.h │ │ ├── AdminEth.cpp │ │ ├── AdminEth.h │ │ ├── AdminEthFace.h │ │ ├── AdminNet.cpp │ │ ├── AdminNet.h │ │ ├── AdminNetFace.h │ │ ├── AdminUtils.cpp │ │ ├── AdminUtils.h │ │ ├── AdminUtilsFace.h │ │ ├── CMakeLists.txt │ │ ├── DBFace.h │ │ ├── Debug.cpp │ │ ├── Debug.h │ │ ├── DebugFace.h │ │ ├── Eth.cpp │ │ ├── Eth.h │ │ ├── EthFace.h │ │ ├── IpcServer.h │ │ ├── IpcServerBase.cpp │ │ ├── IpcServerBase.h │ │ ├── JsonHelper.cpp │ │ ├── JsonHelper.h │ │ ├── LevelDB.cpp │ │ ├── LevelDB.h │ │ ├── MemoryDB.cpp │ │ ├── MemoryDB.h │ │ ├── ModularServer.h │ │ ├── Net.cpp │ │ ├── Net.h │ │ ├── NetFace.h │ │ ├── Personal.cpp │ │ ├── Personal.h │ │ ├── PersonalFace.h │ │ ├── SafeHttpServer.cpp │ │ ├── SafeHttpServer.h │ │ ├── SessionManager.cpp │ │ ├── SessionManager.h │ │ ├── Test.cpp │ │ ├── Test.h │ │ ├── TestFace.h │ │ ├── UnixSocketServer.cpp │ │ ├── UnixSocketServer.h │ │ ├── Web3.cpp │ │ ├── Web3.h │ │ ├── Web3Face.h │ │ ├── Whisper.cpp │ │ ├── Whisper.h │ │ ├── WhisperFace.h │ │ ├── WinPipeServer.cpp │ │ ├── WinPipeServer.h │ │ ├── admin_eth.json │ │ ├── admin_net.json │ │ ├── admin_utils.json │ │ ├── db.json │ │ ├── debug.json │ │ ├── eth.json │ │ ├── net.json │ │ ├── personal.json │ │ ├── test.json │ │ ├── web3.json │ │ └── whisper.json │ ├── libwebthree │ │ ├── CMakeLists.txt │ │ ├── WebThree.cpp │ │ └── WebThree.h │ ├── libwhisper │ │ ├── BloomFilter.h │ │ ├── CMakeLists.txt │ │ ├── Common.cpp │ │ ├── Common.h │ │ ├── Interface.cpp │ │ ├── Interface.h │ │ ├── Message.cpp │ │ ├── Message.h │ │ ├── WhisperDB.cpp │ │ ├── WhisperDB.h │ │ ├── WhisperHost.cpp │ │ ├── WhisperHost.h │ │ ├── WhisperPeer.cpp │ │ └── WhisperPeer.h │ ├── refilltests │ ├── rlp │ │ ├── CMakeLists.txt │ │ └── main.cpp │ ├── sanitizer-blacklist.txt │ ├── scripts │ │ ├── Dockerfile │ │ ├── build.sh │ │ ├── docker-eth │ │ ├── docker │ │ │ ├── eth-alpine │ │ │ │ └── Dockerfile │ │ │ ├── eth-centos │ │ │ │ └── Dockerfile │ │ │ ├── eth-debian │ │ │ │ └── Dockerfile │ │ │ └── eth-fedora │ │ │ │ └── Dockerfile │ │ ├── duplicates.sh │ │ ├── install_cmake.sh │ │ ├── install_deps.bat │ │ ├── install_deps.sh │ │ ├── ppabuild.sh │ │ ├── release.bat │ │ ├── release.sh │ │ ├── runalltests.sh │ │ ├── tests.bat │ │ ├── tests.sh │ │ └── upload-homebrew-formula.sh │ ├── test │ │ ├── CMakeLists.txt │ │ ├── JSON_test.sol │ │ ├── deprecated │ │ │ ├── fork.cpp │ │ │ ├── kademlia.cpp │ │ │ ├── main.cpp │ │ │ └── txTest.cpp │ │ ├── external-dependencies │ │ │ ├── CMakeLists.txt │ │ │ └── boost.cpp │ │ ├── fuzzTesting │ │ │ ├── CMakeLists.txt │ │ │ ├── createRandomTest.cpp │ │ │ ├── fuzzHelper.cpp │ │ │ └── fuzzHelper.h │ │ ├── libdevcore │ │ │ ├── Base36.cpp │ │ │ ├── CMakeLists.txt │ │ │ ├── CommonJS.cpp │ │ │ ├── FixedHash.cpp │ │ │ ├── RangeMask.cpp │ │ │ ├── core.cpp │ │ │ └── rlp.cpp │ │ ├── libdevcrypto │ │ │ ├── AES.cpp │ │ │ ├── CMakeLists.txt │ │ │ ├── MemTrie.cpp │ │ │ ├── MemTrie.h │ │ │ ├── SecretStore.cpp │ │ │ ├── crypto.cpp │ │ │ ├── hexPrefix.cpp │ │ │ └── trie.cpp │ │ ├── libethcore │ │ │ ├── CMakeLists.txt │ │ │ ├── commonjs.cpp │ │ │ ├── dagger.cpp │ │ │ ├── difficulty.cpp │ │ │ ├── icap.cpp │ │ │ └── keymanager.cpp │ │ ├── libethereum │ │ │ ├── Block.cpp │ │ │ ├── BlockChain.cpp │ │ │ ├── BlockChainInsert.cpp │ │ │ ├── BlockChainTests.cpp │ │ │ ├── BlockChainTestsBoost.cpp │ │ │ ├── BlockQueue.cpp │ │ │ ├── CMakeLists.txt │ │ │ ├── ClientBase.cpp │ │ │ ├── EthereumPeerTest.cpp │ │ │ ├── GasPricer.cpp │ │ │ ├── Genesis.cpp │ │ │ ├── StateTests.cpp │ │ │ ├── StateUnitTests.cpp │ │ │ ├── Transaction.cpp │ │ │ ├── TransactionQueue.cpp │ │ │ └── TransactionTests.cpp │ │ ├── libevm │ │ │ ├── CMakeLists.txt │ │ │ ├── vm.cpp │ │ │ └── vm.h │ │ ├── libp2p │ │ │ ├── CMakeLists.txt │ │ │ ├── capability.cpp │ │ │ ├── eip-8.cpp │ │ │ ├── net.cpp │ │ │ ├── peer.cpp │ │ │ └── rlpx.cpp │ │ ├── libtesteth │ │ │ ├── BlockChainHelper.cpp │ │ │ ├── BlockChainHelper.h │ │ │ ├── CMakeLists.txt │ │ │ ├── ImportTest.cpp │ │ │ ├── ImportTest.h │ │ │ ├── JsonSpiritHeaders.h │ │ │ ├── Options.cpp │ │ │ ├── Options.h │ │ │ ├── Stats.cpp │ │ │ ├── Stats.h │ │ │ ├── TestHelper.cpp │ │ │ ├── TestHelper.h │ │ │ ├── TestOutputHelper.cpp │ │ │ ├── TestOutputHelper.h │ │ │ ├── TestUtils.cpp │ │ │ ├── TestUtils.h │ │ │ └── boostTest.cpp │ │ ├── libtestutils │ │ │ ├── BlockChainLoader.cpp │ │ │ ├── BlockChainLoader.h │ │ │ ├── CMakeLists.txt │ │ │ ├── Common.cpp │ │ │ ├── Common.h │ │ │ ├── FixedClient.cpp │ │ │ ├── FixedClient.h │ │ │ ├── StateLoader.cpp │ │ │ └── StateLoader.h │ │ ├── libweb3core │ │ │ ├── CMakeLists.txt │ │ │ ├── memorydb.cpp │ │ │ └── overlaydb.cpp │ │ ├── libweb3jsonrpc │ │ │ ├── AccountHolder.cpp │ │ │ ├── CMakeLists.txt │ │ │ ├── Client.cpp │ │ │ ├── WebThreeStubClient.h │ │ │ └── jsonrpc.cpp │ │ ├── libwhisper │ │ │ ├── CMakeLists.txt │ │ │ ├── bloomFilter.cpp │ │ │ ├── shhrpc.cpp │ │ │ ├── whisperDB.cpp │ │ │ ├── whisperMessage.cpp │ │ │ └── whisperTopic.cpp │ │ └── performance │ │ │ ├── fun.sol │ │ │ ├── loop.sol │ │ │ ├── mix.sol │ │ │ ├── mul0.sol │ │ │ ├── mul256.sol │ │ │ ├── mul64.sol │ │ │ ├── mul64c.c │ │ │ ├── rc5.sol │ │ │ └── rng.sol │ └── utils │ │ ├── CMakeLists.txt │ │ ├── json_spirit │ │ ├── CMakeLists.txt │ │ ├── JsonSpiritHeaders.h │ │ ├── json_spirit.h │ │ ├── json_spirit.vcproj │ │ ├── json_spirit_error_position.h │ │ ├── json_spirit_reader.cpp │ │ ├── json_spirit_reader.h │ │ ├── json_spirit_reader_template.h │ │ ├── json_spirit_stream_reader.h │ │ ├── json_spirit_utils.h │ │ ├── json_spirit_value.cpp │ │ ├── json_spirit_value.h │ │ ├── json_spirit_writer.cpp │ │ ├── json_spirit_writer.h │ │ └── json_spirit_writer_template.h │ │ └── libscrypt │ │ ├── CMakeLists.txt │ │ ├── LICENSE │ │ ├── b64.c │ │ ├── b64.h │ │ ├── crypto-mcf.c │ │ ├── crypto-scrypt-saltgen.c │ │ ├── crypto_scrypt-check.c │ │ ├── crypto_scrypt-hash.c │ │ ├── crypto_scrypt-hexconvert.c │ │ ├── crypto_scrypt-hexconvert.h │ │ ├── crypto_scrypt-nosse.c │ │ ├── libscrypt.h │ │ ├── libscrypt.version │ │ ├── sha256.c │ │ ├── sha256.h │ │ ├── slowequals.c │ │ ├── slowequals.h │ │ └── sysendian.h ├── crypter.cpp ├── crypter.h ├── crypto │ ├── aes_helper.c │ ├── common.h │ ├── cubehash.c │ ├── echo.c │ ├── fugue.c │ ├── gost.c │ ├── hmac_sha256.cpp │ ├── hmac_sha256.h │ ├── hmac_sha512.cpp │ ├── hmac_sha512.h │ ├── jh.c │ ├── lyra2 │ │ ├── Lyra2.c │ │ ├── Lyra2.h │ │ ├── Sponge.c │ │ └── Sponge.h │ ├── rfc6979_hmac_sha256.cpp │ ├── rfc6979_hmac_sha256.h │ ├── ripemd160.cpp │ ├── ripemd160.h │ ├── scrypt.cpp │ ├── scrypt.h │ ├── sha1.cpp │ ├── sha1.h │ ├── sha256.cpp │ ├── sha256.h │ ├── sha512.cpp │ ├── sha512.h │ ├── skein.c │ ├── sph_cubehash.h │ ├── sph_echo.h │ ├── sph_fugue.h │ ├── sph_gost.h │ ├── sph_jh.h │ ├── sph_skein.h │ └── sph_types.h ├── cryptopp │ ├── 3way.cpp │ ├── 3way.h │ ├── Doxyfile │ ├── Filelist.txt │ ├── GNUmakefile │ ├── GNUmakefile-cross │ ├── Install.txt │ ├── License.txt │ ├── Readme.txt │ ├── TestData │ │ ├── 3desval.dat │ │ ├── 3wayval.dat │ │ ├── camellia.dat │ │ ├── cast128v.dat │ │ ├── cast256v.dat │ │ ├── descert.dat │ │ ├── dh1024.dat │ │ ├── dh2048.dat │ │ ├── dlie1024.dat │ │ ├── dlie2048.dat │ │ ├── dsa1024.dat │ │ ├── dsa1024b.dat │ │ ├── dsa512.dat │ │ ├── elgc1024.dat │ │ ├── esig1023.dat │ │ ├── esig1536.dat │ │ ├── esig2046.dat │ │ ├── fhmqv160.dat │ │ ├── fhmqv256.dat │ │ ├── fhmqv384.dat │ │ ├── fhmqv512.dat │ │ ├── gostval.dat │ │ ├── hmqv160.dat │ │ ├── hmqv256.dat │ │ ├── hmqv384.dat │ │ ├── hmqv512.dat │ │ ├── ideaval.dat │ │ ├── luc1024.dat │ │ ├── luc2048.dat │ │ ├── lucc1024.dat │ │ ├── lucc512.dat │ │ ├── lucd1024.dat │ │ ├── lucd512.dat │ │ ├── lucs1024.dat │ │ ├── lucs512.dat │ │ ├── marsval.dat │ │ ├── mqv1024.dat │ │ ├── mqv2048.dat │ │ ├── nr1024.dat │ │ ├── nr2048.dat │ │ ├── rabi1024.dat │ │ ├── rabi2048.dat │ │ ├── rc2val.dat │ │ ├── rc5val.dat │ │ ├── rc6val.dat │ │ ├── rijndael.dat │ │ ├── rsa1024.dat │ │ ├── rsa2048.dat │ │ ├── rsa400pb.dat │ │ ├── rsa400pv.dat │ │ ├── rsa512a.dat │ │ ├── rw1024.dat │ │ ├── rw2048.dat │ │ ├── saferval.dat │ │ ├── serpentv.dat │ │ ├── shacal2v.dat │ │ ├── sharkval.dat │ │ ├── skipjack.dat │ │ ├── squareva.dat │ │ ├── twofishv.dat │ │ ├── usage.dat │ │ ├── xtrdh171.dat │ │ └── xtrdh342.dat │ ├── TestScripts │ │ ├── coverity-linux.txt │ │ ├── coverity-macosx.txt │ │ ├── coverity-windows.txt │ │ ├── cryptdll-windows.cmd │ │ ├── cryptest-android.sh │ │ ├── cryptest-coverity.cpp │ │ ├── cryptest-ios.sh │ │ ├── cryptest-symbols.sh │ │ ├── cryptest-windows.pl │ │ ├── cryptest.sh │ │ ├── make-benchmarks.sh │ │ ├── master-merge.sh │ │ ├── setenv-android.sh │ │ ├── setenv-embedded.sh │ │ └── setenv-ios.sh │ ├── TestVectors │ │ ├── Readme.txt │ │ ├── aes.txt │ │ ├── all.txt │ │ ├── blake2.txt │ │ ├── blake2b.txt │ │ ├── blake2s.txt │ │ ├── camellia.txt │ │ ├── ccm.txt │ │ ├── chacha.txt │ │ ├── cmac.txt │ │ ├── dlies.txt │ │ ├── dsa.txt │ │ ├── dsa_1363.txt │ │ ├── dsa_rfc6979.txt │ │ ├── eax.txt │ │ ├── esign.txt │ │ ├── gcm.txt │ │ ├── hkdf.txt │ │ ├── hmac.txt │ │ ├── keccak.txt │ │ ├── mars.txt │ │ ├── nr.txt │ │ ├── panama.txt │ │ ├── rsa_oaep.txt │ │ ├── rsa_pkcs1_1_5.txt │ │ ├── rsa_pss.txt │ │ ├── rw.txt │ │ ├── salsa.txt │ │ ├── seal.txt │ │ ├── seed.txt │ │ ├── sha.txt │ │ ├── sha1_160_fips_180.txt │ │ ├── sha1_fips_180.txt │ │ ├── sha2_224_fips_180.txt │ │ ├── sha2_256_fips_180.txt │ │ ├── sha2_384_fips_180.txt │ │ ├── sha2_512_fips_180.txt │ │ ├── sha2_fips_180.txt │ │ ├── sha3_224_fips_202.txt │ │ ├── sha3_256_fips_202.txt │ │ ├── sha3_384_fips_202.txt │ │ ├── sha3_512_fips_202.txt │ │ ├── sha3_fips_202.txt │ │ ├── shacal2.txt │ │ ├── siphash.txt │ │ ├── sosemanuk.txt │ │ ├── tea.txt │ │ ├── tls_chacha.txt │ │ ├── ttmac.txt │ │ ├── vmac.txt │ │ ├── wake.txt │ │ └── whrlpool.txt │ ├── adhoc.cpp.proto │ ├── adler32.cpp │ ├── adler32.h │ ├── aes.h │ ├── algebra.cpp │ ├── algebra.h │ ├── algparam.cpp │ ├── algparam.h │ ├── arc4.cpp │ ├── arc4.h │ ├── argnames.h │ ├── asn.cpp │ ├── asn.h │ ├── authenc.cpp │ ├── authenc.h │ ├── base32.cpp │ ├── base32.h │ ├── base64.cpp │ ├── base64.h │ ├── basecode.cpp │ ├── basecode.h │ ├── bds10.zip │ ├── bench.h │ ├── bench1.cpp │ ├── bench2.cpp │ ├── bfinit.cpp │ ├── blake2.cpp │ ├── blake2.h │ ├── blowfish.cpp │ ├── blowfish.h │ ├── blumshub.cpp │ ├── blumshub.h │ ├── camellia.cpp │ ├── camellia.h │ ├── cast.cpp │ ├── cast.h │ ├── casts.cpp │ ├── cbcmac.cpp │ ├── cbcmac.h │ ├── ccm.cpp │ ├── ccm.h │ ├── chacha.cpp │ ├── chacha.h │ ├── channels.cpp │ ├── channels.h │ ├── cmac.cpp │ ├── cmac.h │ ├── config.h │ ├── cpu.cpp │ ├── cpu.h │ ├── crc.cpp │ ├── crc.h │ ├── cryptdll.vcxproj │ ├── cryptdll.vcxproj.filters │ ├── cryptest.nmake │ ├── cryptest.sh │ ├── cryptest.sln │ ├── cryptest.vcxproj │ ├── cryptest.vcxproj.filters │ ├── cryptlib.cpp │ ├── cryptlib.h │ ├── cryptlib.vcxproj │ ├── cryptlib.vcxproj.filters │ ├── cryptopp-config.cmake │ ├── cryptopp.rc │ ├── datatest.cpp │ ├── default.cpp │ ├── default.h │ ├── des.cpp │ ├── des.h │ ├── dessp.cpp │ ├── dh.cpp │ ├── dh.h │ ├── dh2.cpp │ ├── dh2.h │ ├── dll.cpp │ ├── dll.h │ ├── dlltest.cpp │ ├── dlltest.vcxproj │ ├── dmac.h │ ├── drbg.h │ ├── dsa.cpp │ ├── dsa.h │ ├── eax.cpp │ ├── eax.h │ ├── ec2n.cpp │ ├── ec2n.h │ ├── eccrypto.cpp │ ├── eccrypto.h │ ├── ecp.cpp │ ├── ecp.h │ ├── ecpoint.h │ ├── elgamal.cpp │ ├── elgamal.h │ ├── emsa2.cpp │ ├── emsa2.h │ ├── eprecomp.cpp │ ├── eprecomp.h │ ├── esign.cpp │ ├── esign.h │ ├── factory.h │ ├── fhmqv.h │ ├── files.cpp │ ├── files.h │ ├── filters.cpp │ ├── filters.h │ ├── fips140.cpp │ ├── fips140.h │ ├── fipsalgt.cpp │ ├── fipstest.cpp │ ├── fltrimpl.h │ ├── gcm.cpp │ ├── gcm.h │ ├── gf256.cpp │ ├── gf256.h │ ├── gf2_32.cpp │ ├── gf2_32.h │ ├── gf2n.cpp │ ├── gf2n.h │ ├── gfpcrypt.cpp │ ├── gfpcrypt.h │ ├── gost.cpp │ ├── gost.h │ ├── gzip.cpp │ ├── gzip.h │ ├── hex.cpp │ ├── hex.h │ ├── hkdf.h │ ├── hmac.cpp │ ├── hmac.h │ ├── hmqv.h │ ├── hrtimer.cpp │ ├── hrtimer.h │ ├── ida.cpp │ ├── ida.h │ ├── idea.cpp │ ├── idea.h │ ├── integer.cpp │ ├── integer.h │ ├── iterhash.cpp │ ├── iterhash.h │ ├── keccak.cpp │ ├── keccak.h │ ├── lubyrack.h │ ├── luc.cpp │ ├── luc.h │ ├── mars.cpp │ ├── mars.h │ ├── marss.cpp │ ├── md2.cpp │ ├── md2.h │ ├── md4.cpp │ ├── md4.h │ ├── md5.cpp │ ├── md5.h │ ├── mdc.h │ ├── mersenne.h │ ├── misc.cpp │ ├── misc.h │ ├── modarith.h │ ├── modes.cpp │ ├── modes.h │ ├── modexppc.h │ ├── mqueue.cpp │ ├── mqueue.h │ ├── mqv.cpp │ ├── mqv.h │ ├── nbtheory.cpp │ ├── nbtheory.h │ ├── network.cpp │ ├── network.h │ ├── nr.h │ ├── oaep.cpp │ ├── oaep.h │ ├── oids.h │ ├── osrng.cpp │ ├── osrng.h │ ├── ossig.h │ ├── panama.cpp │ ├── panama.h │ ├── pch.cpp │ ├── pch.h │ ├── pkcspad.cpp │ ├── pkcspad.h │ ├── poly1305.cpp │ ├── poly1305.h │ ├── polynomi.cpp │ ├── polynomi.h │ ├── pssr.cpp │ ├── pssr.h │ ├── pubkey.cpp │ ├── pubkey.h │ ├── pwdbased.h │ ├── queue.cpp │ ├── queue.h │ ├── rabin.cpp │ ├── rabin.h │ ├── randpool.cpp │ ├── randpool.h │ ├── rc2.cpp │ ├── rc2.h │ ├── rc5.cpp │ ├── rc5.h │ ├── rc6.cpp │ ├── rc6.h │ ├── rdrand-masm.cmd │ ├── rdrand-nasm.sh │ ├── rdrand.S │ ├── rdrand.asm │ ├── rdrand.cpp │ ├── rdrand.h │ ├── rdtables.cpp │ ├── regtest.cpp │ ├── resource.h │ ├── rijndael.cpp │ ├── rijndael.h │ ├── ripemd.cpp │ ├── ripemd.h │ ├── rng.cpp │ ├── rng.h │ ├── rsa.cpp │ ├── rsa.h │ ├── rw.cpp │ ├── rw.h │ ├── safer.cpp │ ├── safer.h │ ├── salsa.cpp │ ├── salsa.h │ ├── seal.cpp │ ├── seal.h │ ├── secblock.h │ ├── seckey.h │ ├── seed.cpp │ ├── seed.h │ ├── serpent.cpp │ ├── serpent.h │ ├── serpentp.h │ ├── setenv-android.sh │ ├── setenv-embedded.sh │ ├── setenv-ios.sh │ ├── sha.cpp │ ├── sha.h │ ├── sha3.cpp │ ├── sha3.h │ ├── shacal2.cpp │ ├── shacal2.h │ ├── shark.cpp │ ├── shark.h │ ├── sharkbox.cpp │ ├── simple.cpp │ ├── simple.h │ ├── siphash.h │ ├── skipjack.cpp │ ├── skipjack.h │ ├── smartptr.h │ ├── socketft.cpp │ ├── socketft.h │ ├── sosemanuk.cpp │ ├── sosemanuk.h │ ├── square.cpp │ ├── square.h │ ├── squaretb.cpp │ ├── stdcpp.h │ ├── strciphr.cpp │ ├── strciphr.h │ ├── tea.cpp │ ├── tea.h │ ├── test.cpp │ ├── tftables.cpp │ ├── tiger.cpp │ ├── tiger.h │ ├── tigertab.cpp │ ├── trap.h │ ├── trdlocal.cpp │ ├── trdlocal.h │ ├── trunhash.h │ ├── ttmac.cpp │ ├── ttmac.h │ ├── twofish.cpp │ ├── twofish.h │ ├── validat0.cpp │ ├── validat1.cpp │ ├── validat2.cpp │ ├── validat3.cpp │ ├── validate.h │ ├── vc60.zip │ ├── vmac.cpp │ ├── vmac.h │ ├── vs2005.zip │ ├── wait.cpp │ ├── wait.h │ ├── wake.cpp │ ├── wake.h │ ├── whrlpool.cpp │ ├── whrlpool.h │ ├── winpipes.cpp │ ├── winpipes.h │ ├── words.h │ ├── x64dll.asm │ ├── x64masm.asm │ ├── xtr.cpp │ ├── xtr.h │ ├── xtrcrypt.cpp │ ├── xtrcrypt.h │ ├── zdeflate.cpp │ ├── zdeflate.h │ ├── zinflate.cpp │ ├── zinflate.h │ ├── zlib.cpp │ └── zlib.h ├── darksend.cpp ├── darksend.h ├── db.cpp ├── db.h ├── eccryptoverify.cpp ├── eccryptoverify.h ├── ecwrapper.cpp ├── ecwrapper.h ├── hash.cpp ├── hash.h ├── hashblock.h ├── httprpc.cpp ├── httprpc.h ├── httpserver.cpp ├── httpserver.h ├── indirectmap.h ├── init.cpp ├── init.h ├── instantx.cpp ├── instantx.h ├── json │ ├── LICENSE.txt │ ├── allocator.h │ ├── assertions.h │ ├── autolink.h │ ├── config.h │ ├── features.h │ ├── forwards.h │ ├── json.h │ ├── json_spirit.h │ ├── json_spirit_error_position.h │ ├── json_spirit_reader.cpp │ ├── json_spirit_reader.h │ ├── json_spirit_reader_template.h │ ├── json_spirit_stream_reader.h │ ├── json_spirit_utils.h │ ├── json_spirit_value.cpp │ ├── json_spirit_value.h │ ├── json_spirit_writer.cpp │ ├── json_spirit_writer.h │ ├── json_spirit_writer_template.h │ ├── reader.h │ ├── value.h │ ├── version.h │ └── writer.h ├── key.cpp ├── key.h ├── keystore.cpp ├── keystore.h ├── leveldb │ ├── .gitignore │ ├── AUTHORS │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── Makefile │ ├── NEWS │ ├── README │ ├── README.md │ ├── TODO │ ├── WINDOWS.md │ ├── build_detect_platform │ ├── db │ │ ├── autocompact_test.cc │ │ ├── builder.cc │ │ ├── builder.h │ │ ├── c.cc │ │ ├── c_test.c │ │ ├── corruption_test.cc │ │ ├── db_bench.cc │ │ ├── db_impl.cc │ │ ├── db_impl.h │ │ ├── db_iter.cc │ │ ├── db_iter.h │ │ ├── db_test.cc │ │ ├── dbformat.cc │ │ ├── dbformat.h │ │ ├── dbformat_test.cc │ │ ├── dumpfile.cc │ │ ├── filename.cc │ │ ├── filename.h │ │ ├── filename_test.cc │ │ ├── leveldb_main.cc │ │ ├── log_format.h │ │ ├── log_reader.cc │ │ ├── log_reader.h │ │ ├── log_test.cc │ │ ├── log_writer.cc │ │ ├── log_writer.h │ │ ├── memtable.cc │ │ ├── memtable.h │ │ ├── repair.cc │ │ ├── skiplist.h │ │ ├── skiplist_test.cc │ │ ├── snapshot.h │ │ ├── table_cache.cc │ │ ├── table_cache.h │ │ ├── version_edit.cc │ │ ├── version_edit.h │ │ ├── version_edit_test.cc │ │ ├── version_set.cc │ │ ├── version_set.h │ │ ├── version_set_test.cc │ │ ├── write_batch.cc │ │ ├── write_batch_internal.h │ │ └── write_batch_test.cc │ ├── doc │ │ ├── bench │ │ │ ├── db_bench_sqlite3.cc │ │ │ └── db_bench_tree_db.cc │ │ ├── benchmark.html │ │ ├── doc.css │ │ ├── impl.html │ │ ├── index.html │ │ ├── log_format.txt │ │ └── table_format.txt │ ├── helpers │ │ └── memenv │ │ │ ├── memenv.cc │ │ │ ├── memenv.h │ │ │ └── memenv_test.cc │ ├── include │ │ └── leveldb │ │ │ ├── c.h │ │ │ ├── cache.h │ │ │ ├── comparator.h │ │ │ ├── db.h │ │ │ ├── dumpfile.h │ │ │ ├── env.h │ │ │ ├── filter_policy.h │ │ │ ├── iterator.h │ │ │ ├── options.h │ │ │ ├── slice.h │ │ │ ├── status.h │ │ │ ├── table.h │ │ │ ├── table_builder.h │ │ │ └── write_batch.h │ ├── issues │ │ ├── issue178_test.cc │ │ └── issue200_test.cc │ ├── port │ │ ├── README │ │ ├── atomic_pointer.h │ │ ├── port.h │ │ ├── port_example.h │ │ ├── port_posix.cc │ │ ├── port_posix.h │ │ ├── port_win.cc │ │ ├── port_win.h │ │ ├── thread_annotations.h │ │ └── win │ │ │ └── stdint.h │ ├── table │ │ ├── block.cc │ │ ├── block.h │ │ ├── block_builder.cc │ │ ├── block_builder.h │ │ ├── filter_block.cc │ │ ├── filter_block.h │ │ ├── filter_block_test.cc │ │ ├── format.cc │ │ ├── format.h │ │ ├── iterator.cc │ │ ├── iterator_wrapper.h │ │ ├── merger.cc │ │ ├── merger.h │ │ ├── table.cc │ │ ├── table_builder.cc │ │ ├── table_test.cc │ │ ├── two_level_iterator.cc │ │ └── two_level_iterator.h │ └── util │ │ ├── arena.cc │ │ ├── arena.h │ │ ├── arena_test.cc │ │ ├── bloom.cc │ │ ├── bloom_test.cc │ │ ├── cache.cc │ │ ├── cache_test.cc │ │ ├── coding.cc │ │ ├── coding.h │ │ ├── coding_test.cc │ │ ├── comparator.cc │ │ ├── crc32c.cc │ │ ├── crc32c.h │ │ ├── crc32c_test.cc │ │ ├── env.cc │ │ ├── env_posix.cc │ │ ├── env_test.cc │ │ ├── env_win.cc │ │ ├── filter_policy.cc │ │ ├── hash.cc │ │ ├── hash.h │ │ ├── hash_test.cc │ │ ├── histogram.cc │ │ ├── histogram.h │ │ ├── logging.cc │ │ ├── logging.h │ │ ├── mutexlock.h │ │ ├── options.cc │ │ ├── posix_logger.h │ │ ├── random.h │ │ ├── status.cc │ │ ├── testharness.cc │ │ ├── testharness.h │ │ ├── testutil.cc │ │ └── testutil.h ├── leveldbwrapper.cpp ├── leveldbwrapper.h ├── limitedmap.h ├── lux-cli-res.rc ├── lux-cli.cpp ├── lux-tx.cpp ├── lux │ ├── luxDGP.cpp │ ├── luxDGP.h │ ├── luxstate.cpp │ ├── luxstate.h │ ├── luxtransaction.cpp │ ├── luxtransaction.h │ ├── storageresults.cpp │ └── storageresults.h ├── luxcontrol.cpp ├── luxcontrol.h ├── luxd-res.rc ├── luxd.cpp ├── main.cpp ├── main.h ├── masternode.cpp ├── masternode.h ├── masternodeconfig.cpp ├── masternodeconfig.h ├── memenv.h ├── memusage.h ├── merkleblock.cpp ├── merkleblock.h ├── miner.cpp ├── miner.h ├── mruset.h ├── multipliers.i ├── net.cpp ├── net.h ├── netbase.cpp ├── netbase.h ├── noui.cpp ├── noui.h ├── obj-test │ └── .gitignore ├── obj │ ├── .gitignore │ └── crypto │ │ ├── hmac_sha256.P │ │ ├── hmac_sha512.P │ │ ├── rfc6979_hmac_sha256.P │ │ ├── ripemd160.P │ │ ├── sha1.P │ │ ├── sha256.P │ │ └── sha512.P ├── policy │ ├── fees.cpp │ ├── fees.h │ ├── policy.cpp │ └── policy.h ├── pow.cpp ├── pow.h ├── prevector.h ├── primitives │ ├── block.cpp │ ├── block.h │ ├── transaction.cpp │ └── transaction.h ├── protocol.cpp ├── protocol.h ├── pubkey.cpp ├── pubkey.h ├── qt │ ├── abifunctionfield.cpp │ ├── abifunctionfield.h │ ├── abiparam.cpp │ ├── abiparam.h │ ├── abiparamitem.cpp │ ├── abiparamitem.h │ ├── abiparamsfield.cpp │ ├── abiparamsfield.h │ ├── addeditluxnode.cpp │ ├── addeditluxnode.h │ ├── addressbookpage.cpp │ ├── addressbookpage.h │ ├── addressfield.cpp │ ├── addressfield.h │ ├── addresstablemodel.cpp │ ├── addresstablemodel.h │ ├── addtokenpage.cpp │ ├── addtokenpage.h │ ├── askpassphrasedialog.cpp │ ├── askpassphrasedialog.h │ ├── bip38tooldialog.cpp │ ├── bip38tooldialog.h │ ├── bitcoinaddressvalidator.cpp │ ├── bitcoinaddressvalidator.h │ ├── bitcoinamountfield.cpp │ ├── bitcoinamountfield.h │ ├── bitcoingui.cpp │ ├── bitcoingui.h │ ├── bitcoinunits.cpp │ ├── bitcoinunits.h │ ├── blockexplorer.cpp │ ├── blockexplorer.h │ ├── callcontract.cpp │ ├── callcontract.h │ ├── clientmodel.cpp │ ├── clientmodel.h │ ├── coincontroldialog.cpp │ ├── coincontroldialog.h │ ├── coincontroltreewidget.cpp │ ├── coincontroltreewidget.h │ ├── contractabi.cpp │ ├── contractabi.h │ ├── contractbookpage.cpp │ ├── contractbookpage.h │ ├── contractresult.cpp │ ├── contractresult.h │ ├── contracttablemodel.cpp │ ├── contracttablemodel.h │ ├── createcontract.cpp │ ├── createcontract.h │ ├── csvmodelwriter.cpp │ ├── csvmodelwriter.h │ ├── customlist.h │ ├── darksendconfig.cpp │ ├── darksendconfig.h │ ├── editaddressdialog.cpp │ ├── editaddressdialog.h │ ├── editcontractinfodialog.cpp │ ├── editcontractinfodialog.h │ ├── eula.cpp │ ├── eula.h │ ├── eventlog.cpp │ ├── eventlog.h │ ├── execrpccommand.cpp │ ├── execrpccommand.h │ ├── forms │ │ ├── addeditluxnode.ui │ │ ├── addressbookpage.ui │ │ ├── addtokenpage.ui │ │ ├── askpassphrasedialog.ui │ │ ├── bip38tooldialog.ui │ │ ├── blockexplorer.ui │ │ ├── callcontract.ui │ │ ├── coincontroldialog.ui │ │ ├── contractbookpage.ui │ │ ├── contractresult.ui │ │ ├── createcontract.ui │ │ ├── darksendconfig.ui │ │ ├── editaddressdialog.ui │ │ ├── editcontractinfodialog.ui │ │ ├── eula.ui │ │ ├── helpmessagedialog.ui │ │ ├── intro.ui │ │ ├── lsrtoken.ui │ │ ├── luxnodeconfigdialog.ui │ │ ├── luxsendconfig.ui │ │ ├── masternodemanager.ui │ │ ├── multisenddialog.ui │ │ ├── openuridialog.ui │ │ ├── optionsdialog.ui │ │ ├── overviewpage.ui │ │ ├── receivecoinsdialog.ui │ │ ├── receiverequestdialog.ui │ │ ├── receivetokenpage.ui │ │ ├── restoredialog.ui │ │ ├── rpcconsole.ui │ │ ├── sendcoinsdialog.ui │ │ ├── sendcoinsentry.ui │ │ ├── sendtocontract.ui │ │ ├── sendtokenpage.ui │ │ ├── signverifymessagedialog.ui │ │ ├── smartTokenConfig.ui │ │ ├── smartcontract.ui │ │ ├── tokendescdialog.ui │ │ ├── tradingdialog.ui │ │ └── transactiondescdialog.ui │ ├── guiconstants.h │ ├── guiutil.cpp │ ├── guiutil.h │ ├── intro.cpp │ ├── intro.h │ ├── locale │ │ ├── lux_ca.ts │ │ ├── lux_da.ts │ │ ├── lux_de.ts │ │ ├── lux_en.ts │ │ ├── lux_en_US.ts │ │ ├── lux_es.ts │ │ ├── lux_fr_FR.ts │ │ ├── lux_it.ts │ │ ├── lux_ja.ts │ │ ├── lux_pt.ts │ │ ├── lux_ro_RO.ts │ │ ├── lux_ru.ts │ │ └── lux_zh_TW.ts │ ├── lsrtoken.cpp │ ├── lsrtoken.h │ ├── lux.cpp │ ├── lux.qrc │ ├── lux_locale.qrc │ ├── luxnodeconfigdialog.cpp │ ├── luxnodeconfigdialog.h │ ├── luxsendconfig.cpp │ ├── luxsendconfig.h │ ├── luxstrings.cpp │ ├── macdockiconhandler.h │ ├── macdockiconhandler.mm │ ├── macnotificationhandler.h │ ├── macnotificationhandler.mm │ ├── masternodemanager.cpp │ ├── masternodemanager.h │ ├── multisenddialog.cpp │ ├── multisenddialog.h │ ├── networkstyle.cpp │ ├── networkstyle.h │ ├── notificator.cpp │ ├── notificator.h │ ├── openuridialog.cpp │ ├── openuridialog.h │ ├── optionsdialog.cpp │ ├── optionsdialog.h │ ├── optionsmodel.cpp │ ├── optionsmodel.h │ ├── overviewpage.cpp │ ├── overviewpage.h │ ├── paymentrequest.proto │ ├── paymentrequestplus.cpp │ ├── paymentrequestplus.h │ ├── paymentserver.cpp │ ├── paymentserver.h │ ├── peertablemodel.cpp │ ├── peertablemodel.h │ ├── platformstyle.cpp │ ├── platformstyle.h │ ├── qcustomplot.cpp │ ├── qcustomplot.h │ ├── qvalidatedlineedit.cpp │ ├── qvalidatedlineedit.h │ ├── qvalidatedtextedit.cpp │ ├── qvalidatedtextedit.h │ ├── qvaluecombobox.cpp │ ├── qvaluecombobox.h │ ├── receivecoinsdialog.cpp │ ├── receivecoinsdialog.h │ ├── receiverequestdialog.cpp │ ├── receiverequestdialog.h │ ├── receivetokenpage.cpp │ ├── receivetokenpage.h │ ├── recentrequeststablemodel.cpp │ ├── recentrequeststablemodel.h │ ├── res │ │ ├── css │ │ │ └── default.css │ │ ├── icons │ │ │ ├── add.png │ │ │ ├── address-book.png │ │ │ ├── bitcoin.icns │ │ │ ├── bitcoin.ico │ │ │ ├── bitcoin.png │ │ │ ├── bitcoin_testnet.ico │ │ │ ├── bitcoin_testnet.png │ │ │ ├── browse.png │ │ │ ├── chevron.png │ │ │ ├── clock1.png │ │ │ ├── clock2.png │ │ │ ├── clock3.png │ │ │ ├── clock4.png │ │ │ ├── clock5.png │ │ │ ├── configure.png │ │ │ ├── connect0_16.png │ │ │ ├── connect1_16.png │ │ │ ├── connect2_16.png │ │ │ ├── connect3_16.png │ │ │ ├── connect4_16.png │ │ │ ├── debugwindow.png │ │ │ ├── edit.png │ │ │ ├── editcopy.png │ │ │ ├── editpaste.png │ │ │ ├── explorer.png │ │ │ ├── export.png │ │ │ ├── eye.png │ │ │ ├── eye_minus.png │ │ │ ├── eye_plus.png │ │ │ ├── filesave.png │ │ │ ├── fontbigger.png │ │ │ ├── fontsmaller.png │ │ │ ├── history.png │ │ │ ├── import.png │ │ │ ├── key.png │ │ │ ├── lock_closed.png │ │ │ ├── lock_open.png │ │ │ ├── lsrtoken.png │ │ │ ├── masternodes.png │ │ │ ├── notsynced.png │ │ │ ├── overview.png │ │ │ ├── privacy.png │ │ │ ├── qrcode.png │ │ │ ├── quit.png │ │ │ ├── receive.png │ │ │ ├── remove.png │ │ │ ├── send.png │ │ │ ├── smartcontract.png │ │ │ ├── stake.png │ │ │ ├── staking_active.png │ │ │ ├── staking_inactive.png │ │ │ ├── synced.png │ │ │ ├── trade.png │ │ │ ├── transaction0.png │ │ │ ├── transaction2.png │ │ │ ├── transaction_conflicted.png │ │ │ ├── tx_inout.png │ │ │ ├── tx_input.png │ │ │ ├── tx_mined.png │ │ │ ├── tx_output.png │ │ │ ├── unit_lux.png │ │ │ ├── unit_mlux.png │ │ │ ├── unit_tlux.png │ │ │ ├── unit_tmlux.png │ │ │ ├── unit_tulux.png │ │ │ └── unit_ulux.png │ │ ├── images │ │ │ ├── about.png │ │ │ ├── downArrow.png │ │ │ ├── downArrow_small.png │ │ │ ├── leftArrow_small.png │ │ │ ├── lux_logo_horizontal.png │ │ │ ├── qtreeview_selected.png │ │ │ ├── rightArrow_small.png │ │ │ ├── splash.png │ │ │ ├── splash_testnet.png │ │ │ ├── upArrow_small.png │ │ │ ├── walletFrame.png │ │ │ └── walletFrame_bg.png │ │ ├── lux-qt-res.rc │ │ ├── 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 │ │ └── src │ │ │ ├── bitcoin.svg │ │ │ ├── clock1.svg │ │ │ ├── clock2.svg │ │ │ ├── clock3.svg │ │ │ ├── clock4.svg │ │ │ ├── clock5.svg │ │ │ ├── clock_green.svg │ │ │ ├── inout.svg │ │ │ └── questionmark.svg │ ├── restoredialog.cpp │ ├── restoredialog.h │ ├── rpcconsole.cpp │ ├── rpcconsole.h │ ├── sendcoinsdialog.cpp │ ├── sendcoinsdialog.h │ ├── sendcoinsentry.cpp │ ├── sendcoinsentry.h │ ├── sendtocontract.cpp │ ├── sendtocontract.h │ ├── sendtokenpage.cpp │ ├── sendtokenpage.h │ ├── signverifymessagedialog.cpp │ ├── signverifymessagedialog.h │ ├── smartcontract.cpp │ ├── smartcontract.h │ ├── smartcontractpage.cpp │ ├── splashscreen.cpp │ ├── splashscreen.h │ ├── stakingdialog.cpp │ ├── tabbarinfo.cpp │ ├── tabbarinfo.h │ ├── test │ │ ├── paymentrequestdata.h │ │ ├── paymentservertests.cpp │ │ ├── paymentservertests.h │ │ ├── test_main.cpp │ │ ├── uritests.cpp │ │ └── uritests.h │ ├── token.cpp │ ├── token.h │ ├── tokenamountfield.cpp │ ├── tokenamountfield.h │ ├── tokendescdialog.cpp │ ├── tokendescdialog.h │ ├── tokenfilterproxy.cpp │ ├── tokenfilterproxy.h │ ├── tokenitemmodel.cpp │ ├── tokenitemmodel.h │ ├── tokentransactiondesc.cpp │ ├── tokentransactiondesc.h │ ├── tokentransactionrecord.cpp │ ├── tokentransactionrecord.h │ ├── tokentransactiontablemodel.cpp │ ├── tokentransactiontablemodel.h │ ├── tokentransactionview.cpp │ ├── tokentransactionview.h │ ├── tradingdialog.cpp │ ├── tradingdialog.h │ ├── trafficgraphwidget.cpp │ ├── trafficgraphwidget.h │ ├── transactiondesc.cpp │ ├── transactiondesc.h │ ├── transactiondescdialog.cpp │ ├── transactiondescdialog.h │ ├── transactionfilterproxy.cpp │ ├── transactionfilterproxy.h │ ├── transactionrecord.cpp │ ├── transactionrecord.h │ ├── transactiontablemodel.cpp │ ├── transactiontablemodel.h │ ├── transactionview.cpp │ ├── transactionview.h │ ├── utilitydialog.cpp │ ├── utilitydialog.h │ ├── walletframe.cpp │ ├── walletframe.h │ ├── walletmodel.cpp │ ├── walletmodel.h │ ├── walletmodeltransaction.cpp │ ├── walletmodeltransaction.h │ ├── walletview.cpp │ ├── walletview.h │ ├── winshutdownmonitor.cpp │ └── winshutdownmonitor.h ├── random.cpp ├── random.h ├── rbf.cpp ├── rbf.h ├── rest.cpp ├── reverselock.h ├── rpcblockchain.cpp ├── rpcclient.cpp ├── rpcclient.h ├── rpcdarksend.cpp ├── rpcdump.cpp ├── rpcmining.cpp ├── rpcmisc.cpp ├── rpcnet.cpp ├── rpcprotocol.cpp ├── rpcprotocol.h ├── rpcrawtransaction.cpp ├── rpcserver.cpp ├── rpcserver.h ├── rpcutil.cpp ├── rpcutil.h ├── rpcwallet.cpp ├── scheduler.cpp ├── scheduler.h ├── script │ ├── bitcoinconsensus.cpp │ ├── bitcoinconsensus.h │ ├── interpreter.cpp │ ├── interpreter.h │ ├── script.cpp │ ├── script.h │ ├── script_error.cpp │ ├── script_error.h │ ├── sigcache.cpp │ ├── sigcache.h │ ├── sign.cpp │ ├── sign.h │ ├── standard.cpp │ └── standard.h ├── secp256k1 │ ├── .gitignore │ ├── .travis.yml │ ├── COPYING │ ├── Makefile.am │ ├── README.md │ ├── TODO │ ├── autogen.sh │ ├── build-aux │ │ └── m4 │ │ │ ├── ax_jni_include_dir.m4 │ │ │ ├── ax_prog_cc_for_build.m4 │ │ │ └── bitcoin_secp.m4 │ ├── configure.ac │ ├── contrib │ │ ├── lax_der_parsing.c │ │ ├── lax_der_parsing.h │ │ ├── lax_der_privatekey_parsing.c │ │ └── lax_der_privatekey_parsing.h │ ├── include │ │ ├── secp256k1.h │ │ ├── secp256k1_ecdh.h │ │ └── secp256k1_recovery.h │ ├── libsecp256k1.pc.in │ ├── nasm_lt.sh │ ├── obj │ │ └── .gitignore │ ├── sage │ │ ├── group_prover.sage │ │ ├── secp256k1.sage │ │ └── weierstrass_prover.sage │ └── src │ │ ├── asm │ │ └── field_10x26_arm.s │ │ ├── basic-config.h │ │ ├── bench.h │ │ ├── bench_ecdh.c │ │ ├── bench_internal.c │ │ ├── bench_inv.c │ │ ├── bench_recover.c │ │ ├── bench_schnorr_verify.c │ │ ├── bench_sign.c │ │ ├── bench_verify.c │ │ ├── ecdsa.h │ │ ├── ecdsa_impl.h │ │ ├── eckey.h │ │ ├── eckey_impl.h │ │ ├── ecmult.h │ │ ├── ecmult_const.h │ │ ├── ecmult_const_impl.h │ │ ├── ecmult_gen.h │ │ ├── ecmult_gen_impl.h │ │ ├── ecmult_impl.h │ │ ├── field.h │ │ ├── field_10x26.h │ │ ├── field_10x26_impl.h │ │ ├── field_5x52.h │ │ ├── field_5x52_asm.asm │ │ ├── field_5x52_asm_impl.h │ │ ├── field_5x52_impl.h │ │ ├── field_5x52_int128_impl.h │ │ ├── field_gmp.h │ │ ├── field_gmp_impl.h │ │ ├── field_impl.h │ │ ├── gen_context.c │ │ ├── group.h │ │ ├── group_impl.h │ │ ├── hash.h │ │ ├── hash_impl.h │ │ ├── java │ │ ├── org │ │ │ └── bitcoin │ │ │ │ ├── NativeSecp256k1.java │ │ │ │ ├── NativeSecp256k1Test.java │ │ │ │ ├── NativeSecp256k1Util.java │ │ │ │ └── Secp256k1Context.java │ │ ├── org_bitcoin_NativeSecp256k1.c │ │ ├── org_bitcoin_NativeSecp256k1.h │ │ ├── org_bitcoin_Secp256k1Context.c │ │ └── org_bitcoin_Secp256k1Context.h │ │ ├── modules │ │ ├── ecdh │ │ │ ├── Makefile.am.include │ │ │ ├── main_impl.h │ │ │ └── tests_impl.h │ │ └── recovery │ │ │ ├── Makefile.am.include │ │ │ ├── main_impl.h │ │ │ └── tests_impl.h │ │ ├── num.h │ │ ├── num_gmp.h │ │ ├── num_gmp_impl.h │ │ ├── num_impl.h │ │ ├── scalar.h │ │ ├── scalar_4x64.h │ │ ├── scalar_4x64_impl.h │ │ ├── scalar_8x32.h │ │ ├── scalar_8x32_impl.h │ │ ├── scalar_impl.h │ │ ├── scalar_low.h │ │ ├── scalar_low_impl.h │ │ ├── secp256k1.c │ │ ├── testrand.h │ │ ├── testrand_impl.h │ │ ├── tests.c │ │ ├── tests_exhaustive.c │ │ └── util.h ├── serialize.h ├── spork.cpp ├── spork.h ├── stake.cpp ├── stake.h ├── streams.h ├── sync.cpp ├── sync.h ├── test │ ├── Checkpoints_tests.cpp │ ├── DoS_tests.cpp │ ├── README.md │ ├── accounting_tests.cpp │ ├── alert_tests.cpp │ ├── allocator_tests.cpp │ ├── arith_uint256_tests.cpp │ ├── base32_tests.cpp │ ├── base58_tests.cpp │ ├── base64_tests.cpp │ ├── bctest.py │ ├── bignum.h │ ├── bip32_tests.cpp │ ├── bitcoin-util-test.py │ ├── bloom_tests.cpp │ ├── buildenv.py │ ├── buildenv.py.in │ ├── checkblock_tests.cpp │ ├── coins_tests.cpp │ ├── compress_tests.cpp │ ├── crypto_tests.cpp │ ├── data │ │ ├── README.md │ │ ├── alertTests.raw │ │ ├── base58_encode_decode.json │ │ ├── base58_keys_invalid.json │ │ ├── base58_keys_valid.json │ │ ├── bitcoin-util-test.json │ │ ├── blanktx.hex │ │ ├── script_invalid.json │ │ ├── script_tests.json │ │ ├── script_valid.json │ │ ├── sig_canonical.json │ │ ├── sig_noncanonical.json │ │ ├── sighash.json │ │ ├── tt-delin1-out.hex │ │ ├── tt-delout1-out.hex │ │ ├── tt-locktime317000-out.hex │ │ ├── tx394b54bb.hex │ │ ├── tx_invalid.json │ │ ├── tx_valid.json │ │ ├── txcreate1.hex │ │ ├── txcreate2.hex │ │ └── txcreatesign.hex │ ├── getarg_tests.cpp │ ├── hash_tests.cpp │ ├── key_tests.cpp │ ├── main_tests.cpp │ ├── mempool_tests.cpp │ ├── miner_tests.cpp │ ├── mruset_tests.cpp │ ├── multisig_tests.cpp │ ├── netbase_tests.cpp │ ├── pmt_tests.cpp │ ├── rpc_tests.cpp │ ├── rpc_wallet_tests.cpp │ ├── sanity_tests.cpp │ ├── script_P2SH_tests.cpp │ ├── script_tests.cpp │ ├── scriptnum_tests.cpp │ ├── serialize_tests.cpp │ ├── sighash_tests.cpp │ ├── sigopcount_tests.cpp │ ├── skiplist_tests.cpp │ ├── test_lux.cpp │ ├── timedata_tests.cpp │ ├── transaction_tests.cpp │ ├── uint256_tests.cpp │ ├── univalue_tests.cpp │ ├── util_tests.cpp │ └── wallet_tests.cpp ├── threadsafety.h ├── timedata.cpp ├── timedata.h ├── tinyformat.h ├── txdb.cpp ├── txdb.h ├── txmempool.cpp ├── txmempool.h ├── ui_interface.h ├── uint256.cpp ├── uint256.h ├── uint512.h ├── undo.h ├── univalue │ ├── gen.cpp │ ├── univalue.cpp │ ├── univalue.h │ ├── univalue_escapes.h │ ├── univalue_read.cpp │ ├── univalue_utffilter.h │ └── univalue_write.cpp ├── util.cpp ├── util.h ├── utilmoneystr.cpp ├── utilmoneystr.h ├── utilstrencodings.cpp ├── utilstrencodings.h ├── utiltime.cpp ├── utiltime.h ├── validationinterface.cpp ├── validationinterface.h ├── version.h ├── versionbits.cpp ├── versionbits.h ├── wallet.cpp ├── wallet.h ├── wallet_ismine.cpp ├── wallet_ismine.h ├── walletdb.cpp ├── walletdb.h └── zmq │ ├── zmqabstractnotifier.cpp │ ├── zmqabstractnotifier.h │ ├── zmqconfig.h │ ├── zmqnotificationinterface.cpp │ ├── zmqnotificationinterface.h │ ├── zmqpublishnotifier.cpp │ └── zmqpublishnotifier.h └── test ├── README.md ├── config.ini.in ├── functional ├── README.md ├── disconnect_ban.py ├── example_test.py ├── lux-block-header.py ├── lux-null-sender.py ├── lux_cli.py ├── mining.py ├── multi_rpc.py ├── net.py ├── nulldummy.py ├── reindex.py ├── test_framework │ ├── __init__.py │ ├── address.py │ ├── authproxy.py │ ├── blockstore.py │ ├── blocktools.py │ ├── comptool.py │ ├── coverage.py │ ├── key.py │ ├── lux.py │ ├── luxconfig.py │ ├── mininode.py │ ├── netutil.py │ ├── script.py │ ├── siphash.py │ ├── socks5.py │ ├── test_framework.py │ ├── test_node.py │ └── util.py ├── test_runner.py └── zmq_test.py └── util └── lux-util-test.py /.gitattributes: -------------------------------------------------------------------------------- 1 | src/clientversion.cpp export-subst 2 | -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.10.3) 2 | project(lux) 3 | 4 | set(CMAKE_CXX_STANDARD 11) 5 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") 6 | 7 | add_custom_target(build-lux ALL 8 | COMMAND ./autogen.sh 9 | COMMAND ./configure 10 | COMMAND $(MAKE) WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} 11 | COMMAND $(MAKE)) 12 | 13 | add_custom_target(debug-luxd ALL) 14 | add_custom_target(debug-lux-qt ALL) -------------------------------------------------------------------------------- /INSTALL.md: -------------------------------------------------------------------------------- 1 | Building LUX 2 | 3 | Use the autogen script to prepare the build environment. 4 | 5 | ./autogen.sh 6 | ./configure 7 | make 8 | 9 | Always verify the signatures and checksums. 10 | 11 | See doc/build-*.md for instructions on building luxd, 12 | the intended-for-services, no-graphical-interface, reference 13 | implementation of LUX. 14 | -------------------------------------------------------------------------------- /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 | which autoreconf >/dev/null || \ 10 | (echo "configuration failed, please install autoconf first" && exit 1) 11 | autoreconf --install --force --warnings=all -------------------------------------------------------------------------------- /building/common.sh: -------------------------------------------------------------------------------- 1 | PWD=`pwd` 2 | echo "PWD:$PWD" 3 | ME=`pwd | sed 's!.*/\(.*\)/LUX!\1!'` 4 | echo "ME:$ME" 5 | -------------------------------------------------------------------------------- /building/mac/dist.sh: -------------------------------------------------------------------------------- 1 | 2 | cp src/luxd . 3 | cp src/qt/lux-qt . 4 | strip luxd 5 | strip lux-qt 6 | zip release_${LUX_PLATFORM}.zip luxd lux-qt 7 | 8 | sudo easy_install appscript 9 | 10 | # fix for the 'Error: No file at /opt/local/lib/mysql55/mysql/libmysqlclient.18.dylib' issue 11 | brew install mysql 12 | pwd 13 | cd /usr/local/opt/qt@5.5/plugins/sqldrivers 14 | echo "before:" 15 | otool -L libqsqlmysql.dylib 16 | install_name_tool -change /opt/local/lib/mysql55/mysql/libmysqlclient.18.dylib /usr/local/Cellar/mysql/5.7.11/lib/libmysqlclient.20.dylib libqsqlmysql.dylib 17 | echo "after:" 18 | otool -L libqsqlmysql.dylib 19 | cd - 20 | 21 | ls -al VER* 22 | make deploy 23 | ls -al VER* 24 | 25 | # for pushing releases 26 | brew install ruby 27 | -------------------------------------------------------------------------------- /building/mac/requirements.sh: -------------------------------------------------------------------------------- 1 | # Remove any old qt5 lingering around 2 | brew uninstall qt5 3 | 4 | # Make sure we have the C libs we need 5 | brew install boost@1.60 pkg-config automake 6 | 7 | # Install some deps 8 | brew install qt@5.5 protobuf miniupnpc openssl qrencode berkeley-db4 zlib libevent 9 | 10 | # Make sure our stuff is linked in our path 11 | brew link automake autoconf 12 | -------------------------------------------------------------------------------- /contrib/bitrpc/README.md: -------------------------------------------------------------------------------- 1 | ### BitRPC 2 | Allows for sending of all standard Bitcoin commands via RPC rather than as command line args. 3 | 4 | ### Looking for Wallet Tools? 5 | BitRPC.py is able to do the exact same thing as `walletchangepass.py` and `walletunlock.py`. Their respective commands in BitRPC.py are: 6 | 7 | bitrpc.py walletpassphrasechange 8 | bitrpc.py walletpassphrase -------------------------------------------------------------------------------- /contrib/debian/Lux.desktop: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Encoding=UTF-8 3 | Name=Lux 4 | Comment=Lux P2P Cryptocurrency 5 | Exec=lux-qt %u 6 | Terminal=false 7 | Type=Application 8 | Icon=lux128 9 | MimeType=x-scheme-handler/lux; 10 | Categories=Office;Finance; 11 | Name[en_AU]=Lux 12 | -------------------------------------------------------------------------------- /contrib/debian/README.md: -------------------------------------------------------------------------------- 1 | 2 | Debian 3 | ==================== 4 | This directory contains files used to package luxd/lux-qt 5 | for Debian-based Linux systems. If you compile luxd/lux-qt yourself, there are some useful files here. 6 | 7 | ## lux: URI support ## 8 | 9 | 10 | lux-qt.desktop (Gnome / Open Desktop) 11 | To install: 12 | 13 | sudo desktop-file-install lux-qt.desktop 14 | sudo update-desktop-database 15 | 16 | If you build yourself, you will either need to modify the paths in 17 | the .desktop file or copy or symlink your luxqt binary to `/usr/bin` 18 | and the `../../share/pixmaps/lux128.png` to `/usr/share/pixmaps` 19 | 20 | lux-qt.protocol (KDE) 21 | 22 | -------------------------------------------------------------------------------- /contrib/debian/compat: -------------------------------------------------------------------------------- 1 | 7 2 | -------------------------------------------------------------------------------- /contrib/debian/gbp.conf: -------------------------------------------------------------------------------- 1 | # Configuration file for git-buildpackage and friends 2 | 3 | [DEFAULT] 4 | pristine-tar = True 5 | sign-tags = True 6 | -------------------------------------------------------------------------------- /contrib/debian/lux-qt.install: -------------------------------------------------------------------------------- 1 | usr/local/bin/lux-qt usr/bin 2 | share/pixmaps/bitcoin32.xpm usr/share/pixmaps 3 | share/pixmaps/bitcoin16.xpm usr/share/pixmaps 4 | share/pixmaps/bitcoin128.png usr/share/pixmaps 5 | debian/lux-qt.desktop usr/share/applications 6 | debian/lux-qt.protocol usr/share/kde4/services/ 7 | -------------------------------------------------------------------------------- /contrib/debian/lux-qt.lintian-overrides: -------------------------------------------------------------------------------- 1 | # Linked code is Expat - only Debian packaging is GPL-2+ 2 | lux-qt: possible-gpl-code-linked-with-openssl 3 | -------------------------------------------------------------------------------- /contrib/debian/lux-qt.protocol: -------------------------------------------------------------------------------- 1 | [Protocol] 2 | exec=lux-qt '%u' 3 | protocol=lux 4 | input=none 5 | output=none 6 | helper=true 7 | listing= 8 | reading=false 9 | writing=false 10 | makedir=false 11 | deleting=false 12 | -------------------------------------------------------------------------------- /contrib/debian/luxd.bash-completion: -------------------------------------------------------------------------------- 1 | contrib/luxd.bash-completion luxd 2 | -------------------------------------------------------------------------------- /contrib/debian/luxd.examples: -------------------------------------------------------------------------------- 1 | debian/examples/lux.conf 2 | -------------------------------------------------------------------------------- /contrib/debian/luxd.install: -------------------------------------------------------------------------------- 1 | usr/local/bin/luxd usr/bin 2 | usr/local/bin/lux-cli usr/bin 3 | -------------------------------------------------------------------------------- /contrib/debian/luxd.lintian-overrides: -------------------------------------------------------------------------------- 1 | # Linked code is Expat - only Debian packaging is GPL-2+ 2 | luxd: possible-gpl-code-linked-with-openssl 3 | -------------------------------------------------------------------------------- /contrib/debian/luxd.manpages: -------------------------------------------------------------------------------- 1 | debian/manpages/luxd.1 2 | debian/manpages/lux.conf.5 3 | -------------------------------------------------------------------------------- /contrib/debian/patches/README: -------------------------------------------------------------------------------- 1 | 0xxx: Grabbed from upstream development. 2 | 1xxx: Possibly relevant for upstream adoption. 3 | 2xxx: Only relevant for official Debian release. 4 | -------------------------------------------------------------------------------- /contrib/debian/patches/series: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /contrib/debian/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (quilt) 2 | -------------------------------------------------------------------------------- /contrib/debian/watch: -------------------------------------------------------------------------------- 1 | # Run the "uscan" command to check for upstream updates and more. 2 | version=3 3 | # use qa.debian.org redirector; see man uscan 4 | opts=uversionmangle=s/(\d)(alpha|beta|rc)/$1~$2/;s/\-src//,dversionmangle=s/~dfsg\d*// \ 5 | http://sf.net/bitcoin/bitcoin-(\d.*)-linux\.tar\.gz debian 6 | opts=uversionmangle=s/(\d)(alpha|beta|rc)/$1~$2/,dversionmangle=s/~dfsg\d*// \ 7 | http://githubredir.debian.net/github/bitcoin/bitcoin v(.*).tar.gz 8 | -------------------------------------------------------------------------------- /contrib/devtools/split-debug.sh.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | if [ $# -ne 3 ]; 4 | then echo "usage: $0 " 5 | fi 6 | 7 | @OBJCOPY@ --enable-deterministic-archives -p --only-keep-debug $1 $3 8 | @OBJCOPY@ --enable-deterministic-archives -p --strip-debug $1 $2 9 | @STRIP@ --enable-deterministic-archives -p -s $2 10 | @OBJCOPY@ --enable-deterministic-archives -p --add-gnu-debuglink=$3 $2 11 | -------------------------------------------------------------------------------- /contrib/gitian-downloader/aschildbach-key.pgp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/contrib/gitian-downloader/aschildbach-key.pgp -------------------------------------------------------------------------------- /contrib/gitian-downloader/bluematt-key.pgp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/contrib/gitian-downloader/bluematt-key.pgp -------------------------------------------------------------------------------- /contrib/gitian-downloader/devrandom-key.pgp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/contrib/gitian-downloader/devrandom-key.pgp -------------------------------------------------------------------------------- /contrib/gitian-downloader/gavinandresen-key.pgp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/contrib/gitian-downloader/gavinandresen-key.pgp -------------------------------------------------------------------------------- /contrib/gitian-downloader/luke-jr-key.pgp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/contrib/gitian-downloader/luke-jr-key.pgp -------------------------------------------------------------------------------- /contrib/gitian-downloader/sipa-key.pgp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/contrib/gitian-downloader/sipa-key.pgp -------------------------------------------------------------------------------- /contrib/gitian-downloader/tcatm-key.pgp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/contrib/gitian-downloader/tcatm-key.pgp -------------------------------------------------------------------------------- /contrib/init/README.md: -------------------------------------------------------------------------------- 1 | Sample configuration files for: 2 | 3 | SystemD: luxd.service 4 | Upstart: luxd.conf 5 | OpenRC: luxd.openrc 6 | luxd.openrcconf 7 | CentOS: luxd.init 8 | 9 | have been made available to assist packagers in creating node packages here. 10 | 11 | See doc/init.md for more information. 12 | -------------------------------------------------------------------------------- /contrib/init/luxd.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=LUX's distributed currency daemon 3 | After=network.target 4 | 5 | [Service] 6 | User=lux 7 | Group=lux 8 | 9 | Type=forking 10 | PIDFile=/var/lib/luxd/luxd.pid 11 | 12 | ExecStart=/usr/bin/luxd -daemon -pid=/var/lib/luxd/luxd.pid \ 13 | -conf=/etc/lux/lux.conf -datadir=/var/lib/luxd 14 | 15 | ExecStop=-/usr/bin/lux-cli -conf=/etc/lux/lux.conf \ 16 | -datadir=/var/lib/luxd stop 17 | 18 | Restart=always 19 | PrivateTmp=true 20 | TimeoutStopSec=60s 21 | TimeoutStartSec=2s 22 | StartLimitInterval=120s 23 | StartLimitBurst=5 24 | 25 | [Install] 26 | WantedBy=multi-user.target 27 | -------------------------------------------------------------------------------- /contrib/linearize/example-linearize.cfg: -------------------------------------------------------------------------------- 1 | 2 | # bitcoind RPC settings (linearize-hashes) 3 | rpcuser=someuser 4 | rpcpassword=somepassword 5 | host=127.0.0.1 6 | port=28666 7 | 8 | # bootstrap.dat hashlist settings (linearize-hashes) 9 | max_height=100000 10 | 11 | # bootstrap.dat input/output settings (linearize-data) 12 | netmagic=f9beb4d9 13 | input=/home/example/.bitcoin/blocks 14 | output_file=/home/example/Downloads/bootstrap.dat 15 | hashlist=hashlist.txt 16 | split_year=1 17 | 18 | # Maxmimum size in bytes of out-of-order blocks cache in memory 19 | out_of_order_cache_sz = 100000000 20 | -------------------------------------------------------------------------------- /contrib/macdeploy/README.md: -------------------------------------------------------------------------------- 1 | ### MacDeploy ### 2 | 3 | You will need the appscript package for the fancy disk image creation to work: 4 | 5 | sudo easy_install appscript 6 | 7 | 8 | For Snow Leopard (which uses [Python 2.6](http://www.python.org/download/releases/2.6/)), you will need the param_parser package: 9 | 10 | sudo easy_install argparse 11 | 12 | This script should not be run manually, instead, after building as usual: 13 | 14 | make deploy 15 | 16 | During the process, the disk image window will pop up briefly where the fancy 17 | settings are applied. This is normal, please do not interfere. 18 | 19 | When finished, it will produce `Lux-Qt.dmg`. 20 | 21 | -------------------------------------------------------------------------------- /contrib/macdeploy/libs/libboost_system-mt.dylib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/contrib/macdeploy/libs/libboost_system-mt.dylib -------------------------------------------------------------------------------- /contrib/qos/README.md: -------------------------------------------------------------------------------- 1 | ### Qos ### 2 | 3 | This is a Linux bash script that will set up tc to limit the outgoing bandwidth for connections to the Bitcoin network. It limits outbound TCP traffic with a source or destination port of 28666, but not if the destination IP is within a LAN (defined as 192.168.x.x). 4 | 5 | This means one can have an always-on luxd instance running, and another local luxd/lux-qt instance which connects to this node and receives blocks from it. 6 | -------------------------------------------------------------------------------- /contrib/qt_translations.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | # Helpful little script that spits out a comma-separated list of 4 | # language codes for Qt icons that should be included 5 | # in binary bitcoin distributions 6 | 7 | import glob 8 | import os 9 | import re 10 | import sys 11 | 12 | if len(sys.argv) != 3: 13 | sys.exit("Usage: %s $QTDIR/translations $BITCOINDIR/src/qt/locale"%sys.argv[0]) 14 | 15 | d1 = sys.argv[1] 16 | d2 = sys.argv[2] 17 | 18 | l1 = set([ re.search(r'qt_(.*).qm', f).group(1) for f in glob.glob(os.path.join(d1, 'qt_*.qm')) ]) 19 | l2 = set([ re.search(r'bitcoin_(.*).qm', f).group(1) for f in glob.glob(os.path.join(d2, 'bitcoin_*.qm')) ]) 20 | 21 | print ",".join(sorted(l1.intersection(l2))) 22 | 23 | -------------------------------------------------------------------------------- /contrib/seeds/README.md: -------------------------------------------------------------------------------- 1 | # Seeds 2 | 3 | Utility to generate the seeds.txt list that is compiled into the client 4 | (see [src/chainparamsseeds.h](/src/chainparamsseeds.h) and other utilities in [contrib/seeds](/contrib/seeds)). 5 | 6 | Be sure to update `PATTERN_AGENT` in `makeseeds.py` to include the current version, 7 | and remove old versions as necessary. 8 | 9 | The seeds compiled into the release are created from fuzzbawls' DNS seed data, like this: 10 | 11 | curl -s http://seeder.fuzzbawls.pw/lux-mainnet.txt > seeds_main.txt 12 | python3 makeseeds.py < seeds_main.txt > nodes_main.txt 13 | python3 generate-seeds.py . > ../../src/chainparamsseeds.h 14 | 15 | ## Dependencies 16 | 17 | Ubuntu: 18 | 19 | sudo apt-get install python3-dnspython 20 | -------------------------------------------------------------------------------- /contrib/spendfrom/setup.py: -------------------------------------------------------------------------------- 1 | from distutils.core import setup 2 | setup(name='btcspendfrom', 3 | version='1.0', 4 | description='Command-line utility for bitcoin "coin control"', 5 | author='Gavin Andresen', 6 | author_email='gavin@bitcoinfoundation.org', 7 | requires=['jsonrpc'], 8 | scripts=['spendfrom.py'], 9 | ) 10 | -------------------------------------------------------------------------------- /contrib/test-patches/README.md: -------------------------------------------------------------------------------- 1 | ### Test Patches ### 2 | 3 | These patches are applied when the automated pull-tester 4 | tests each pull and when master is tested using jenkins. 5 | You can find more information about the tests run at 6 | [http://jenkins.bluematt.me/pull-tester/files/ 7 | ](http://jenkins.bluematt.me/pull-tester/files/) -------------------------------------------------------------------------------- /contrib/testgen/README.md: -------------------------------------------------------------------------------- 1 | ### TestGen ### 2 | 3 | Utilities to generate test vectors for the data-driven Bitcoin tests. 4 | 5 | Usage: 6 | 7 | gen_base58_test_vectors.py valid 50 > ../../src/test/data/base58_keys_valid.json 8 | gen_base58_test_vectors.py invalid 50 > ../../src/test/data/base58_keys_invalid.json -------------------------------------------------------------------------------- /contrib/verifysfbinaries/README.md: -------------------------------------------------------------------------------- 1 | ### Verify SF Binaries ### 2 | This script attempts to download the signature file `SHA256SUMS.asc` from https://bitcoin.org. 3 | 4 | It first checks if the signature passes, and then downloads the files specified in the file, and checks if the hashes of these files match those that are specified in the signature file. 5 | 6 | The script returns 0 if everything passes the checks. It returns 1 if either the signature check or the hash check doesn't pass. If an error occurs the return value is 2. -------------------------------------------------------------------------------- /depends/builders/linux.mk: -------------------------------------------------------------------------------- 1 | build_linux_SHA256SUM = sha256sum 2 | build_linux_DOWNLOAD = curl --location --fail --connect-timeout $(DOWNLOAD_CONNECT_TIMEOUT) --retry $(DOWNLOAD_RETRIES) -o 3 | -------------------------------------------------------------------------------- /depends/hosts/darwin.mk: -------------------------------------------------------------------------------- 1 | OSX_MIN_VERSION=10.8 2 | OSX_SDK_VERSION=10.11 3 | OSX_SDK=$(SDK_PATH)/MacOSX$(OSX_SDK_VERSION).sdk 4 | LD64_VERSION=253.9 5 | darwin_CC=clang -target $(host) -mmacosx-version-min=$(OSX_MIN_VERSION) --sysroot $(OSX_SDK) -mlinker-version=$(LD64_VERSION) 6 | darwin_CXX=clang++ -target $(host) -mmacosx-version-min=$(OSX_MIN_VERSION) --sysroot $(OSX_SDK) -mlinker-version=$(LD64_VERSION) -stdlib=libc++ 7 | 8 | darwin_CFLAGS=-pipe 9 | darwin_CXXFLAGS=$(darwin_CFLAGS) 10 | 11 | darwin_release_CFLAGS=-O2 12 | darwin_release_CXXFLAGS=$(darwin_release_CFLAGS) 13 | 14 | darwin_debug_CFLAGS=-O1 15 | darwin_debug_CXXFLAGS=$(darwin_debug_CFLAGS) 16 | 17 | darwin_native_toolchain=native_cctools 18 | -------------------------------------------------------------------------------- /depends/hosts/mingw32.mk: -------------------------------------------------------------------------------- 1 | mingw32_CFLAGS=-pipe 2 | mingw32_CXXFLAGS=$(mingw32_CFLAGS) 3 | 4 | mingw32_release_CFLAGS=-O2 5 | mingw32_release_CXXFLAGS=$(mingw32_release_CFLAGS) 6 | 7 | mingw32_debug_CFLAGS=-O1 8 | mingw32_debug_CXXFLAGS=$(mingw32_debug_CFLAGS) 9 | 10 | mingw32_debug_CPPFLAGS=-D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC 11 | -------------------------------------------------------------------------------- /depends/packages/expat.mk: -------------------------------------------------------------------------------- 1 | package=expat 2 | $(package)_version=2.2.5 3 | $(package)_download_path=https://github.com/libexpat/libexpat/releases/download/R_2_2_5/ 4 | $(package)_file_name=$(package)-$($(package)_version).tar.bz2 5 | $(package)_sha256_hash=d9dc32efba7e74f788fcc4f212a43216fc37cf5f23f4c2339664d473353aedf6 6 | 7 | define $(package)_set_vars 8 | $(package)_config_opts=--disable-static 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 | -------------------------------------------------------------------------------- /depends/packages/freetype.mk: -------------------------------------------------------------------------------- 1 | package=freetype 2 | $(package)_version=2.7.1 3 | $(package)_download_path=http://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 --disable-static 9 | $(package)_config_opts_linux=--with-pic 10 | endef 11 | 12 | define $(package)_config_cmds 13 | $($(package)_autoconf) 14 | endef 15 | 16 | define $(package)_build_cmds 17 | $(MAKE) 18 | endef 19 | 20 | define $(package)_stage_cmds 21 | $(MAKE) DESTDIR=$($(package)_staging_dir) install 22 | endef 23 | -------------------------------------------------------------------------------- /depends/packages/libICE.mk: -------------------------------------------------------------------------------- 1 | package=libICE 2 | $(package)_version=1.0.9 3 | $(package)_download_path=http://xorg.freedesktop.org/releases/individual/lib/ 4 | $(package)_file_name=$(package)-$($(package)_version).tar.bz2 5 | $(package)_sha256_hash=8f7032f2c1c64352b5423f6b48a8ebdc339cc63064af34d66a6c9aa79759e202 6 | $(package)_dependencies=xtrans xproto 7 | 8 | define $(package)_set_vars 9 | $(package)_config_opts=--disable-static --disable-docs --disable-specs --without-xsltproc 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 | -------------------------------------------------------------------------------- /depends/packages/libX11.mk: -------------------------------------------------------------------------------- 1 | package=libX11 2 | $(package)_version=1.6.2 3 | $(package)_download_path=http://xorg.freedesktop.org/releases/individual/lib/ 4 | $(package)_file_name=$(package)-$($(package)_version).tar.bz2 5 | $(package)_sha256_hash=2aa027e837231d2eeea90f3a4afe19948a6eb4c8b2bec0241eba7dbc8106bd16 6 | $(package)_dependencies=libxcb xtrans xextproto xproto 7 | 8 | define $(package)_set_vars 9 | $(package)_config_opts=--disable-xkb --disable-static 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 | -------------------------------------------------------------------------------- /depends/packages/libXau.mk: -------------------------------------------------------------------------------- 1 | package=libXau 2 | $(package)_version=1.0.8 3 | $(package)_download_path=http://xorg.freedesktop.org/releases/individual/lib/ 4 | $(package)_file_name=$(package)-$($(package)_version).tar.bz2 5 | $(package)_sha256_hash=fdd477320aeb5cdd67272838722d6b7d544887dfe7de46e1e7cc0c27c2bea4f2 6 | $(package)_dependencies=xproto 7 | 8 | define $(package)_set_vars 9 | $(package)_config_opts=--disable-shared 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 | -------------------------------------------------------------------------------- /depends/packages/libXext.mk: -------------------------------------------------------------------------------- 1 | package=libXext 2 | $(package)_version=1.3.2 3 | $(package)_download_path=http://xorg.freedesktop.org/releases/individual/lib/ 4 | $(package)_file_name=$(package)-$($(package)_version).tar.bz2 5 | $(package)_sha256_hash=f829075bc646cdc085fa25d98d5885d83b1759ceb355933127c257e8e50432e0 6 | $(package)_dependencies=xproto xextproto libX11 libXau 7 | 8 | define $(package)_set_vars 9 | $(package)_config_opts=--disable-static 10 | endef 11 | 12 | define $(package)_config_cmds 13 | $($(package)_autoconf) 14 | endef 15 | 16 | define $(package)_build_cmds 17 | $(MAKE) 18 | endef 19 | 20 | define $(package)_stage_cmds 21 | $(MAKE) DESTDIR=$($(package)_staging_dir) install 22 | endef 23 | -------------------------------------------------------------------------------- /depends/packages/native_biplist.mk: -------------------------------------------------------------------------------- 1 | package=native_biplist 2 | $(package)_version=1.0.3 3 | $(package)_download_path=https://bitbucket.org/wooster/biplist/downloads 4 | $(package)_file_name=biplist-$($(package)_version).tar.gz 5 | $(package)_sha256_hash=4c0549764c5fe50b28042ec21aa2e14fe1a2224e239a1dae77d9e7f3932aa4c6 6 | $(package)_install_libdir=$(build_prefix)/lib/python/dist-packages 7 | 8 | define $(package)_build_cmds 9 | python setup.py build 10 | endef 11 | 12 | define $(package)_stage_cmds 13 | mkdir -p $($(package)_install_libdir) && \ 14 | python setup.py install --root=$($(package)_staging_dir) --prefix=$(build_prefix) --install-lib=$($(package)_install_libdir) 15 | endef 16 | -------------------------------------------------------------------------------- /depends/packages/native_ccache.mk: -------------------------------------------------------------------------------- 1 | package=native_ccache 2 | $(package)_version=3.4.1 3 | $(package)_download_path=https://samba.org/ftp/ccache 4 | $(package)_file_name=ccache-$($(package)_version).tar.bz2 5 | $(package)_sha256_hash=ca5a01fb4868cdb5176c77b8b4a390be7929a6064be80741217e0686f03f8389 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 | -------------------------------------------------------------------------------- /depends/packages/native_ds_store.mk: -------------------------------------------------------------------------------- 1 | package=native_ds_store 2 | $(package)_version=1.1.2 3 | $(package)_download_path=https://github.com/al45tair/ds_store/archive/ 4 | $(package)_file_name=v$($(package)_version).tar.gz 5 | $(package)_sha256_hash=3b3ecb7bf0a5157f5b6010bc3af7c141fb0ad3527084e63336220d22744bc20c 6 | $(package)_install_libdir=$(build_prefix)/lib/python/dist-packages 7 | $(package)_dependencies=native_biplist 8 | 9 | define $(package)_build_cmds 10 | python setup.py build 11 | endef 12 | 13 | define $(package)_stage_cmds 14 | mkdir -p $($(package)_install_libdir) && \ 15 | python setup.py install --root=$($(package)_staging_dir) --prefix=$(build_prefix) --install-lib=$($(package)_install_libdir) 16 | endef 17 | -------------------------------------------------------------------------------- /depends/packages/native_libdmg-hfsplus.mk: -------------------------------------------------------------------------------- 1 | package=native_libdmg-hfsplus 2 | $(package)_version=0.1 3 | $(package)_download_path=https://github.com/theuni/libdmg-hfsplus/archive 4 | $(package)_file_name=libdmg-hfsplus-v$($(package)_version).tar.gz 5 | $(package)_sha256_hash=6569a02eb31c2827080d7d59001869ea14484c281efab0ae7f2b86af5c3120b3 6 | $(package)_build_subdir=build 7 | 8 | define $(package)_preprocess_cmds 9 | mkdir build 10 | endef 11 | 12 | define $(package)_config_cmds 13 | cmake -DCMAKE_INSTALL_PREFIX:PATH=$(build_prefix)/bin .. 14 | endef 15 | 16 | define $(package)_build_cmds 17 | $(MAKE) -C dmg 18 | endef 19 | 20 | define $(package)_stage_cmds 21 | $(MAKE) DESTDIR=$($(package)_staging_dir) -C dmg install 22 | endef 23 | -------------------------------------------------------------------------------- /depends/packages/native_mac_alias.mk: -------------------------------------------------------------------------------- 1 | package=native_mac_alias 2 | $(package)_version=2.0.7 3 | $(package)_download_path=https://github.com/al45tair/mac_alias/archive/ 4 | $(package)_file_name=v$($(package)_version).tar.gz 5 | $(package)_sha256_hash=6f606d3b6bccd2112aeabf1a063f5b5ece87005a5d7e97c8faca23b916e88838 6 | $(package)_install_libdir=$(build_prefix)/lib/python/dist-packages 7 | 8 | define $(package)_build_cmds 9 | python setup.py build 10 | endef 11 | 12 | define $(package)_stage_cmds 13 | mkdir -p $($(package)_install_libdir) && \ 14 | python setup.py install --root=$($(package)_staging_dir) --prefix=$(build_prefix) --install-lib=$($(package)_install_libdir) 15 | endef 16 | -------------------------------------------------------------------------------- /depends/packages/packages.mk: -------------------------------------------------------------------------------- 1 | packages:=boost openssl libevent zeromq 2 | native_packages := native_ccache 3 | 4 | qt_native_packages = native_protobuf 5 | qt_packages = qrencode protobuf zlib 6 | 7 | qt_x86_64_linux_packages:=qt expat dbus libxcb xcb_proto libXau xproto freetype fontconfig libX11 xextproto libXext xtrans 8 | qt_i686_linux_packages:=$(qt_x86_64_linux_packages) 9 | 10 | qt_darwin_packages=qt 11 | qt_mingw32_packages=qt 12 | 13 | wallet_packages=bdb 14 | 15 | upnp_packages=miniupnpc 16 | 17 | darwin_native_packages = native_biplist native_ds_store native_mac_alias 18 | 19 | ifneq ($(build_os),darwin) 20 | darwin_native_packages += native_cctools native_cdrkit native_libdmg-hfsplus 21 | endif 22 | -------------------------------------------------------------------------------- /depends/packages/qrencode.mk: -------------------------------------------------------------------------------- 1 | package=qrencode 2 | $(package)_version=3.4.4 3 | $(package)_download_path=https://fukuchi.org/works/qrencode/ 4 | $(package)_file_name=$(package)-$($(package)_version).tar.bz2 5 | $(package)_sha256_hash=efe5188b1ddbcbf98763b819b146be6a90481aac30cfc8d858ab78a19cde1fa5 6 | 7 | define $(package)_set_vars 8 | $(package)_config_opts=--disable-shared -without-tools --disable-sdltest 9 | $(package)_config_opts_linux=--with-pic 10 | endef 11 | 12 | define $(package)_config_cmds 13 | $($(package)_autoconf) 14 | endef 15 | 16 | define $(package)_build_cmds 17 | $(MAKE) 18 | endef 19 | 20 | define $(package)_stage_cmds 21 | $(MAKE) DESTDIR=$($(package)_staging_dir) install 22 | endef 23 | -------------------------------------------------------------------------------- /depends/packages/xproto.mk: -------------------------------------------------------------------------------- 1 | package=xproto 2 | $(package)_version=7.0.26 3 | $(package)_download_path=http://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=--disable-shared 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 | -------------------------------------------------------------------------------- /depends/packages/xtrans.mk: -------------------------------------------------------------------------------- 1 | package=xtrans 2 | $(package)_version=1.3.4 3 | $(package)_download_path=http://xorg.freedesktop.org/releases/individual/lib/ 4 | $(package)_file_name=$(package)-$($(package)_version).tar.bz2 5 | $(package)_sha256_hash=054d4ee3efd52508c753e9f7bc655ef185a29bd2850dd9e2fc2ccc33544f583a 6 | $(package)_dependencies= 7 | 8 | define $(package)_set_vars 9 | $(package)_config_opts_linux=--with-pic --disable-static 10 | endef 11 | 12 | define $(package)_config_cmds 13 | $($(package)_autoconf) 14 | endef 15 | 16 | define $(package)_build_cmds 17 | $(MAKE) 18 | endef 19 | 20 | define $(package)_stage_cmds 21 | $(MAKE) DESTDIR=$($(package)_staging_dir) install 22 | endef 23 | -------------------------------------------------------------------------------- /depends/patches/qt/aarch64-qmake.conf: -------------------------------------------------------------------------------- 1 | MAKEFILE_GENERATOR = UNIX 2 | CONFIG += incremental 3 | QMAKE_INCREMENTAL_STYLE = sublib 4 | 5 | include(../common/linux.conf) 6 | include(../common/gcc-base-unix.conf) 7 | include(../common/g++-unix.conf) 8 | 9 | # modifications to g++.conf 10 | QMAKE_CC = aarch64-linux-gnu-gcc 11 | QMAKE_CXX = aarch64-linux-gnu-g++ 12 | QMAKE_LINK = aarch64-linux-gnu-g++ 13 | QMAKE_LINK_SHLIB = aarch64-linux-gnu-g++ 14 | 15 | # modifications to linux.conf 16 | QMAKE_AR = aarch64-linux-gnu-ar cqs 17 | QMAKE_OBJCOPY = aarch64-linux-gnu-objcopy 18 | QMAKE_NM = aarch64-linux-gnu-nm -P 19 | QMAKE_STRIP = aarch64-linux-gnu-strip 20 | load(qt_config) 21 | -------------------------------------------------------------------------------- /depends/patches/qt/fix_qt_pkgconfig.patch: -------------------------------------------------------------------------------- 1 | --- old/qtbase/mkspecs/features/qt_module.prf 2 | +++ new/qtbase/mkspecs/features/qt_module.prf 3 | @@ -245,7 +245,7 @@ 4 | load(qt_targets) 5 | 6 | # this builds on top of qt_common 7 | -!internal_module:!lib_bundle:if(unix|mingw) { 8 | +unix|mingw { 9 | CONFIG += create_pc 10 | QMAKE_PKGCONFIG_DESTDIR = pkgconfig 11 | host_build: \ 12 | -------------------------------------------------------------------------------- /doc/bitcoin_logo_doxygen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/doc/bitcoin_logo_doxygen.png -------------------------------------------------------------------------------- /doc/gitian-building/create_vm_file_location_size.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/doc/gitian-building/create_vm_file_location_size.png -------------------------------------------------------------------------------- /doc/gitian-building/create_vm_hard_drive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/doc/gitian-building/create_vm_hard_drive.png -------------------------------------------------------------------------------- /doc/gitian-building/create_vm_hard_drive_file_type.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/doc/gitian-building/create_vm_hard_drive_file_type.png -------------------------------------------------------------------------------- /doc/gitian-building/create_vm_memsize.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/doc/gitian-building/create_vm_memsize.png -------------------------------------------------------------------------------- /doc/gitian-building/create_vm_page1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/doc/gitian-building/create_vm_page1.png -------------------------------------------------------------------------------- /doc/gitian-building/create_vm_storage_physical_hard_drive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/doc/gitian-building/create_vm_storage_physical_hard_drive.png -------------------------------------------------------------------------------- /doc/gitian-building/debian_install_10_configure_clock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/doc/gitian-building/debian_install_10_configure_clock.png -------------------------------------------------------------------------------- /doc/gitian-building/debian_install_11_partition_disks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/doc/gitian-building/debian_install_11_partition_disks.png -------------------------------------------------------------------------------- /doc/gitian-building/debian_install_12_choose_disk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/doc/gitian-building/debian_install_12_choose_disk.png -------------------------------------------------------------------------------- /doc/gitian-building/debian_install_13_partition_scheme.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/doc/gitian-building/debian_install_13_partition_scheme.png -------------------------------------------------------------------------------- /doc/gitian-building/debian_install_14_finish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/doc/gitian-building/debian_install_14_finish.png -------------------------------------------------------------------------------- /doc/gitian-building/debian_install_15_write_changes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/doc/gitian-building/debian_install_15_write_changes.png -------------------------------------------------------------------------------- /doc/gitian-building/debian_install_16_choose_a_mirror.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/doc/gitian-building/debian_install_16_choose_a_mirror.png -------------------------------------------------------------------------------- /doc/gitian-building/debian_install_17_choose_a_mirror2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/doc/gitian-building/debian_install_17_choose_a_mirror2.png -------------------------------------------------------------------------------- /doc/gitian-building/debian_install_18_proxy_settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/doc/gitian-building/debian_install_18_proxy_settings.png -------------------------------------------------------------------------------- /doc/gitian-building/debian_install_19_software_selection.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/doc/gitian-building/debian_install_19_software_selection.png -------------------------------------------------------------------------------- /doc/gitian-building/debian_install_1_boot_menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/doc/gitian-building/debian_install_1_boot_menu.png -------------------------------------------------------------------------------- /doc/gitian-building/debian_install_20_install_grub.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/doc/gitian-building/debian_install_20_install_grub.png -------------------------------------------------------------------------------- /doc/gitian-building/debian_install_21_finish_installation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/doc/gitian-building/debian_install_21_finish_installation.png -------------------------------------------------------------------------------- /doc/gitian-building/debian_install_2_select_a_language.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/doc/gitian-building/debian_install_2_select_a_language.png -------------------------------------------------------------------------------- /doc/gitian-building/debian_install_3_select_location.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/doc/gitian-building/debian_install_3_select_location.png -------------------------------------------------------------------------------- /doc/gitian-building/debian_install_4_configure_keyboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/doc/gitian-building/debian_install_4_configure_keyboard.png -------------------------------------------------------------------------------- /doc/gitian-building/debian_install_5_configure_the_network.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/doc/gitian-building/debian_install_5_configure_the_network.png -------------------------------------------------------------------------------- /doc/gitian-building/debian_install_6_domain_name.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/doc/gitian-building/debian_install_6_domain_name.png -------------------------------------------------------------------------------- /doc/gitian-building/debian_install_6a_set_up_root_password.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/doc/gitian-building/debian_install_6a_set_up_root_password.png -------------------------------------------------------------------------------- /doc/gitian-building/debian_install_7_set_up_user_fullname.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/doc/gitian-building/debian_install_7_set_up_user_fullname.png -------------------------------------------------------------------------------- /doc/gitian-building/debian_install_8_set_up_username.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/doc/gitian-building/debian_install_8_set_up_username.png -------------------------------------------------------------------------------- /doc/gitian-building/debian_install_9_user_password.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/doc/gitian-building/debian_install_9_user_password.png -------------------------------------------------------------------------------- /doc/gitian-building/network_settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/doc/gitian-building/network_settings.png -------------------------------------------------------------------------------- /doc/gitian-building/port_forwarding_rules.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/doc/gitian-building/port_forwarding_rules.png -------------------------------------------------------------------------------- /doc/gitian-building/select_startup_disk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/doc/gitian-building/select_startup_disk.png -------------------------------------------------------------------------------- /doc/img/bootstrap1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/doc/img/bootstrap1.png -------------------------------------------------------------------------------- /doc/img/bootstrap2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/doc/img/bootstrap2.png -------------------------------------------------------------------------------- /doc/img/bootstrap4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/doc/img/bootstrap4.png -------------------------------------------------------------------------------- /doc/img/bootstrap5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/doc/img/bootstrap5.png -------------------------------------------------------------------------------- /doc/img/smartcontract1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/doc/img/smartcontract1.png -------------------------------------------------------------------------------- /doc/img/smartcontract2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/doc/img/smartcontract2.png -------------------------------------------------------------------------------- /doc/img/smartcontract3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/doc/img/smartcontract3.png -------------------------------------------------------------------------------- /doc/img/smartcontract4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/doc/img/smartcontract4.png -------------------------------------------------------------------------------- /doc/img/smartcontract5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/doc/img/smartcontract5.png -------------------------------------------------------------------------------- /doc/readme-qt.rst: -------------------------------------------------------------------------------- 1 | Lux-qt: Qt5 GUI for Lux 2 | =============================== 3 | 4 | Linux 5 | ------- 6 | https://github.com/CoinProjects/Lux/blob/master/doc/build-unix.md 7 | 8 | Windows 9 | -------- 10 | https://github.com/CoinProjects/Lux/blob/master/doc/build-msw.md 11 | 12 | Mac OS X 13 | -------- 14 | https://github.com/CoinProjects/Lux/blob/master/doc/build-osx.md 15 | -------------------------------------------------------------------------------- /doc/unit-tests.md: -------------------------------------------------------------------------------- 1 | Compiling/running unit tests 2 | ------------------------------------ 3 | 4 | Unit tests will be automatically compiled if dependencies were met in configure 5 | and tests weren't explicitly disabled. 6 | 7 | After configuring, they can be run with 'make check'. 8 | 9 | To run the luxd tests manually, launch src/test/test_lux . 10 | 11 | To add more luxd tests, add `BOOST_AUTO_TEST_CASE` functions to the existing 12 | .cpp files in the test/ directory or add new .cpp files that 13 | implement new BOOST_AUTO_TEST_SUITE sections. 14 | 15 | To run the lux-qt tests manually, launch src/qt/test/lux-qt_test 16 | 17 | To add more lux-qt tests, add them to the `src/qt/test/` directory and 18 | the `src/qt/test/test_main.cpp` file. 19 | -------------------------------------------------------------------------------- /qa/pull-tester/run-bitcoin-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 | -------------------------------------------------------------------------------- /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 | 14 | REAL_BITCOIND="$BUILDDIR/src/luxd${EXEEXT}" 15 | REAL_BITCOINCLI="$BUILDDIR/src/lux-cli${EXEEXT}" 16 | 17 | -------------------------------------------------------------------------------- /qa/rpc-tests/python-bitcoinrpc/bitcoinrpc/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/qa/rpc-tests/python-bitcoinrpc/bitcoinrpc/__init__.py -------------------------------------------------------------------------------- /qa/rpc-tests/python-bitcoinrpc/setup.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python2 2 | 3 | from distutils.core import setup 4 | 5 | setup(name='python-bitcoinrpc', 6 | version='0.1', 7 | description='Enhanced version of python-jsonrpc for use with Bitcoin', 8 | long_description=open('README').read(), 9 | author='Jeff Garzik', 10 | author_email='', 11 | maintainer='Jeff Garzik', 12 | maintainer_email='', 13 | url='http://www.github.com/jgarzik/python-bitcoinrpc', 14 | packages=['bitcoinrpc'], 15 | classifiers=['License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)', 'Operating System :: OS Independent']) 16 | -------------------------------------------------------------------------------- /share/pixmaps/bitcoin-bc.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/share/pixmaps/bitcoin-bc.ico -------------------------------------------------------------------------------- /share/pixmaps/bitcoin.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/share/pixmaps/bitcoin.ico -------------------------------------------------------------------------------- /share/pixmaps/bitcoin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/share/pixmaps/bitcoin.png -------------------------------------------------------------------------------- /share/pixmaps/bitcoin128.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/share/pixmaps/bitcoin128.bmp -------------------------------------------------------------------------------- /share/pixmaps/bitcoin128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/share/pixmaps/bitcoin128.png -------------------------------------------------------------------------------- /share/pixmaps/bitcoin16.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/share/pixmaps/bitcoin16.bmp -------------------------------------------------------------------------------- /share/pixmaps/bitcoin16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/share/pixmaps/bitcoin16.png -------------------------------------------------------------------------------- /share/pixmaps/bitcoin256.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/share/pixmaps/bitcoin256.bmp -------------------------------------------------------------------------------- /share/pixmaps/bitcoin256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/share/pixmaps/bitcoin256.png -------------------------------------------------------------------------------- /share/pixmaps/bitcoin32.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/share/pixmaps/bitcoin32.bmp -------------------------------------------------------------------------------- /share/pixmaps/bitcoin32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/share/pixmaps/bitcoin32.png -------------------------------------------------------------------------------- /share/pixmaps/bitcoin64.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/share/pixmaps/bitcoin64.bmp -------------------------------------------------------------------------------- /share/pixmaps/bitcoin64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/share/pixmaps/bitcoin64.png -------------------------------------------------------------------------------- /share/pixmaps/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/share/pixmaps/favicon.ico -------------------------------------------------------------------------------- /share/pixmaps/nsis-header.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/share/pixmaps/nsis-header.bmp -------------------------------------------------------------------------------- /share/pixmaps/nsis-header.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/share/pixmaps/nsis-header.png -------------------------------------------------------------------------------- /share/pixmaps/nsis-wizard.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/share/pixmaps/nsis-wizard.bmp -------------------------------------------------------------------------------- /share/pixmaps/nsis-wizard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/share/pixmaps/nsis-wizard.png -------------------------------------------------------------------------------- /share/qt/img/reload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/share/qt/img/reload.png -------------------------------------------------------------------------------- /share/qt/img/reload.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/share/qt/img/reload.xcf -------------------------------------------------------------------------------- /share/ui.rc: -------------------------------------------------------------------------------- 1 | #define BUILD_SUFFIX bc09821-Luxcore 2 | #define BUILD_DATE "2018-03-15 11:22:41 +1100" 3 | -------------------------------------------------------------------------------- /src/compat/sanity.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2009-2014 The Bitcoin 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/compat/strnlen.cpp: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2009-2014 The Bitcoin 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/lux-config.h" 7 | #endif 8 | 9 | #include 10 | // OSX 10.6 is missing strnlen at runtime, but builds targetting it will still 11 | // succeed. Define our own version here to avoid a crash. 12 | size_t strnlen_int( 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 | -------------------------------------------------------------------------------- /src/config/.empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/config/.empty -------------------------------------------------------------------------------- /src/cpp-ethereum/.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "evmjit"] 2 | path = evmjit 3 | url = https://github.com/ethereum/evmjit 4 | branch = develop 5 | -------------------------------------------------------------------------------- /src/cpp-ethereum/bench/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | aux_source_directory(. SRC_LIST) 2 | 3 | add_executable(bench ${SRC_LIST}) 4 | 5 | find_package(Dev) 6 | 7 | target_include_directories(bench PRIVATE ..) 8 | target_include_directories(bench PRIVATE ../utils) 9 | target_link_libraries(bench ${Dev_DEVCORE_LIBRARIES}) 10 | target_link_libraries(bench ${Dev_DEVCRYPTO_LIBRARIES}) 11 | 12 | if (UNIX AND NOT APPLE) 13 | target_link_libraries(bench pthread) 14 | endif() 15 | -------------------------------------------------------------------------------- /src/cpp-ethereum/cmake/UseCpuid.cmake: -------------------------------------------------------------------------------- 1 | function(eth_apply TARGET REQUIRED) 2 | find_package (Cpuid QUIET) 3 | eth_show_dependency(CPUID Cpuid) 4 | if (CPUID_FOUND) 5 | target_include_directories(${TARGET} SYSTEM PUBLIC ${CPUID_INCLUDE_DIRS}) 6 | target_link_libraries(${TARGET} ${CPUID_LIBRARIES}) 7 | target_compile_definitions(${TARGET} PUBLIC ETH_CPUID) 8 | elseif (NOT ${REQUIRED} STREQUAL "OPTIONAL") 9 | message(FATAL_ERROR "CPUID library not found") 10 | endif() 11 | endfunction() 12 | -------------------------------------------------------------------------------- /src/cpp-ethereum/cmake/UseDev.cmake: -------------------------------------------------------------------------------- 1 | function(eth_apply TARGET REQUIRED SUBMODULE) 2 | 3 | endfunction() 4 | -------------------------------------------------------------------------------- /src/cpp-ethereum/cmake/UseEth.cmake: -------------------------------------------------------------------------------- 1 | function(eth_apply TARGET REQUIRED SUBMODULE) 2 | 3 | find_package(Eth) 4 | 5 | endfunction() 6 | -------------------------------------------------------------------------------- /src/cpp-ethereum/cmake/UseGmp.cmake: -------------------------------------------------------------------------------- 1 | function(eth_apply TARGET REQUIRED) 2 | find_package (Gmp 6.0.0) 3 | eth_show_dependency(GMP Gmp) 4 | if (GMP_FOUND) 5 | target_include_directories(${TARGET} SYSTEM PUBLIC ${GMP_INCLUDE_DIRS}) 6 | target_link_libraries(${TARGET} ${GMP_LIBRARIES}) 7 | elseif (NOT ${REQUIRED} STREQUAL "OPTIONAL") 8 | message(FATAL_ERROR "Gmp library not found") 9 | endif() 10 | endfunction() 11 | -------------------------------------------------------------------------------- /src/cpp-ethereum/cmake/UseMhd.cmake: -------------------------------------------------------------------------------- 1 | function(eth_apply TARGET REQUIRED) 2 | find_package(MHD REQUIRED) 3 | eth_show_dependency(MHD microhttpd) 4 | if (MHD_FOUND) 5 | target_include_directories(${TARGET} SYSTEM PUBLIC ${MHD_INCLUDE_DIRS}) 6 | target_link_libraries(${TARGET} ${MHD_LIBRARIES}) 7 | eth_copy_dlls(${TARGET} MHD_DLLS) 8 | elseif (NOT ${REQUIRED} STREQUAL "OPTIONAL") 9 | message(FATAL_ERROR "Microhttpd library not found") 10 | endif() 11 | endfunction() 12 | -------------------------------------------------------------------------------- /src/cpp-ethereum/cmake/UseMiniupnpc.cmake: -------------------------------------------------------------------------------- 1 | function(eth_apply TARGET REQUIRED) 2 | find_package (Miniupnpc 1.8.2013) 3 | eth_show_dependency(MINIUPNPC miniupnpc) 4 | if (MINIUPNPC AND MINIUPNPC_FOUND) 5 | target_include_directories(${TARGET} SYSTEM PRIVATE ${MINIUPNPC_INCLUDE_DIRS}) 6 | target_link_libraries(${TARGET} ${MINIUPNPC_LIBRARIES}) 7 | target_compile_definitions(${TARGET} PUBLIC ETH_MINIUPNPC) 8 | elseif (NOT ${REQUIRED} STREQUAL "OPTIONAL") 9 | message(FATAL_ERROR "Miniupnpc library not found") 10 | endif() 11 | endfunction() 12 | -------------------------------------------------------------------------------- /src/cpp-ethereum/cmake/UseOpenSSL.cmake: -------------------------------------------------------------------------------- 1 | function(eth_apply TARGET REQUIRED) 2 | find_package (OpenSSL) 3 | 4 | # cmake supplied FindOpenSSL doesn't set all our variables 5 | set(OPENSSL_INCLUDE_DIRS ${OPENSSL_INCLUDE_DIR}) 6 | 7 | eth_show_dependency(OPENSSL OpenSSL) 8 | if (OPENSSL_FOUND) 9 | target_include_directories(${TARGET} SYSTEM PUBLIC ${OPENSSL_INCLUDE_DIRS}) 10 | target_link_libraries(${TARGET} ${OPENSSL_LIBRARIES}) 11 | elseif (NOT ${REQUIRED} STREQUAL "OPTIONAL") 12 | message(FATAL_ERROR "OpenSSL library not found") 13 | endif() 14 | endfunction() 15 | -------------------------------------------------------------------------------- /src/cpp-ethereum/cmake/UseSSH2.cmake: -------------------------------------------------------------------------------- 1 | function(eth_apply TARGET REQUIRED) 2 | find_package (SSH2) 3 | eth_show_dependency(SSH2 ssh2) 4 | 5 | if (SSH2_FOUND) 6 | target_include_directories(${TARGET} SYSTEM PUBLIC ${SSH2_INCLUDE_DIRS}) 7 | target_link_libraries(${TARGET} ${SSH2_LIBRARIES}) 8 | elseif (NOT ${REQUIRED} STREQUAL "OPTIONAL") 9 | message(FATAL_ERROR "ssh2 library not found") 10 | endif() 11 | endfunction() 12 | -------------------------------------------------------------------------------- /src/cpp-ethereum/cmake/UseUtils.cmake: -------------------------------------------------------------------------------- 1 | function(eth_apply TARGET REQUIRED SUBMODULE) 2 | 3 | endfunction() 4 | -------------------------------------------------------------------------------- /src/cpp-ethereum/cmake/UseWeb3.cmake: -------------------------------------------------------------------------------- 1 | function(eth_apply TARGET REQUIRED SUBMODULE) 2 | 3 | endfunction() 4 | -------------------------------------------------------------------------------- /src/cpp-ethereum/cmake/UseZLIB.cmake: -------------------------------------------------------------------------------- 1 | function(eth_apply TARGET REQUIRED) 2 | find_package (ZLIB) 3 | eth_show_dependency(ZLIB Zlib) 4 | if (ZLIB_FOUND) 5 | target_include_directories(${TARGET} SYSTEM PUBLIC ${ZLIB_INCLUDE_DIRS}) 6 | # target_link_libraries(${TARGET} ${ZLIB_LIBRARIES}) 7 | target_link_libraries(${TARGET} z) 8 | elseif (NOT ${REQUIRED} STREQUAL "OPTIONAL") 9 | message(FATAL_ERROR "Zlib library not found") 10 | endif() 11 | endfunction() 12 | -------------------------------------------------------------------------------- /src/cpp-ethereum/cmake/scripts/configure.cmake: -------------------------------------------------------------------------------- 1 | # adds possibility to run configure_file as buildstep 2 | # reference: 3 | # http://www.cmake.org/pipermail/cmake/2012-May/050227.html 4 | # 5 | # This module expects 6 | # INFILE 7 | # OUTFILE 8 | # other custom vars 9 | # 10 | # example usage: 11 | # cmake -DINFILE=blah.in -DOUTFILE=blah.out -Dvar1=value1 -Dvar2=value2 -P scripts/configure.cmake 12 | 13 | configure_file(${INFILE} ${OUTFILE}) 14 | 15 | -------------------------------------------------------------------------------- /src/cpp-ethereum/cmake/scripts/install_deps.cmake: -------------------------------------------------------------------------------- 1 | include("${CMAKE_CURRENT_LIST_DIR}/helpers.cmake") 2 | 3 | set(INSTALL_DIR "${ROOT_DIR}/deps") 4 | set(SERVER "https://github.com/ethereum/cpp-dependencies/releases/download/vc140/") 5 | 6 | function(download_and_install PACKAGE_NAME) 7 | download_and_unpack("${SERVER}${PACKAGE_NAME}.tar.gz" ${INSTALL_DIR}) 8 | endfunction(download_and_install) 9 | 10 | 11 | download_and_install("curl-7.4.2") 12 | download_and_install("leveldb-1.2") 13 | download_and_install("microhttpd-0.9.2") 14 | download_and_install("miniupnpc-1.9") 15 | -------------------------------------------------------------------------------- /src/cpp-ethereum/cmake/scripts/resource.hpp.in: -------------------------------------------------------------------------------- 1 | // this file is autogenerated, do not modify!!! 2 | #pragma once 3 | 4 | #include 5 | #include 6 | 7 | namespace dev 8 | { 9 | namespace eth 10 | { 11 | 12 | class ${ETH_RESOURCE_NAME} 13 | { 14 | public: 15 | ${ETH_RESOURCE_NAME}() 16 | { 17 | ${ETH_RESULT_DATA} 18 | ${ETH_RESULT_INIT} 19 | } 20 | 21 | std::string loadResourceAsString(std::string _name) { return std::string(m_resources[_name], m_sizes[_name]); } 22 | 23 | private: 24 | std::map m_resources; 25 | std::map m_sizes; 26 | }; 27 | 28 | } 29 | } 30 | 31 | -------------------------------------------------------------------------------- /src/cpp-ethereum/cmake/scripts/runtest.cmake: -------------------------------------------------------------------------------- 1 | # Should be used to run ctest 2 | # 3 | # example usage: 4 | # cmake -DETH_TEST_NAME=TestInterfaceStub -DCTEST_COMMAND=/path/to/ctest -P scripts/runtest.cmake 5 | 6 | if (NOT CTEST_COMMAND) 7 | message(FATAL_ERROR "ctest could not be found!") 8 | endif() 9 | 10 | # verbosity is off, cause BOOST_MESSAGE is not thread safe and output is a trash 11 | # see https://codecrafter.wordpress.com/2012/11/01/c-unit-test-framework-adapter-part-3/ 12 | # 13 | # output might not be usefull cause of thread safety issue 14 | execute_process(COMMAND ${CTEST_COMMAND} --force-new-ctest-process -C Debug --output-on-failure -j 4 -R "${ETH_TEST_NAME}[.].*") 15 | 16 | -------------------------------------------------------------------------------- /src/cpp-ethereum/cmake/templates/BuildInfo.h.in: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #define ETH_PROJECT_VERSION "@PROJECT_VERSION@" 4 | #define ETH_COMMIT_HASH @ETH_COMMIT_HASH@ 5 | #define ETH_CLEAN_REPO @ETH_CLEAN_REPO@ 6 | #define ETH_BUILD_TYPE @ETH_BUILD_TYPE@ 7 | #define ETH_BUILD_OS @ETH_BUILD_OS@ 8 | #define ETH_BUILD_COMPILER @ETH_BUILD_COMPILER@ 9 | #define ETH_BUILD_JIT_MODE @ETH_BUILD_JIT_MODE@ 10 | #define ETH_BUILD_PLATFORM @ETH_BUILD_PLATFORM@ 11 | #define ETH_BUILD_NUMBER @ETH_BUILD_NUMBER@ 12 | #define ETH_VERSION_SUFFIX "@ETH_VERSION_SUFFIX@" 13 | -------------------------------------------------------------------------------- /src/cpp-ethereum/codecov.yml: -------------------------------------------------------------------------------- 1 | codecov: 2 | branch: develop 3 | coverage: 4 | range: 50...100 5 | notify: 6 | gitter: 7 | default: 8 | threshold: 0 9 | url: https://gitter.im/ethereum/cpp-ethereum-development 10 | status: 11 | patch: 12 | default: 13 | target: 80 14 | project: 15 | default: 16 | target: auto 17 | changes: 18 | default: 19 | enabled: no 20 | comment: 21 | layout: header, diff, changes, sunburst, suggestions, tree 22 | flags: 23 | alltests: 24 | joined: false -------------------------------------------------------------------------------- /src/cpp-ethereum/dist/snap/snapcraft.yaml: -------------------------------------------------------------------------------- 1 | name: cpp-ethereum 2 | version: master 3 | summary: blockchain app platform 4 | description: Ethereum C++ project 5 | 6 | grade: devel 7 | confinement: devmode 8 | 9 | apps: 10 | eth: 11 | command: eth 12 | ethkey: 13 | command: ethkey 14 | ethminer: 15 | command: ethminer 16 | ethvm: 17 | command: ethvm 18 | rlp: 19 | command: rlp 20 | 21 | parts: 22 | cpp-ethereum: 23 | source: ../.. 24 | plugin: cmake 25 | build-packages: 26 | - build-essential 27 | - libboost-all-dev 28 | - libcurl4-openssl-dev 29 | - libgmp-dev 30 | - libleveldb-dev 31 | - libmicrohttpd-dev 32 | - libminiupnpc-dev 33 | -------------------------------------------------------------------------------- /src/cpp-ethereum/doc/dependency_graph/README.md: -------------------------------------------------------------------------------- 1 | 2 | To generate the `dependency_graph.svg` the executables `tred` and `dot` are required from the 3 | [graphviz](http://www.graphviz.org/) package. 4 | 5 | ## Installing Graphviz on OSX 6 | 7 | ``` 8 | brew update 9 | brew install graphviz 10 | ``` 11 | -------------------------------------------------------------------------------- /src/cpp-ethereum/doc/dependency_graph/generate.sh: -------------------------------------------------------------------------------- 1 | python ./generate.py | tred | dot -Tpng > dependency_graph.png 2 | python ./generate.py | tred | dot -Tsvg > dependency_graph.svg 3 | -------------------------------------------------------------------------------- /src/cpp-ethereum/doc/gitbook/book.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /src/cpp-ethereum/doc/gitbook/cli_tools.md: -------------------------------------------------------------------------------- 1 | # CLI Tools 2 | 3 | -------------------------------------------------------------------------------- /src/cpp-ethereum/doc/gitbook/code_editor.md: -------------------------------------------------------------------------------- 1 | # Code Editor 2 | 3 | This editor provides basic functionalities of a code editor. 4 | 5 | - In Solidity or JavaScript mode, an autocompletion plugin is available (Ctrl + Space). 6 | 7 | - Increasing/decreasing the font size (Ctrl +, Ctrl -) 8 | 9 | - In Solidity mode, you can display the gas estimation (Tools -> Display Gas Estimation). This will highlight all statements which requires a minimum amount of gas. Color turns to red if the gas required becomes important. 10 | It will also display the max execution cost of a transaction (for each function). 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/cpp-ethereum/doc/gitbook/mix.md: -------------------------------------------------------------------------------- 1 | # Mix 2 | 3 | The IDE Mix is intended to help you as a developer to create, debug and deploy contracts and dapps (both contracts backend and frontend). 4 | 5 | Start by creating a new project that consists of 6 | * contracts 7 | * html files 8 | * JavaScript files 9 | * style files 10 | * image files 11 | 12 | -------------------------------------------------------------------------------- /src/cpp-ethereum/doc/gitbook/mix_bc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/cpp-ethereum/doc/gitbook/mix_bc.png -------------------------------------------------------------------------------- /src/cpp-ethereum/doc/gitbook/state_mix.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/cpp-ethereum/doc/gitbook/state_mix.png -------------------------------------------------------------------------------- /src/cpp-ethereum/doc/gitbook/state_viewer.md: -------------------------------------------------------------------------------- 1 | # State Viewer 2 | 3 | This panel is located below the block chain panel, in the scenario view. 4 | Once the blockchain has been run, this panel shows the state of the blockchain. 5 | 6 | By state we mean all accounts balance (including contract and normal account), and the storage (global variable of all deployed contract). 7 | The content of this panel is not static, it depends on the selected transaction on the blockchain panel. 8 | The state shown here is the state resulting of the execution of the selected transaction. 9 | 10 | ![](state_mix.png) 11 | 12 | In that case, 2 contracts are deployed, the selected transaction (deployment of testCtr) is the last one. so the state view shows the storage of both TestCtr and BasicContract. 13 | -------------------------------------------------------------------------------- /src/cpp-ethereum/doc/gitbook/styles/website.css: -------------------------------------------------------------------------------- 1 | /* CSS for website */ 2 | -------------------------------------------------------------------------------- /src/cpp-ethereum/doc/gitbook/transaction_explorer.md: -------------------------------------------------------------------------------- 1 | # Transaction Explorer 2 | 3 | Using the transaction pane 4 | 5 | The transaction pane enables you to explore transactions receipts, including 6 | 7 | Input parameters 8 | Return parameters 9 | As well as Event logs 10 | To display the transaction explorer, click on the down triangle icon which is on the right of each transaction, this will expand transaction details: 11 | 12 | ![](mix_bc.png) 13 | 14 | 15 | 16 | Then you can either copy the content of this transaction in the clipboard, Edit the current transaction (you will have to rerun the blockchain then), or debug the transaction. -------------------------------------------------------------------------------- /src/cpp-ethereum/eth/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | aux_source_directory(. SRC_LIST) 2 | 3 | file(GLOB HEADERS "*.h") 4 | 5 | add_executable(eth ${SRC_LIST} ${HEADERS}) 6 | 7 | find_package(Eth) 8 | find_package(Web3) 9 | 10 | target_include_directories(eth PRIVATE ..) 11 | target_link_libraries(eth ${Eth_EVM_LIBRARIES}) 12 | target_link_libraries(eth ${Web3_WEB3JSONRPC_LIBRARIES}) 13 | target_link_libraries(eth ${Web3_WEBTHREE_LIBRARIES}) 14 | target_link_libraries(eth JsonRpcCpp::Client) 15 | 16 | if (EVMJIT) 17 | # Do we need include paths here? 18 | target_link_libraries(eth ${Eth_EVMJIT_LIBRARIES}) 19 | eth_copy_dlls(eth EVMJIT_DLLS) 20 | endif() 21 | 22 | if (UNIX AND NOT APPLE) 23 | target_link_libraries(eth pthread) 24 | endif() 25 | 26 | install(TARGETS eth DESTINATION bin) 27 | -------------------------------------------------------------------------------- /src/cpp-ethereum/eth/farm.json: -------------------------------------------------------------------------------- 1 | [ 2 | { "name": "eth_getWork", "params": [], "order": [], "returns": []}, 3 | { "name": "eth_submitWork", "params": ["", "", ""], "order": [], "returns": true} 4 | ] 5 | -------------------------------------------------------------------------------- /src/cpp-ethereum/ethkey/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | aux_source_directory(. SRC_LIST) 2 | 3 | file(GLOB HEADERS "*.h") 4 | 5 | add_executable(ethkey ${SRC_LIST} ${HEADERS}) 6 | 7 | find_package(Eth) 8 | 9 | target_include_directories(ethkey PRIVATE ..) 10 | target_link_libraries(ethkey ${Eth_ETHCORE_LIBRARIES}) 11 | 12 | if (UNIX AND NOT APPLE) 13 | target_link_libraries(ethkey pthread) 14 | endif() 15 | -------------------------------------------------------------------------------- /src/cpp-ethereum/ethminer/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | aux_source_directory(. SRC_LIST) 2 | 3 | file(GLOB HEADERS "*.h") 4 | 5 | add_executable(ethminer ${SRC_LIST} ${HEADERS}) 6 | 7 | jsonrpcstub_client_create(ethminer minerfarm.json FarmClient ${CMAKE_CURRENT_SOURCE_DIR} FarmClient) 8 | 9 | find_package(Eth) 10 | 11 | target_include_directories(ethminer PRIVATE ..) 12 | target_link_libraries(ethminer ${Eth_ETHASHSEAL_LIBRARIES} JsonRpcCpp::Client) 13 | 14 | if (UNIX AND NOT APPLE) 15 | target_link_libraries(ethminer pthread) 16 | endif() 17 | 18 | install(TARGETS ethminer DESTINATION bin OPTIONAL) 19 | -------------------------------------------------------------------------------- /src/cpp-ethereum/ethminer/minerfarm.json: -------------------------------------------------------------------------------- 1 | [ 2 | { "name": "eth_getWork", "params": [], "order": [], "returns": []}, 3 | { "name": "eth_submitWork", "params": ["", "", ""], "order": [], "returns": true}, 4 | { "name": "eth_submitHashrate", "params": ["", ""], "order": [], "returns": true}, 5 | { "name": "eth_awaitNewWork", "params": [], "order": [], "returns": []}, 6 | { "name": "eth_progress", "params": [], "order": [], "returns": true} 7 | ] 8 | -------------------------------------------------------------------------------- /src/cpp-ethereum/ethvm/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | aux_source_directory(. SRC_LIST) 2 | 3 | add_executable(ethvm ${SRC_LIST}) 4 | 5 | find_package(Eth) 6 | 7 | target_include_directories(ethvm PRIVATE ..) 8 | target_link_libraries(ethvm ${Eth_ETHASH_LIBRARIES}) 9 | target_link_libraries(ethvm ${Eth_ETHASHSEAL_LIBRARIES}) 10 | 11 | if (UNIX AND NOT APPLE) 12 | target_link_libraries(ethvm pthread) 13 | endif() 14 | 15 | install(TARGETS ethvm DESTINATION bin OPTIONAL) 16 | -------------------------------------------------------------------------------- /src/cpp-ethereum/evmjit/appveyor.yml: -------------------------------------------------------------------------------- 1 | version: "{build}" 2 | branches: 3 | only: 4 | - develop 5 | configuration: 6 | - Debug 7 | - Release 8 | cache: 9 | - deps -> cmake/ProjectLLVM.cmake 10 | before_build: | 11 | if not exist build mkdir build 12 | cd build 13 | cmake -G "Visual Studio 14 2015 Win64" .. 14 | build: 15 | project: c:/projects/evmjit/build/evmjit.sln 16 | parallel: true 17 | verbosity: minimal 18 | -------------------------------------------------------------------------------- /src/cpp-ethereum/evmjit/circle.yml: -------------------------------------------------------------------------------- 1 | dependencies: 2 | override: 3 | - scripts/install_cmake.sh 4 | - PATH=~/.local/bin:$PATH BUILD_TYPE=RelWithDebInfo scripts/build.sh 5 | cache_directories: 6 | - deps # Cache llvm build 7 | - ~/.local 8 | 9 | test: 10 | override: 11 | - cd build && ctest 12 | -------------------------------------------------------------------------------- /src/cpp-ethereum/evmjit/docker/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:16.04 2 | 3 | RUN echo "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-3.9 main" >> /etc/apt/sources.list \ 4 | && apt-get update \ 5 | && apt-get install -y --no-install-recommends --allow-unauthenticated \ 6 | cmake \ 7 | g++ \ 8 | make \ 9 | llvm-3.9-dev \ 10 | zlib1g-dev \ 11 | && rm -rf /var/lib/apt/lists/* 12 | -------------------------------------------------------------------------------- /src/cpp-ethereum/evmjit/docker/test.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | SRC_DIR=$(dirname $(pwd)) 5 | 6 | CONTAINER=$(docker run -d -v $SRC_DIR:/src:ro chfast/cpp-ethereum-dev tail -f /dev/null) 7 | 8 | docker exec $CONTAINER sh -c 'mkdir build && cd build && cmake /src -DLLVM_DIR=/usr/lib/llvm-3.9/lib/cmake/llvm' 9 | docker exec $CONTAINER cmake --build /build 10 | 11 | docker kill $CONTAINER 12 | -------------------------------------------------------------------------------- /src/cpp-ethereum/evmjit/examples/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_compile_options("-Wno-extra") # Override -Wextra, I don't know better option. 2 | 3 | add_library(example-vm STATIC examplevm.c) 4 | target_include_directories(example-vm PRIVATE ../include) 5 | 6 | add_executable(example-capi capi.c) 7 | target_include_directories(example-capi PRIVATE ../include) 8 | target_link_libraries(example-capi PRIVATE example-vm) 9 | -------------------------------------------------------------------------------- /src/cpp-ethereum/evmjit/libevmjit/BuildInfo.h.in: -------------------------------------------------------------------------------- 1 | 2 | #define EVMJIT_VERSION "${EVMJIT_VERSION}" 3 | #define EVMJIT_VERSION_MAJOR ${EVMJIT_VERSION_MAJOR} 4 | #define EVMJIT_VERSION_MINOR ${EVMJIT_VERSION_MINOR} 5 | #define EVMJIT_VERSION_PATCH ${EVMJIT_VERSION_PATCH} 6 | 7 | #define LLVM_VERSION "${LLVM_PACKAGE_VERSION}" 8 | #define LLVM_ASSERTIONS "${LLVM_ENABLE_ASSERTIONS}" 9 | #define LLVM_DEBUG ${LLVM_DEBUG} 10 | -------------------------------------------------------------------------------- /src/cpp-ethereum/evmjit/libevmjit/Common.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | namespace dev 6 | { 7 | namespace evmjit 8 | { 9 | 10 | using byte = uint8_t; 11 | using code_iterator = byte const*; 12 | 13 | #define UNTESTED assert(false) 14 | 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/cpp-ethereum/evmjit/libevmjit/Endianness.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "CompilerHelper.h" 4 | 5 | namespace dev 6 | { 7 | namespace eth 8 | { 9 | namespace jit 10 | { 11 | 12 | struct Endianness 13 | { 14 | static llvm::Value* toBE(IRBuilder& _builder, llvm::Value* _word) { return bswapIfLE(_builder, _word); } 15 | static llvm::Value* toNative(IRBuilder& _builder, llvm::Value* _word) { return bswapIfLE(_builder, _word); } 16 | 17 | private: 18 | static llvm::Value* bswapIfLE(IRBuilder& _builder, llvm::Value* _word); 19 | }; 20 | 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/cpp-ethereum/evmjit/libevmjit/Optimizer.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | namespace llvm 4 | { 5 | class Module; 6 | } 7 | 8 | namespace dev 9 | { 10 | namespace eth 11 | { 12 | namespace jit 13 | { 14 | 15 | bool optimize(llvm::Module& _module); 16 | 17 | bool prepare(llvm::Module& _module); 18 | 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/cpp-ethereum/evmjit/libevmjit/Utils.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | 6 | namespace dev { 7 | namespace evmjit { 8 | 9 | void keccak(uint8_t const *_data, uint64_t _size, uint8_t *o_hash); 10 | 11 | // The same as assert, but expression is always evaluated and result returned 12 | #define CHECK(expr) (assert(expr), expr) 13 | 14 | #if !defined(NDEBUG) // Debug 15 | 16 | std::ostream &getLogStream(char const *_channel); 17 | 18 | #define DLOG(CHANNEL) ::dev::evmjit::getLogStream(#CHANNEL) 19 | 20 | #else // Release 21 | 22 | struct Voider 23 | { 24 | void operator=(std::ostream const&) {} 25 | }; 26 | 27 | #define DLOG(CHANNEL) true ? (void)0 : ::dev::evmjit::Voider{} = std::cerr 28 | 29 | #endif 30 | 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/cpp-ethereum/evmjit/libevmjit/preprocessor/llvm_includes_end.h: -------------------------------------------------------------------------------- 1 | #if defined(_MSC_VER) 2 | #pragma warning(pop) 3 | #endif 4 | -------------------------------------------------------------------------------- /src/cpp-ethereum/evmjit/libevmjit/preprocessor/llvm_includes_start.h: -------------------------------------------------------------------------------- 1 | #if defined(_MSC_VER) 2 | #pragma warning(push) 3 | #pragma warning(disable: 4267 4244 4800 4624 4141 4291 4146) 4 | #endif 5 | -------------------------------------------------------------------------------- /src/cpp-ethereum/evmjit/scripts/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -x -e 3 | 4 | mkdir -p build && cd build 5 | cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DEVMJIT_INCLUDE_EXAMPLES=On -DEVMJIT_TESTS=On .. 6 | cmake --build . 7 | cmake --build . --target evmjit-standalone 8 | cmake --build . --target example-capi 9 | -------------------------------------------------------------------------------- /src/cpp-ethereum/evmjit/scripts/travis_update_docs.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e -x 3 | 4 | sudo apt-get -qq install -y doxygen 5 | doxygen docs/Doxyfile 6 | git add docs 7 | git commit -m "Update docs" 8 | git push -f "https://$GITHUB_TOKEN@github.com/ethereum/evmjit.git" HEAD:gh-pages 9 | -------------------------------------------------------------------------------- /src/cpp-ethereum/evmjit/tests/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Compile tests for headers: 2 | add_library(test-evm-header-cpp STATIC test-evm.cpp) 3 | target_include_directories(test-evm-header-cpp PRIVATE ../include) 4 | 5 | 6 | # Library tests: 7 | add_executable(test-evmjit-standalone test-evmjit-standalone.c) 8 | target_include_directories(test-evmjit-standalone PRIVATE ../include) 9 | if (MSVC) 10 | set(SYSTEM_LIBS "") 11 | elseif (APPLE) 12 | set(SYSTEM_LIBS stdc++ pthread) 13 | else() 14 | set(SYSTEM_LIBS stdc++ pthread dl m) 15 | endif() 16 | target_link_libraries(test-evmjit-standalone PRIVATE ${EVMJIT_STANDALONE_LIB} ${SYSTEM_LIBS}) 17 | add_dependencies(test-evmjit-standalone evmjit-standalone) 18 | 19 | 20 | add_test(evmjit-standalone test-evmjit-standalone) 21 | -------------------------------------------------------------------------------- /src/cpp-ethereum/evmjit/tests/test-evm.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int64_t test_call_failure_constant(int64_t a) 4 | { 5 | return a | EVM_CALL_FAILURE; 6 | } 7 | -------------------------------------------------------------------------------- /src/cpp-ethereum/evmjit/tests/test-evmjit-standalone.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main() 5 | { 6 | struct evm_factory factory = evmjit_get_factory(); 7 | if (EVM_ABI_VERSION != factory.abi_version) 8 | { 9 | printf("Error: expected ABI version %u!\n", EVM_ABI_VERSION); 10 | return 1; 11 | } 12 | printf("EVMJIT ABI version %u\n", factory.abi_version); 13 | return 0; 14 | } 15 | -------------------------------------------------------------------------------- /src/cpp-ethereum/evmjit/wercker.yml: -------------------------------------------------------------------------------- 1 | box: chfast/cpp-ethereum-dev 2 | 3 | # This is the build pipeline. Pipelines are the core of wercker 4 | # Read more about pipelines on our dev center 5 | # http://devcenter.wercker.com/docs/pipelines/index.html 6 | build: 7 | # Steps make up the actions in your pipeline 8 | # Read more about steps on our dev center: 9 | # http://devcenter.wercker.com/docs/steps/index.html 10 | steps: 11 | - script: 12 | name: configure 13 | code: | 14 | mkdir build && cd build 15 | cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DLLVM_DIR=/usr/lib/llvm-3.9/lib/cmake/llvm 16 | - script: 17 | name: build 18 | code: cmake --build build 19 | -------------------------------------------------------------------------------- /src/cpp-ethereum/homebrew/INSTALL_RECEIPT.json: -------------------------------------------------------------------------------- 1 | {"used_options":["--with-evmjit"],"unused_options":["--with-gui","--without-gpu-mining","--with-debug","--with-vmtrace","--with-paranoia","--successful"],"built_as_bottle":true,"poured_from_bottle":false,"time":1440062311,"HEAD":"4511a6ad3149f514d161dc6c64505f795a0f9cc1","stdlib":"libcxx","compiler":"clang","source":{"path":"/Users/administrator/slave/build-cpp-osx-develop-brew/brew/cpp-ethereum.rb","tap":null,"spec":"devel"}} 2 | -------------------------------------------------------------------------------- /src/cpp-ethereum/libdevcore/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | file(GLOB SRC_LIST "*.cpp") 2 | file(GLOB HEADERS "*.h") 3 | 4 | add_library(devcore ${SRC_LIST} ${HEADERS}) 5 | 6 | target_include_directories(devcore PRIVATE ..) 7 | target_include_directories(devcore SYSTEM PUBLIC ${BOOST_INCLUDE_DIR}) 8 | 9 | add_dependencies(devcore BuildInfo.h) 10 | 11 | if (NOT EMSCRIPTEN) 12 | find_package(LevelDB) 13 | target_include_directories(devcore SYSTEM PUBLIC ${LEVELDB_INCLUDE_DIRS}) 14 | target_link_libraries(devcore Boost::Filesystem Boost::Random Boost::Thread ${LEVELDB_LIBRARIES}) 15 | endif() 16 | -------------------------------------------------------------------------------- /src/cpp-ethereum/libdevcrypto/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | aux_source_directory(. SRC_LIST) 2 | 3 | file(GLOB HEADERS "*.h") 4 | 5 | add_library(devcrypto ${SRC_LIST} ${HEADERS}) 6 | add_definitions(-D_GLIBCXX_USE_CXX11_ABI=1) 7 | 8 | find_package(Dev) 9 | find_package(Utils) 10 | 11 | target_include_directories(devcrypto PRIVATE ..) 12 | target_include_directories(devcrypto PRIVATE ../utils) 13 | target_link_libraries(devcrypto Secp256k1 Cryptopp ${Utils_SCRYPT_LIBRARIES} devcore) 14 | -------------------------------------------------------------------------------- /src/cpp-ethereum/libethash/sha3.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | #include "compiler.h" 8 | #include 9 | #include 10 | 11 | struct ethash_h256; 12 | 13 | #define decsha3(bits) \ 14 | int sha3_##bits(uint8_t*, size_t, uint8_t const*, size_t); 15 | 16 | decsha3(256) 17 | decsha3(512) 18 | 19 | static inline void SHA3_256(struct ethash_h256 const* ret, uint8_t const* data, size_t const size) 20 | { 21 | sha3_256((uint8_t*)ret, 32, data, size); 22 | } 23 | 24 | static inline void SHA3_512(uint8_t* ret, uint8_t const* data, size_t const size) 25 | { 26 | sha3_512(ret, 64, data, size); 27 | } 28 | 29 | #ifdef __cplusplus 30 | } 31 | #endif 32 | -------------------------------------------------------------------------------- /src/cpp-ethereum/libethashseal/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | aux_source_directory(. SRC_LIST) 2 | 3 | file(GLOB HEADERS "*.h") 4 | 5 | add_subdirectory(genesis) 6 | aux_source_directory(./genesis SRCS) 7 | set(SRC_LIST ${SRC_LIST} ${SRCS}) 8 | 9 | add_library(ethashseal ${SRC_LIST} ${HEADERS}) 10 | eth_use(ethashseal OPTIONAL Eth::ethash-cl Cpuid) 11 | 12 | find_package(Eth) 13 | 14 | target_include_directories(ethashseal PRIVATE ..) 15 | target_link_libraries(ethashseal ${Eth_ETHASH_LIBRARIES}) 16 | target_link_libraries(ethashseal ${Eth_ETHEREUM_LIBRARIES}) 17 | -------------------------------------------------------------------------------- /src/cpp-ethereum/libethashseal/genesis/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_policy(SET CMP0017 NEW) 2 | -------------------------------------------------------------------------------- /src/cpp-ethereum/libethcore/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | aux_source_directory(. SRC_LIST) 2 | 3 | file(GLOB HEADERS "*.h") 4 | 5 | add_library(ethcore ${SRC_LIST} ${HEADERS}) 6 | 7 | find_package(Dev) 8 | 9 | target_include_directories(ethcore PRIVATE ..) 10 | target_include_directories(ethcore PRIVATE ../utils) 11 | target_link_libraries(ethcore ${Dev_DEVCORE_LIBRARIES}) 12 | target_link_libraries(ethcore ${Dev_DEVCRYPTO_LIBRARIES}) 13 | -------------------------------------------------------------------------------- /src/cpp-ethereum/libethereum/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | file(GLOB SRC_LIST "*.cpp") 2 | file(GLOB HEADERS "*.h") 3 | 4 | add_library(ethereum ${SRC_LIST} ${HEADERS}) 5 | 6 | target_link_libraries(ethereum ${Boost_REGEX_LIBRARIES} JsonCpp) 7 | 8 | find_package(Dev) 9 | find_package(Eth) 10 | 11 | target_include_directories(ethereum PRIVATE ..) 12 | target_include_directories(ethereum PRIVATE ../utils) 13 | target_link_libraries(ethereum ${Eth_ETHCORE_LIBRARIES}) 14 | target_link_libraries(ethereum ${Eth_EVM_LIBRARIES}) 15 | 16 | if (NOT EMSCRIPTEN) 17 | target_link_libraries(ethereum ${Dev_P2P_LIBRARIES}) 18 | target_link_libraries(ethereum ${Dev_DEVCRYPTO_LIBRARIES}) 19 | endif() 20 | 21 | if (EVMJIT) 22 | target_link_libraries(ethereum ${Eth_EVMJIT_LIBRARIES}) 23 | endif() 24 | -------------------------------------------------------------------------------- /src/cpp-ethereum/libethereum/GenericMiner.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/cpp-ethereum/libethereum/GenericMiner.cpp -------------------------------------------------------------------------------- /src/cpp-ethereum/libevm/All.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "ExtVMFace.h" 4 | #include "VM.h" 5 | -------------------------------------------------------------------------------- /src/cpp-ethereum/libevm/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | set(SOURCES 3 | ExtVMFace.cpp 4 | VM.cpp 5 | VMOpt.cpp 6 | VMCalls.cpp 7 | VMValidate.cpp 8 | VMFactory.cpp 9 | ) 10 | 11 | if (EVMJIT) 12 | list(APPEND SOURCES 13 | JitVM.cpp 14 | SmartVM.cpp 15 | ) 16 | endif() 17 | 18 | file(GLOB HEADERS "*.h") 19 | 20 | add_library(evm ${SOURCES} ${HEADERS}) 21 | 22 | find_package(Eth) 23 | 24 | target_link_libraries(evm ${Eth_ETHCORE_LIBRARIES}) 25 | target_link_libraries(evm ${Eth_EVMCORE_LIBRARIES}) 26 | target_include_directories(evm PRIVATE .. ${JSONCPP_INCLUDE_DIR}) 27 | 28 | if (EVMJIT) 29 | target_include_directories(evm PRIVATE ../evmjit/include) 30 | target_link_libraries(evm ${Eth_EVMJIT_LIBRARIES}) 31 | endif() 32 | -------------------------------------------------------------------------------- /src/cpp-ethereum/libevm/JitVM.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | 6 | namespace dev 7 | { 8 | namespace eth 9 | { 10 | 11 | class JitVM: public VMFace 12 | { 13 | public: 14 | owning_bytes_ref exec(u256& io_gas, ExtVMFace& _ext, OnOpFunc const& _onOp) override final; 15 | 16 | static evm_mode scheduleToMode(EVMSchedule const& _schedule); 17 | static bool isCodeReady(evm_mode _mode, h256 _codeHash); 18 | static void compile(evm_mode _mode, bytesConstRef _code, h256 _codeHash); 19 | }; 20 | 21 | 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/cpp-ethereum/libevmcore/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | aux_source_directory(. SRC_LIST) 2 | 3 | file(GLOB HEADERS "*.h") 4 | 5 | add_library(evmcore ${SRC_LIST} ${HEADERS}) 6 | 7 | target_include_directories(evmcore PRIVATE ..) 8 | target_link_libraries(evmcore devcore Boost::Filesystem) 9 | -------------------------------------------------------------------------------- /src/cpp-ethereum/libp2p/All.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "Common.h" 4 | #include "HostCapability.h" 5 | #include "Capability.h" 6 | #include "Host.h" 7 | #include "Session.h" 8 | 9 | -------------------------------------------------------------------------------- /src/cpp-ethereum/libp2p/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | aux_source_directory(. SRC_LIST) 2 | 3 | file(GLOB HEADERS "*.h") 4 | 5 | add_library(p2p ${SRC_LIST} ${HEADERS}) 6 | 7 | find_package(Dev) 8 | 9 | target_link_libraries(p2p devcrypto devcore) 10 | target_include_directories(p2p PRIVATE ..) 11 | target_include_directories(p2p SYSTEM PRIVATE ${CRYPTOPP_INCLUDE_DIR} ${BOOST_INCLUDE_DIR}) 12 | eth_use(p2p OPTIONAL Miniupnpc) 13 | -------------------------------------------------------------------------------- /src/cpp-ethereum/libweb3jsonrpc/SessionManager.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include "SessionManager.h" 3 | 4 | using namespace std; 5 | using namespace dev; 6 | using namespace dev::rpc; 7 | 8 | std::string SessionManager::newSession(SessionPermissions const& _p) 9 | { 10 | std::string s = toBase64(h64::random().ref()); 11 | m_sessions[s] = _p; 12 | return s; 13 | } 14 | 15 | void SessionManager::addSession(std::string const& _session, SessionPermissions const& _p) 16 | { 17 | m_sessions[_session] = _p; 18 | } 19 | 20 | bool SessionManager::hasPrivilegeLevel(std::string const& _session, Privilege _l) const 21 | { 22 | auto it = m_sessions.find(_session); 23 | return it != m_sessions.end() && it->second.privileges.count(_l); 24 | } 25 | -------------------------------------------------------------------------------- /src/cpp-ethereum/libweb3jsonrpc/Web3.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include "Web3.h" 4 | 5 | using namespace std; 6 | using namespace dev; 7 | 8 | std::string rpc::Web3::web3_sha3(std::string const& _param1) 9 | { 10 | return toJS(sha3(jsToBytes(_param1))); 11 | } -------------------------------------------------------------------------------- /src/cpp-ethereum/libweb3jsonrpc/Web3.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "Web3Face.h" 3 | 4 | namespace dev 5 | { 6 | namespace rpc 7 | { 8 | 9 | class Web3: public Web3Face 10 | { 11 | public: 12 | Web3(std::string _clientVersion = "C++ (ethereum-cpp)"): m_clientVersion(_clientVersion) {} 13 | virtual RPCModules implementedModules() const override 14 | { 15 | return RPCModules{RPCModule{"web3", "1.0"}}; 16 | } 17 | virtual std::string web3_sha3(std::string const& _param1) override; 18 | virtual std::string web3_clientVersion() override { return m_clientVersion; } 19 | 20 | private: 21 | std::string m_clientVersion; 22 | }; 23 | 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/cpp-ethereum/libweb3jsonrpc/admin_net.json: -------------------------------------------------------------------------------- 1 | [ 2 | { "name": "admin_net_start", "params": [""], "returns": true }, 3 | { "name": "admin_net_stop", "params": [""], "returns": true }, 4 | { "name": "admin_net_connect", "params": ["", ""], "returns": true }, 5 | { "name": "admin_net_peers", "params": [""], "returns": [] }, 6 | { "name": "admin_net_nodeInfo", "params": [""], "returns": {}}, 7 | { "name": "admin_nodeInfo", "params": [], "returns": {}}, 8 | { "name": "admin_peers", "params": [], "returns": {}}, 9 | { "name": "admin_addPeer", "params": [""], "returns": true} 10 | ] 11 | -------------------------------------------------------------------------------- /src/cpp-ethereum/libweb3jsonrpc/admin_utils.json: -------------------------------------------------------------------------------- 1 | [ 2 | { "name": "admin_setVerbosity", "params": [0, ""], "returns": true }, 3 | { "name": "admin_verbosity", "params": [0], "returns": true }, 4 | { "name": "admin_exit", "params": [""], "returns": true} 5 | ] 6 | -------------------------------------------------------------------------------- /src/cpp-ethereum/libweb3jsonrpc/db.json: -------------------------------------------------------------------------------- 1 | [ 2 | { "name": "db_put", "params": ["", "", ""], "order": [], "returns": true}, 3 | { "name": "db_get", "params": ["", ""], "order": [], "returns": ""} 4 | ] 5 | -------------------------------------------------------------------------------- /src/cpp-ethereum/libweb3jsonrpc/debug.json: -------------------------------------------------------------------------------- 1 | [ 2 | { "name": "debug_traceTransaction", "params": ["", {}], "returns": {}}, 3 | { "name": "debug_storageRangeAt", "params": ["", 0, "", "", 0], "returns": {}}, 4 | { "name": "debug_preimage", "params": [""], "returns": ""}, 5 | { "name": "debug_traceBlockByNumber", "params": [0, {}], "returns": {}}, 6 | { "name": "debug_traceBlockByHash", "params": ["", {}], "returns": {}}, 7 | { "name": "debug_traceCall", "params": [{}, "", {}], "returns": {}} 8 | ] 9 | -------------------------------------------------------------------------------- /src/cpp-ethereum/libweb3jsonrpc/net.json: -------------------------------------------------------------------------------- 1 | [ 2 | { "name": "net_version", "params": [], "order": [], "returns" : "" }, 3 | { "name": "net_peerCount", "params": [], "order": [], "returns" : "" }, 4 | { "name": "net_listening", "params": [], "order": [], "returns" : false } 5 | ] 6 | -------------------------------------------------------------------------------- /src/cpp-ethereum/libweb3jsonrpc/personal.json: -------------------------------------------------------------------------------- 1 | [ 2 | { "name": "personal_newAccount", "params": [""], "returns": "" }, 3 | { "name": "personal_unlockAccount", "params": ["", "", 0], "returns": true }, 4 | { "name": "personal_signAndSendTransaction", "params": [{}, ""], "returns": "" }, 5 | { "name": "personal_sendTransaction", "params": [{}, ""], "returns": "" }, 6 | { "name": "personal_listAccounts", "params": [], "returns": [] } 7 | ] 8 | -------------------------------------------------------------------------------- /src/cpp-ethereum/libweb3jsonrpc/test.json: -------------------------------------------------------------------------------- 1 | [ 2 | { "name": "test_setChainParams", "params": [{}], "order": [], "returns": false}, 3 | { "name": "test_mineBlocks", "params": [0], "returns": false }, 4 | { "name": "test_modifyTimestamp", "params": [0], "returns": false }, 5 | { "name": "test_addBlock", "params": [""], "returns": false }, 6 | { "name": "test_rewindToBlock", "params": [0], "returns": false } 7 | ] 8 | -------------------------------------------------------------------------------- /src/cpp-ethereum/libweb3jsonrpc/web3.json: -------------------------------------------------------------------------------- 1 | [ 2 | { "name": "web3_sha3", "params": [""], "returns" : "" }, 3 | { "name": "web3_clientVersion", "params": [], "returns" : "" } 4 | ] 5 | -------------------------------------------------------------------------------- /src/cpp-ethereum/libweb3jsonrpc/whisper.json: -------------------------------------------------------------------------------- 1 | [ 2 | { "name": "shh_post", "params": [{}], "order": [], "returns": true}, 3 | { "name": "shh_newIdentity", "params": [], "order": [], "returns": ""}, 4 | { "name": "shh_hasIdentity", "params": [""], "order": [], "returns": false}, 5 | { "name": "shh_newGroup", "params": ["", ""], "order": [], "returns": ""}, 6 | { "name": "shh_addToGroup", "params": ["", ""], "order": [], "returns": ""}, 7 | { "name": "shh_newFilter", "params": [{}], "order": [], "returns": ""}, 8 | { "name": "shh_uninstallFilter", "params": [""], "order": [], "returns": true}, 9 | { "name": "shh_getFilterChanges", "params": [""], "order": [], "returns": []}, 10 | { "name": "shh_getMessages", "params": [""], "order": [], "returns": []} 11 | ] 12 | -------------------------------------------------------------------------------- /src/cpp-ethereum/libwebthree/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_library(webthree WebThree.cpp WebThree.h) 2 | 3 | eth_use(webthree REQUIRED Web3::whisper) 4 | 5 | find_package(Eth) 6 | find_package(Web3) 7 | 8 | target_include_directories(webthree PRIVATE ..) 9 | target_link_libraries(webthree ${Eth_ETHASH_LIBRARIES}) 10 | target_link_libraries(webthree ${Eth_ETHASHSEAL_LIBRARIES}) 11 | target_link_libraries(webthree ${Web3_WHISPER_LIBRARIES}) 12 | -------------------------------------------------------------------------------- /src/cpp-ethereum/libwhisper/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | aux_source_directory(. SRC_LIST) 2 | 3 | file(GLOB HEADERS "*.h") 4 | 5 | add_library(whisper ${SRC_LIST} ${HEADERS}) 6 | 7 | find_package(Dev) 8 | 9 | target_include_directories(whisper PRIVATE ..) 10 | target_include_directories(whisper PRIVATE ../utils) 11 | target_link_libraries(whisper ${Dev_DEVCORE_LIBRARIES}) 12 | target_link_libraries(whisper ${Dev_DEVCRYPTO_LIBRARIES}) 13 | target_link_libraries(whisper ${Dev_P2P_LIBRARIES}) 14 | -------------------------------------------------------------------------------- /src/cpp-ethereum/refilltests: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/cpp-ethereum/refilltests -------------------------------------------------------------------------------- /src/cpp-ethereum/rlp/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | aux_source_directory(. SRC_LIST) 2 | 3 | add_executable(rlp ${SRC_LIST}) 4 | 5 | find_package(Dev) 6 | 7 | target_include_directories(rlp PRIVATE ..) 8 | target_include_directories(rlp PRIVATE ../utils) 9 | target_link_libraries(rlp ${Dev_DEVCORE_LIBRARIES}) 10 | target_link_libraries(rlp ${Dev_DEVCRYPTO_LIBRARIES}) 11 | 12 | if (UNIX AND NOT APPLE) 13 | target_link_libraries(rlp pthread) 14 | endif() 15 | 16 | -------------------------------------------------------------------------------- /src/cpp-ethereum/sanitizer-blacklist.txt: -------------------------------------------------------------------------------- 1 | # Ignore standard library headers. 2 | src:*/include/c\+\+/* 3 | 4 | # Ignore boost libraries headers. 5 | src:*/include/boost/* 6 | 7 | # Ignore Crypto++ library. We plan to remove it in the future. It exploits interger overflow and uses memcpy incorrectly. 8 | src:*/include/cryptopp/* 9 | -------------------------------------------------------------------------------- /src/cpp-ethereum/scripts/docker-eth: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | mkdir -p ~/.ethereum ~/.web3 3 | 4 | # check if sudo is necessary 5 | if ! id -nG $(whoami)|grep -qw "docker"; then SUDO='sudo'; else SUDO=''; fi 6 | 7 | $SUDO docker run --rm -it \ 8 | -p 127.0.0.1:8545:8545 \ 9 | -p 0.0.0.0:30303:30303 \ 10 | -v ~/.ethereum:/.ethereum \ 11 | -v ~/.web3:/.web3 \ 12 | -e HOME=/ \ 13 | --user $(id -u):$(id -g) \ 14 | ethereum/client-cpp $@ 15 | 16 | -------------------------------------------------------------------------------- /src/cpp-ethereum/scripts/docker/eth-centos/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM centos:7 2 | 3 | RUN yum -q -y install git 4 | RUN git clone --recursive https://github.com/ethereum/cpp-ethereum --branch build-on-linux --single-branch --depth 8 5 | RUN /cpp-ethereum/scripts/install_cmake.sh --prefix /usr 6 | RUN /cpp-ethereum/scripts/install_deps.sh 7 | RUN yum -y install boost-devel 8 | 9 | RUN cd /tmp && cmake /cpp-ethereum 10 | RUN cd /tmp && make -j8 && make install && ldconfig 11 | 12 | ENTRYPOINT ["/usr/local/bin/eth"] 13 | -------------------------------------------------------------------------------- /src/cpp-ethereum/scripts/docker/eth-fedora/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM fedora:25 2 | 3 | RUN dnf -qy install git cmake 4 | RUN git clone --recursive https://github.com/ethereum/cpp-ethereum --branch build-on-linux --single-branch --depth 2 5 | RUN /cpp-ethereum/scripts/install_deps.sh 6 | 7 | RUN cd /tmp && cmake /cpp-ethereum 8 | RUN cd /tmp && make -j8 && make install && ldconfig 9 | 10 | ENTRYPOINT ["/usr/local/bin/eth"] 11 | -------------------------------------------------------------------------------- /src/cpp-ethereum/scripts/upload-homebrew-formula.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # author: Lefteris Karapetsas 3 | # 4 | # Just upload the generated .rb file to homebrew ethereum 5 | 6 | echo ">>> Starting the script to upload .rb file to homebrew ethereum" 7 | rm -rf homebrew-ethereum 8 | git clone git@github.com:ethereum/homebrew-ethereum.git 9 | cp webthree-umbrella/build/cpp-ethereum.rb homebrew-ethereum 10 | cd homebrew-ethereum 11 | git add . -u 12 | git commit -m "update cpp-ethereum.rb" 13 | git push origin 14 | cd .. 15 | rm -rf homebrew-ethereum 16 | echo ">>> Succesfully uploaded the .rb file to homebrew ethereum" 17 | -------------------------------------------------------------------------------- /src/cpp-ethereum/test/external-dependencies/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_policy(SET CMP0015 NEW) 2 | 3 | aux_source_directory(. SRCS) 4 | 5 | add_sources(${SRCS}) 6 | -------------------------------------------------------------------------------- /src/cpp-ethereum/test/fuzzTesting/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_policy(SET CMP0015 NEW) 2 | 3 | aux_source_directory(. SRCS) 4 | 5 | add_sources(${SRCS}) 6 | -------------------------------------------------------------------------------- /src/cpp-ethereum/test/libdevcore/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_policy(SET CMP0015 NEW) 2 | 3 | aux_source_directory(. SRCS) 4 | 5 | add_sources(${SRCS}) 6 | -------------------------------------------------------------------------------- /src/cpp-ethereum/test/libdevcrypto/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_policy(SET CMP0015 NEW) 2 | 3 | aux_source_directory(. SRCS) 4 | 5 | add_sources(${SRCS}) 6 | -------------------------------------------------------------------------------- /src/cpp-ethereum/test/libethcore/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_policy(SET CMP0015 NEW) 2 | 3 | aux_source_directory(. SRCS) 4 | 5 | add_sources(${SRCS}) 6 | -------------------------------------------------------------------------------- /src/cpp-ethereum/test/libethereum/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_sources( 2 | Block.cpp 3 | BlockChain.cpp 4 | BlockChainInsert.cpp 5 | BlockChainTests.cpp 6 | BlockChainTestsBoost.cpp 7 | BlockQueue.cpp 8 | ClientBase.cpp 9 | EthereumPeerTest.cpp 10 | GasPricer.cpp 11 | Genesis.cpp 12 | StateTests.cpp 13 | StateUnitTests.cpp 14 | Transaction.cpp 15 | TransactionQueue.cpp 16 | TransactionTests.cpp 17 | ) 18 | -------------------------------------------------------------------------------- /src/cpp-ethereum/test/libevm/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_policy(SET CMP0015 NEW) 2 | 3 | aux_source_directory(. SRCS) 4 | 5 | add_sources(${SRCS}) 6 | -------------------------------------------------------------------------------- /src/cpp-ethereum/test/libp2p/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_policy(SET CMP0015 NEW) 2 | 3 | aux_source_directory(. SRCS) 4 | 5 | add_sources(${SRCS}) 6 | -------------------------------------------------------------------------------- /src/cpp-ethereum/test/libtesteth/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_policy(SET CMP0015 NEW) 2 | 3 | aux_source_directory(. SRCS) 4 | 5 | add_sources(${SRCS}) 6 | -------------------------------------------------------------------------------- /src/cpp-ethereum/test/libtestutils/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | # Don't re-use SRC_LIST, because it has a special meaning within the test folder, 3 | # with some dynamic aggregation of unit-testing going on. 4 | aux_source_directory(. LOCAL_SRC_LIST) 5 | include_directories(../..) 6 | 7 | file(GLOB HEADERS "*.h") 8 | 9 | add_library(testutils ${LOCAL_SRC_LIST} ${HEADERS}) 10 | 11 | find_package(Eth) 12 | 13 | target_link_libraries(testutils ${Eth_ETHASHSEAL_LIBRARIES}) 14 | -------------------------------------------------------------------------------- /src/cpp-ethereum/test/libtestutils/StateLoader.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/cpp-ethereum/test/libtestutils/StateLoader.cpp -------------------------------------------------------------------------------- /src/cpp-ethereum/test/libtestutils/StateLoader.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/cpp-ethereum/test/libtestutils/StateLoader.h -------------------------------------------------------------------------------- /src/cpp-ethereum/test/libweb3core/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_sources(memorydb.cpp overlaydb.cpp) 2 | -------------------------------------------------------------------------------- /src/cpp-ethereum/test/libweb3jsonrpc/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | aux_source_directory(. SRCS) 2 | 3 | add_sources(${SRCS}) 4 | -------------------------------------------------------------------------------- /src/cpp-ethereum/test/libwhisper/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | aux_source_directory(. SRCS) 2 | 3 | add_sources(${SRCS}) 4 | -------------------------------------------------------------------------------- /src/cpp-ethereum/test/performance/fun.sol: -------------------------------------------------------------------------------- 1 | pragma solidity ^0.4.0; 2 | 3 | contract base { 4 | 5 | function nada(uint u) internal returns (uint) { 6 | return u; 7 | } 8 | } 9 | 10 | contract derived is base { 11 | function nada(uint u) internal returns (uint) { 12 | return base.nada(u); 13 | } 14 | } 15 | 16 | contract fun is derived { 17 | 18 | function useless(uint u) returns (uint) { 19 | return nada(u); 20 | } 21 | 22 | function test() { 23 | uint u = 8; 24 | for (int i = 0; i < 2000000; ++i) 25 | u = nada(u); 26 | if (u != 8) 27 | throw; 28 | } 29 | 30 | function fun() { 31 | test(); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/cpp-ethereum/test/performance/loop.sol: -------------------------------------------------------------------------------- 1 | pragma solidity ^0.4.0; 2 | 3 | contract loop { 4 | int N; 5 | function loop(){ 6 | for (int i = 0; i < 10000000; ++i) { 7 | } 8 | N = i; 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/cpp-ethereum/test/performance/mul0.sol: -------------------------------------------------------------------------------- 1 | // do not optimize 2 | pragma solidity ^0.4.0; 3 | 4 | contract mul0 { 5 | function mul0(){ 6 | uint j = 1; 7 | for (uint i = 1; i <= 500000; ++i) { 8 | } 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/cpp-ethereum/test/performance/rng.sol: -------------------------------------------------------------------------------- 1 | pragma solidity ^0.4.0; 2 | 3 | contract rng { 4 | 5 | // not a good RNG, just enough 256-bit operations to dominate loop overhead 6 | uint rand; 7 | function test() returns (uint) { 8 | uint rand1 = 3; 9 | uint rand2 = 5; 10 | uint rand3 = 7; 11 | uint rand4 = 11; 12 | for (int i = 0; i < 1000000; ++i) { 13 | rand1 = 0x243F6A8885A308D3 * rand1 + 0x13198A2E03707344; 14 | rand2 = 0xA4093822299F31D0 * rand2 + 0x082EFA98EC4E6C89; 15 | rand3 = 0x452821E638D01377 * rand3 + 0xBE5466CF34E90C6C; 16 | rand4 = 0xC0AC29B7C97C50DD * rand3 + 0x3F84D5B5B5470917; 17 | } 18 | return rand1 ^ rand2 ^ rand3 ^ rand4; 19 | return rand; 20 | } 21 | function rng() { 22 | rand = test(); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/cpp-ethereum/utils/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(libscrypt) 2 | -------------------------------------------------------------------------------- /src/cpp-ethereum/utils/json_spirit/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | SET(JSON_SPIRIT_SRCS 2 | json_spirit_reader.cpp 3 | json_spirit_value.cpp 4 | json_spirit_writer.cpp) 5 | 6 | FIND_PACKAGE(Boost 1.34 REQUIRED) 7 | INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIR}) 8 | 9 | ADD_LIBRARY(json_spirit STATIC ${JSON_SPIRIT_SRCS}) 10 | 11 | -------------------------------------------------------------------------------- /src/cpp-ethereum/utils/json_spirit/json_spirit.h: -------------------------------------------------------------------------------- 1 | #ifndef JSON_SPIRIT 2 | #define JSON_SPIRIT 3 | 4 | // Copyright John W. Wilkinson 2007 - 2009. 5 | // Distributed under the MIT License, see accompanying file LICENSE.txt 6 | 7 | // json spirit version 4.03 8 | 9 | #if defined(_MSC_VER) && (_MSC_VER >= 1020) 10 | # pragma once 11 | #endif 12 | 13 | #include "json_spirit_value.h" 14 | #include "json_spirit_reader.h" 15 | #include "json_spirit_writer.h" 16 | #include "json_spirit_utils.h" 17 | 18 | #endif 19 | -------------------------------------------------------------------------------- /src/cpp-ethereum/utils/json_spirit/json_spirit_value.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2007 John W Wilkinson 2 | 3 | This source code can be used for any purpose as long as 4 | this comment is retained. */ 5 | 6 | // json spirit version 2.00 7 | 8 | #include "json_spirit_value.h" 9 | -------------------------------------------------------------------------------- /src/cpp-ethereum/utils/libscrypt/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | aux_source_directory(. SRC_LIST) 2 | file(GLOB HEADERS "*.h") 3 | 4 | add_library(scrypt ${SRC_LIST} ${HEADERS}) 5 | 6 | -------------------------------------------------------------------------------- /src/cpp-ethereum/utils/libscrypt/b64.h: -------------------------------------------------------------------------------- 1 | 2 | /* BASE64 libraries used internally - should not need to be packaged */ 3 | 4 | #define b64_encode_len(A) ((A+2)/3 * 4 + 1) 5 | #define b64_decode_len(A) (A / 4 * 3 + 2) 6 | 7 | int libscrypt_b64_encode(unsigned char const *src, size_t srclength, 8 | /*@out@*/ char *target, size_t targetsize); 9 | int libscrypt_b64_decode(char const *src, /*@out@*/ unsigned char *target, 10 | size_t targetsize); 11 | -------------------------------------------------------------------------------- /src/cpp-ethereum/utils/libscrypt/crypto-scrypt-saltgen.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/cpp-ethereum/utils/libscrypt/crypto-scrypt-saltgen.c -------------------------------------------------------------------------------- /src/cpp-ethereum/utils/libscrypt/crypto_scrypt-hash.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/cpp-ethereum/utils/libscrypt/crypto_scrypt-hash.c -------------------------------------------------------------------------------- /src/cpp-ethereum/utils/libscrypt/crypto_scrypt-hexconvert.h: -------------------------------------------------------------------------------- 1 | 2 | #include 3 | 4 | /** 5 | * Converts a binary string to a hex representation of that string 6 | * outbuf must have size of at least buf * 2 + 1. 7 | */ 8 | int libscrypt_hexconvert(const uint8_t *buf, size_t s, char *outbuf, 9 | size_t obs); 10 | -------------------------------------------------------------------------------- /src/cpp-ethereum/utils/libscrypt/libscrypt.version: -------------------------------------------------------------------------------- 1 | libscrypt { 2 | global: libscrypt_check; 3 | libscrypt_hash; 4 | libscrypt_mcf; 5 | libscrypt_salt_gen; 6 | libscrypt_scrypt; 7 | local: *; 8 | }; 9 | -------------------------------------------------------------------------------- /src/cpp-ethereum/utils/libscrypt/slowequals.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | /* Implements a constant time version of strcmp() 4 | * Will return 1 if a and b are equal, 0 if they are not */ 5 | int slow_equals(const char* a, const char* b) 6 | { 7 | size_t lena, lenb, diff, i; 8 | lena = strlen(a); 9 | lenb = strlen(b); 10 | diff = strlen(a) ^ strlen(b); 11 | 12 | for(i=0; i 4 | #include 5 | #include 6 | 7 | void scrypt(const char* pass, unsigned int pLen, const char* salt, unsigned int sLen, char *output, unsigned int N, unsigned int r, unsigned int p, unsigned int dkLen); 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /src/crypto/sha1.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2014 The Bitcoin 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 | -------------------------------------------------------------------------------- /src/crypto/sha256.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2014 The Bitcoin 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_SHA256_H 6 | #define BITCOIN_CRYPTO_SHA256_H 7 | 8 | #include 9 | #include 10 | 11 | /** A hasher class for SHA-256. */ 12 | class CSHA256 13 | { 14 | private: 15 | uint32_t s[8]; 16 | unsigned char buf[64]; 17 | size_t bytes; 18 | 19 | public: 20 | static const size_t OUTPUT_SIZE = 32; 21 | 22 | CSHA256(); 23 | CSHA256& Write(const unsigned char* data, size_t len); 24 | void Finalize(unsigned char hash[OUTPUT_SIZE]); 25 | CSHA256& Reset(); 26 | }; 27 | 28 | #endif // BITCOIN_CRYPTO_SHA256_H 29 | -------------------------------------------------------------------------------- /src/cryptopp/TestData/3desval.dat: -------------------------------------------------------------------------------- 1 | 0123456789abcdeffedcba9876543210 0123456789abcde7 7f1d0a77826b8aff 2 | 0123456789abcdeffedcba987654321089abcdef01234567 0123456789abcde7 de0b7c06ae5e0ed5 3 | 0123456789ABCDEF01010101010101011011121314151617 94DBE082549A14EF 9011121314151617 4 | -------------------------------------------------------------------------------- /src/cryptopp/TestData/3wayval.dat: -------------------------------------------------------------------------------- 1 | 000000000000000000000000 000000010000000100000001 4059c76e83ae9dc4ad21ecf7 2 | 000000060000000500000004 000000030000000200000001 d2f05b5ed6144138cab920cd 3 | def01234456789abbcdef012 234567899abcdef001234567 0aa55dbb9cdddb6d7cdb76b2 4 | d2f05b5ed6144138cab920cd 4059c76e83ae9dc4ad21ecf7 478ea8716b13f17c15b155ed 5 | 6 | -------------------------------------------------------------------------------- /src/cryptopp/TestData/cast128v.dat: -------------------------------------------------------------------------------- 1 | 01 23 45 67 12 34 56 78 23 45 67 89 34 56 78 9A 2 | 01 23 45 67 89 AB CD EF 3 | 23 8B 4F E5 84 7E 44 B2 4 | 5 | 01 23 45 67 12 34 56 78 23 45 6 | 01 23 45 67 89 AB CD EF 7 | EB 6A 71 1A 2C 02 27 1B 8 | 9 | 01 23 45 67 12 10 | 01 23 45 67 89 AB CD EF 11 | 7A C8 16 D1 6E 9B 30 2E 12 | -------------------------------------------------------------------------------- /src/cryptopp/TestData/cast256v.dat: -------------------------------------------------------------------------------- 1 | 2342bb9efa38542c0af75647f29f615d 2 | 00000000000000000000000000000000 3 | c842a08972b43d20836c91d1b7530f6b 4 | 5 | 2342bb9efa38542cbed0ac83940ac298bac77a7717942863 6 | 00000000000000000000000000000000 7 | 1b386c0210dcadcbdd0e41aa08a7a7e8 8 | 9 | 2342bb9efa38542cbed0ac83940ac2988d7c47ce264908461cc1b5137ae6b604 10 | 00000000000000000000000000000000 11 | 4f6a2038286897b9c9870136553317fa 12 | -------------------------------------------------------------------------------- /src/cryptopp/TestData/dh1024.dat: -------------------------------------------------------------------------------- 1 | 30818702818100DA9A18547FF03B385CC16508C173A7EF4EB61CB40EF8FEF3B31F145051676166BCDC3FE6B799FC394D08C26385F9413F896E09117E46209D6923602683CEA100924A6EE695281775C619DAA94EA8CB3691B4275B0183F1D39639EBC92995FE645D6C1BC28D409E585549BBD2C5DCDD6C208B04EADD8B7A6D997F72CBAD88390F020102 2 | -------------------------------------------------------------------------------- /src/cryptopp/TestData/dh2048.dat: -------------------------------------------------------------------------------- 1 | 308201080282010100EB60DBD494AAFBCD2EAC6A36DB8E7DD4A2A64512A5BBB15B9BFB581C7C1CAFB647D4612973C3770C2166D75EEA695F67EA8261557591DB78BCF5A886AA5294F3AEE4D25B57C8EE8C7FE8DBF70C132CD7FFCB6F89426F807F552C5DAE2FB1F329E340094E4B30D8EF6265AB4D350E9837B151C86AC524DE4E1FC04746C668BE318275E420D51AEDDFBDF887D435CDEEF6AC81293DB45287132F8236A43AD8F4D6642D7CA6732DA06A1DE008259008C9D74403B68ADAC788CF8AB5BEFFC310DCCCD32901D1F290E5B7A993D2CF6A652AF81B6DA0FD2E70678D1AE086150E41444522F20621195AD2A1F0975652B4AF7DE5261A9FD46B9EA8B443641F3BBA695B9B020103 2 | -------------------------------------------------------------------------------- /src/cryptopp/TestData/dlie1024.dat: -------------------------------------------------------------------------------- 1 | 308201370201003082011706072A8648CE3804013082010A02818100D4EC6B7A18416519C76766726B3D2D5F054D107B30E97691B15EB0DCDF452B77F10E12C14450AB107BE349C2DF3A2DBD9D844A24ABA21B328D568E8EC6B959E70BADE5C49879AE4447F643360523469B55AFDC459B45634F657AA79918772F2BA9508ACD43C95C16650A1251B8173EBA1B9B59FE8C57F6240EA49A4FE8855CEF0281806A7635BD0C20B28CE3B3B339359E96AF82A6883D9874BB48D8AF586E6FA295BBF8870960A22855883DF1A4E16F9D16DECEC2251255D10D9946AB4747635CACF385D6F2E24C3CD72223FB219B0291A34DAAD7EE22CDA2B1A7B2BD53CC8C3B9795D4A84566A1E4AE0B32850928DC0B9F5D0DCDACFF462BFB1207524D27F442AE77020102041702150C9C14EEFA749DCE9A2A4B7065768767BA48BBB62F 2 | -------------------------------------------------------------------------------- /src/cryptopp/TestData/dsa1024.dat: -------------------------------------------------------------------------------- 1 | 3082014A0201003082012B06072A8648CE3804013082011E02818100F468699A6F6EBCC0120D3B34C8E007F125EC7D81F763B8D0F33869AE3BD6B9F2ECCC7DF34DF84C0307449E9B85D30D57194BCCEB310F48141914DD13A077AAF9B624A6CBE666BBA1D7EBEA95B5BA6F54417FD5D4E4220C601E071D316A24EA814E8B0122DBF47EE8AEEFD319EBB01DD95683F10DBB4FEB023F8262A07EAEB7FD02150082AD4E034DA6EEACDFDAE68C36F2BAD614F9E53B02818071AAF73361A26081529F7D84078ADAFCA48E031DB54AD57FB1A833ADBD8672328AABAA0C756247998D7A5B10DACA359D231332CE8120B483A784FE07D46EEBFF0D7D374A10691F78653E6DC29E27CCB1B174923960DFE5B959B919B2C3816C19251832AFD8E35D810E598F82877ABF7D40A041565168BD7F0E21E3FE2A8D8C1C0416021426EBA66E846E755169F84A1DA981D86502405DDF 2 | -------------------------------------------------------------------------------- /src/cryptopp/TestData/dsa512.dat: -------------------------------------------------------------------------------- 1 | 3081C60201003081A806072A8648CE38040130819C0241008DF2A494492276AA3D25759BB06869CBEAC0D83AFB8D0CF7CBB8324F0D7882E5D0762FC5B7210EAFC2E9ADAC32AB7AAC49693DFBF83724C2EC0736EE31C80291021500C773218C737EC8EE993B4F2DED30F48EDACE915F0240626D027839EA0A13413163A55B4CB500299D5522956CEFCB3BFF10F399CE2C2E71CB9DE5FA24BABF58E5B79521925C9CC42E9F6F464B088CC572AF53E6D78802041602142070B3223DBA372FDE1C0FFC7B2E3B498B260614 2 | -------------------------------------------------------------------------------- /src/cryptopp/TestData/esig1023.dat: -------------------------------------------------------------------------------- 1 | 3081E00281807040653BA4FCD5C66E3318B31E82654C5A62957F68D2EE6AE10BD6678D7A14EEF8EBF0C85F28FE22056C12B2A2DD4E9C897EB2FF06D57DB03B872C049ED2806DC3E4D86F2947D134065AC642F233F95FBCB55C533274FA91FFDC0CEB9E71B8795B71A977C7956001FC19E28DE18A80B20E4AE8F775B952CEEA0DEFEAE8E93D7F020120022B1EC74E9FC5EEA090E8DDF4BDB64861C7DC3F8EC7E64286EC2FE39DA55B4763C582DB48146521BDEF0146D5022B1E559EB15755298408E4E4C6F4791BF075C7A8C9B3C7F5B7FA3E8C322BA0A160C09A9DB6BBC4974BE0F877 2 | -------------------------------------------------------------------------------- /src/cryptopp/TestData/esig1536.dat: -------------------------------------------------------------------------------- 1 | 3082014D0281C100E2A6788AB3CC986AEC06C51690143D3677141645D0628165EE924B9AFB7E6EDD52D90145B2F6031522C7A6CEC05E358F42B7837DACEA589F868F8DCA1C0F5FD8E5EDB8BBBAFCFF6D64CFCFBE68F46FBA6EFF45BC9D0CBB4F7F6075F5FFC2049C2F304B51C417764E18D182926E02D4116CE5C5C010E3D0AA6872A49B0D1FF4B37D54689C31F5821D04E9D4DB34D7536EE7F88B8C481B0EC1F93193A0B70567E6FD76E9FAC4F67BB47DACD356D0C8015261E068DDF8C34C0CAFCF3FA775577FEB020120024100FAF0F292EE96D4F449024F86C0A104E0633C722586EC00AD33E0234629825D2081BA337597889CAC55DC6BEBDD8F13FE3AA2133D6371601A37D195DA7BC45EF3024100EBE16F88887A425AA08E271467CC2220DC44012AB24ED4FF3512A96E8CB600C8BBCB771459FF0EE63D4B6786952A83A7143A775073F0A1D69B6D0B5817755673 2 | -------------------------------------------------------------------------------- /src/cryptopp/TestData/fhmqv160.dat: -------------------------------------------------------------------------------- 1 | 3081E0020101302C06072A8648CE3D0101022100FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFF30440420FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFC04205AC635D8AA3A93E7B3EBBD55769886BC651D06B0CC53B0F63BCE3C3E27D2604B0441046B17D1F2E12C4247F8BCE6E563A440F277037D812DEB33A0F4A13945D898C2964FE342E2FE1A7F9B8EE7EB4A7C0F9E162BCE33576B315ECECBB6406837BF51F5022100FFFFFFFF00000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC632551020101 -------------------------------------------------------------------------------- /src/cryptopp/TestData/fhmqv256.dat: -------------------------------------------------------------------------------- 1 | 3081E0020101302C06072A8648CE3D0101022100FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFF30440420FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFC04205AC635D8AA3A93E7B3EBBD55769886BC651D06B0CC53B0F63BCE3C3E27D2604B0441046B17D1F2E12C4247F8BCE6E563A440F277037D812DEB33A0F4A13945D898C2964FE342E2FE1A7F9B8EE7EB4A7C0F9E162BCE33576B315ECECBB6406837BF51F5022100FFFFFFFF00000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC632551020101 -------------------------------------------------------------------------------- /src/cryptopp/TestData/fhmqv384.dat: -------------------------------------------------------------------------------- 1 | 30820140020101303C06072A8648CE3D0101023100FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFF0000000000000000FFFFFFFF30640430FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFF0000000000000000FFFFFFFC0430B3312FA7E23EE7E4988E056BE3F82D19181D9C6EFE8141120314088F5013875AC656398D8A2ED19D2A85C8EDD3EC2AEF046104AA87CA22BE8B05378EB1C71EF320AD746E1D3B628BA79B9859F741E082542A385502F25DBF55296C3A545E3872760AB73617DE4A96262C6F5D9E98BF9292DC29F8F41DBD289A147CE9DA3113B5F0B8C00A60B1CE1D7E819D7A431D7C90EA0E5F023100FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC7634D81F4372DDF581A0DB248B0A77AECEC196ACCC52973020101 -------------------------------------------------------------------------------- /src/cryptopp/TestData/hmqv160.dat: -------------------------------------------------------------------------------- 1 | 3081E0020101302C06072A8648CE3D0101022100FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFF30440420FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFC04205AC635D8AA3A93E7B3EBBD55769886BC651D06B0CC53B0F63BCE3C3E27D2604B0441046B17D1F2E12C4247F8BCE6E563A440F277037D812DEB33A0F4A13945D898C2964FE342E2FE1A7F9B8EE7EB4A7C0F9E162BCE33576B315ECECBB6406837BF51F5022100FFFFFFFF00000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC632551020101 -------------------------------------------------------------------------------- /src/cryptopp/TestData/hmqv256.dat: -------------------------------------------------------------------------------- 1 | 3081E0020101302C06072A8648CE3D0101022100FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFF30440420FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFC04205AC635D8AA3A93E7B3EBBD55769886BC651D06B0CC53B0F63BCE3C3E27D2604B0441046B17D1F2E12C4247F8BCE6E563A440F277037D812DEB33A0F4A13945D898C2964FE342E2FE1A7F9B8EE7EB4A7C0F9E162BCE33576B315ECECBB6406837BF51F5022100FFFFFFFF00000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC632551020101 -------------------------------------------------------------------------------- /src/cryptopp/TestData/hmqv384.dat: -------------------------------------------------------------------------------- 1 | 30820140020101303C06072A8648CE3D0101023100FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFF0000000000000000FFFFFFFF30640430FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFF0000000000000000FFFFFFFC0430B3312FA7E23EE7E4988E056BE3F82D19181D9C6EFE8141120314088F5013875AC656398D8A2ED19D2A85C8EDD3EC2AEF046104AA87CA22BE8B05378EB1C71EF320AD746E1D3B628BA79B9859F741E082542A385502F25DBF55296C3A545E3872760AB73617DE4A96262C6F5D9E98BF9292DC29F8F41DBD289A147CE9DA3113B5F0B8C00A60B1CE1D7E819D7A431D7C90EA0E5F023100FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC7634D81F4372DDF581A0DB248B0A77AECEC196ACCC52973020101 -------------------------------------------------------------------------------- /src/cryptopp/TestData/luc1024.dat: -------------------------------------------------------------------------------- 1 | 3082015202010002818100B7FE59813AF3A5DA48144EF03E5D229E3CFB55B0E3CEB63F9F973AC8655651409C3B36BBBE83698516F42A2E0FDC87DD83541697249D67FB5A91FA73470089C4997667811283CF22C74856F1E71129DB70FB23620A60E532B7931B7F93C0B9AA6B9D60E87529002BF2204B743773F501F6C370D067C7B22F6AD9DC07E8097347020111024100CFEA6177386C04D1668C984C39A7F889B36BB2B3BED2C7B83241D267F8D2038529AEB56D82CDE43264168873375C8D1F0897666CCC3F617C2F6B52E5143303C7024100E28BAB645993166EE1A984967AE8839EA41685F1E6392DBEB83EE6CA85A54396505DBD4E5C9024BAFCF27AD24D571DC6A3795CE7F0432669BCE742AF8FAF1481024078C6F402C266595B4F85098370528C2C0309BE93F6C45FC049F6AD987471A979FE215CC41455AA85F5A5B664F59E2F8E33C97C211698D14AD05FC65044F99510 2 | -------------------------------------------------------------------------------- /src/cryptopp/TestData/lucc1024.dat: -------------------------------------------------------------------------------- 1 | 3082013F0201003082011706072A8648CE3804013082010A02818100E16B572E39DB4D90689753D09CEA97B9CAE9C0AF04203AE5BC7FC985B85D5BB50B1EDEA30CAAD003B455640FEEA79E342F3E8CFF6761051B38D6931A2B0FD0DF8E2210E7DA74CAC5DC1A79D80CD8C0F9FC09D81BAEC94E2F3663F25B0140DF6B3D5AD04CBA27BCF24A92963319FB992E39544370FD28642FE07EB17EDA4D47B902818070B5AB971CEDA6C8344BA9E84E754BDCE574E05782101D72DE3FE4C2DC2EADDA858F6F5186556801DA2AB207F753CF1A179F467FB3B0828D9C6B498D1587E86FC7110873ED3A6562EE0D3CEC066C607CFE04EC0DD764A7179B31F92D80A06FB59EAD68265D13DE7925494B198CFDCC971CAA21B87E943217F03F58BF6D26A3DD020107041F021D03BDAFBB087B5A628730212217B01F15B303A0133D6AF4FC3CAF7286A8 2 | -------------------------------------------------------------------------------- /src/cryptopp/TestData/lucc512.dat: -------------------------------------------------------------------------------- 1 | 3081B302010030819406072A8648CE380401308188024100B89A4AD4826B8FDDBFE3A6C0F5C8F805B7093AFF9BB2BD697C7D113C236BAC99ABF69000E169575CA2A2DDCDD1C7D9D06C63DCCC880121D933DCF598DD85C52102405C4D256A4135C7EEDFF1D3607AE47C02DB849D7FCDD95EB4BE3E889E11B5D64CD5FB480070B4ABAE51516EE6E8E3ECE83631EE66440090EC99EE7ACC6EC2E291020107041702150268EA4C567B18D0E35B1DA9D517CE5D359CD06779 2 | -------------------------------------------------------------------------------- /src/cryptopp/TestData/lucd1024.dat: -------------------------------------------------------------------------------- 1 | 30818702818100EE9C91E2C1D8B0AB999B3F32B3115A36AA95A36B23CC8507D2340FA21EAAF6F6EB 2 | 1B900839CD9F8AFBFC155467F91FD8917DD46EAC55A266B246DFFFEDDDA79D674F77884D34709DB3 3 | 452C2C1E2578CCC0CCA91C504039C52762F23F2A391A58B2CAD2DB05666DDF5B9E3C1AC33DB487B7 4 | 70C82B7E7DCDEE4381562FCEE427FD02010A 5 | -------------------------------------------------------------------------------- /src/cryptopp/TestData/lucd512.dat: -------------------------------------------------------------------------------- 1 | 3046024100C339D027E5812ED5D9DE044F3697D0273625E5EA9EC4EF3FB89ADBFA9CD1FBF4D8C0EC 2 | 1118C44609F499EF644EEAECE2F38B3F67FAC81A075F31A60B5757A87D020109 3 | -------------------------------------------------------------------------------- /src/cryptopp/TestData/lucs1024.dat: -------------------------------------------------------------------------------- 1 | 3082015B0201003082013306072A8648CE3804013082012602818100D57B7B758DC8041CE6CFC57DFE0AAA33FC8FEC48BEEA37562AD13359236FFFF6EED3CEB3A7BBC4269A384ED9A296160F12BC666066548E28201CE293B1791F951C8D2C5965696D82B336EFADCF1E0D619EDA43DBB86415BF3EE6F721C0AB17E770EA7B2360A054D3E4E878647245FCF87B2335098303004CDDC2B9DCDA57DB51021D034E48F160EC5855CCCD9F995988AD1B554AD1B591E64283E91A07D151028180017324ADC1F93CF002FA2B0619C60F897CDED488E457685625E1565377483C0FA4A7FD1CAE848C727E76654434CE3CCAF81EC6E6AAA156EEBBEA095F642FD0DA2D043996ACC14A1B1A6110B19C094638E29890B89AF5812E97C5F96F33B1FD7415079947994442295CA34447807662FB70621F069A98AE274D01B2777BF4E97E041F021D00F9F02A2BC1930F1AC93198F3D532BC937941D7C9A1E16F0EB932476E 2 | -------------------------------------------------------------------------------- /src/cryptopp/TestData/lucs512.dat: -------------------------------------------------------------------------------- 1 | 3081C70201003081A806072A8648CE38040130819C024100E64283E91A07D10F557B7B758DC8041CE6CFC57DFE0AAA33FC8FEC48BEEA37562AD13359236FFFF6EED3FB921690D2FD1339F8E1DD406EED70D7EE3085E3AADD02150F4E48F160EC5855CCCD9F995988AD1B554AD1B5F3024062503DFB092F0FD0D8BBD90B50A834A6BD5B0995BCFC1CC8C8C83103AA6837F3FBFF3E042E1B25E36963DB2FCFD7AD24A6626E65A1F6EECBB399F5CE73659F29041702150450A037413E9A711E601318AF21D32A498C0C501E 2 | -------------------------------------------------------------------------------- /src/cryptopp/TestData/mqv1024.dat: -------------------------------------------------------------------------------- 1 | 3082011E028181009A21FC66469293103CEF66960B17880F905C738DB692B7481922FC2D454D14067C6BFC158B93FCC1B8D128D4D86D893082F8A3592238EE8B693B6245F26F55968D7D13752D6BFBA271E8E36E11482815D887BB9F6B600E820E7E2AF2EE6ECDBC1CB35B12A4EF48A8907C090482DE7D49B751BB3A50F78BE29506114BC85D3A6102150C896422EC558A74B883BA85E2F10D4A58F28D2B09028180350C4BB19C0A9B224E5E1BACCC1B1952A97628021B4673831C851C3280F06D3EFA73DAE27E5D4E4A0499E0B2B9A369649E883A1F260EF250B5CCF3E3C922332B210EEA07D3BF92210BA7A7374A30DDDE3D1B3D575B77CD36B001EAE4A2A3BFAFF12FCE74F3330B30ACF6DCFF580ECBFB5B00FD5DD2B8EA9DB09C7E1C7100BD67 2 | -------------------------------------------------------------------------------- /src/cryptopp/TestData/nr1024.dat: -------------------------------------------------------------------------------- 1 | 3082014C0201003082012C06072A8648CE3804013082011F02818100F89F4EBE58E222B517D218D615BDC00611501CD18417886BD3FCBD22578C4611B1E8C06EB0FE9D473A5589BC277AA58C1979DC2869B728D78EC38B4C044A790A60314E7BD3DFDC0BBD8B770A9271D7D048F3E13C73866D096C7304782125847C70EDD721B36F1C379CF7CCEE0A728DD66336ED5F93E8A1BD3EDB22C8761EB987021526A578AB11C3A0812A636D24D120BE544B7973E4D302818100BF927ACE4D175A44622494E37F9552E97B74303321FFEF9B76CDECB14F7D612608DDFEA77C04A8FCACCF7F16CB01AE05AD5EDB65C3B9A380D720F34C7D96C8817E2EFF7D0049EE149DF61C52D7C80271206155CDAEBC8A7F4A8DCE5196E3C18FD5EDF11A394C43A5D59BC65D976817438CA0A7F01713548F61355E976DE75E1E04170215247B2531CFF01D1B1665F0CFD2A836446798353330 2 | -------------------------------------------------------------------------------- /src/cryptopp/TestData/rabi1024.dat: -------------------------------------------------------------------------------- 1 | 3082015202818100D132EDB1360E31D7B8DD84BB03111FDE0243FFE4031ED12B440E7FF36A634E57772EC81FFDC065607494717C6E16A5AB642283553442CC22569535C7A20E3D1C3E2B3747B26E9856D4A13D0325DC116DAAF8554B000321A753E5CFA730CA60F3E3FE2CA9750C6734A2A113AD4A76B6DAC5E199AB55F34CE6984BF56F6DFAC51D020105020102024100F90CBF726FA70ACB5074BD8E79932B74E9949057B627ABB29F41E5057AE699A03BC240EBB9637E956ABC0B6A20F633F78168A908086E2011FC5D030B9B94B51B024100D7097ACACD8BF8ED641A7D8A17A23F8FB385B92B760EEEB9A1233E1D25892F742315DE23DA0751F24EAE4C0C5B696D0AA0D16EAE94194193DC89D479A9626A2702403B5475CD2A7F519EF08433407826D89983C104AF1E74B44B79B31770149D224089300F828E0DF4CBC864BDB394C0F32CCF055F7B2B8872BF0B5F148020637B9C 2 | -------------------------------------------------------------------------------- /src/cryptopp/TestData/rc5val.dat: -------------------------------------------------------------------------------- 1 | 00000000000000000000000000000000 0000000000000000 21A5DBEE154B8F6D 2 | 915F4619BE41B2516355A50110A9CE91 21A5DBEE154B8F6D F7C013AC5B2B8952 3 | 783348E75AEB0F2FD7B169BB8DC16787 F7C013AC5B2B8952 2F42B3B70369FC92 4 | DC49DB1375A5584F6485B413B5F12BAF 2F42B3B70369FC92 65C178B284D197CC 5 | 5269F149D41BA0152497574D7F153125 65C178B284D197CC EB44E415DA319824 6 | -------------------------------------------------------------------------------- /src/cryptopp/TestData/rsa400pb.dat: -------------------------------------------------------------------------------- 1 | 30 4c 30 0d 06 09 2a 86 2 | 48 86 f7 0d 01 01 01 05 3 | 00 03 3b 00 30 38 02 33 4 | 00 a3 07 9a 90 df 0d fd 5 | 72 ac 09 0c cc 2a 78 b8 6 | 74 13 13 3e 40 75 9c 98 7 | fa f8 20 4f 35 8a 0b 26 8 | 3c 67 70 e7 83 a9 3b 69 9 | 71 b7 37 79 d2 71 7b e8 10 | 34 77 cf 02 01 03 11 | -------------------------------------------------------------------------------- /src/cryptopp/TestData/rw1024.dat: -------------------------------------------------------------------------------- 1 | 3082014D02818100BECF1F40456801F6965E603BEBB61F530F0B17BBCB00E3A8866EB9BC84AE3892A4CB040280F568FC650B1734014CA78A200D5E4AB394CBB75C0034DCC47643E6F576A39F850C5F4528048165B084C82E9BA6BA4CFBCB3980F1EB47EC2C348EF52A6225A85AF743DFCEF5CD4583EB0B9C0DA77ABEBEB5BCC513D81BD768B579AD024100F06CA9C1FBE20EE2440F3AB2F9A9787D820943EAF59B6B8D103CFAB1C2F595DDC99D05DC73F9D1DB780B6F8B26CF87E58EB870DD983A2515600DF80C3EBB7B1B024100CB2B9BDEB0D508E21E646C86D836442FC16910D68C8D1D18BB1327899A506C16C1162E93EA7C2CB576B750AEAB152255D5AB22632025CFFAD927A070CBAEA2D7024100C90A853BEC7C25D773FDDB95C11CEF9BB3F487953773F07E42DB9D011325AE2725663478FB7F0EC1A5608280D9656BF3B9F463FF8B23F1CA1B543508D51826E2 2 | -------------------------------------------------------------------------------- /src/cryptopp/TestData/sharkval.dat: -------------------------------------------------------------------------------- 1 | 00000000000000000000000000000000 0000000000000000 214BCF4E7716420A 2 | 000102030405060708090A0B0C0D0E0F 0000000000000000 C76C696289898137 3 | 000102030405060708090A0B0C0D0E0F C76C696289898137 077A4A59FAEEEA4D 4 | 915F4619BE41B2516355A50110A9CE91 21A5DBEE154B8F6D 6FF33B98F448E95A 5 | 783348E75AEB0F2FD7B169BB8DC16787 F7C013AC5B2B8952 E5E554ABE9CED2D2 6 | DC49DB1375A5584F6485B413B5F12BAF 2F42B3B70369FC92 9AE068313F343A7A 7 | 5269F149D41BA0152497574D7F153125 65C178B284D197CC D3F111A282F17F29 8 | -------------------------------------------------------------------------------- /src/cryptopp/TestData/skipjack.dat: -------------------------------------------------------------------------------- 1 | 11223344556677889900 aabbccdd00112233 00d3127ae2ca8725 2 | -------------------------------------------------------------------------------- /src/cryptopp/TestData/xtrdh171.dat: -------------------------------------------------------------------------------- 1 | 305F02160559DCD66A95A57249A15BAD6B431BF2CD58615B901D02153365CFA0D3B1B6577B2DB243 2 | DDE45EDB91C18B0F5F0216032F4EBA0911B3D0B14F6F1292A74DFFD4A8FCF22C1802160211CB3EDA 3 | 809FA0FF8C3A8AE691EC4C95A06A3395CF 4 | -------------------------------------------------------------------------------- /src/cryptopp/TestData/xtrdh342.dat: -------------------------------------------------------------------------------- 1 | 3081A6022B28E3FED51D3D861D962B0A16A92ACDB380ADAFB478CA555004C3AF387F853F9DE9921C 2 | 7DCB40098D25C757021D03094844F135A3A50049A848C3FC02412FCBED6040FB1BDE99A4D93E3B02 3 | 2B13F411960B85F9B031A247E072046892B1EE6C95A47242A839F8E24B96B88F37B4BDA2C6D253BC 4 | 0AAF29F1022B0D2AFE639D324E558B2B312E435E03957769D745C881D259DDFD2F48F9C08F82ECCF 5 | F4E7ADD47C705896D0 6 | -------------------------------------------------------------------------------- /src/cryptopp/TestScripts/cryptest-coverity.cpp: -------------------------------------------------------------------------------- 1 | // cryptest-coverity.cpp - Coverity modeling file. 2 | // Written and placed in public domain by Jeffrey Walton and Uri Blumenthal. 3 | // Copyright assigned to Crypto++ project. 4 | // 5 | // For more information see http://cryptopp.com/wiki/Coverity_Scan. 6 | // 7 | // Also see https://scan.coverity.com/tune#what-is-model 8 | 9 | /////////////////////////////////////////////////////////////////// 10 | 11 | void special_abort(const char* msg) { 12 | __coverity_panic__(); 13 | } 14 | -------------------------------------------------------------------------------- /src/cryptopp/TestVectors/blake2.txt: -------------------------------------------------------------------------------- 1 | AlgorithmType: FileList 2 | Name: blake2.txt collection 3 | Test: TestVectors/blake2s.txt 4 | Test: TestVectors/blake2b.txt 5 | -------------------------------------------------------------------------------- /src/cryptopp/TestVectors/sha1_fips_180.txt: -------------------------------------------------------------------------------- 1 | AlgorithmType: FileList 2 | Name: SHA1 FIPS 180 collection 3 | Test: TestVectors/sha1_160_fips_180.txt 4 | -------------------------------------------------------------------------------- /src/cryptopp/TestVectors/sha2_fips_180.txt: -------------------------------------------------------------------------------- 1 | AlgorithmType: FileList 2 | Name: SHA2 FIPS 180 collection 3 | Test: TestVectors/sha2_224_fips_180.txt 4 | Test: TestVectors/sha2_256_fips_180.txt 5 | Test: TestVectors/sha2_384_fips_180.txt 6 | Test: TestVectors/sha2_512_fips_180.txt 7 | -------------------------------------------------------------------------------- /src/cryptopp/TestVectors/sha3_fips_202.txt: -------------------------------------------------------------------------------- 1 | AlgorithmType: FileList 2 | Name: SHA3 FIPS 202 collection 3 | Test: TestVectors/sha3_224_fips_202.txt 4 | Test: TestVectors/sha3_256_fips_202.txt 5 | Test: TestVectors/sha3_384_fips_202.txt 6 | Test: TestVectors/sha3_512_fips_202.txt 7 | -------------------------------------------------------------------------------- /src/cryptopp/aes.h: -------------------------------------------------------------------------------- 1 | // aes.h - written and placed in the public domain by Wei Dai 2 | 3 | //! \file 4 | //! \brief Class file for the AES cipher (Rijndael) 5 | 6 | #ifndef CRYPTOPP_AES_H 7 | #define CRYPTOPP_AES_H 8 | 9 | #include "rijndael.h" 10 | 11 | NAMESPACE_BEGIN(CryptoPP) 12 | 13 | //! \class AES 14 | //! \brief AES block cipher (Rijndael) 15 | //! \sa AES winner, announced on 10/2/2000 16 | DOCUMENTED_TYPEDEF(Rijndael, AES); 17 | 18 | typedef RijndaelEncryption AESEncryption; 19 | typedef RijndaelDecryption AESDecryption; 20 | 21 | NAMESPACE_END 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /src/cryptopp/bds10.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/cryptopp/bds10.zip -------------------------------------------------------------------------------- /src/cryptopp/bench.h: -------------------------------------------------------------------------------- 1 | // bench.h - written and placed in the public domain by Wei Dai 2 | 3 | #ifndef CRYPTOPP_BENCH_H 4 | #define CRYPTOPP_BENCH_H 5 | 6 | #include "cryptlib.h" 7 | 8 | extern const double CLOCK_TICKS_PER_SECOND; 9 | 10 | void BenchmarkAll(double t, double hertz); 11 | void BenchmarkAll2(double t, double hertz); 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /src/cryptopp/cryptopp-config.cmake: -------------------------------------------------------------------------------- 1 | include("${CMAKE_CURRENT_LIST_DIR}/cryptopp-targets.cmake") 2 | -------------------------------------------------------------------------------- /src/cryptopp/cryptopp.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/cryptopp/cryptopp.rc -------------------------------------------------------------------------------- /src/cryptopp/dh.cpp: -------------------------------------------------------------------------------- 1 | // dh.cpp - written and placed in the public domain by Wei Dai 2 | 3 | #include "pch.h" 4 | 5 | #ifndef CRYPTOPP_IMPORTS 6 | 7 | #include "dh.h" 8 | 9 | NAMESPACE_BEGIN(CryptoPP) 10 | 11 | #if defined(CRYPTOPP_DEBUG) && !defined(CRYPTOPP_DOXYGEN_PROCESSING) 12 | void DH_TestInstantiations() 13 | { 14 | DH dh1; 15 | DH dh2(NullRNG(), 10); 16 | } 17 | #endif 18 | 19 | NAMESPACE_END 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /src/cryptopp/elgamal.cpp: -------------------------------------------------------------------------------- 1 | // elgamal.cpp - written and placed in the public domain by Wei Dai 2 | 3 | #include "pch.h" 4 | #include "elgamal.h" 5 | #include "asn.h" 6 | #include "nbtheory.h" 7 | 8 | NAMESPACE_BEGIN(CryptoPP) 9 | 10 | #if defined(CRYPTOPP_DEBUG) && !defined(CRYPTOPP_DOXYGEN_PROCESSING) 11 | void ElGamal_TestInstantiations() 12 | { 13 | ElGamalEncryptor test1(1, 1, 1); 14 | ElGamalDecryptor test2(NullRNG(), 123); 15 | ElGamalEncryptor test3(test2); 16 | } 17 | #endif 18 | 19 | NAMESPACE_END 20 | -------------------------------------------------------------------------------- /src/cryptopp/gf256.cpp: -------------------------------------------------------------------------------- 1 | // gf256.cpp - written and placed in the public domain by Wei Dai 2 | 3 | #include "pch.h" 4 | #include "gf256.h" 5 | 6 | NAMESPACE_BEGIN(CryptoPP) 7 | 8 | GF256::Element GF256::Multiply(Element a, Element b) const 9 | { 10 | word result = 0, t = b; 11 | 12 | for (unsigned int i=0; i<8; i++) 13 | { 14 | result <<= 1; 15 | if (result & 0x100) 16 | result ^= m_modulus; 17 | 18 | t <<= 1; 19 | if (t & 0x100) 20 | result ^= a; 21 | } 22 | 23 | return (GF256::Element) result; 24 | } 25 | 26 | GF256::Element GF256::MultiplicativeInverse(Element a) const 27 | { 28 | Element result = a; 29 | for (int i=1; i<7; i++) 30 | result = Multiply(Square(result), a); 31 | return Square(result); 32 | } 33 | 34 | NAMESPACE_END 35 | -------------------------------------------------------------------------------- /src/cryptopp/mqv.cpp: -------------------------------------------------------------------------------- 1 | // mqv.cpp - written and placed in the public domain by Wei Dai 2 | // HMQV provided by Jeffrey Walton, Ray Clayton and Uri Blumenthal. 3 | // FHMQV provided by Uri Blumenthal. 4 | 5 | #include "pch.h" 6 | #include "mqv.h" 7 | #include "hmqv.h" 8 | #include "fhmqv.h" 9 | 10 | NAMESPACE_BEGIN(CryptoPP) 11 | 12 | #if defined(CRYPTOPP_DEBUG) && !defined(CRYPTOPP_DOXYGEN_PROCESSING) 13 | void TestInstantiations_MQV() 14 | { 15 | MQV mqv; 16 | } 17 | 18 | void TestInstantiations_HMQV() 19 | { 20 | HMQV hmqv; 21 | } 22 | 23 | void TestInstantiations_FHMQV() 24 | { 25 | FHMQV fhmqv; 26 | } 27 | #endif 28 | 29 | NAMESPACE_END 30 | -------------------------------------------------------------------------------- /src/cryptopp/nr.h: -------------------------------------------------------------------------------- 1 | #ifndef CRYPTOPP_NR_H 2 | #define CRYPTOPP_NR_H 3 | 4 | #include "gfpcrypt.h" 5 | 6 | #endif 7 | -------------------------------------------------------------------------------- /src/cryptopp/pch.cpp: -------------------------------------------------------------------------------- 1 | #include "pch.h" 2 | -------------------------------------------------------------------------------- /src/cryptopp/rdrand-nasm.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | reset 4 | 5 | nasm -f elf32 rdrand.S -DX86 -g -o rdrand-x86.o 6 | nasm -f elfx32 rdrand.S -DX32 -g -o rdrand-x32.o 7 | nasm -f elf64 rdrand.S -DX64 -g -o rdrand-x64.o 8 | 9 | echo "**************************************" 10 | echo "**************************************" 11 | 12 | objdump --disassemble rdrand-x86.o 13 | 14 | echo 15 | echo "**************************************" 16 | echo "**************************************" 17 | 18 | objdump --disassemble rdrand-x32.o 19 | 20 | echo 21 | echo "**************************************" 22 | echo "**************************************" 23 | 24 | objdump --disassemble rdrand-x64.o 25 | -------------------------------------------------------------------------------- /src/cryptopp/resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Developer Studio generated include file. 3 | // Used by cryptopp.rc 4 | // 5 | 6 | // Next default values for new objects 7 | // 8 | #ifdef APSTUDIO_INVOKED 9 | #ifndef APSTUDIO_READONLY_SYMBOLS 10 | #define _APS_NEXT_RESOURCE_VALUE 101 11 | #define _APS_NEXT_COMMAND_VALUE 40001 12 | #define _APS_NEXT_CONTROL_VALUE 1000 13 | #define _APS_NEXT_SYMED_VALUE 101 14 | #endif 15 | #endif 16 | -------------------------------------------------------------------------------- /src/cryptopp/simple.cpp: -------------------------------------------------------------------------------- 1 | // simple.cpp - written and placed in the public domain by Wei Dai 2 | 3 | #include "pch.h" 4 | 5 | #ifndef CRYPTOPP_IMPORTS 6 | 7 | #include "simple.h" 8 | 9 | NAMESPACE_BEGIN(CryptoPP) 10 | 11 | NAMESPACE_END 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /src/cryptopp/vc60.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/cryptopp/vc60.zip -------------------------------------------------------------------------------- /src/cryptopp/vs2005.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/cryptopp/vs2005.zip -------------------------------------------------------------------------------- /src/cryptopp/whrlpool.h: -------------------------------------------------------------------------------- 1 | #ifndef CRYPTOPP_WHIRLPOOL_H 2 | #define CRYPTOPP_WHIRLPOOL_H 3 | 4 | #include "config.h" 5 | #include "iterhash.h" 6 | 7 | NAMESPACE_BEGIN(CryptoPP) 8 | 9 | //! Whirlpool 10 | class Whirlpool : public IteratedHashWithStaticTransform 11 | { 12 | public: 13 | static void InitState(HashWordType *state); 14 | static void Transform(word64 *digest, const word64 *data); 15 | void TruncatedFinal(byte *hash, size_t size); 16 | CRYPTOPP_STATIC_CONSTEXPR const char* StaticAlgorithmName() {return "Whirlpool";} 17 | }; 18 | 19 | NAMESPACE_END 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /src/eccryptoverify.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2009-2010 Satoshi Nakamoto -*- c++ -*- 2 | // Copyright (c) 2009-2014 The Bitcoin 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_ECCRYPTOVERIFY_H 7 | #define BITCOIN_ECCRYPTOVERIFY_H 8 | 9 | #include 10 | #include 11 | 12 | class uint256; 13 | 14 | namespace eccrypto 15 | { 16 | bool Check(const unsigned char* vch); 17 | bool CheckSignatureElement(const unsigned char* vch, int len, bool half); 18 | 19 | } // eccrypto namespace 20 | 21 | #endif // BITCOIN_ECCRYPTOVERIFY_H 22 | -------------------------------------------------------------------------------- /src/json/autolink.h: -------------------------------------------------------------------------------- 1 | // Copyright 2007-2010 Baptiste Lepilleur 2 | // Distributed under MIT license, or public domain if desired and 3 | // recognized in your jurisdiction. 4 | // See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE 5 | 6 | #ifndef JSON_AUTOLINK_H_INCLUDED 7 | #define JSON_AUTOLINK_H_INCLUDED 8 | 9 | #include "config.h" 10 | 11 | #ifdef JSON_IN_CPPTL 12 | #include 13 | #endif 14 | 15 | #if !defined(JSON_NO_AUTOLINK) && !defined(JSON_DLL_BUILD) && \ 16 | !defined(JSON_IN_CPPTL) 17 | #define CPPTL_AUTOLINK_NAME "json" 18 | #undef CPPTL_AUTOLINK_DLL 19 | #ifdef JSON_DLL 20 | #define CPPTL_AUTOLINK_DLL 21 | #endif 22 | #include "autolink.h" 23 | #endif 24 | 25 | #endif // JSON_AUTOLINK_H_INCLUDED 26 | -------------------------------------------------------------------------------- /src/json/json.h: -------------------------------------------------------------------------------- 1 | // Copyright 2007-2010 Baptiste Lepilleur 2 | // Distributed under MIT license, or public domain if desired and 3 | // recognized in your jurisdiction. 4 | // See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE 5 | 6 | #ifndef JSON_JSON_H_INCLUDED 7 | #define JSON_JSON_H_INCLUDED 8 | 9 | #include "autolink.h" 10 | #include "value.h" 11 | #include "reader.h" 12 | #include "writer.h" 13 | #include "features.h" 14 | 15 | #endif // JSON_JSON_H_INCLUDED 16 | -------------------------------------------------------------------------------- /src/json/json_spirit.h: -------------------------------------------------------------------------------- 1 | #ifndef JSON_SPIRIT 2 | #define JSON_SPIRIT 3 | 4 | // Copyright John W. Wilkinson 2007 - 2009. 5 | // Distributed under the MIT License, see accompanying file LICENSE.txt 6 | 7 | // json spirit version 4.03 8 | 9 | #if defined(_MSC_VER) && (_MSC_VER >= 1020) 10 | # pragma once 11 | #endif 12 | 13 | #include "json_spirit_value.h" 14 | #include "json_spirit_reader.h" 15 | #include "json_spirit_writer.h" 16 | #include "json_spirit_utils.h" 17 | 18 | #endif 19 | -------------------------------------------------------------------------------- /src/json/json_spirit_value.cpp: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2007 John W Wilkinson 2 | 3 | This source code can be used for any purpose as long as 4 | this comment is retained. */ 5 | 6 | // json spirit version 2.00 7 | 8 | #include "json_spirit_value.h" 9 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /src/leveldb/AUTHORS: -------------------------------------------------------------------------------- 1 | # Names should be added to this file like so: 2 | # Name or Organization 3 | 4 | Google Inc. 5 | 6 | # Initial version authors: 7 | Jeffrey Dean 8 | Sanjay Ghemawat 9 | 10 | # Partial list of contributors: 11 | Kevin Regan 12 | Johan Bilien 13 | -------------------------------------------------------------------------------- /src/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/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/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/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 | -------------------------------------------------------------------------------- /src/lux/luxtransaction.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/lux/luxtransaction.cpp -------------------------------------------------------------------------------- /src/noui.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2013 The Bitcoin developers -*- c++ -*- 2 | // Distributed under the MIT/X11 software license, see the accompanying 3 | // file COPYING or http://www.opensource.org/licenses/mit-license.php. 4 | 5 | #ifndef BITCOIN_NOUI_H 6 | #define BITCOIN_NOUI_H 7 | 8 | extern void noui_connect(); 9 | 10 | #endif // BITCOIN_NOUI_H 11 | -------------------------------------------------------------------------------- /src/obj-test/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /src/obj/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /src/obj/crypto/hmac_sha256.P: -------------------------------------------------------------------------------- 1 | obj/crypto/hmac_sha256.o: crypto/hmac_sha256.cpp \ 2 | /home/k155/lux-ex/src/crypto/hmac_sha256.h \ 3 | /home/k155/lux-ex/src/crypto/sha256.h 4 | crypto/hmac_sha256.cpp : 5 | /home/k155/lux-ex/src/crypto/hmac_sha256.h : 6 | /home/k155/lux-ex/src/crypto/sha256.h : 7 | -------------------------------------------------------------------------------- /src/obj/crypto/hmac_sha512.P: -------------------------------------------------------------------------------- 1 | obj/crypto/hmac_sha512.o: crypto/hmac_sha512.cpp \ 2 | /home/k155/lux-ex/src/crypto/hmac_sha512.h \ 3 | /home/k155/lux-ex/src/crypto/sha512.h 4 | crypto/hmac_sha512.cpp : 5 | /home/k155/lux-ex/src/crypto/hmac_sha512.h : 6 | /home/k155/lux-ex/src/crypto/sha512.h : 7 | -------------------------------------------------------------------------------- /src/obj/crypto/rfc6979_hmac_sha256.P: -------------------------------------------------------------------------------- 1 | obj/crypto/rfc6979_hmac_sha256.o: crypto/rfc6979_hmac_sha256.cpp \ 2 | /home/k155/lux-ex/src/crypto/rfc6979_hmac_sha256.h \ 3 | /home/k155/lux-ex/src/crypto/hmac_sha256.h \ 4 | /home/k155/lux-ex/src/crypto/sha256.h 5 | crypto/rfc6979_hmac_sha256.cpp : 6 | /home/k155/lux-ex/src/crypto/rfc6979_hmac_sha256.h : 7 | /home/k155/lux-ex/src/crypto/hmac_sha256.h : 8 | /home/k155/lux-ex/src/crypto/sha256.h : 9 | -------------------------------------------------------------------------------- /src/obj/crypto/ripemd160.P: -------------------------------------------------------------------------------- 1 | obj/crypto/ripemd160.o: crypto/ripemd160.cpp \ 2 | /home/k155/lux-ex/src/crypto/ripemd160.h \ 3 | /home/k155/lux-ex/src/crypto/common.h 4 | crypto/ripemd160.cpp : 5 | /home/k155/lux-ex/src/crypto/ripemd160.h : 6 | /home/k155/lux-ex/src/crypto/common.h : 7 | -------------------------------------------------------------------------------- /src/obj/crypto/sha1.P: -------------------------------------------------------------------------------- 1 | obj/crypto/sha1.o: crypto/sha1.cpp /home/k155/lux-ex/src/crypto/sha1.h \ 2 | /home/k155/lux-ex/src/crypto/common.h 3 | crypto/sha1.cpp /home/k155/lux-ex/src/crypto/sha1.h : 4 | /home/k155/lux-ex/src/crypto/common.h : 5 | -------------------------------------------------------------------------------- /src/obj/crypto/sha256.P: -------------------------------------------------------------------------------- 1 | obj/crypto/sha256.o: crypto/sha256.cpp \ 2 | /home/k155/lux-ex/src/crypto/sha256.h \ 3 | /home/k155/lux-ex/src/crypto/common.h 4 | crypto/sha256.cpp : 5 | /home/k155/lux-ex/src/crypto/sha256.h : 6 | /home/k155/lux-ex/src/crypto/common.h : 7 | -------------------------------------------------------------------------------- /src/obj/crypto/sha512.P: -------------------------------------------------------------------------------- 1 | obj/crypto/sha512.o: crypto/sha512.cpp \ 2 | /home/k155/lux-ex/src/crypto/sha512.h \ 3 | /home/k155/lux-ex/src/crypto/common.h 4 | crypto/sha512.cpp : 5 | /home/k155/lux-ex/src/crypto/sha512.h : 6 | /home/k155/lux-ex/src/crypto/common.h : 7 | -------------------------------------------------------------------------------- /src/qt/addeditluxnode.h: -------------------------------------------------------------------------------- 1 | #ifndef ADDEDITLUXNODE_H 2 | #define ADDEDITLUXNODE_H 3 | 4 | #include 5 | 6 | namespace Ui { 7 | class AddEditLuxNode; 8 | } 9 | 10 | 11 | class AddEditLuxNode : public QDialog 12 | { 13 | Q_OBJECT 14 | 15 | public: 16 | explicit AddEditLuxNode(QWidget *parent = 0); 17 | ~AddEditLuxNode(); 18 | 19 | protected: 20 | 21 | private slots: 22 | void on_okButton_clicked(); 23 | void on_cancelButton_clicked(); 24 | 25 | signals: 26 | 27 | private: 28 | Ui::AddEditLuxNode *ui; 29 | }; 30 | 31 | #endif // ADDEDITLUXNODE_H 32 | -------------------------------------------------------------------------------- /src/qt/coincontroltreewidget.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2011-2013 The Bitcoin developers 2 | // Distributed under the MIT/X11 software license, see the accompanying 3 | // file COPYING or http://www.opensource.org/licenses/mit-license.php. 4 | 5 | #ifndef BITCOIN_QT_COINCONTROLTREEWIDGET_H 6 | #define BITCOIN_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 // BITCOIN_QT_COINCONTROLTREEWIDGET_H 23 | -------------------------------------------------------------------------------- /src/qt/customlist.h: -------------------------------------------------------------------------------- 1 | #ifndef CUSTOMLIST_H 2 | #define CUSTOMLIST_H 3 | 4 | #include 5 | #include 6 | #include 7 | 8 | class CustomList : public QListView { 9 | public: 10 | CustomList(QWidget* parent): QListView(parent) {} 11 | 12 | void wheelEvent(QWheelEvent* event) override { 13 | event->ignore(); 14 | } 15 | 16 | void mouseMoveEvent(QMouseEvent* event) override { 17 | event->ignore(); 18 | } 19 | }; 20 | 21 | #endif //CUSTOMLIST_H 22 | -------------------------------------------------------------------------------- /src/qt/luxnodeconfigdialog.cpp: -------------------------------------------------------------------------------- 1 | #include "luxnodeconfigdialog.h" 2 | #include "ui_luxnodeconfigdialog.h" 3 | 4 | #include 5 | 6 | LuxNodeConfigDialog::LuxNodeConfigDialog(QWidget *parent, QString nodeAddress, QString privkey) : 7 | QDialog(parent), 8 | ui(new Ui::LuxNodeConfigDialog) 9 | { 10 | ui->setupUi(this); 11 | QString desc = "rpcallowip=127.0.0.1
rpcuser=REPLACEME
rpcpassword=REPLACEME
staking=0
server=1
listen=1
port=REPLACEMEWITHYOURPORT
masternode=1
masternodeaddr=" + nodeAddress + "
masternodeprivkey=" + privkey + "
"; 12 | ui->detailText->setHtml(desc); 13 | } 14 | 15 | LuxNodeConfigDialog::~LuxNodeConfigDialog() 16 | { 17 | delete ui; 18 | } 19 | -------------------------------------------------------------------------------- /src/qt/luxnodeconfigdialog.h: -------------------------------------------------------------------------------- 1 | #ifndef LUXNODECONFIGDIALOG_H 2 | #define LUXNODECONFIGDIALOG_H 3 | 4 | #include 5 | 6 | namespace Ui { 7 | class LuxNodeConfigDialog; 8 | } 9 | 10 | QT_BEGIN_NAMESPACE 11 | class QModelIndex; 12 | QT_END_NAMESPACE 13 | 14 | /** Dialog showing transaction details. */ 15 | class LuxNodeConfigDialog : public QDialog 16 | { 17 | Q_OBJECT 18 | 19 | public: 20 | explicit LuxNodeConfigDialog(QWidget *parent = 0, QString nodeAddress = "123.456.789.123:28666", QString privkey="MASTERNODEPRIVKEY"); 21 | ~LuxNodeConfigDialog(); 22 | 23 | private: 24 | Ui::LuxNodeConfigDialog *ui; 25 | }; 26 | 27 | #endif // LUXNODECONFIGDIALOG_H 28 | -------------------------------------------------------------------------------- /src/qt/receivetokenpage.h: -------------------------------------------------------------------------------- 1 | #ifndef RECEIVETOKENPAGE_H 2 | #define RECEIVETOKENPAGE_H 3 | 4 | #include 5 | 6 | namespace Ui { 7 | class ReceiveTokenPage; 8 | } 9 | 10 | class ReceiveTokenPage : public QWidget 11 | { 12 | Q_OBJECT 13 | 14 | public: 15 | explicit ReceiveTokenPage(QWidget *parent = 0); 16 | ~ReceiveTokenPage(); 17 | 18 | 19 | void setAddress(QString address); 20 | 21 | private Q_SLOTS: 22 | 23 | void on_copyAddressClicked(); 24 | 25 | private: 26 | Ui::ReceiveTokenPage *ui; 27 | QString m_address; 28 | 29 | void createQRCode(); 30 | }; 31 | 32 | #endif // RECEIVETOKENPAGE_H 33 | -------------------------------------------------------------------------------- /src/qt/res/icons/add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/add.png -------------------------------------------------------------------------------- /src/qt/res/icons/address-book.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/address-book.png -------------------------------------------------------------------------------- /src/qt/res/icons/bitcoin.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/bitcoin.icns -------------------------------------------------------------------------------- /src/qt/res/icons/bitcoin.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/bitcoin.ico -------------------------------------------------------------------------------- /src/qt/res/icons/bitcoin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/bitcoin.png -------------------------------------------------------------------------------- /src/qt/res/icons/bitcoin_testnet.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/bitcoin_testnet.ico -------------------------------------------------------------------------------- /src/qt/res/icons/bitcoin_testnet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/bitcoin_testnet.png -------------------------------------------------------------------------------- /src/qt/res/icons/browse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/browse.png -------------------------------------------------------------------------------- /src/qt/res/icons/chevron.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/chevron.png -------------------------------------------------------------------------------- /src/qt/res/icons/clock1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/clock1.png -------------------------------------------------------------------------------- /src/qt/res/icons/clock2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/clock2.png -------------------------------------------------------------------------------- /src/qt/res/icons/clock3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/clock3.png -------------------------------------------------------------------------------- /src/qt/res/icons/clock4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/clock4.png -------------------------------------------------------------------------------- /src/qt/res/icons/clock5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/clock5.png -------------------------------------------------------------------------------- /src/qt/res/icons/configure.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/configure.png -------------------------------------------------------------------------------- /src/qt/res/icons/connect0_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/connect0_16.png -------------------------------------------------------------------------------- /src/qt/res/icons/connect1_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/connect1_16.png -------------------------------------------------------------------------------- /src/qt/res/icons/connect2_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/connect2_16.png -------------------------------------------------------------------------------- /src/qt/res/icons/connect3_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/connect3_16.png -------------------------------------------------------------------------------- /src/qt/res/icons/connect4_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/connect4_16.png -------------------------------------------------------------------------------- /src/qt/res/icons/debugwindow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/debugwindow.png -------------------------------------------------------------------------------- /src/qt/res/icons/edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/edit.png -------------------------------------------------------------------------------- /src/qt/res/icons/editcopy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/editcopy.png -------------------------------------------------------------------------------- /src/qt/res/icons/editpaste.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/editpaste.png -------------------------------------------------------------------------------- /src/qt/res/icons/explorer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/explorer.png -------------------------------------------------------------------------------- /src/qt/res/icons/export.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/export.png -------------------------------------------------------------------------------- /src/qt/res/icons/eye.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/eye.png -------------------------------------------------------------------------------- /src/qt/res/icons/eye_minus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/eye_minus.png -------------------------------------------------------------------------------- /src/qt/res/icons/eye_plus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/eye_plus.png -------------------------------------------------------------------------------- /src/qt/res/icons/filesave.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/filesave.png -------------------------------------------------------------------------------- /src/qt/res/icons/fontbigger.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/fontbigger.png -------------------------------------------------------------------------------- /src/qt/res/icons/fontsmaller.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/fontsmaller.png -------------------------------------------------------------------------------- /src/qt/res/icons/history.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/history.png -------------------------------------------------------------------------------- /src/qt/res/icons/import.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/import.png -------------------------------------------------------------------------------- /src/qt/res/icons/key.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/key.png -------------------------------------------------------------------------------- /src/qt/res/icons/lock_closed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/lock_closed.png -------------------------------------------------------------------------------- /src/qt/res/icons/lock_open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/lock_open.png -------------------------------------------------------------------------------- /src/qt/res/icons/lsrtoken.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/lsrtoken.png -------------------------------------------------------------------------------- /src/qt/res/icons/masternodes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/masternodes.png -------------------------------------------------------------------------------- /src/qt/res/icons/notsynced.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/notsynced.png -------------------------------------------------------------------------------- /src/qt/res/icons/overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/overview.png -------------------------------------------------------------------------------- /src/qt/res/icons/privacy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/privacy.png -------------------------------------------------------------------------------- /src/qt/res/icons/qrcode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/qrcode.png -------------------------------------------------------------------------------- /src/qt/res/icons/quit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/quit.png -------------------------------------------------------------------------------- /src/qt/res/icons/receive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/receive.png -------------------------------------------------------------------------------- /src/qt/res/icons/remove.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/remove.png -------------------------------------------------------------------------------- /src/qt/res/icons/send.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/send.png -------------------------------------------------------------------------------- /src/qt/res/icons/smartcontract.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/smartcontract.png -------------------------------------------------------------------------------- /src/qt/res/icons/stake.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/stake.png -------------------------------------------------------------------------------- /src/qt/res/icons/staking_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/staking_active.png -------------------------------------------------------------------------------- /src/qt/res/icons/staking_inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/staking_inactive.png -------------------------------------------------------------------------------- /src/qt/res/icons/synced.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/synced.png -------------------------------------------------------------------------------- /src/qt/res/icons/trade.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/trade.png -------------------------------------------------------------------------------- /src/qt/res/icons/transaction0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/transaction0.png -------------------------------------------------------------------------------- /src/qt/res/icons/transaction2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/transaction2.png -------------------------------------------------------------------------------- /src/qt/res/icons/transaction_conflicted.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/transaction_conflicted.png -------------------------------------------------------------------------------- /src/qt/res/icons/tx_inout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/tx_inout.png -------------------------------------------------------------------------------- /src/qt/res/icons/tx_input.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/tx_input.png -------------------------------------------------------------------------------- /src/qt/res/icons/tx_mined.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/tx_mined.png -------------------------------------------------------------------------------- /src/qt/res/icons/tx_output.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/tx_output.png -------------------------------------------------------------------------------- /src/qt/res/icons/unit_lux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/unit_lux.png -------------------------------------------------------------------------------- /src/qt/res/icons/unit_mlux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/unit_mlux.png -------------------------------------------------------------------------------- /src/qt/res/icons/unit_tlux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/unit_tlux.png -------------------------------------------------------------------------------- /src/qt/res/icons/unit_tmlux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/unit_tmlux.png -------------------------------------------------------------------------------- /src/qt/res/icons/unit_tulux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/unit_tulux.png -------------------------------------------------------------------------------- /src/qt/res/icons/unit_ulux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/icons/unit_ulux.png -------------------------------------------------------------------------------- /src/qt/res/images/about.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/images/about.png -------------------------------------------------------------------------------- /src/qt/res/images/downArrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/images/downArrow.png -------------------------------------------------------------------------------- /src/qt/res/images/downArrow_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/images/downArrow_small.png -------------------------------------------------------------------------------- /src/qt/res/images/leftArrow_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/images/leftArrow_small.png -------------------------------------------------------------------------------- /src/qt/res/images/lux_logo_horizontal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/images/lux_logo_horizontal.png -------------------------------------------------------------------------------- /src/qt/res/images/qtreeview_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/images/qtreeview_selected.png -------------------------------------------------------------------------------- /src/qt/res/images/rightArrow_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/images/rightArrow_small.png -------------------------------------------------------------------------------- /src/qt/res/images/splash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/images/splash.png -------------------------------------------------------------------------------- /src/qt/res/images/splash_testnet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/images/splash_testnet.png -------------------------------------------------------------------------------- /src/qt/res/images/upArrow_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/images/upArrow_small.png -------------------------------------------------------------------------------- /src/qt/res/images/walletFrame.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/images/walletFrame.png -------------------------------------------------------------------------------- /src/qt/res/images/walletFrame_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/images/walletFrame_bg.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-000.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/movies/spinner-000.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/movies/spinner-001.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-002.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/movies/spinner-002.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-003.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/movies/spinner-003.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-004.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/movies/spinner-004.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-005.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/movies/spinner-005.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-006.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/movies/spinner-006.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-007.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/movies/spinner-007.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-008.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/movies/spinner-008.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-009.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/movies/spinner-009.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-010.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/movies/spinner-010.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-011.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/movies/spinner-011.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-012.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/movies/spinner-012.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-013.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/movies/spinner-013.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-014.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/movies/spinner-014.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-015.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/movies/spinner-015.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-016.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/movies/spinner-016.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-017.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/movies/spinner-017.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-018.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/movies/spinner-018.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-019.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/movies/spinner-019.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-020.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/movies/spinner-020.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-021.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/movies/spinner-021.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-022.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/movies/spinner-022.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-023.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/movies/spinner-023.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/movies/spinner-024.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-025.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/movies/spinner-025.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-026.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/movies/spinner-026.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-027.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/movies/spinner-027.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-028.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/movies/spinner-028.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-029.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/movies/spinner-029.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-030.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/movies/spinner-030.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-031.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/movies/spinner-031.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-032.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/movies/spinner-032.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-033.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/movies/spinner-033.png -------------------------------------------------------------------------------- /src/qt/res/movies/spinner-034.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/res/movies/spinner-034.png -------------------------------------------------------------------------------- /src/qt/stakingdialog.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/qt/stakingdialog.cpp -------------------------------------------------------------------------------- /src/qt/test/uritests.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2009-2014 The Bitcoin developers 2 | // Distributed under the MIT software license, see the accompanying 3 | // file COPYING or http://www.opensource.org/licenses/mit-license.php. 4 | 5 | #ifndef BITCOIN_QT_TEST_URITESTS_H 6 | #define BITCOIN_QT_TEST_URITESTS_H 7 | 8 | #include 9 | #include 10 | 11 | class URITests : public QObject 12 | { 13 | Q_OBJECT 14 | 15 | private slots: 16 | void uriTests(); 17 | }; 18 | 19 | #endif // BITCOIN_QT_TEST_URITESTS_H 20 | -------------------------------------------------------------------------------- /src/qt/tokendescdialog.cpp: -------------------------------------------------------------------------------- 1 | #include "tokendescdialog.h" 2 | #include "ui_tokendescdialog.h" 3 | 4 | #include "tokenfilterproxy.h" 5 | 6 | #include 7 | 8 | TokenDescDialog::TokenDescDialog(const QModelIndex &idx, QWidget *parent) : 9 | QDialog(parent), 10 | ui(new Ui::TokenDescDialog) 11 | { 12 | ui->setupUi(this); 13 | setWindowTitle(tr("Details for %1").arg(idx.data(TokenTransactionTableModel::TxHashRole).toString())); 14 | QString desc = idx.data(TokenTransactionTableModel::LongDescriptionRole).toString(); 15 | ui->detailText->setHtml(desc); 16 | } 17 | 18 | TokenDescDialog::~TokenDescDialog() 19 | { 20 | delete ui; 21 | } 22 | -------------------------------------------------------------------------------- /src/qt/tokendescdialog.h: -------------------------------------------------------------------------------- 1 | #ifndef TOKENDESCDIALOG_H 2 | #define TOKENDESCDIALOG_H 3 | 4 | #include 5 | 6 | namespace Ui { 7 | class TokenDescDialog; 8 | } 9 | 10 | QT_BEGIN_NAMESPACE 11 | class QModelIndex; 12 | QT_END_NAMESPACE 13 | 14 | /** Dialog showing token details. */ 15 | class TokenDescDialog : public QDialog 16 | { 17 | Q_OBJECT 18 | 19 | public: 20 | explicit TokenDescDialog(const QModelIndex &idx, QWidget *parent = 0); 21 | ~TokenDescDialog(); 22 | 23 | private: 24 | Ui::TokenDescDialog *ui; 25 | }; 26 | 27 | #endif // TOKENDESCDIALOG_H 28 | -------------------------------------------------------------------------------- /src/qt/tokentransactiondesc.h: -------------------------------------------------------------------------------- 1 | #ifndef BITCOIN_QT_TOKENTRANSACTIONDESC_H 2 | #define BITCOIN_QT_TOKENTRANSACTIONDESC_H 3 | 4 | #include 5 | #include 6 | 7 | class TokenTransactionRecord; 8 | 9 | class CWallet; 10 | class CTokenTx; 11 | 12 | /** Provide a human-readable extended HTML description of a token transaction. 13 | */ 14 | class TokenTransactionDesc: public QObject 15 | { 16 | Q_OBJECT 17 | 18 | public: 19 | static QString toHTML(CWallet *wallet, CTokenTx &wtx, TokenTransactionRecord *rec); 20 | 21 | private: 22 | TokenTransactionDesc() {} 23 | 24 | static QString FormatTxStatus(CWallet *wallet, const CTokenTx& wtx); 25 | }; 26 | 27 | #endif // BITCOIN_QT_TOKENTRANSACTIONDESC_H 28 | -------------------------------------------------------------------------------- /src/rbf.h: -------------------------------------------------------------------------------- 1 | #ifndef BITCOIN_POLICY_RBF_H 2 | #define BITCOIN_POLICY_RBF_H 3 | 4 | #include "txmempool.h" 5 | 6 | // Check whether the sequence numbers on this transaction are signaling 7 | // opt-in to replace-by-fee, according to BIP 125 8 | bool SignalsOptInRBF(const CTransaction &tx); 9 | 10 | // Determine whether an in-mempool transaction is signaling opt-in to RBF 11 | // according to BIP 125 12 | // This involves checking sequence numbers of the transaction, as well 13 | // as the sequence numbers of all in-mempool ancestors. 14 | bool IsRBFOptIn(const CTxMemPoolEntry &entry, CTxMemPool &pool); 15 | 16 | #endif // BITCOIN_POLICY_RBF_H 17 | 18 | -------------------------------------------------------------------------------- /src/reverselock.h: -------------------------------------------------------------------------------- 1 | #ifndef BITCOIN_REVERSELOCK_H 2 | #define BITCOIN_REVERSELOCK_H 3 | 4 | template 5 | class reverse_lock 6 | { 7 | public: 8 | 9 | explicit reverse_lock(Lock& _lock) : lock(_lock) { 10 | _lock.unlock(); 11 | _lock.swap(templock); 12 | } 13 | 14 | ~reverse_lock() { 15 | templock.lock(); 16 | templock.swap(lock); 17 | } 18 | 19 | private: 20 | reverse_lock(reverse_lock const&); 21 | reverse_lock& operator=(reverse_lock const&); 22 | 23 | Lock& lock; 24 | Lock templock; 25 | }; 26 | 27 | #endif // BITCOIN_REVERSELOCK_H 28 | -------------------------------------------------------------------------------- /src/rpcutil.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 BITCOIN_RPC_UTIL_H 6 | #define BITCOIN_RPC_UTIL_H 7 | 8 | #include 9 | #include 10 | 11 | class CKeyStore; 12 | class CPubKey; 13 | class CScript; 14 | 15 | CPubKey HexToPubKey(const std::string& hex_in); 16 | CPubKey AddrToPubKey(CKeyStore* const keystore, const std::string& addr_in); 17 | CScript CreateMultisigRedeemscript(const int required, const std::vector& pubkeys); 18 | 19 | #endif // BITCOIN_RPC_UTIL_H 20 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /src/secp256k1/autogen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | autoreconf -if --warnings=all 4 | -------------------------------------------------------------------------------- /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/secp256k1/obj/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/secp256k1/obj/.gitignore -------------------------------------------------------------------------------- /src/secp256k1/src/ecmult_const.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_ECMULT_CONST_ 8 | #define _SECP256K1_ECMULT_CONST_ 9 | 10 | #include "scalar.h" 11 | #include "group.h" 12 | 13 | static void secp256k1_ecmult_const(secp256k1_gej *r, const secp256k1_ge *a, const secp256k1_scalar *q); 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /src/secp256k1/src/field_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_FIELD_REPR_ 8 | #define _SECP256K1_FIELD_REPR_ 9 | 10 | #include 11 | 12 | #define FIELD_LIMBS ((256 + GMP_NUMB_BITS - 1) / GMP_NUMB_BITS) 13 | 14 | typedef struct { 15 | mp_limb_t n[FIELD_LIMBS+1]; 16 | } secp256k1_fe_t; 17 | 18 | #endif 19 | -------------------------------------------------------------------------------- /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/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/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/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_ 8 | #define _SECP256K1_NUM_REPR_ 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 21 | -------------------------------------------------------------------------------- /src/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_ 8 | #define _SECP256K1_SCALAR_REPR_ 9 | 10 | #include 11 | 12 | /** A scalar modulo the group order of the secp256k1 curve. */ 13 | typedef uint32_t secp256k1_scalar; 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /src/test/bitcoin-util-test.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | # Copyright 2014 BitPay, Inc. 3 | # Distributed under the MIT/X11 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 | -------------------------------------------------------------------------------- /src/test/buildenv.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | exeext="" 3 | -------------------------------------------------------------------------------- /src/test/buildenv.py.in: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | exeext="@EXEEXT@" 3 | -------------------------------------------------------------------------------- /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/test/data/alertTests.raw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/src/test/data/alertTests.raw -------------------------------------------------------------------------------- /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/test/data/blanktx.hex: -------------------------------------------------------------------------------- 1 | 01000000000000000000 2 | -------------------------------------------------------------------------------- /src/test/data/sig_canonical.json: -------------------------------------------------------------------------------- 1 | [ 2 | "300602010002010001", 3 | "3008020200ff020200ff01", 4 | "304402203932c892e2e550f3af8ee4ce9c215a87f9bb831dcac87b2838e2c2eaa891df0c022030b61dd36543125d56b9f9f3a1f9353189e5af33cdda8d77a5209aec03978fa001", 5 | "30450220076045be6f9eca28ff1ec606b833d0b87e70b2a630f5e3a496b110967a40f90a0221008fffd599910eefe00bc803c688c2eca1d2ba7f6b180620eaa03488e6585db6ba01", 6 | "3046022100876045be6f9eca28ff1ec606b833d0b87e70b2a630f5e3a496b110967a40f90a0221008fffd599910eefe00bc803c688c2eca1d2ba7f6b180620eaa03488e6585db6ba01" 7 | ] 8 | -------------------------------------------------------------------------------- /src/test/data/txcreate1.hex: -------------------------------------------------------------------------------- 1 | 01000000031f5c38dfcf6f1a5f5a87c416076d392c87e6d41970d5ad5e477a02d66bde97580000000000ffffffff7cca453133921c50d5025878f7f738d1df891fd359763331935784cf6b9c82bf1200000000fffffffffccd319e04a996c96cfc0bf4c07539aa90bd0b1a700ef72fae535d6504f9a6220100000000ffffffff0280a81201000000001976a9141fc11f39be1729bf973a7ab6a615ca4729d6457488ac0084d717000000001976a914f2d4db28cad6502226ee484ae24505c2885cb12d88ac00000000 2 | -------------------------------------------------------------------------------- /src/test/data/txcreate2.hex: -------------------------------------------------------------------------------- 1 | 01000000000100000000000000000000000000 2 | -------------------------------------------------------------------------------- /src/test/data/txcreatesign.hex: -------------------------------------------------------------------------------- 1 | 01000000018594c5bdcaec8f06b78b596f31cd292a294fd031e24eec716f43dac91ea7494d0000000000ffffffff01a0860100000000001976a9145834479edbbe0539b31ffd3a8f8ebadc2165ed0188ac00000000 2 | -------------------------------------------------------------------------------- /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 | 8 | #include 9 | BOOST_AUTO_TEST_SUITE(sanity_tests) 10 | 11 | BOOST_AUTO_TEST_CASE(basic_sanity) 12 | { 13 | BOOST_CHECK_MESSAGE(glibc_sanity_test() == true, "libc sanity test"); 14 | BOOST_CHECK_MESSAGE(glibcxx_sanity_test() == true, "stdlib sanity test"); 15 | BOOST_CHECK_MESSAGE(ECC_InitSanityCheck() == true, "openssl ECC test"); 16 | } 17 | 18 | BOOST_AUTO_TEST_SUITE_END() 19 | -------------------------------------------------------------------------------- /src/utilmoneystr.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2009-2010 Satoshi Nakamoto -*- c++ -*- 2 | // Copyright (c) 2009-2014 The Bitcoin 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, bool fPlus = false); 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/utiltime.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2009-2010 Satoshi Nakamoto -*- c++ -*- 2 | // Copyright (c) 2009-2014 The Bitcoin 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_UTILTIME_H 7 | #define BITCOIN_UTILTIME_H 8 | 9 | #include 10 | #include 11 | 12 | int64_t GetTime(); 13 | int64_t GetTimeMillis(); 14 | int64_t GetTimeMicros(); 15 | int64_t GetSystemTimeInSeconds(); 16 | void SetMockTime(int64_t nMockTimeIn); 17 | void MilliSleep(int64_t n); 18 | 19 | std::string DateTimeStrFormat(const char* pszFormat, int64_t nTime); 20 | std::string DurationToDHMS(int64_t nDurationTime); 21 | 22 | #endif // BITCOIN_UTILTIME_H 23 | -------------------------------------------------------------------------------- /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 | assert(!psocket); 11 | } 12 | 13 | bool CZMQAbstractNotifier::NotifyBlock(const CBlockIndex * /*CBlockIndex*/) { 14 | return true; 15 | } 16 | 17 | bool CZMQAbstractNotifier::NotifyTransaction(const CTransaction &/*transaction*/) { 18 | return true; 19 | } 20 | 21 | bool CZMQAbstractNotifier::NotifyTransactionLock(const CTransaction &/*transaction*/) { 22 | return true; 23 | } -------------------------------------------------------------------------------- /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/lux-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 | -------------------------------------------------------------------------------- /test/functional/test_framework/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/216k155/lux/d45df2ba1d3fda5cf7e17a76243d58f5ddcfce70/test/functional/test_framework/__init__.py -------------------------------------------------------------------------------- /test/functional/test_framework/luxconfig.py: -------------------------------------------------------------------------------- 1 | COINBASE_MATURITY = 500 2 | INITIAL_BLOCK_REWARD = 20000 3 | INITIAL_HASH_UTXO_ROOT = 0x21b463e3b52f6201c0ad6c991be0485b6ef8c092e64583ffa655cc1b171fe856 4 | INITIAL_HASH_STATE_ROOT = 0x9514771014c9ae803d8cea2731b2063e83de44802b40dce2d06acd02d0ff65e9 5 | MAX_BLOCK_BASE_SIZE = 2000000 6 | LUX_MIN_GAS_PRICE = 40 7 | LUX_MIN_GAS_PRICE_STR = "0.00000040" 8 | NUM_DEFAULT_DGP_CONTRACTS = 5 9 | MPOS_PARTICIPANTS = 10 10 | LAST_POW_BLOCK = 5000 11 | BLOCKS_BEFORE_PROPOSAL_EXPIRATION = 216 12 | --------------------------------------------------------------------------------