From 516a7bafecf84cac8a10b752700beb478c582925 Mon Sep 17 00:00:00 2001 From: Akshay Date: Sun, 9 Jun 2019 12:22:49 +0300 Subject: [PATCH] Bitcoin to NYC3 and update gitian compile code --- .github/ISSUE_TEMPLATE.md | 6 +- .github/PULL_REQUEST_TEMPLATE.md | 6 +- .travis/lint_04_install.sh | 2 +- .travis/lint_05_before_script.sh | 2 +- .travis/lint_06_script.sh | 2 +- .travis/test_03_before_install.sh | 2 +- .travis/test_04_install.sh | 2 +- .travis/test_05_before_script.sh | 2 +- .travis/test_06_script_a.sh | 2 +- .travis/test_06_script_b.sh | 2 +- CONTRIBUTING.md | 6 +- COPYING | 4 +- INSTALL.md | 4 +- Makefile.am | 2 +- autogen.sh | 2 +- build-aux/m4/bitcoin_find_bdb48.m4 | 2 +- build-aux/m4/bitcoin_qt.m4 | 2 +- build-aux/m4/bitcoin_subdir_to_include.m4 | 2 +- build_msvc/README.md | 2 +- build_msvc/bitcoin_config.h | 2 +- contrib/README.md | 4 +- contrib/bitcoin-cli.bash-completion | 2 +- contrib/bitcoin-tx.bash-completion | 2 +- contrib/bitcoind.bash-completion | 2 +- contrib/debian/copyright | 2 +- contrib/devtools/README.md | 14 +- contrib/devtools/copyright_header.py | 28 +-- contrib/devtools/optimize-pngs.py | 2 +- contrib/devtools/security-check.py | 2 +- contrib/devtools/test-security-check.py | 2 +- contrib/devtools/update-translations.py | 2 +- contrib/gitian-descriptors/gitian-linux.yml | 5 +- contrib/gitian-descriptors/gitian-osx.yml | 6 +- contrib/gitian-descriptors/gitian-win.yml | 5 +- contrib/init/bitcoind.conf | 2 +- contrib/init/bitcoind.openrc | 4 +- contrib/init/bitcoind.service | 2 +- contrib/linearize/README.md | 2 +- contrib/linearize/linearize-data.py | 2 +- contrib/linearize/linearize-hashes.py | 6 +- contrib/macdeploy/background.svg | 2 +- contrib/macdeploy/custom_dsstore.py | 4 +- contrib/macdeploy/detached-sig-apply.sh | 2 +- contrib/macdeploy/detached-sig-create.sh | 4 +- contrib/macdeploy/extract-osx-sdk.sh | 2 +- contrib/qos/tc.sh | 2 +- contrib/seeds/makeseeds.py | 2 +- contrib/testgen/README.md | 2 +- contrib/testgen/base58.py | 6 +- contrib/testgen/gen_key_io_test_vectors.py | 2 +- contrib/valgrind.supp | 2 +- contrib/verify-commits/gpg.sh | 2 +- contrib/verify-commits/pre-push-hook.sh | 2 +- contrib/verify-commits/verify-commits.py | 2 +- contrib/verifybinaries/verify.sh | 2 +- contrib/windeploy/detached-sig-create.sh | 2 +- contrib/zmq/zmq_sub.py | 4 +- contrib/zmq/zmq_sub3.4.py | 4 +- depends/README.md | 4 +- depends/description.md | 2 +- doc/Doxyfile.in | 4 +- doc/README.md | 12 +- doc/README_windows.txt | 6 +- doc/bips.md | 4 +- doc/bitcoin-conf.md | 2 +- doc/build-osx.md | 8 +- doc/descriptors.md | 2 +- doc/developer-notes.md | 6 +- doc/dnsseed-policy.md | 10 +- doc/init.md | 6 +- doc/man/bitcoin-cli.1 | 2 +- doc/man/bitcoin-qt.1 | 2 +- doc/man/bitcoin-tx.1 | 2 +- doc/man/bitcoin-wallet.1 | 2 +- doc/man/bitcoind.1 | 2 +- doc/psbt.md | 8 +- doc/release-notes.md | 2 +- doc/release-notes/release-notes-0.10.0.md | 16 +- doc/release-notes/release-notes-0.10.1.md | 2 +- doc/release-notes/release-notes-0.10.2.md | 2 +- doc/release-notes/release-notes-0.10.3.md | 8 +- doc/release-notes/release-notes-0.10.4.md | 2 +- doc/release-notes/release-notes-0.11.0.md | 8 +- doc/release-notes/release-notes-0.11.1.md | 8 +- doc/release-notes/release-notes-0.11.2.md | 4 +- doc/release-notes/release-notes-0.12.0.md | 10 +- doc/release-notes/release-notes-0.12.1.md | 6 +- doc/release-notes/release-notes-0.13.0.md | 6 +- doc/release-notes/release-notes-0.13.1.md | 18 +- doc/release-notes/release-notes-0.14.2.md | 2 +- doc/release-notes/release-notes-0.14.3.md | 2 +- doc/release-notes/release-notes-0.15.0.1.md | 2 +- doc/release-notes/release-notes-0.15.0.md | 12 +- doc/release-notes/release-notes-0.15.1.md | 2 +- doc/release-notes/release-notes-0.15.2.md | 2 +- doc/release-notes/release-notes-0.16.0.md | 2 +- doc/release-notes/release-notes-0.16.1.md | 2 +- doc/release-notes/release-notes-0.16.2.md | 2 +- doc/release-notes/release-notes-0.16.3.md | 2 +- doc/release-notes/release-notes-0.17.0.md | 22 +- doc/release-notes/release-notes-0.17.1.md | 2 +- doc/release-notes/release-notes-0.3.12.md | 2 +- doc/release-notes/release-notes-0.3.13.md | 2 +- doc/release-notes/release-notes-0.3.14.md | 2 +- doc/release-notes/release-notes-0.3.15.md | 2 +- doc/release-notes/release-notes-0.3.20.2.md | 6 +- doc/release-notes/release-notes-0.3.21.md | 4 +- doc/release-notes/release-notes-0.3.22.md | 2 +- doc/release-notes/release-notes-0.3.23.md | 2 +- doc/release-notes/release-notes-0.3.24.md | 6 +- doc/release-notes/release-notes-0.4.0.md | 28 +-- doc/release-notes/release-notes-0.4.1.md | 16 +- doc/release-notes/release-notes-0.4.3.md | 4 +- doc/release-notes/release-notes-0.4.4.md | 4 +- doc/release-notes/release-notes-0.4.6.md | 20 +- doc/release-notes/release-notes-0.5.0.md | 16 +- doc/release-notes/release-notes-0.5.1.md | 4 +- doc/release-notes/release-notes-0.5.2.md | 6 +- doc/release-notes/release-notes-0.5.3.md | 16 +- doc/release-notes/release-notes-0.5.4.md | 10 +- doc/release-notes/release-notes-0.5.5.md | 22 +- doc/release-notes/release-notes-0.6.0.md | 18 +- doc/release-notes/release-notes-0.6.2.md | 4 +- doc/release-notes/release-notes-0.6.3.md | 8 +- doc/release-notes/release-notes-0.7.0.md | 10 +- doc/release-notes/release-notes-0.7.1.md | 8 +- doc/release-notes/release-notes-0.7.2.md | 8 +- doc/release-notes/release-notes-0.8.0.md | 8 +- doc/release-notes/release-notes-0.8.1.md | 6 +- doc/release-notes/release-notes-0.8.2.md | 12 +- doc/release-notes/release-notes-0.8.3.md | 4 +- doc/release-notes/release-notes-0.8.4.md | 10 +- doc/release-notes/release-notes-0.8.5.md | 6 +- doc/release-notes/release-notes-0.8.6.md | 8 +- doc/release-notes/release-notes-0.9.0.md | 12 +- doc/release-notes/release-notes-0.9.1.md | 2 +- doc/release-notes/release-notes-0.9.2.1.md | 2 +- doc/release-notes/release-notes-0.9.2.md | 2 +- doc/release-notes/release-notes-0.9.3.md | 2 +- doc/release-notes/release-notes-0.9.4.md | 4 +- doc/release-notes/release-notes-0.9.5.md | 4 +- doc/release-process.md | 8 +- doc/shared-libraries.md | 4 +- doc/translation_process.md | 12 +- doc/translation_strings_policy.md | 6 +- doc/zmq.md | 2 +- libbitcoinconsensus.pc.in | 2 +- share/examples/bitcoin.conf | 10 +- share/genbuild.sh | 2 +- share/qt/Info.plist.in | 2 +- share/qt/extract_strings_qt.py | 2 +- share/rpcauth/rpcauth.py | 2 +- share/setup.nsi.in | 8 +- src/Makefile.am | 2 +- src/Makefile.bench.include | 2 +- src/Makefile.leveldb.include | 2 +- src/Makefile.qt.include | 2 +- src/Makefile.qttest.include | 2 +- src/Makefile.test.include | 2 +- src/addrdb.cpp | 2 +- src/addrdb.h | 2 +- src/addrman.cpp | 2 +- src/addrman.h | 2 +- src/amount.h | 4 +- src/arith_uint256.cpp | 2 +- src/arith_uint256.h | 4 +- src/attributes.h | 2 +- src/banman.cpp | 2 +- src/banman.h | 2 +- src/base58.cpp | 2 +- src/base58.h | 2 +- src/bench/base58.cpp | 2 +- src/bench/bech32.cpp | 2 +- src/bench/bench.cpp | 2 +- src/bench/bench.h | 2 +- src/bench/bench_bitcoin.cpp | 2 +- src/bench/block_assemble.cpp | 2 +- src/bench/ccoins_caching.cpp | 2 +- src/bench/checkblock.cpp | 2 +- src/bench/checkqueue.cpp | 2 +- src/bench/coin_selection.cpp | 2 +- src/bench/crypto_hash.cpp | 2 +- src/bench/duplicate_inputs.cpp | 2 +- src/bench/examples.cpp | 2 +- src/bench/gcs_filter.cpp | 2 +- src/bench/lockedpool.cpp | 2 +- src/bench/mempool_eviction.cpp | 2 +- src/bench/merkle_root.cpp | 2 +- src/bench/prevector.cpp | 2 +- src/bench/rollingbloom.cpp | 2 +- src/bench/verify_script.cpp | 2 +- src/blockencodings.cpp | 2 +- src/blockencodings.h | 2 +- src/blockfilter.cpp | 2 +- src/blockfilter.h | 2 +- src/bloom.cpp | 2 +- src/bloom.h | 2 +- src/chain.cpp | 2 +- src/chain.h | 2 +- src/chainparams.cpp | 2 +- src/chainparams.h | 4 +- src/chainparamsbase.cpp | 2 +- src/chainparamsbase.h | 4 +- src/checkpoints.cpp | 2 +- src/checkpoints.h | 2 +- src/checkqueue.h | 2 +- src/clientversion.cpp | 2 +- src/clientversion.h | 2 +- src/coins.cpp | 2 +- src/coins.h | 2 +- src/compat.h | 2 +- src/compat/assumptions.h | 4 +- src/compat/byteswap.h | 2 +- src/compat/endian.h | 2 +- src/compat/glibc_compat.cpp | 2 +- src/compat/glibc_sanity.cpp | 2 +- src/compat/glibcxx_sanity.cpp | 2 +- src/compat/sanity.h | 2 +- src/compat/strnlen.cpp | 2 +- src/compressor.cpp | 2 +- src/compressor.h | 2 +- src/consensus/consensus.h | 2 +- src/consensus/merkle.cpp | 2 +- src/consensus/merkle.h | 2 +- src/consensus/params.h | 2 +- src/consensus/tx_verify.cpp | 2 +- src/consensus/tx_verify.h | 2 +- src/consensus/validation.h | 2 +- src/core_io.h | 2 +- src/core_memusage.h | 2 +- src/core_read.cpp | 2 +- src/core_write.cpp | 2 +- src/crypto/aes.cpp | 2 +- src/crypto/aes.h | 2 +- src/crypto/chacha20.cpp | 2 +- src/crypto/chacha20.h | 2 +- src/crypto/common.h | 2 +- src/crypto/hmac_sha256.cpp | 2 +- src/crypto/hmac_sha256.h | 2 +- src/crypto/hmac_sha512.cpp | 2 +- src/crypto/hmac_sha512.h | 2 +- src/crypto/ripemd160.cpp | 2 +- src/crypto/ripemd160.h | 2 +- src/crypto/sha1.cpp | 2 +- src/crypto/sha1.h | 2 +- src/crypto/sha256.cpp | 2 +- src/crypto/sha256.h | 2 +- src/crypto/sha256_shani.cpp | 2 +- src/crypto/sha256_sse4.cpp | 2 +- src/crypto/sha512.cpp | 2 +- src/crypto/sha512.h | 2 +- src/crypto/siphash.cpp | 2 +- src/crypto/siphash.h | 2 +- src/dbwrapper.cpp | 6 +- src/dbwrapper.h | 2 +- src/dummywallet.cpp | 2 +- src/fs.h | 2 +- src/hash.cpp | 2 +- src/hash.h | 6 +- src/httprpc.cpp | 2 +- src/httprpc.h | 2 +- src/httpserver.cpp | 2 +- src/httpserver.h | 2 +- src/index/base.cpp | 2 +- src/index/base.h | 2 +- src/index/txindex.cpp | 2 +- src/index/txindex.h | 2 +- src/indirectmap.h | 2 +- src/init.cpp | 6 +- src/init.h | 4 +- src/interfaces/chain.cpp | 2 +- src/interfaces/chain.h | 2 +- src/interfaces/handler.cpp | 2 +- src/interfaces/handler.h | 2 +- src/interfaces/node.cpp | 2 +- src/interfaces/node.h | 2 +- src/interfaces/wallet.cpp | 2 +- src/interfaces/wallet.h | 2 +- src/key.cpp | 4 +- src/key.h | 2 +- src/key_io.cpp | 4 +- src/key_io.h | 2 +- src/keystore.cpp | 2 +- src/keystore.h | 2 +- src/limitedmap.h | 2 +- src/logging.cpp | 2 +- src/logging.h | 2 +- src/memusage.h | 2 +- src/merkleblock.cpp | 2 +- src/merkleblock.h | 2 +- src/miner.cpp | 2 +- src/miner.h | 2 +- src/net.cpp | 2 +- src/net.h | 2 +- src/net_processing.cpp | 2 +- src/net_processing.h | 2 +- src/netaddress.cpp | 2 +- src/netaddress.h | 2 +- src/netbase.cpp | 2 +- src/netbase.h | 2 +- src/netmessagemaker.h | 2 +- src/node/transaction.cpp | 2 +- src/node/transaction.h | 2 +- src/noui.cpp | 2 +- src/noui.h | 2 +- src/nyc3-tx.cpp | 6 +- src/optional.h | 2 +- src/outputtype.cpp | 2 +- src/outputtype.h | 2 +- src/policy/feerate.cpp | 2 +- src/policy/feerate.h | 2 +- src/policy/fees.cpp | 2 +- src/policy/fees.h | 2 +- src/policy/policy.cpp | 2 +- src/policy/policy.h | 2 +- src/policy/rbf.cpp | 2 +- src/policy/rbf.h | 2 +- src/pow.cpp | 2 +- src/pow.h | 2 +- src/prevector.h | 2 +- src/primitives/block.cpp | 2 +- src/primitives/block.h | 2 +- src/primitives/transaction.cpp | 2 +- src/primitives/transaction.h | 2 +- src/protocol.cpp | 2 +- src/protocol.h | 6 +- src/psbt.cpp | 2 +- src/psbt.h | 4 +- src/pubkey.cpp | 6 +- src/pubkey.h | 2 +- src/qt/README.md | 6 +- src/qt/addressbookpage.cpp | 6 +- src/qt/addressbookpage.h | 2 +- src/qt/addresstablemodel.cpp | 4 +- src/qt/addresstablemodel.h | 2 +- src/qt/askpassphrasedialog.cpp | 2 +- src/qt/askpassphrasedialog.h | 2 +- src/qt/bantablemodel.cpp | 2 +- src/qt/bantablemodel.h | 2 +- src/qt/clientmodel.cpp | 2 +- src/qt/clientmodel.h | 4 +- src/qt/coincontroldialog.cpp | 18 +- src/qt/coincontroldialog.h | 2 +- src/qt/coincontroltreewidget.cpp | 2 +- src/qt/coincontroltreewidget.h | 2 +- src/qt/csvmodelwriter.cpp | 2 +- src/qt/csvmodelwriter.h | 2 +- src/qt/editaddressdialog.cpp | 2 +- src/qt/editaddressdialog.h | 2 +- src/qt/forms/optionsdialog.ui | 2 +- src/qt/guiconstants.h | 2 +- src/qt/guiutil.cpp | 32 +-- src/qt/guiutil.h | 8 +- src/qt/locale/nyc3_af.ts | 8 +- src/qt/locale/nyc3_af_ZA.ts | 2 +- src/qt/locale/nyc3_am.ts | 2 +- src/qt/locale/nyc3_ar.ts | 2 +- src/qt/locale/nyc3_be_BY.ts | 2 +- src/qt/locale/nyc3_bg.ts | 2 +- src/qt/locale/nyc3_bg_BG.ts | 2 +- src/qt/locale/nyc3_ca.ts | 2 +- src/qt/locale/nyc3_ca@valencia.ts | 2 +- src/qt/locale/nyc3_ca_ES.ts | 2 +- src/qt/locale/nyc3_cs.ts | 10 +- src/qt/locale/nyc3_cy.ts | 2 +- src/qt/locale/nyc3_da.ts | 2 +- src/qt/locale/nyc3_de.ts | 28 +-- src/qt/locale/nyc3_el.ts | 2 +- src/qt/locale/nyc3_el_GR.ts | 2 +- src/qt/locale/nyc3_en.ts | 2 +- src/qt/locale/nyc3_en_GB.ts | 4 +- src/qt/locale/nyc3_eo.ts | 2 +- src/qt/locale/nyc3_es.ts | 2 +- src/qt/locale/nyc3_es_AR.ts | 2 +- src/qt/locale/nyc3_es_CL.ts | 2 +- src/qt/locale/nyc3_es_CO.ts | 2 +- src/qt/locale/nyc3_es_DO.ts | 2 +- src/qt/locale/nyc3_es_ES.ts | 2 +- src/qt/locale/nyc3_es_MX.ts | 2 +- src/qt/locale/nyc3_es_UY.ts | 2 +- src/qt/locale/nyc3_es_VE.ts | 2 +- src/qt/locale/nyc3_et.ts | 18 +- src/qt/locale/nyc3_et_EE.ts | 2 +- src/qt/locale/nyc3_eu_ES.ts | 2 +- src/qt/locale/nyc3_fa.ts | 2 +- src/qt/locale/nyc3_fa_IR.ts | 2 +- src/qt/locale/nyc3_fi.ts | 10 +- src/qt/locale/nyc3_fr.ts | 2 +- src/qt/locale/nyc3_fr_CA.ts | 2 +- src/qt/locale/nyc3_fr_FR.ts | 2 +- src/qt/locale/nyc3_gl.ts | 2 +- src/qt/locale/nyc3_he.ts | 2 +- src/qt/locale/nyc3_hi_IN.ts | 2 +- src/qt/locale/nyc3_hr.ts | 6 +- src/qt/locale/nyc3_hu.ts | 2 +- src/qt/locale/nyc3_id.ts | 2 +- src/qt/locale/nyc3_id_ID.ts | 2 +- src/qt/locale/nyc3_is.ts | 2 +- src/qt/locale/nyc3_it.ts | 2 +- src/qt/locale/nyc3_it_IT.ts | 2 +- src/qt/locale/nyc3_ja.ts | 2 +- src/qt/locale/nyc3_ka.ts | 2 +- src/qt/locale/nyc3_kk_KZ.ts | 2 +- src/qt/locale/nyc3_ko.ts | 2 +- src/qt/locale/nyc3_ko_KR.ts | 2 +- src/qt/locale/nyc3_ku_IQ.ts | 2 +- src/qt/locale/nyc3_ky.ts | 2 +- src/qt/locale/nyc3_la.ts | 2 +- src/qt/locale/nyc3_lt.ts | 2 +- src/qt/locale/nyc3_lv_LV.ts | 2 +- src/qt/locale/nyc3_mk_MK.ts | 2 +- src/qt/locale/nyc3_ml.ts | 2 +- src/qt/locale/nyc3_mn.ts | 2 +- src/qt/locale/nyc3_ms_MY.ts | 2 +- src/qt/locale/nyc3_nb.ts | 4 +- src/qt/locale/nyc3_ne.ts | 2 +- src/qt/locale/nyc3_nl.ts | 42 ++-- src/qt/locale/nyc3_pam.ts | 2 +- src/qt/locale/nyc3_pl.ts | 2 +- src/qt/locale/nyc3_pt_BR.ts | 2 +- src/qt/locale/nyc3_pt_PT.ts | 2 +- src/qt/locale/nyc3_ro.ts | 2 +- src/qt/locale/nyc3_ro_RO.ts | 2 +- src/qt/locale/nyc3_ru.ts | 2 +- src/qt/locale/nyc3_ru_RU.ts | 2 +- src/qt/locale/nyc3_sk.ts | 8 +- src/qt/locale/nyc3_sl_SI.ts | 2 +- src/qt/locale/nyc3_sn.ts | 2 +- src/qt/locale/nyc3_sq.ts | 2 +- src/qt/locale/nyc3_sr.ts | 2 +- src/qt/locale/nyc3_sr@latin.ts | 2 +- src/qt/locale/nyc3_sv.ts | 4 +- src/qt/locale/nyc3_szl.ts | 2 +- src/qt/locale/nyc3_ta.ts | 2 +- src/qt/locale/nyc3_th_TH.ts | 2 +- src/qt/locale/nyc3_tr.ts | 4 +- src/qt/locale/nyc3_tr_TR.ts | 2 +- src/qt/locale/nyc3_uk.ts | 2 +- src/qt/locale/nyc3_ur_PK.ts | 2 +- src/qt/locale/nyc3_uz@Cyrl.ts | 2 +- src/qt/locale/nyc3_vi.ts | 2 +- src/qt/locale/nyc3_vi_VN.ts | 2 +- src/qt/locale/nyc3_zh.ts | 4 +- src/qt/locale/nyc3_zh_CN.ts | 2 +- src/qt/locale/nyc3_zh_HK.ts | 2 +- src/qt/locale/nyc3_zh_TW.ts | 2 +- src/qt/macdockiconhandler.h | 2 +- src/qt/macdockiconhandler.mm | 2 +- src/qt/macnotificationhandler.h | 2 +- src/qt/macnotificationhandler.mm | 4 +- src/qt/macos_appnap.h | 2 +- src/qt/macos_appnap.mm | 2 +- src/qt/main.cpp | 2 +- src/qt/modaloverlay.cpp | 2 +- src/qt/modaloverlay.h | 2 +- src/qt/networkstyle.cpp | 2 +- src/qt/networkstyle.h | 2 +- src/qt/notificator.cpp | 2 +- src/qt/notificator.h | 2 +- src/qt/nyc3.cpp | 76 +++---- src/qt/nyc3.h | 22 +- src/qt/nyc3addressvalidator.cpp | 10 +- src/qt/nyc3addressvalidator.h | 10 +- src/qt/nyc3amountfield.cpp | 20 +- src/qt/nyc3amountfield.h | 2 +- src/qt/nyc3gui.cpp | 192 +++++++++--------- src/qt/nyc3gui.h | 10 +- src/qt/nyc3units.cpp | 40 ++-- src/qt/nyc3units.h | 14 +- src/qt/openuridialog.cpp | 4 +- src/qt/openuridialog.h | 2 +- src/qt/optionsdialog.cpp | 10 +- src/qt/optionsdialog.h | 4 +- src/qt/optionsmodel.cpp | 4 +- src/qt/optionsmodel.h | 6 +- src/qt/overviewpage.cpp | 30 +-- src/qt/overviewpage.h | 2 +- src/qt/paymentrequest.proto | 2 +- src/qt/paymentrequestplus.cpp | 2 +- src/qt/paymentrequestplus.h | 2 +- src/qt/paymentserver.cpp | 12 +- src/qt/paymentserver.h | 2 +- src/qt/peertablemodel.cpp | 2 +- src/qt/peertablemodel.h | 2 +- src/qt/platformstyle.cpp | 2 +- src/qt/platformstyle.h | 2 +- src/qt/qvalidatedlineedit.cpp | 2 +- src/qt/qvalidatedlineedit.h | 2 +- src/qt/qvaluecombobox.cpp | 2 +- src/qt/qvaluecombobox.h | 2 +- src/qt/receivecoinsdialog.cpp | 4 +- src/qt/receivecoinsdialog.h | 2 +- src/qt/receiverequestdialog.cpp | 8 +- src/qt/receiverequestdialog.h | 2 +- src/qt/recentrequeststablemodel.cpp | 8 +- src/qt/recentrequeststablemodel.h | 2 +- src/qt/res/movies/makespinner.sh | 2 +- src/qt/res/nyc3-qt-res.rc | 4 +- src/qt/rpcconsole.cpp | 2 +- src/qt/rpcconsole.h | 4 +- src/qt/sendcoinsdialog.cpp | 22 +- src/qt/sendcoinsdialog.h | 2 +- src/qt/sendcoinsentry.cpp | 2 +- src/qt/sendcoinsentry.h | 2 +- src/qt/signverifymessagedialog.cpp | 2 +- src/qt/signverifymessagedialog.h | 2 +- src/qt/splashscreen.cpp | 2 +- src/qt/splashscreen.h | 2 +- src/qt/test/apptests.cpp | 12 +- src/qt/test/apptests.h | 14 +- src/qt/test/compattests.cpp | 2 +- src/qt/test/compattests.h | 2 +- src/qt/test/paymentrequestdata.h | 2 +- src/qt/test/paymentservertests.cpp | 2 +- src/qt/test/paymentservertests.h | 2 +- src/qt/test/rpcnestedtests.cpp | 2 +- src/qt/test/rpcnestedtests.h | 2 +- src/qt/test/test_main.cpp | 6 +- src/qt/test/uritests.cpp | 24 +-- src/qt/test/uritests.h | 2 +- src/qt/test/wallettests.cpp | 2 +- src/qt/trafficgraphwidget.cpp | 2 +- src/qt/trafficgraphwidget.h | 2 +- src/qt/transactiondesc.cpp | 28 +-- src/qt/transactiondesc.h | 2 +- src/qt/transactiondescdialog.cpp | 2 +- src/qt/transactiondescdialog.h | 2 +- src/qt/transactionfilterproxy.cpp | 2 +- src/qt/transactionfilterproxy.h | 2 +- src/qt/transactionrecord.cpp | 6 +- src/qt/transactionrecord.h | 2 +- src/qt/transactiontablemodel.cpp | 16 +- src/qt/transactiontablemodel.h | 4 +- src/qt/transactionview.cpp | 6 +- src/qt/transactionview.h | 2 +- src/qt/utilitydialog.cpp | 4 +- src/qt/utilitydialog.h | 6 +- src/qt/walletcontroller.cpp | 2 +- src/qt/walletcontroller.h | 2 +- src/qt/walletframe.cpp | 6 +- src/qt/walletframe.h | 12 +- src/qt/walletmodel.cpp | 8 +- src/qt/walletmodel.h | 4 +- src/qt/walletmodeltransaction.cpp | 2 +- src/qt/walletmodeltransaction.h | 2 +- src/qt/walletview.cpp | 14 +- src/qt/walletview.h | 6 +- src/qt/winshutdownmonitor.cpp | 2 +- src/qt/winshutdownmonitor.h | 2 +- src/random.cpp | 2 +- src/random.h | 2 +- src/rest.cpp | 2 +- src/reverselock.h | 2 +- src/rpc/blockchain.cpp | 2 +- src/rpc/blockchain.h | 2 +- src/rpc/client.cpp | 2 +- src/rpc/client.h | 2 +- src/rpc/mining.cpp | 2 +- src/rpc/mining.h | 2 +- src/rpc/misc.cpp | 2 +- src/rpc/net.cpp | 2 +- src/rpc/protocol.cpp | 4 +- src/rpc/protocol.h | 6 +- src/rpc/register.h | 2 +- src/rpc/server.cpp | 2 +- src/rpc/util.cpp | 2 +- src/rpc/util.h | 2 +- src/scheduler.cpp | 2 +- src/scheduler.h | 2 +- src/script/descriptor.cpp | 2 +- src/script/descriptor.h | 2 +- src/script/interpreter.cpp | 2 +- src/script/interpreter.h | 2 +- src/script/ismine.cpp | 2 +- src/script/ismine.h | 2 +- src/script/nyc3consensus.cpp | 2 +- src/script/nyc3consensus.h | 2 +- src/script/script.cpp | 2 +- src/script/script.h | 4 +- src/script/script_error.cpp | 2 +- src/script/script_error.h | 2 +- src/script/sigcache.cpp | 2 +- src/script/sigcache.h | 2 +- src/script/sign.cpp | 2 +- src/script/sign.h | 2 +- src/script/standard.cpp | 2 +- src/script/standard.h | 4 +- src/secp256k1/contrib/lax_der_parsing.h | 2 +- src/serialize.h | 2 +- src/shutdown.cpp | 2 +- src/shutdown.h | 2 +- src/span.h | 2 +- src/streams.h | 2 +- src/support/allocators/secure.h | 2 +- src/support/allocators/zeroafterfree.h | 2 +- src/support/cleanse.cpp | 2 +- src/support/cleanse.h | 2 +- src/support/events.h | 2 +- src/support/lockedpool.cpp | 2 +- src/support/lockedpool.h | 2 +- src/sync.cpp | 2 +- src/sync.h | 2 +- src/test/addrman_tests.cpp | 2 +- src/test/allocator_tests.cpp | 2 +- src/test/amount_tests.cpp | 2 +- src/test/arith_uint256_tests.cpp | 2 +- src/test/base32_tests.cpp | 2 +- src/test/base58_tests.cpp | 2 +- src/test/base64_tests.cpp | 2 +- src/test/bip32_tests.cpp | 2 +- src/test/blockencodings_tests.cpp | 2 +- src/test/blockfilter_tests.cpp | 2 +- src/test/bloom_tests.cpp | 2 +- src/test/bswap_tests.cpp | 2 +- src/test/checkqueue_tests.cpp | 2 +- src/test/coins_tests.cpp | 2 +- src/test/compress_tests.cpp | 2 +- src/test/crypto_tests.cpp | 4 +- src/test/cuckoocache_tests.cpp | 2 +- src/test/data/README.md | 2 +- src/test/dbwrapper_tests.cpp | 2 +- src/test/denialofservice_tests.cpp | 2 +- src/test/descriptor_tests.cpp | 2 +- src/test/fs_tests.cpp | 2 +- src/test/fuzz/deserialize.cpp | 2 +- src/test/fuzz/fuzz.cpp | 2 +- src/test/fuzz/fuzz.h | 2 +- src/test/fuzz/script_flags.cpp | 2 +- src/test/gen/crypto_gen.cpp | 2 +- src/test/gen/crypto_gen.h | 2 +- src/test/getarg_tests.cpp | 2 +- src/test/hash_tests.cpp | 4 +- src/test/key_io_tests.cpp | 2 +- src/test/key_properties.cpp | 2 +- src/test/key_tests.cpp | 2 +- src/test/limitedmap_tests.cpp | 2 +- src/test/main_tests.cpp | 2 +- src/test/mempool_tests.cpp | 2 +- src/test/merkle_tests.cpp | 4 +- src/test/merkleblock_tests.cpp | 2 +- src/test/miner_tests.cpp | 2 +- src/test/multisig_tests.cpp | 2 +- src/test/net_tests.cpp | 2 +- src/test/netbase_tests.cpp | 2 +- src/test/pmt_tests.cpp | 2 +- src/test/policyestimator_tests.cpp | 2 +- src/test/pow_tests.cpp | 2 +- src/test/prevector_tests.cpp | 2 +- src/test/raii_event_tests.cpp | 2 +- src/test/random_tests.cpp | 2 +- src/test/reverselock_tests.cpp | 2 +- src/test/rpc_tests.cpp | 2 +- src/test/sanity_tests.cpp | 2 +- src/test/scheduler_tests.cpp | 2 +- src/test/script_p2sh_tests.cpp | 2 +- src/test/script_standard_tests.cpp | 2 +- src/test/script_tests.cpp | 2 +- src/test/scriptnum10.h | 2 +- src/test/scriptnum_tests.cpp | 2 +- src/test/serialize_tests.cpp | 2 +- src/test/sighash_tests.cpp | 2 +- src/test/sigopcount_tests.cpp | 2 +- src/test/skiplist_tests.cpp | 2 +- src/test/streams_tests.cpp | 2 +- src/test/sync_tests.cpp | 2 +- src/test/test_bitcoin.cpp | 2 +- src/test/test_bitcoin.h | 2 +- src/test/test_bitcoin_main.cpp | 4 +- src/test/timedata_tests.cpp | 2 +- src/test/transaction_tests.cpp | 2 +- src/test/txindex_tests.cpp | 2 +- src/test/txvalidation_tests.cpp | 2 +- src/test/txvalidationcache_tests.cpp | 2 +- src/test/uint256_tests.cpp | 2 +- src/test/util_tests.cpp | 4 +- src/test/validation_block_tests.cpp | 2 +- src/test/versionbits_tests.cpp | 2 +- src/threadinterrupt.cpp | 2 +- src/threadinterrupt.h | 2 +- src/threadsafety.h | 2 +- src/timedata.cpp | 2 +- src/timedata.h | 2 +- src/torcontrol.cpp | 4 +- src/torcontrol.h | 2 +- src/txdb.cpp | 2 +- src/txdb.h | 2 +- src/txmempool.cpp | 2 +- src/txmempool.h | 2 +- src/ui_interface.cpp | 2 +- src/ui_interface.h | 2 +- src/uint256.cpp | 2 +- src/uint256.h | 2 +- src/undo.h | 2 +- src/univalue/test/object.cpp | 2 +- src/util/bip32.cpp | 2 +- src/util/bip32.h | 2 +- src/util/bytevectorhash.cpp | 2 +- src/util/bytevectorhash.h | 2 +- src/util/memory.h | 2 +- src/util/moneystr.cpp | 2 +- src/util/moneystr.h | 2 +- src/util/strencodings.cpp | 2 +- src/util/strencodings.h | 2 +- src/util/system.cpp | 14 +- src/util/system.h | 2 +- src/util/time.cpp | 2 +- src/util/time.h | 2 +- src/validation.cpp | 6 +- src/validation.h | 2 +- src/validationinterface.cpp | 2 +- src/validationinterface.h | 2 +- src/version.h | 2 +- src/versionbits.cpp | 2 +- src/versionbits.h | 2 +- src/versionbitsinfo.cpp | 2 +- src/versionbitsinfo.h | 2 +- src/wallet/coincontrol.cpp | 2 +- src/wallet/coincontrol.h | 2 +- src/wallet/coinselection.cpp | 2 +- src/wallet/coinselection.h | 2 +- src/wallet/crypter.cpp | 2 +- src/wallet/crypter.h | 2 +- src/wallet/db.cpp | 2 +- src/wallet/db.h | 2 +- src/wallet/feebumper.cpp | 2 +- src/wallet/feebumper.h | 2 +- src/wallet/fees.cpp | 2 +- src/wallet/fees.h | 2 +- src/wallet/init.cpp | 2 +- src/wallet/psbtwallet.cpp | 2 +- src/wallet/psbtwallet.h | 2 +- src/wallet/rpcdump.cpp | 4 +- src/wallet/rpcwallet.cpp | 2 +- src/wallet/rpcwallet.h | 2 +- src/wallet/test/coinselector_tests.cpp | 2 +- src/wallet/test/db_tests.cpp | 2 +- src/wallet/test/init_test_fixture.cpp | 2 +- src/wallet/test/init_test_fixture.h | 2 +- src/wallet/test/init_tests.cpp | 2 +- src/wallet/test/psbt_wallet_tests.cpp | 2 +- src/wallet/test/wallet_crypto_tests.cpp | 2 +- src/wallet/test/wallet_test_fixture.cpp | 2 +- src/wallet/test/wallet_test_fixture.h | 2 +- src/wallet/test/wallet_tests.cpp | 2 +- src/wallet/wallet.cpp | 2 +- src/wallet/wallet.h | 2 +- src/wallet/walletdb.cpp | 2 +- src/wallet/walletdb.h | 2 +- src/wallet/wallettool.cpp | 2 +- src/wallet/wallettool.h | 2 +- src/wallet/walletutil.cpp | 2 +- src/wallet/walletutil.h | 2 +- src/walletinitinterface.h | 2 +- src/warnings.cpp | 2 +- src/warnings.h | 2 +- src/zmq/zmqabstractnotifier.cpp | 2 +- src/zmq/zmqabstractnotifier.h | 2 +- src/zmq/zmqconfig.h | 2 +- src/zmq/zmqnotificationinterface.cpp | 2 +- src/zmq/zmqnotificationinterface.h | 2 +- src/zmq/zmqpublishnotifier.cpp | 2 +- src/zmq/zmqpublishnotifier.h | 2 +- src/zmq/zmqrpc.cpp | 2 +- src/zmq/zmqrpc.h | 2 +- test/config.ini.in | 2 +- test/functional/README.md | 2 +- test/functional/create_cache.py | 6 +- test/functional/data/invalid_txs.py | 2 +- test/functional/example_test.py | 12 +- test/functional/feature_assumevalid.py | 6 +- test/functional/feature_bip68_sequence.py | 6 +- test/functional/feature_block.py | 6 +- test/functional/feature_blocksdir.py | 6 +- test/functional/feature_cltv.py | 6 +- test/functional/feature_config_args.py | 6 +- test/functional/feature_csv_activation.py | 6 +- test/functional/feature_dbcrash.py | 6 +- test/functional/feature_dersig.py | 6 +- test/functional/feature_fee_estimation.py | 6 +- test/functional/feature_filelock.py | 6 +- test/functional/feature_help.py | 6 +- test/functional/feature_includeconf.py | 6 +- test/functional/feature_logging.py | 6 +- test/functional/feature_maxuploadtarget.py | 6 +- test/functional/feature_minchainwork.py | 6 +- test/functional/feature_notifications.py | 6 +- test/functional/feature_nulldummy.py | 6 +- test/functional/feature_proxy.py | 6 +- test/functional/feature_pruning.py | 6 +- test/functional/feature_rbf.py | 6 +- test/functional/feature_reindex.py | 6 +- test/functional/feature_segwit.py | 6 +- test/functional/feature_shutdown.py | 6 +- test/functional/feature_uacomment.py | 6 +- .../functional/feature_versionbits_warning.py | 6 +- test/functional/interface_bitcoin_cli.py | 8 +- test/functional/interface_http.py | 6 +- test/functional/interface_rest.py | 8 +- test/functional/interface_rpc.py | 6 +- test/functional/interface_zmq.py | 6 +- test/functional/mempool_accept.py | 6 +- test/functional/mempool_limit.py | 6 +- test/functional/mempool_packages.py | 6 +- test/functional/mempool_persist.py | 6 +- test/functional/mempool_reorg.py | 6 +- test/functional/mempool_resurrect.py | 6 +- test/functional/mempool_spend_coinbase.py | 6 +- test/functional/mining_basic.py | 6 +- .../mining_getblocktemplate_longpoll.py | 6 +- .../mining_prioritisetransaction.py | 6 +- test/functional/p2p_compactblocks.py | 6 +- test/functional/p2p_disconnect_ban.py | 6 +- test/functional/p2p_feefilter.py | 6 +- test/functional/p2p_fingerprint.py | 6 +- test/functional/p2p_invalid_block.py | 6 +- test/functional/p2p_invalid_locator.py | 6 +- test/functional/p2p_invalid_messages.py | 6 +- test/functional/p2p_invalid_tx.py | 6 +- test/functional/p2p_leak.py | 6 +- test/functional/p2p_leak_tx.py | 6 +- test/functional/p2p_mempool.py | 6 +- test/functional/p2p_node_network_limited.py | 6 +- test/functional/p2p_segwit.py | 6 +- test/functional/p2p_sendheaders.py | 6 +- test/functional/p2p_timeouts.py | 6 +- test/functional/p2p_unrequested_blocks.py | 6 +- test/functional/rpc_bind.py | 6 +- test/functional/rpc_blockchain.py | 6 +- test/functional/rpc_createmultisig.py | 6 +- test/functional/rpc_decodescript.py | 6 +- test/functional/rpc_deprecated.py | 6 +- test/functional/rpc_deriveaddresses.py | 6 +- test/functional/rpc_fundrawtransaction.py | 6 +- test/functional/rpc_getblockstats.py | 6 +- test/functional/rpc_getchaintips.py | 6 +- test/functional/rpc_help.py | 6 +- test/functional/rpc_invalidateblock.py | 6 +- test/functional/rpc_misc.py | 6 +- test/functional/rpc_named_arguments.py | 6 +- test/functional/rpc_net.py | 6 +- test/functional/rpc_preciousblock.py | 6 +- test/functional/rpc_psbt.py | 6 +- test/functional/rpc_rawtransaction.py | 8 +- test/functional/rpc_scantxoutset.py | 6 +- test/functional/rpc_signmessage.py | 6 +- test/functional/rpc_signrawtransaction.py | 6 +- test/functional/rpc_txoutproof.py | 6 +- test/functional/rpc_uptime.py | 6 +- test/functional/rpc_users.py | 6 +- test/functional/test_framework/address.py | 2 +- test/functional/test_framework/authproxy.py | 2 +- test/functional/test_framework/blocktools.py | 2 +- test/functional/test_framework/coverage.py | 2 +- test/functional/test_framework/messages.py | 4 +- test/functional/test_framework/mininode.py | 8 +- test/functional/test_framework/netutil.py | 2 +- test/functional/test_framework/script.py | 2 +- test/functional/test_framework/siphash.py | 2 +- test/functional/test_framework/socks5.py | 2 +- .../test_framework/test_framework.py | 18 +- test/functional/test_framework/test_node.py | 2 +- test/functional/test_framework/util.py | 2 +- test/functional/test_framework/wallet_util.py | 2 +- test/functional/test_runner.py | 4 +- test/functional/tool_wallet.py | 6 +- test/functional/wallet_abandonconflict.py | 6 +- test/functional/wallet_address_types.py | 6 +- test/functional/wallet_backup.py | 6 +- test/functional/wallet_balance.py | 6 +- test/functional/wallet_basic.py | 16 +- test/functional/wallet_bumpfee.py | 6 +- test/functional/wallet_coinbase_category.py | 6 +- test/functional/wallet_create_tx.py | 6 +- test/functional/wallet_createwallet.py | 6 +- test/functional/wallet_disable.py | 6 +- test/functional/wallet_dump.py | 6 +- test/functional/wallet_encryption.py | 6 +- test/functional/wallet_fallbackfee.py | 6 +- test/functional/wallet_groups.py | 6 +- test/functional/wallet_hd.py | 6 +- test/functional/wallet_import_rescan.py | 6 +- test/functional/wallet_import_with_label.py | 6 +- test/functional/wallet_importmulti.py | 8 +- test/functional/wallet_importprunedfunds.py | 6 +- test/functional/wallet_keypool.py | 6 +- test/functional/wallet_keypool_topup.py | 6 +- test/functional/wallet_labels.py | 8 +- test/functional/wallet_listreceivedby.py | 6 +- test/functional/wallet_listsinceblock.py | 6 +- test/functional/wallet_listtransactions.py | 6 +- test/functional/wallet_multiwallet.py | 6 +- .../wallet_resendwallettransactions.py | 6 +- test/functional/wallet_txn_clone.py | 6 +- test/functional/wallet_txn_doublespend.py | 6 +- test/functional/wallet_zapwallettxes.py | 6 +- test/fuzz/test_runner.py | 2 +- test/lint/check-doc.py | 2 +- test/lint/check-rpc-mappings.py | 2 +- test/lint/commit-script-check.sh | 2 +- test/lint/git-subtree-check.sh | 2 +- test/lint/lint-all.sh | 2 +- test/lint/lint-assertions.sh | 2 +- test/lint/lint-circular-dependencies.sh | 2 +- test/lint/lint-filenames.sh | 2 +- test/lint/lint-format-strings.py | 2 +- test/lint/lint-format-strings.sh | 2 +- test/lint/lint-include-guards.sh | 2 +- test/lint/lint-includes.sh | 2 +- test/lint/lint-logs.sh | 2 +- test/lint/lint-python-dead-code.sh | 2 +- test/lint/lint-python-utf8-encoding.sh | 2 +- test/lint/lint-python.sh | 2 +- test/lint/lint-qt.sh | 2 +- test/lint/lint-rpc-help.sh | 2 +- test/lint/lint-shell-locale.sh | 2 +- test/lint/lint-shell.sh | 2 +- test/lint/lint-spelling.sh | 2 +- test/lint/lint-tests.sh | 2 +- test/lint/lint-whitespace.sh | 2 +- test/util/bitcoin-util-test.py | 2 +- test/util/rpcauth-test.py | 2 +- 921 files changed, 1868 insertions(+), 1858 deletions(-) diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 8768a8ca6..3cf9ab8a9 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -1,6 +1,6 @@ - - + diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 00d5478c4..2fe8366a8 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -2,7 +2,7 @@ Pull requests without a rationale and clear improvement may be closed immediately. Please provide clear motivation for your patch and explain how it improves -Bitcoin Core user experience or Bitcoin Core developer experience +NYC3 Core user experience or NYC3 Core developer experience significantly. * Any test improvements or new tests that improve coverage are always welcome. @@ -15,7 +15,7 @@ significantly. was fixed. * Features are welcome, but might be rejected due to design or scope issues. If a feature is based on a lot of dependencies, contributors should first - consider building the system outside of Bitcoin Core, if possible. + consider building the system outside of NYC3 Core, if possible. * Refactoring changes are only accepted if they are required for a feature or bug fix or otherwise improve developer experience significantly. For example, most "code style" refactoring changes require a thorough explanation why they @@ -25,7 +25,7 @@ significantly. preferred in the [developer notes](/doc/developer-notes.md), stylistic code changes are usually rejected. -Bitcoin Core has a thorough review process and even the most trivial change +NYC3 Core has a thorough review process and even the most trivial change needs to pass a lot of eyes and requires non-zero or even substantial time effort to review. There is a huge lack of active reviewers on the project, so patches often sit for a long time. diff --git a/.travis/lint_04_install.sh b/.travis/lint_04_install.sh index 9a22773e5..1edff7225 100755 --- a/.travis/lint_04_install.sh +++ b/.travis/lint_04_install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # -# Copyright (c) 2018 The Bitcoin Core developers +# Copyright (c) 2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/.travis/lint_05_before_script.sh b/.travis/lint_05_before_script.sh index 28bcbb47f..15dcbdc59 100755 --- a/.travis/lint_05_before_script.sh +++ b/.travis/lint_05_before_script.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # -# Copyright (c) 2018 The Bitcoin Core developers +# Copyright (c) 2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/.travis/lint_06_script.sh b/.travis/lint_06_script.sh index 701e6d800..ba5036477 100755 --- a/.travis/lint_06_script.sh +++ b/.travis/lint_06_script.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # -# Copyright (c) 2018 The Bitcoin Core developers +# Copyright (c) 2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/.travis/test_03_before_install.sh b/.travis/test_03_before_install.sh index 3c9fcf3f9..f73cf7fcd 100755 --- a/.travis/test_03_before_install.sh +++ b/.travis/test_03_before_install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # -# Copyright (c) 2018 The Bitcoin Core developers +# Copyright (c) 2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/.travis/test_04_install.sh b/.travis/test_04_install.sh index 8055bbdd1..1edd05afa 100755 --- a/.travis/test_04_install.sh +++ b/.travis/test_04_install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # -# Copyright (c) 2018 The Bitcoin Core developers +# Copyright (c) 2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/.travis/test_05_before_script.sh b/.travis/test_05_before_script.sh index 70caee979..b30054105 100755 --- a/.travis/test_05_before_script.sh +++ b/.travis/test_05_before_script.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # -# Copyright (c) 2018 The Bitcoin Core developers +# Copyright (c) 2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/.travis/test_06_script_a.sh b/.travis/test_06_script_a.sh index 8cc593f93..b471f4e20 100755 --- a/.travis/test_06_script_a.sh +++ b/.travis/test_06_script_a.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # -# Copyright (c) 2018 The Bitcoin Core developers +# Copyright (c) 2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/.travis/test_06_script_b.sh b/.travis/test_06_script_b.sh index e13abfd52..a70f761af 100755 --- a/.travis/test_06_script_b.sh +++ b/.travis/test_06_script_b.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # -# Copyright (c) 2018 The Bitcoin Core developers +# Copyright (c) 2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7f5b0e471..9b79622bc 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -200,7 +200,7 @@ workload on reviewing. ------------------------- The following applies to code changes to the NYC3 project (and related -projects such as libsecp256k1), and is not to be confused with overall Bitcoin +projects such as libsecp256k1), and is not to be confused with overall NYC3 Network Protocol consensus changes. Whether a pull request is merged into NYC3 rests with the project merge @@ -221,7 +221,7 @@ In general, all pull requests must: - Where bugs are fixed, where possible, there should be unit tests demonstrating the bug and also proving the fix. This helps prevent regression. -Patches that change Bitcoin consensus rules are considerably more involved than +Patches that change NYC3 consensus rules are considerably more involved than normal because they affect the entire ecosystem and so must be preceded by extensive mailing list discussions and have a numbered BIP. While each case will be different, one should be prepared to expend more time and effort than for @@ -262,7 +262,7 @@ higher in terms of discussion and peer review requirements, keeping in mind that mistakes could be very costly to the wider community. This includes refactoring of consensus critical code. -Where a patch set proposes to change the Bitcoin consensus, it must have been +Where a patch set proposes to change the NYC3 consensus, it must have been discussed extensively on the mailing list and IRC, be accompanied by a widely discussed BIP and have a generally widely perceived technical consensus of being a worthwhile change based on the judgement of the maintainers. diff --git a/COPYING b/COPYING index 9d54ecbde..6b71a7146 100644 --- a/COPYING +++ b/COPYING @@ -1,7 +1,7 @@ The MIT License (MIT) -Copyright (c) 2009-2019 The Bitcoin Core developers -Copyright (c) 2009-2019 Bitcoin Developers +Copyright (c) 2009-2019 The NYC3 Core developers +Copyright (c) 2009-2019 NYC3 Developers Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/INSTALL.md b/INSTALL.md index bc29c6280..5edba29c4 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -1,5 +1,5 @@ -Building Bitcoin +Building NYC3 ================ See doc/build-*.md for instructions on building the various -elements of the NYC3 reference implementation of Bitcoin. +elements of the NYC3 reference implementation of NYC3. diff --git a/Makefile.am b/Makefile.am index 8daffa9c8..8ab198d25 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,4 +1,4 @@ -# Copyright (c) 2013-2016 The Bitcoin Core developers +# Copyright (c) 2013-2016 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/autogen.sh b/autogen.sh index 180b8702c..b7bb5f4c1 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,5 +1,5 @@ #!/bin/sh -# Copyright (c) 2013-2016 The Bitcoin Core developers +# Copyright (c) 2013-2016 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/build-aux/m4/bitcoin_find_bdb48.m4 b/build-aux/m4/bitcoin_find_bdb48.m4 index ea9c795da..47adf94e5 100644 --- a/build-aux/m4/bitcoin_find_bdb48.m4 +++ b/build-aux/m4/bitcoin_find_bdb48.m4 @@ -1,4 +1,4 @@ -dnl Copyright (c) 2013-2015 The Bitcoin Core developers +dnl Copyright (c) 2013-2015 The NYC3 Core developers dnl Distributed under the MIT software license, see the accompanying dnl file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/build-aux/m4/bitcoin_qt.m4 b/build-aux/m4/bitcoin_qt.m4 index 1a7c5d5f7..f1bc378bb 100644 --- a/build-aux/m4/bitcoin_qt.m4 +++ b/build-aux/m4/bitcoin_qt.m4 @@ -1,4 +1,4 @@ -dnl Copyright (c) 2013-2016 The Bitcoin Core developers +dnl Copyright (c) 2013-2016 The NYC3 Core developers dnl Distributed under the MIT software license, see the accompanying dnl file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/build-aux/m4/bitcoin_subdir_to_include.m4 b/build-aux/m4/bitcoin_subdir_to_include.m4 index 7841042ac..0c4ec9b26 100644 --- a/build-aux/m4/bitcoin_subdir_to_include.m4 +++ b/build-aux/m4/bitcoin_subdir_to_include.m4 @@ -1,4 +1,4 @@ -dnl Copyright (c) 2013-2014 The Bitcoin Core developers +dnl Copyright (c) 2013-2014 The NYC3 Core developers dnl Distributed under the MIT software license, see the accompanying dnl file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/build_msvc/README.md b/build_msvc/README.md index 3d5e0bd71..6f250a300 100644 --- a/build_msvc/README.md +++ b/build_msvc/README.md @@ -9,7 +9,7 @@ Building with Visual Studio is an alternative to the Linux based [cross-compiler Dependencies --------------------- -A number of [open source libraries](https://github.com/bitcoin/bitcoin/blob/master/doc/dependencies.md) are required in order to be able to build Bitcoin. +A number of [open source libraries](https://github.com/bitcoin/bitcoin/blob/master/doc/dependencies.md) are required in order to be able to build NYC3. Options for installing the dependencies in a Visual Studio compatible manner are: diff --git a/build_msvc/bitcoin_config.h b/build_msvc/bitcoin_config.h index 4d22f0f7b..26266fb09 100644 --- a/build_msvc/bitcoin_config.h +++ b/build_msvc/bitcoin_config.h @@ -23,7 +23,7 @@ #define COPYRIGHT_HOLDERS "The %s developers" /* Copyright holder(s) */ -#define COPYRIGHT_HOLDERS_FINAL "The Bitcoin Core developers" +#define COPYRIGHT_HOLDERS_FINAL "The NYC3 Core developers" /* Replacement for %s in copyright holders string */ #define COPYRIGHT_HOLDERS_SUBSTITUTION "NYC3" diff --git a/contrib/README.md b/contrib/README.md index 44cdba646..010413244 100644 --- a/contrib/README.md +++ b/contrib/README.md @@ -13,7 +13,7 @@ Construct a linear, no-fork, best version of the blockchain. ### [Qos](/contrib/qos) ### -A Linux bash script that will set up traffic control (tc) to limit the outgoing bandwidth for connections to the Bitcoin network. This means one can have an always-on bitcoind instance running, and another local bitcoind/bitcoin-qt instance which connects to this node and receives blocks from it. +A Linux bash script that will set up traffic control (tc) to limit the outgoing bandwidth for connections to the NYC3 network. This means one can have an always-on bitcoind instance running, and another local bitcoind/bitcoin-qt instance which connects to this node and receives blocks from it. ### [Seeds](/contrib/seeds) ### Utility to generate the pnSeed[] array that is compiled into the client. @@ -42,7 +42,7 @@ Test and Verify Tools --------------------- ### [TestGen](/contrib/testgen) ### -Utilities to generate test vectors for the data-driven Bitcoin tests. +Utilities to generate test vectors for the data-driven NYC3 tests. ### [Verify Binaries](/contrib/verifybinaries) ### This script attempts to download and verify the signature file SHA256SUMS.asc from bitcoin.org. diff --git a/contrib/bitcoin-cli.bash-completion b/contrib/bitcoin-cli.bash-completion index f4cac8418..139a0a63a 100644 --- a/contrib/bitcoin-cli.bash-completion +++ b/contrib/bitcoin-cli.bash-completion @@ -1,5 +1,5 @@ # bash programmable completion for bitcoin-cli(1) -# Copyright (c) 2012-2016 The Bitcoin Core developers +# Copyright (c) 2012-2016 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/contrib/bitcoin-tx.bash-completion b/contrib/bitcoin-tx.bash-completion index a83d2979e..e9a3c7f3a 100644 --- a/contrib/bitcoin-tx.bash-completion +++ b/contrib/bitcoin-tx.bash-completion @@ -1,5 +1,5 @@ # bash programmable completion for bitcoin-tx(1) -# Copyright (c) 2016 The Bitcoin Core developers +# Copyright (c) 2016 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/contrib/bitcoind.bash-completion b/contrib/bitcoind.bash-completion index cccd4bde0..ed9a33429 100644 --- a/contrib/bitcoind.bash-completion +++ b/contrib/bitcoind.bash-completion @@ -1,5 +1,5 @@ # bash programmable completion for bitcoind(1) and bitcoin-qt(1) -# Copyright (c) 2012-2016 The Bitcoin Core developers +# Copyright (c) 2012-2016 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/contrib/debian/copyright b/contrib/debian/copyright index 11992809f..6619021e5 100644 --- a/contrib/debian/copyright +++ b/contrib/debian/copyright @@ -1,5 +1,5 @@ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ -Upstream-Name: Bitcoin +Upstream-Name: NYC3 Upstream-Contact: Satoshi Nakamoto irc://#bitcoin@freenode.net Source: https://github.com/bitcoin/bitcoin diff --git a/contrib/devtools/README.md b/contrib/devtools/README.md index 27e555545..f9ca16164 100644 --- a/contrib/devtools/README.md +++ b/contrib/devtools/README.md @@ -36,31 +36,31 @@ Specifying `verbose` will list the full filenames of files of each category. copyright\_header.py update \ [verbose] --------------------------------------------------------- -Updates all the copyright headers of `The Bitcoin Core developers` which were +Updates all the copyright headers of `The NYC3 Core developers` which were changed in a year more recent than is listed. For example: ``` -// Copyright (c) - The Bitcoin Core developers +// Copyright (c) - The NYC3 Core developers ``` will be updated to: ``` -// Copyright (c) - The Bitcoin Core developers +// Copyright (c) - The NYC3 Core developers ``` where `` is obtained from the `git log` history. This subcommand also handles copyright headers that have only a single year. In those cases: ``` -// Copyright (c) The Bitcoin Core developers +// Copyright (c) The NYC3 Core developers ``` will be updated to: ``` -// Copyright (c) - The Bitcoin Core developers +// Copyright (c) - The NYC3 Core developers ``` where the update is appropriate. copyright\_header.py insert \ ------------------------------------ -Inserts a copyright header for `The Bitcoin Core developers` at the top of the +Inserts a copyright header for `The NYC3 Core developers` at the top of the file in either Python or C++ style as determined by the file extension. If the file is a Python file and it has `#!` starting the first line, the header is inserted in the line below it. @@ -70,7 +70,7 @@ The copyright dates will be set to be `-` where `` is equal to ``, it will be set as a single year rather than two hyphenated years. -If the file already has a copyright for `The Bitcoin Core developers`, the +If the file already has a copyright for `The NYC3 Core developers`, the script will exit. gen-manpages.sh diff --git a/contrib/devtools/copyright_header.py b/contrib/devtools/copyright_header.py index 726e03b0c..e3ac21b29 100755 --- a/contrib/devtools/copyright_header.py +++ b/contrib/devtools/copyright_header.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2016-2018 The Bitcoin Core developers +# Copyright (c) 2016-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -89,7 +89,7 @@ def compile_copyright_regex(copyright_style, year_style, name): EXPECTED_HOLDER_NAMES = [ "Satoshi Nakamoto\n", - "The Bitcoin Core developers\n", + "The NYC3 Core developers\n", "NYC3 Developers\n", "BitPay Inc\.\n", "University of Illinois at Urbana-Champaign\.\n", @@ -334,7 +334,7 @@ def write_file_lines(filename, file_lines): COPYRIGHT = 'Copyright \(c\)' YEAR = "20[0-9][0-9]" YEAR_RANGE = '(%s)(-%s)?' % (YEAR, YEAR) -HOLDER = 'The Bitcoin Core developers' +HOLDER = 'The NYC3 Core developers' UPDATEABLE_LINE_COMPILED = re.compile(' '.join([COPYRIGHT, YEAR_RANGE, HOLDER])) def get_updatable_copyright_line(file_lines): @@ -399,24 +399,24 @@ def exec_update_header_year(base_directory): ################################################################################ UPDATE_USAGE = """ -Updates all the copyright headers of "The Bitcoin Core developers" which were +Updates all the copyright headers of "The NYC3 Core developers" which were changed in a year more recent than is listed. For example: -// Copyright (c) - The Bitcoin Core developers +// Copyright (c) - The NYC3 Core developers will be updated to: -// Copyright (c) - The Bitcoin Core developers +// Copyright (c) - The NYC3 Core developers where is obtained from the 'git log' history. This subcommand also handles copyright headers that have only a single year. In those cases: -// Copyright (c) The Bitcoin Core developers +// Copyright (c) The NYC3 Core developers will be updated to: -// Copyright (c) - The Bitcoin Core developers +// Copyright (c) - The NYC3 Core developers where the update is appropriate. @@ -449,7 +449,7 @@ def get_header_lines(header, start_year, end_year): return [line + '\n' for line in lines] CPP_HEADER = ''' -// Copyright (c) %s The Bitcoin Core developers +// Copyright (c) %s The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. ''' @@ -458,7 +458,7 @@ def get_cpp_header_lines_to_insert(start_year, end_year): return reversed(get_header_lines(CPP_HEADER, start_year, end_year)) PYTHON_HEADER = ''' -# Copyright (c) %s The Bitcoin Core developers +# Copyright (c) %s The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. ''' @@ -512,7 +512,7 @@ def insert_cpp_header(filename, file_lines, start_year, end_year): def exec_insert_header(filename, style): file_lines = read_file_lines(filename) if file_already_has_core_copyright(file_lines): - sys.exit('*** %s already has a copyright by The Bitcoin Core developers' + sys.exit('*** %s already has a copyright by The NYC3 Core developers' % (filename)) start_year, end_year = get_git_change_year_range(filename) if style == 'python': @@ -525,7 +525,7 @@ def exec_insert_header(filename, style): ################################################################################ INSERT_USAGE = """ -Inserts a copyright header for "The Bitcoin Core developers" at the top of the +Inserts a copyright header for "The NYC3 Core developers" at the top of the file in either Python or C++ style as determined by the file extension. If the file is a Python file and it has a '#!' starting the first line, the header is inserted in the line below it. @@ -539,7 +539,7 @@ where is according to the 'git log' history. If "" -If the file already has a copyright for "The Bitcoin Core developers", the +If the file already has a copyright for "The NYC3 Core developers", the script will exit. Usage: @@ -571,7 +571,7 @@ def insert_cmd(argv): ################################################################################ USAGE = """ -copyright_header.py - utilities for managing copyright headers of 'The Bitcoin +copyright_header.py - utilities for managing copyright headers of 'The NYC3 Core developers' in repository source files. Usage: diff --git a/contrib/devtools/optimize-pngs.py b/contrib/devtools/optimize-pngs.py index e9481dbbc..75a7666a4 100755 --- a/contrib/devtools/optimize-pngs.py +++ b/contrib/devtools/optimize-pngs.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2014-2018 The Bitcoin Core developers +# Copyright (c) 2014-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. ''' diff --git a/contrib/devtools/security-check.py b/contrib/devtools/security-check.py index 44b7f6c7c..04f2d12cb 100755 --- a/contrib/devtools/security-check.py +++ b/contrib/devtools/security-check.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2015-2018 The Bitcoin Core developers +# Copyright (c) 2015-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. ''' diff --git a/contrib/devtools/test-security-check.py b/contrib/devtools/test-security-check.py index fd374f632..4b4dbfe6a 100755 --- a/contrib/devtools/test-security-check.py +++ b/contrib/devtools/test-security-check.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2015-2018 The Bitcoin Core developers +# Copyright (c) 2015-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. ''' diff --git a/contrib/devtools/update-translations.py b/contrib/devtools/update-translations.py index 1b9d3a4c2..3aecde5d7 100755 --- a/contrib/devtools/update-translations.py +++ b/contrib/devtools/update-translations.py @@ -30,7 +30,7 @@ SOURCE_LANG = 'bitcoin_en.ts' LOCALE_DIR = 'src/qt/locale' # Minimum number of messages for translation to be considered at all MIN_NUM_MESSAGES = 10 -# Regexp to check for Bitcoin addresses +# Regexp to check for NYC3 addresses ADDRESS_REGEXP = re.compile('([13]|bc1)[a-zA-Z0-9]{30,}') def check_at_repository_root(): diff --git a/contrib/gitian-descriptors/gitian-linux.yml b/contrib/gitian-descriptors/gitian-linux.yml index eb3d548b8..2eab61a5c 100644 --- a/contrib/gitian-descriptors/gitian-linux.yml +++ b/contrib/gitian-descriptors/gitian-linux.yml @@ -34,10 +34,13 @@ packages: remotes: - "url": "https://github.com/nyc3coin/nyc3" "dir": "nyc3" +- "url": "https://github.com/barrystyle/argon2s.git" + "dir": "argon2s" files: [] script: | set -e -o pipefail - +#this is a hack since gitian has no natural support for submodules + cp -r argon2s/* nyc3/src/argon2s WRAP_DIR=$HOME/wrapped HOSTS="i686-pc-linux-gnu x86_64-linux-gnu arm-linux-gnueabihf aarch64-linux-gnu riscv64-linux-gnu" CONFIGFLAGS="--enable-glibc-back-compat --enable-reduce-exports --disable-bench --disable-gui-tests" diff --git a/contrib/gitian-descriptors/gitian-osx.yml b/contrib/gitian-descriptors/gitian-osx.yml index 0cb7c3acf..817c8ff4a 100644 --- a/contrib/gitian-descriptors/gitian-osx.yml +++ b/contrib/gitian-descriptors/gitian-osx.yml @@ -30,11 +30,15 @@ packages: remotes: - "url": "https://github.com/nyc3coin/nyc3" "dir": "nyc3" +- "url": "https://github.com/barrystyle/argon2s.git" + "dir": "argon2s" files: - "MacOSX10.11.sdk.tar.gz" script: | set -e -o pipefail - +#this is a hack since gitian has no natural support for submodules + cp -r argon2s/* nyc3/src/argon2s + #make sure this file exists... WRAP_DIR=$HOME/wrapped HOSTS="x86_64-apple-darwin14" CONFIGFLAGS="--enable-reduce-exports --disable-bench --disable-gui-tests GENISOIMAGE=$WRAP_DIR/genisoimage" diff --git a/contrib/gitian-descriptors/gitian-win.yml b/contrib/gitian-descriptors/gitian-win.yml index c70ed6b29..81706dc46 100644 --- a/contrib/gitian-descriptors/gitian-win.yml +++ b/contrib/gitian-descriptors/gitian-win.yml @@ -25,10 +25,13 @@ packages: remotes: - "url": "https://github.com/nyc3coin/nyc3" "dir": "nyc3" +- "url": "https://github.com/barrystyle/argon2s.git" + "dir": "argon2s" files: [] script: | set -e -o pipefail - +#this is a hack since gitian has no natural support for submodules + cp -r argon2s/* nyc3/src/argon2s WRAP_DIR=$HOME/wrapped HOSTS="i686-w64-mingw32 x86_64-w64-mingw32" CONFIGFLAGS="--enable-reduce-exports --disable-bench --disable-gui-tests" diff --git a/contrib/init/bitcoind.conf b/contrib/init/bitcoind.conf index 77553a676..58b479981 100644 --- a/contrib/init/bitcoind.conf +++ b/contrib/init/bitcoind.conf @@ -38,7 +38,7 @@ pre-start script echo "It is recommended that you also set alertnotify so you are " echo "notified of problems:" echo - echo "ie: alertnotify=echo %%s | mail -s \"Bitcoin Alert\"" \ + echo "ie: alertnotify=echo %%s | mail -s \"NYC3 Alert\"" \ "admin@foo.com" echo exit 1 diff --git a/contrib/init/bitcoind.openrc b/contrib/init/bitcoind.openrc index 55a043c6b..e55fb5325 100644 --- a/contrib/init/bitcoind.openrc +++ b/contrib/init/bitcoind.openrc @@ -19,7 +19,7 @@ BITCOIND_NICE=${BITCOIND_NICE:-${NICELEVEL:-0}} BITCOIND_OPTS="${BITCOIND_OPTS:-${BITCOIN_OPTS}}" name="NYC3 Daemon" -description="Bitcoin cryptocurrency P2P network daemon" +description="NYC3 cryptocurrency P2P network daemon" command="/usr/bin/bitcoind" command_args="-pid=\"${BITCOIND_PIDFILE}\" \ @@ -84,7 +84,7 @@ checkconfig() eerror "It is recommended that you also set alertnotify so you are " eerror "notified of problems:" eerror "" - eerror "ie: alertnotify=echo %%s | mail -s \"Bitcoin Alert\"" \ + eerror "ie: alertnotify=echo %%s | mail -s \"NYC3 Alert\"" \ "admin@foo.com" eerror "" return 1 diff --git a/contrib/init/bitcoind.service b/contrib/init/bitcoind.service index cfc5f7758..82829c538 100644 --- a/contrib/init/bitcoind.service +++ b/contrib/init/bitcoind.service @@ -9,7 +9,7 @@ # in ExecStart= [Unit] -Description=Bitcoin daemon +Description=NYC3 daemon After=network.target [Service] diff --git a/contrib/linearize/README.md b/contrib/linearize/README.md index 298510698..9d3b8c888 100644 --- a/contrib/linearize/README.md +++ b/contrib/linearize/README.md @@ -1,5 +1,5 @@ # Linearize -Construct a linear, no-fork, best version of the Bitcoin blockchain. The scripts +Construct a linear, no-fork, best version of the NYC3 blockchain. The scripts run using Python 3 but are compatible with Python 2. ## Step 1: Download hash list diff --git a/contrib/linearize/linearize-data.py b/contrib/linearize/linearize-data.py index 56c1fbfc9..ef4468e56 100755 --- a/contrib/linearize/linearize-data.py +++ b/contrib/linearize/linearize-data.py @@ -2,7 +2,7 @@ # # linearize-data.py: Construct a linear, no-fork version of the chain. # -# Copyright (c) 2013-2018 The Bitcoin Core developers +# Copyright (c) 2013-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # diff --git a/contrib/linearize/linearize-hashes.py b/contrib/linearize/linearize-hashes.py index 8529470e0..cee7cdf59 100755 --- a/contrib/linearize/linearize-hashes.py +++ b/contrib/linearize/linearize-hashes.py @@ -2,7 +2,7 @@ # # linearize-hashes.py: List blocks in a linear, no-fork version of the chain. # -# Copyright (c) 2013-2018 The Bitcoin Core developers +# Copyright (c) 2013-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # @@ -22,7 +22,7 @@ def hex_switchEndian(s): pairList = [s[i:i+2].encode() for i in range(0, len(s), 2)] return b''.join(pairList[::-1]).decode() -class BitcoinRPC: +class NYC3RPC: def __init__(self, host, port, username, password): authpair = "%s:%s" % (username, password) authpair = authpair.encode('utf-8') @@ -64,7 +64,7 @@ class BitcoinRPC: return 'error' in resp_obj and resp_obj['error'] is not None def get_block_hashes(settings, max_blocks_per_call=10000): - rpc = BitcoinRPC(settings['host'], settings['port'], + rpc = NYC3RPC(settings['host'], settings['port'], settings['rpcuser'], settings['rpcpassword']) height = settings['min_height'] diff --git a/contrib/macdeploy/background.svg b/contrib/macdeploy/background.svg index 9c330af45..6a3b83318 100644 --- a/contrib/macdeploy/background.svg +++ b/contrib/macdeploy/background.svg @@ -3,7 +3,7 @@ "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> diff --git a/contrib/macdeploy/custom_dsstore.py b/contrib/macdeploy/custom_dsstore.py index dc1c1882d..086234c05 100755 --- a/contrib/macdeploy/custom_dsstore.py +++ b/contrib/macdeploy/custom_dsstore.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2013-2018 The Bitcoin Core developers +# Copyright (c) 2013-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. import biplist @@ -53,7 +53,7 @@ ds['.']['icvp'] = icvp ds['.']['vSrn'] = ('long', 1) ds['Applications']['Iloc'] = (370, 156) -ds['Bitcoin-Qt.app']['Iloc'] = (128, 156) +ds['NYC3-Qt.app']['Iloc'] = (128, 156) ds.flush() ds.close() diff --git a/contrib/macdeploy/detached-sig-apply.sh b/contrib/macdeploy/detached-sig-apply.sh index f8503e4de..483839f09 100755 --- a/contrib/macdeploy/detached-sig-apply.sh +++ b/contrib/macdeploy/detached-sig-apply.sh @@ -1,5 +1,5 @@ #!/bin/sh -# Copyright (c) 2014-2015 The Bitcoin Core developers +# Copyright (c) 2014-2015 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/contrib/macdeploy/detached-sig-create.sh b/contrib/macdeploy/detached-sig-create.sh index 5281ebcc4..9a50b0be4 100755 --- a/contrib/macdeploy/detached-sig-create.sh +++ b/contrib/macdeploy/detached-sig-create.sh @@ -1,5 +1,5 @@ #!/bin/sh -# Copyright (c) 2014-2015 The Bitcoin Core developers +# Copyright (c) 2014-2015 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -7,7 +7,7 @@ export LC_ALL=C set -e ROOTDIR=dist -BUNDLE="${ROOTDIR}/Bitcoin-Qt.app" +BUNDLE="${ROOTDIR}/NYC3-Qt.app" CODESIGN=codesign TEMPDIR=sign.temp TEMPLIST=${TEMPDIR}/signatures.txt diff --git a/contrib/macdeploy/extract-osx-sdk.sh b/contrib/macdeploy/extract-osx-sdk.sh index 4c175156f..8b205425f 100755 --- a/contrib/macdeploy/extract-osx-sdk.sh +++ b/contrib/macdeploy/extract-osx-sdk.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright (c) 2016 The Bitcoin Core developers +# Copyright (c) 2016 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/contrib/qos/tc.sh b/contrib/qos/tc.sh index 5b0c749c3..ef62b4927 100644 --- a/contrib/qos/tc.sh +++ b/contrib/qos/tc.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # -# Copyright (c) 2017 The Bitcoin Core developers +# Copyright (c) 2017 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/contrib/seeds/makeseeds.py b/contrib/seeds/makeseeds.py index 6527deccf..32d95575c 100755 --- a/contrib/seeds/makeseeds.py +++ b/contrib/seeds/makeseeds.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2013-2018 The Bitcoin Core developers +# Copyright (c) 2013-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # diff --git a/contrib/testgen/README.md b/contrib/testgen/README.md index 580ed541c..e0f673569 100644 --- a/contrib/testgen/README.md +++ b/contrib/testgen/README.md @@ -1,6 +1,6 @@ ### TestGen ### -Utilities to generate test vectors for the data-driven Bitcoin tests. +Utilities to generate test vectors for the data-driven NYC3 tests. Usage: diff --git a/contrib/testgen/base58.py b/contrib/testgen/base58.py index da67cb2d9..c0a5ce6e9 100644 --- a/contrib/testgen/base58.py +++ b/contrib/testgen/base58.py @@ -1,8 +1,8 @@ -# Copyright (c) 2012-2018 The Bitcoin Core developers +# Copyright (c) 2012-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. ''' -Bitcoin base58 encoding and decoding. +NYC3 base58 encoding and decoding. Based on https://bitcointalk.org/index.php?topic=1026.0 (public domain) ''' @@ -39,7 +39,7 @@ def b58encode(v): long_value = div result = __b58chars[long_value] + result - # Bitcoin does a little leading-zero-compression: + # NYC3 does a little leading-zero-compression: # leading 0-bytes in the input become leading-1s nPad = 0 for c in v: diff --git a/contrib/testgen/gen_key_io_test_vectors.py b/contrib/testgen/gen_key_io_test_vectors.py index a00acb1f4..6789fae06 100755 --- a/contrib/testgen/gen_key_io_test_vectors.py +++ b/contrib/testgen/gen_key_io_test_vectors.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2012-2018 The Bitcoin Core developers +# Copyright (c) 2012-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. ''' diff --git a/contrib/valgrind.supp b/contrib/valgrind.supp index 0f6d993fd..e8d2ce1e0 100644 --- a/contrib/valgrind.supp +++ b/contrib/valgrind.supp @@ -1,4 +1,4 @@ -# Valgrind suppressions file for Bitcoin. +# Valgrind suppressions file for NYC3. # # Includes known Valgrind warnings in our dependencies that cannot be fixed # in-tree. diff --git a/contrib/verify-commits/gpg.sh b/contrib/verify-commits/gpg.sh index 7a10ba7d7..65be91a7c 100755 --- a/contrib/verify-commits/gpg.sh +++ b/contrib/verify-commits/gpg.sh @@ -1,5 +1,5 @@ #!/bin/sh -# Copyright (c) 2014-2016 The Bitcoin Core developers +# Copyright (c) 2014-2016 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/contrib/verify-commits/pre-push-hook.sh b/contrib/verify-commits/pre-push-hook.sh index 4db4a9085..de515418e 100755 --- a/contrib/verify-commits/pre-push-hook.sh +++ b/contrib/verify-commits/pre-push-hook.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright (c) 2014-2015 The Bitcoin Core developers +# Copyright (c) 2014-2015 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/contrib/verify-commits/verify-commits.py b/contrib/verify-commits/verify-commits.py index 6bbed0107..dac04996f 100755 --- a/contrib/verify-commits/verify-commits.py +++ b/contrib/verify-commits/verify-commits.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2018 The Bitcoin Core developers +# Copyright (c) 2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Verify commits against a trusted keys list.""" diff --git a/contrib/verifybinaries/verify.sh b/contrib/verifybinaries/verify.sh index 956390a3b..2520b9998 100755 --- a/contrib/verifybinaries/verify.sh +++ b/contrib/verifybinaries/verify.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright (c) 2016 The Bitcoin Core developers +# Copyright (c) 2016 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/contrib/windeploy/detached-sig-create.sh b/contrib/windeploy/detached-sig-create.sh index 15f8108cf..48373a634 100755 --- a/contrib/windeploy/detached-sig-create.sh +++ b/contrib/windeploy/detached-sig-create.sh @@ -1,5 +1,5 @@ #!/bin/sh -# Copyright (c) 2014-2015 The Bitcoin Core developers +# Copyright (c) 2014-2015 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/contrib/zmq/zmq_sub.py b/contrib/zmq/zmq_sub.py index 06893407f..c596c2ea1 100644 --- a/contrib/zmq/zmq_sub.py +++ b/contrib/zmq/zmq_sub.py @@ -1,12 +1,12 @@ #!/usr/bin/env python3 -# Copyright (c) 2014-2018 The Bitcoin Core developers +# Copyright (c) 2014-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """ ZMQ example using python3's asyncio - Bitcoin should be started with the command line arguments: + NYC3 should be started with the command line arguments: bitcoind -testnet -daemon \ -zmqpubrawtx=tcp://127.0.0.1:28332 \ -zmqpubrawblock=tcp://127.0.0.1:28332 \ diff --git a/contrib/zmq/zmq_sub3.4.py b/contrib/zmq/zmq_sub3.4.py index 66fdf7887..3a94085c0 100644 --- a/contrib/zmq/zmq_sub3.4.py +++ b/contrib/zmq/zmq_sub3.4.py @@ -1,12 +1,12 @@ #!/usr/bin/env python3 -# Copyright (c) 2014-2018 The Bitcoin Core developers +# Copyright (c) 2014-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """ ZMQ example using python3's asyncio - Bitcoin should be started with the command line arguments: + NYC3 should be started with the command line arguments: bitcoind -testnet -daemon \ -zmqpubrawtx=tcp://127.0.0.1:28332 \ -zmqpubrawblock=tcp://127.0.0.1:28332 \ diff --git a/depends/README.md b/depends/README.md index 693bc3619..b16f35c47 100644 --- a/depends/README.md +++ b/depends/README.md @@ -12,9 +12,9 @@ For example: make HOST=x86_64-w64-mingw32 -j4 -A prefix will be generated that's suitable for plugging into Bitcoin's +A prefix will be generated that's suitable for plugging into NYC3's configure. In the above example, a dir named x86_64-w64-mingw32 will be -created. To use it for Bitcoin: +created. To use it for NYC3: ./configure --prefix=`pwd`/depends/x86_64-w64-mingw32 diff --git a/depends/description.md b/depends/description.md index 9fc7093be..bf35a333c 100644 --- a/depends/description.md +++ b/depends/description.md @@ -1,4 +1,4 @@ -This is a system of building and caching dependencies necessary for building Bitcoin. +This is a system of building and caching dependencies necessary for building NYC3. There are several features that make it different from most similar systems: ### It is designed to be builder and host agnostic diff --git a/doc/Doxyfile.in b/doc/Doxyfile.in index 5d4dd50c8..da922864a 100644 --- a/doc/Doxyfile.in +++ b/doc/Doxyfile.in @@ -1265,7 +1265,7 @@ DOCSET_FEEDNAME = "Doxygen generated docs" # The default value is: org.doxygen.Project. # This tag requires that the tag GENERATE_DOCSET is set to YES. -DOCSET_BUNDLE_ID = org.bitcoin.Bitcoin-Core +DOCSET_BUNDLE_ID = org.bitcoin.NYC3-Core # The DOCSET_PUBLISHER_ID tag specifies a string that should uniquely identify # the documentation publisher. This should be a reverse domain-name style @@ -1273,7 +1273,7 @@ DOCSET_BUNDLE_ID = org.bitcoin.Bitcoin-Core # The default value is: org.doxygen.Publisher. # This tag requires that the tag GENERATE_DOCSET is set to YES. -DOCSET_PUBLISHER_ID = org.bitcoin.Bitcoin-Core +DOCSET_PUBLISHER_ID = org.bitcoin.NYC3-Core # The DOCSET_PUBLISHER_NAME tag identifies the documentation publisher. # The default value is: Publisher. diff --git a/doc/README.md b/doc/README.md index 8be3c6cbc..f752587e7 100644 --- a/doc/README.md +++ b/doc/README.md @@ -3,7 +3,7 @@ NYC3 Setup --------------------- -NYC3 is the original Bitcoin client and it builds the backbone of the network. It downloads and, by default, stores the entire history of Bitcoin transactions, which requires a few hundred gigabytes of disk space. Depending on the speed of your computer and network connection, the synchronization process can take anywhere from a few hours to a day or more. +NYC3 is the original NYC3 client and it builds the backbone of the network. It downloads and, by default, stores the entire history of NYC3 transactions, which requires a few hundred gigabytes of disk space. Depending on the speed of your computer and network connection, the synchronization process can take anywhere from a few hours to a day or more. To download NYC3, visit [bitcoincore.org](https://bitcoincore.org/en/download/). @@ -28,10 +28,10 @@ Drag NYC3 to your applications folder, and then run NYC3. ### Need Help? -* See the documentation at the [Bitcoin Wiki](https://en.bitcoin.it/wiki/Main_Page) +* See the documentation at the [NYC3 Wiki](https://en.bitcoin.it/wiki/Main_Page) for help and more information. * Ask for help on [#bitcoin](http://webchat.freenode.net?channels=bitcoin) on Freenode. If you don't have an IRC client, use [webchat here](http://webchat.freenode.net?channels=bitcoin). -* Ask for help on the [BitcoinTalk](https://bitcointalk.org/) forums, in the [Technical Support board](https://bitcointalk.org/index.php?board=4.0). +* Ask for help on the [NYC3Talk](https://bitcointalk.org/) forums, in the [Technical Support board](https://bitcointalk.org/index.php?board=4.0). Building --------------------- @@ -48,7 +48,7 @@ The following are developer notes on how to build NYC3 on your native platform. Development --------------------- -The Bitcoin repo's [root README](/README.md) contains relevant information on the development process and automated testing. +The NYC3 repo's [root README](/README.md) contains relevant information on the development process and automated testing. - [Developer Notes](developer-notes.md) - [Productivity Notes](productivity.md) @@ -66,9 +66,9 @@ The Bitcoin repo's [root README](/README.md) contains relevant information on th - [Benchmarking](benchmarking.md) ### Resources -* Discuss on the [BitcoinTalk](https://bitcointalk.org/) forums, in the [Development & Technical Discussion board](https://bitcointalk.org/index.php?board=6.0). +* Discuss on the [NYC3Talk](https://bitcointalk.org/) forums, in the [Development & Technical Discussion board](https://bitcointalk.org/index.php?board=6.0). * Discuss project-specific development on #bitcoin-core-dev on Freenode. If you don't have an IRC client, use [webchat here](http://webchat.freenode.net/?channels=bitcoin-core-dev). -* Discuss general Bitcoin development on #bitcoin-dev on Freenode. If you don't have an IRC client, use [webchat here](http://webchat.freenode.net/?channels=bitcoin-dev). +* Discuss general NYC3 development on #bitcoin-dev on Freenode. If you don't have an IRC client, use [webchat here](http://webchat.freenode.net/?channels=bitcoin-dev). ### Miscellaneous - [Assets Attribution](assets-attribution.md) diff --git a/doc/README_windows.txt b/doc/README_windows.txt index 822c8d4b6..aa34df148 100644 --- a/doc/README_windows.txt +++ b/doc/README_windows.txt @@ -3,7 +3,7 @@ NYC3 Intro ----- -Bitcoin is a free open source peer-to-peer electronic cash system that is +NYC3 is a free open source peer-to-peer electronic cash system that is completely decentralized, without the need for a central server or trusted parties. Users hold the crypto keys to their own money and transact directly with each other, with the help of a P2P network to check for double-spending. @@ -13,8 +13,8 @@ Setup ----- Unpack the files into a directory and run bitcoin-qt.exe. -NYC3 is the original Bitcoin client and it builds the backbone of the network. -However, it downloads and stores the entire history of Bitcoin transactions; +NYC3 is the original NYC3 client and it builds the backbone of the network. +However, it downloads and stores the entire history of NYC3 transactions; depending on the speed of your computer and network connection, the synchronization process can take anywhere from a few hours to a day or more. diff --git a/doc/bips.md b/doc/bips.md index 026817aa7..4bb34cf8e 100644 --- a/doc/bips.md +++ b/doc/bips.md @@ -5,7 +5,7 @@ BIPs that are implemented by NYC3 (up-to-date up to **v0.18.0**): * [`BIP 13`](https://github.com/bitcoin/bips/blob/master/bip-0013.mediawiki): The address format for P2SH addresses has been implemented since **v0.6.0** ([PR #669](https://github.com/bitcoin/bitcoin/pull/669)). * [`BIP 14`](https://github.com/bitcoin/bips/blob/master/bip-0014.mediawiki): The subversion string is being used as User Agent since **v0.6.0** ([PR #669](https://github.com/bitcoin/bitcoin/pull/669)). * [`BIP 16`](https://github.com/bitcoin/bips/blob/master/bip-0016.mediawiki): The pay-to-script-hash evaluation rules have been implemented since **v0.6.0**, and took effect on *April 1st 2012* ([PR #748](https://github.com/bitcoin/bitcoin/pull/748)). -* [`BIP 21`](https://github.com/bitcoin/bips/blob/master/bip-0021.mediawiki): The URI format for Bitcoin payments has been implemented since **v0.6.0** ([PR #176](https://github.com/bitcoin/bitcoin/pull/176)). +* [`BIP 21`](https://github.com/bitcoin/bips/blob/master/bip-0021.mediawiki): The URI format for NYC3 payments has been implemented since **v0.6.0** ([PR #176](https://github.com/bitcoin/bitcoin/pull/176)). * [`BIP 22`](https://github.com/bitcoin/bips/blob/master/bip-0022.mediawiki): The 'getblocktemplate' (GBT) RPC protocol for mining has been implemented since **v0.7.0** ([PR #936](https://github.com/bitcoin/bitcoin/pull/936)). * [`BIP 23`](https://github.com/bitcoin/bips/blob/master/bip-0023.mediawiki): Some extensions to GBT have been implemented since **v0.10.0rc1**, including longpolling and block proposals ([PR #1816](https://github.com/bitcoin/bitcoin/pull/1816)). * [`BIP 30`](https://github.com/bitcoin/bips/blob/master/bip-0030.mediawiki): The evaluation rules to forbid creating new transactions with the same txid as previous not-fully-spent transactions were implemented since **v0.6.0**, and the rule took effect on *March 15th 2012* ([PR #915](https://github.com/bitcoin/bitcoin/pull/915)). @@ -35,5 +35,5 @@ BIPs that are implemented by NYC3 (up-to-date up to **v0.18.0**): * [`BIP 152`](https://github.com/bitcoin/bips/blob/master/bip-0152.mediawiki): Compact block transfer and related optimizations are used as of **v0.13.0** ([PR 8068](https://github.com/bitcoin/bitcoin/pull/8068)). * [`BIP 159`](https://github.com/bitcoin/bips/blob/master/bip-0159.mediawiki): The NODE_NETWORK_LIMITED service bit is signalled as of **v0.16.0** ([PR 11740](https://github.com/bitcoin/bitcoin/pull/11740)), and such nodes are connected to as of **v0.17.0** ([PR 10387](https://github.com/bitcoin/bitcoin/pull/10387)). * [`BIP 173`](https://github.com/bitcoin/bips/blob/master/bip-0173.mediawiki): Bech32 addresses for native Segregated Witness outputs are supported as of **v0.16.0** ([PR 11167](https://github.com/bitcoin/bitcoin/pull/11167)). -* [`BIP 174`](https://github.com/bitcoin/bips/blob/master/bip-0174.mediawiki): RPCs to operate on Partially Signed Bitcoin Transactions (PSBT) are present as of **v0.17.0** ([PR 13557](https://github.com/bitcoin/bitcoin/pull/13557)). +* [`BIP 174`](https://github.com/bitcoin/bips/blob/master/bip-0174.mediawiki): RPCs to operate on Partially Signed NYC3 Transactions (PSBT) are present as of **v0.17.0** ([PR 13557](https://github.com/bitcoin/bitcoin/pull/13557)). * [`BIP 176`](https://github.com/bitcoin/bips/blob/master/bip-0176.mediawiki): Bits Denomination [QT only] is supported as of **v0.16.0** ([PR 12035](https://github.com/bitcoin/bitcoin/pull/12035)). diff --git a/doc/bitcoin-conf.md b/doc/bitcoin-conf.md index 88ecb8fe6..86530e44a 100644 --- a/doc/bitcoin-conf.md +++ b/doc/bitcoin-conf.md @@ -32,6 +32,6 @@ Network specific options can be: ## Configuration File Path -The configuration file is not automatically created; you can create it using your favorite text editor. By default, the configuration file name is `bitcoin.conf` and it is located in the Bitcoin data directory, but both the Bitcoin data directory and the configuration file path may be changed using the `-datadir` and `-conf` command-line options. +The configuration file is not automatically created; you can create it using your favorite text editor. By default, the configuration file name is `bitcoin.conf` and it is located in the NYC3 data directory, but both the NYC3 data directory and the configuration file path may be changed using the `-datadir` and `-conf` command-line options. The `includeconf=` option in the `bitcoin.conf` file can be used to include additional configuration files. diff --git a/doc/build-osx.md b/doc/build-osx.md index 39b086a8d..d740eacb4 100644 --- a/doc/build-osx.md +++ b/doc/build-osx.md @@ -82,17 +82,17 @@ NYC3 is now available at `./src/bitcoind` Before running, you may create an empty configuration file: - mkdir -p "/Users/${USER}/Library/Application Support/Bitcoin" + mkdir -p "/Users/${USER}/Library/Application Support/NYC3" - touch "/Users/${USER}/Library/Application Support/Bitcoin/bitcoin.conf" + touch "/Users/${USER}/Library/Application Support/NYC3/bitcoin.conf" - chmod 600 "/Users/${USER}/Library/Application Support/Bitcoin/bitcoin.conf" + chmod 600 "/Users/${USER}/Library/Application Support/NYC3/bitcoin.conf" The first time you run bitcoind, it will start downloading the blockchain. This process could take many hours, or even days on slower than average systems. You can monitor the download process by looking at the debug.log file: - tail -f $HOME/Library/Application\ Support/Bitcoin/debug.log + tail -f $HOME/Library/Application\ Support/NYC3/debug.log Other commands: ------- diff --git a/doc/descriptors.md b/doc/descriptors.md index ff504ce7b..be6949436 100644 --- a/doc/descriptors.md +++ b/doc/descriptors.md @@ -100,7 +100,7 @@ not contain "p2" for brevity. ### Multisig Several pieces of software use multi-signature (multisig) scripts based -on Bitcoin's OP_CHECKMULTISIG opcode. To support these, we introduce the +on NYC3's OP_CHECKMULTISIG opcode. To support these, we introduce the `multi(k,key_1,key_2,...,key_n)` function. It represents a *k-of-n* multisig policy, where any *k* out of the *n* provided `KEY` expressions must sign. diff --git a/doc/developer-notes.md b/doc/developer-notes.md index e710cb4a9..a694db9f9 100644 --- a/doc/developer-notes.md +++ b/doc/developer-notes.md @@ -807,7 +807,7 @@ you must be aware of. In most configurations we use the default LevelDB value for `max_open_files`, which is 1000 at the time of this writing. If LevelDB actually uses this many -file descriptors it will cause problems with Bitcoin's `select()` loop, because +file descriptors it will cause problems with NYC3's `select()` loop, because it may cause new sockets to be created where the fd value is >= 1024. For this reason, on 64-bit Unix systems we rely on an internal LevelDB optimization that uses `mmap()` + `close()` to open table files without actually retaining @@ -833,14 +833,14 @@ details. ### Consensus Compatibility It is possible for LevelDB changes to inadvertently change consensus -compatibility between nodes. This happened in Bitcoin 0.8 (when LevelDB was +compatibility between nodes. This happened in NYC3 0.8 (when LevelDB was first introduced). When upgrading LevelDB you should review the upstream changes to check for issues affecting consensus compatibility. For example, if LevelDB had a bug that accidentally prevented a key from being returned in an edge case, and that bug was fixed upstream, the bug "fix" would be an incompatible consensus change. In this situation the correct behavior -would be to revert the upstream fix before applying the updates to Bitcoin's +would be to revert the upstream fix before applying the updates to NYC3's copy of LevelDB. In general you should be wary of any upstream changes affecting what data is returned from LevelDB queries. diff --git a/doc/dnsseed-policy.md b/doc/dnsseed-policy.md index 64b96fd04..7be874579 100644 --- a/doc/dnsseed-policy.md +++ b/doc/dnsseed-policy.md @@ -4,9 +4,9 @@ Expectations for DNS Seed operators NYC3 attempts to minimize the level of trust in DNS seeds, but DNS seeds still pose a small amount of risk for the network. As such, DNS seeds must be run by entities which have some minimum -level of trust within the Bitcoin community. +level of trust within the NYC3 community. -Other implementations of Bitcoin software may also use the same +Other implementations of NYC3 software may also use the same seeds and may be more exposed. In light of this exposure, this document establishes some basic expectations for operating dnsseeds. @@ -16,7 +16,7 @@ and not sell or transfer control of the DNS seed. Any hosting services contracted by the operator are equally expected to uphold these expectations. 1. The DNS seed results must consist exclusively of fairly selected and -functioning Bitcoin nodes from the public network to the best of the +functioning NYC3 nodes from the public network to the best of the operator's understanding and capability. 2. For the avoidance of doubt, the results may be randomized but must not @@ -26,7 +26,7 @@ urgent technical necessity and disclosed. 3. The results may not be served with a DNS TTL of less than one minute. 4. Any logging of DNS queries should be only that which is necessary -for the operation of the service or urgent health of the Bitcoin +for the operation of the service or urgent health of the NYC3 network and must not be retained longer than necessary nor disclosed to any third party. @@ -42,7 +42,7 @@ details of their operating practices. related to the DNS seed operation. If these expectations cannot be satisfied the operator should -discontinue providing services and contact the active Bitcoin +discontinue providing services and contact the active NYC3 Core development team as well as posting on [bitcoin-dev](https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev). diff --git a/doc/init.md b/doc/init.md index a6c9bb94d..75dcf066b 100644 --- a/doc/init.md +++ b/doc/init.md @@ -84,9 +84,9 @@ OpenRC). ### macOS Binary: `/usr/local/bin/bitcoind` -Configuration file: `~/Library/Application Support/Bitcoin/bitcoin.conf` -Data directory: `~/Library/Application Support/Bitcoin` -Lock file: `~/Library/Application Support/Bitcoin/.lock` +Configuration file: `~/Library/Application Support/NYC3/bitcoin.conf` +Data directory: `~/Library/Application Support/NYC3` +Lock file: `~/Library/Application Support/NYC3/.lock` Installing Service Configuration ----------------------------------- diff --git a/doc/man/bitcoin-cli.1 b/doc/man/bitcoin-cli.1 index 2f6b6ce6f..6e9b08b7b 100644 --- a/doc/man/bitcoin-cli.1 +++ b/doc/man/bitcoin-cli.1 @@ -104,7 +104,7 @@ Chain selection options: .IP Use the test chain .SH COPYRIGHT -Copyright (C) 2009-2019 The Bitcoin Core developers +Copyright (C) 2009-2019 The NYC3 Core developers Please contribute if you find NYC3 useful. Visit for further information about the software. diff --git a/doc/man/bitcoin-qt.1 b/doc/man/bitcoin-qt.1 index ac8bd2985..94d3959d0 100644 --- a/doc/man/bitcoin-qt.1 +++ b/doc/man/bitcoin-qt.1 @@ -626,7 +626,7 @@ Set SSL root certificates for payment request (default: \fB\-system\-\fR) .IP Show splash screen on startup (default: 1) .SH COPYRIGHT -Copyright (C) 2009-2019 The Bitcoin Core developers +Copyright (C) 2009-2019 The NYC3 Core developers Please contribute if you find NYC3 useful. Visit for further information about the software. diff --git a/doc/man/bitcoin-tx.1 b/doc/man/bitcoin-tx.1 index dde97b795..810cd07d7 100644 --- a/doc/man/bitcoin-tx.1 +++ b/doc/man/bitcoin-tx.1 @@ -105,7 +105,7 @@ set=NAME:JSON\-STRING .IP Set register NAME to given JSON\-STRING .SH COPYRIGHT -Copyright (C) 2009-2019 The Bitcoin Core developers +Copyright (C) 2009-2019 The NYC3 Core developers Please contribute if you find NYC3 useful. Visit for further information about the software. diff --git a/doc/man/bitcoin-wallet.1 b/doc/man/bitcoin-wallet.1 index 306a03331..d31308779 100644 --- a/doc/man/bitcoin-wallet.1 +++ b/doc/man/bitcoin-wallet.1 @@ -52,7 +52,7 @@ info .IP Get wallet info .SH COPYRIGHT -Copyright (C) 2009-2019 The Bitcoin Core developers +Copyright (C) 2009-2019 The NYC3 Core developers Please contribute if you find NYC3 useful. Visit for further information about the software. diff --git a/doc/man/bitcoind.1 b/doc/man/bitcoind.1 index e743fdcb1..2bb18a357 100644 --- a/doc/man/bitcoind.1 +++ b/doc/man/bitcoind.1 @@ -600,7 +600,7 @@ Username for JSON\-RPC connections .IP Accept command line and JSON\-RPC commands .SH COPYRIGHT -Copyright (C) 2009-2019 The Bitcoin Core developers +Copyright (C) 2009-2019 The NYC3 Core developers Please contribute if you find NYC3 useful. Visit for further information about the software. diff --git a/doc/psbt.md b/doc/psbt.md index 56a49b0b7..0e2d46e65 100644 --- a/doc/psbt.md +++ b/doc/psbt.md @@ -1,6 +1,6 @@ # PSBT Howto for NYC3 -Since NYC3 0.17, an RPC interface exists for Partially Signed Bitcoin +Since NYC3 0.17, an RPC interface exists for Partially Signed NYC3 Transactions (PSBTs, as specified in [BIP 174](https://github.com/bitcoin/bips/blob/master/bip-0174.mediawiki)). @@ -10,7 +10,7 @@ scenarios. ## PSBT in general -PSBT is an interchange format for Bitcoin transactions that are not fully signed +PSBT is an interchange format for NYC3 transactions that are not fully signed yet, together with relevant metadata to help entities work towards signing it. It is intended to simplify workflows where multiple parties need to cooperate to produce a transaction. Examples include hardware wallets, multisig setups, and @@ -18,7 +18,7 @@ produce a transaction. Examples include hardware wallets, multisig setups, and ### Overall workflow -Overall, the construction of a fully signed Bitcoin transaction goes through the +Overall, the construction of a fully signed NYC3 transaction goes through the following steps: - A **Creator** proposes a particular transaction to be created. They construct @@ -32,7 +32,7 @@ following steps: partial signature for the inputs for which they have relevant key(s). - A **Finalizer** is run for each input to convert the partial signatures and possibly script information into a final `scriptSig` and/or `scriptWitness`. -- An **Extractor** produces a valid Bitcoin transaction (in network format) +- An **Extractor** produces a valid NYC3 transaction (in network format) from a PSBT for which all inputs are finalized. Generally, each of the above (excluding Creator and Extractor) will simply diff --git a/doc/release-notes.md b/doc/release-notes.md index b583d3245..7cd4808c7 100644 --- a/doc/release-notes.md +++ b/doc/release-notes.md @@ -19,7 +19,7 @@ How to Upgrade If you are running an older version, shut it down. Wait until it has completely shut down (which might take a few minutes for older versions), then run the installer (on Windows) or just copy over -`/Applications/Bitcoin-Qt` (on Mac) or `bitcoind`/`bitcoin-qt` (on +`/Applications/NYC3-Qt` (on Mac) or `bitcoind`/`bitcoin-qt` (on Linux). The first time you run version 0.15.0 or newer, your chainstate database diff --git a/doc/release-notes/release-notes-0.10.0.md b/doc/release-notes/release-notes-0.10.0.md index cb6a95bcc..42f1b93c2 100644 --- a/doc/release-notes/release-notes-0.10.0.md +++ b/doc/release-notes/release-notes-0.10.0.md @@ -17,7 +17,7 @@ How to Upgrade If you are running an older version, shut it down. Wait until it has completely shut down (which might take a few minutes for older versions), then run the -installer (on Windows) or just copy over /Applications/Bitcoin-Qt (on Mac) or +installer (on Windows) or just copy over /Applications/NYC3-Qt (on Mac) or bitcoind/bitcoin-qt (on Linux). Downgrading warning @@ -172,7 +172,7 @@ improved by making the signatures constant time and deterministic. This change is a result of switching signing to use libsecp256k1 instead of OpenSSL. Libsecp256k1 is a cryptographic library -optimized for the curve Bitcoin uses which was created by Bitcoin +optimized for the curve NYC3 uses which was created by NYC3 Core developer Pieter Wuille. There exist attacks[1] against most ECC implementations where an @@ -187,7 +187,7 @@ long time, but this functionality has still not made its way into a released version of OpenSSL. Libsecp256k1 achieves significantly stronger protection: As far as we're aware this is the only deployed implementation of constant time signing for -the curve Bitcoin uses and we have reason to believe that +the curve NYC3 uses and we have reason to believe that libsecp256k1 is better tested and more thoroughly reviewed than the implementation in OpenSSL. @@ -225,7 +225,7 @@ Consensus library Starting from 0.10.0, the NYC3 distribution includes a consensus library. The purpose of this library is to make the verification functionality that is -critical to Bitcoin's consensus available to other applications, e.g. to language +critical to NYC3's consensus available to other applications, e.g. to language bindings such as [python-bitcoinlib](https://pypi.python.org/pypi/python-bitcoinlib) or alternative node implementations. @@ -247,7 +247,7 @@ Standard script rules relaxed for P2SH addresses The IsStandard() rules have been almost completely removed for P2SH redemption scripts, allowing applications to make use of any valid script type, such as "n-of-m OR y", hash-locked oracle addresses, etc. -While the Bitcoin protocol has always supported these types of script, +While the NYC3 protocol has always supported these types of script, actually using them on mainnet has been previously inconvenient as standard NYC3 nodes wouldn't relay them to miners, nor would most miners include them in blocks they mined. @@ -282,7 +282,7 @@ Mining and relay policy enhancements NYC3's block templates are now for version 3 blocks only, and any mining software relying on its `getblocktemplate` must be updated in parallel to use libblkmaker either version 0.4.2 or any version from 0.5.1 onward. -If you are solo mining, this will affect you the moment you upgrade Bitcoin +If you are solo mining, this will affect you the moment you upgrade NYC3 Core, which must be done prior to BIP66 achieving its 951/1001 status. If you are mining with the stratum mining protocol: this does not affect you. If you are mining with the getblocktemplate protocol to a pool: this will affect @@ -315,7 +315,7 @@ BIP 66: strict DER encoding for signatures NYC3 0.10 implements BIP 66, which introduces block version 3, and a new consensus rule, which prohibits non-DER signatures. Such transactions have been -non-standard since Bitcoin v0.8.0 (released in February 2013), but were +non-standard since NYC3 v0.8.0 (released in February 2013), but were technically still permitted inside blocks. This change breaks the dependency on OpenSSL's signature parsing, and is @@ -539,7 +539,7 @@ GUI: - `7007402` Implement SI-style (thin space) thoudands separator - `91cce17` Use fixed-point arithmetic in amount spinbox - `bdba2dd` Remove an obscure option no-one cares about -- `bd0aa10` Replace the temporary file hack currently used to change Bitcoin-Qt's dock icon (OS X) with a buffer-based solution +- `bd0aa10` Replace the temporary file hack currently used to change NYC3-Qt's dock icon (OS X) with a buffer-based solution - `94e1b9e` Re-work overviewpage UI - `8bfdc9a` Better looking trayicon - `b197bf3` disable tray interactions when client model set to 0 diff --git a/doc/release-notes/release-notes-0.10.1.md b/doc/release-notes/release-notes-0.10.1.md index 5872665f6..8d2c8693a 100644 --- a/doc/release-notes/release-notes-0.10.1.md +++ b/doc/release-notes/release-notes-0.10.1.md @@ -17,7 +17,7 @@ How to Upgrade If you are running an older version, shut it down. Wait until it has completely shut down (which might take a few minutes for older versions), then run the -installer (on Windows) or just copy over /Applications/Bitcoin-Qt (on Mac) or +installer (on Windows) or just copy over /Applications/NYC3-Qt (on Mac) or bitcoind/bitcoin-qt (on Linux). Downgrade warning diff --git a/doc/release-notes/release-notes-0.10.2.md b/doc/release-notes/release-notes-0.10.2.md index 9b55becdb..12c525d96 100644 --- a/doc/release-notes/release-notes-0.10.2.md +++ b/doc/release-notes/release-notes-0.10.2.md @@ -17,7 +17,7 @@ How to Upgrade If you are running an older version, shut it down. Wait until it has completely shut down (which might take a few minutes for older versions), then run the -installer (on Windows) or just copy over /Applications/Bitcoin-Qt (on Mac) or +installer (on Windows) or just copy over /Applications/NYC3-Qt (on Mac) or bitcoind/bitcoin-qt (on Linux). Downgrade warning diff --git a/doc/release-notes/release-notes-0.10.3.md b/doc/release-notes/release-notes-0.10.3.md index fdc6442b9..1b715f1c9 100644 --- a/doc/release-notes/release-notes-0.10.3.md +++ b/doc/release-notes/release-notes-0.10.3.md @@ -17,7 +17,7 @@ How to Upgrade If you are running an older version, shut it down. Wait until it has completely shut down (which might take a few minutes for older versions), then run the -installer (on Windows) or just copy over /Applications/Bitcoin-Qt (on Mac) or +installer (on Windows) or just copy over /Applications/NYC3-Qt (on Mac) or bitcoind/bitcoin-qt (on Linux). Downgrade warning @@ -84,15 +84,15 @@ much more common since BIP62 was initially written. NYC3 has produced compatible signatures since a28fb70e in September 2013, but this didn't make it into a release until 0.9 -in March 2014; Bitcoinj has done so for a similar span of time. -Bitcoinjs and electrum have been more recently updated. +in March 2014; NYC3j has done so for a similar span of time. +NYC3js and electrum have been more recently updated. This does not replace the need for BIP62 or similar, as miners can still cooperate to break transactions. Nor does it replace the need for wallet software to handle malleability sanely[1]. This only eliminates the cheap and irritating DOS attack. -[1] On the Malleability of Bitcoin Transactions +[1] On the Malleability of NYC3 Transactions Marcin Andrychowicz, Stefan Dziembowski, Daniel Malinowski, Łukasz Mazurek http://fc15.ifca.ai/preproceedings/bitcoin/paper_9.pdf diff --git a/doc/release-notes/release-notes-0.10.4.md b/doc/release-notes/release-notes-0.10.4.md index cd0c4a60e..6d79f6590 100644 --- a/doc/release-notes/release-notes-0.10.4.md +++ b/doc/release-notes/release-notes-0.10.4.md @@ -18,7 +18,7 @@ How to Upgrade If you are running an older version, shut it down. Wait until it has completely shut down (which might take a few minutes for older versions), then run the -installer (on Windows) or just copy over /Applications/Bitcoin-Qt (on Mac) or +installer (on Windows) or just copy over /Applications/NYC3-Qt (on Mac) or bitcoind/bitcoin-qt (on Linux). Downgrade warning diff --git a/doc/release-notes/release-notes-0.11.0.md b/doc/release-notes/release-notes-0.11.0.md index b46b8b08e..2c63b5f26 100644 --- a/doc/release-notes/release-notes-0.11.0.md +++ b/doc/release-notes/release-notes-0.11.0.md @@ -17,7 +17,7 @@ How to Upgrade If you are running an older version, shut it down. Wait until it has completely shut down (which might take a few minutes for older versions), then run the -installer (on Windows) or just copy over /Applications/Bitcoin-Qt (on Mac) or +installer (on Windows) or just copy over /Applications/NYC3-Qt (on Mac) or bitcoind/bitcoin-qt (on Linux). Downgrade warning @@ -346,7 +346,7 @@ git merge commit are mentioned. - #5626 `ab0d798` Fix icon sizes and column width - #5683 `c7b22aa` add new osx dmg background picture - #5620 `7823598` Payment request expiration bug fix -- #5729 `9c4a5a5` Allow unit changes for read-only BitcoinAmountField +- #5729 `9c4a5a5` Allow unit changes for read-only NYC3AmountField - #5753 `0f44672` Add bitcoin logo to about screen - #5629 `a956586` Prevent amount overflow problem with payment requests - #5830 `215475a` Don't save geometry for options and about/help window @@ -404,7 +404,7 @@ git merge commit are mentioned. - #6104 `3e2559c` Show an init message while activating best chain - #6125 `351f73e` Clean up parsing of bool command line args - #5964 `b4c219b` Lightweight task scheduler -- #6116 `30dc3c1` [OSX] rename Bitcoin-Qt.app to Bitcoin-Core.app +- #6116 `30dc3c1` [OSX] rename NYC3-Qt.app to NYC3-Core.app - #6168 `b3024f0` contrib/linearize: Support linearization of testnet blocks - #6098 `7708fcd` Update Windows resource files (and add one for bitcoin-tx) - #6159 `e1412d3` Catch errors on datadir lock and pidfile delete @@ -427,7 +427,7 @@ Thanks to everyone who directly contributed to this release: - azeteki - Ben Holden-Crowther - bikinibabe -- BitcoinPRReadingGroup +- NYC3PRReadingGroup - Blake Jakopovic - BtcDrak - charlescharles diff --git a/doc/release-notes/release-notes-0.11.1.md b/doc/release-notes/release-notes-0.11.1.md index fdcfac720..efb4e958d 100644 --- a/doc/release-notes/release-notes-0.11.1.md +++ b/doc/release-notes/release-notes-0.11.1.md @@ -17,7 +17,7 @@ How to Upgrade If you are running an older version, shut it down. Wait until it has completely shut down (which might take a few minutes for older versions), then run the -installer (on Windows) or just copy over /Applications/Bitcoin-Qt (on Mac) or +installer (on Windows) or just copy over /Applications/NYC3-Qt (on Mac) or bitcoind/bitcoin-qt (on Linux). Downgrade warning @@ -85,15 +85,15 @@ much more common since BIP62 was initially written. NYC3 has produced compatible signatures since a28fb70e in September 2013, but this didn't make it into a release until 0.9 -in March 2014; Bitcoinj has done so for a similar span of time. -Bitcoinjs and electrum have been more recently updated. +in March 2014; NYC3j has done so for a similar span of time. +NYC3js and electrum have been more recently updated. This does not replace the need for BIP62 or similar, as miners can still cooperate to break transactions. Nor does it replace the need for wallet software to handle malleability sanely[1]. This only eliminates the cheap and irritating DOS attack. -[1] On the Malleability of Bitcoin Transactions +[1] On the Malleability of NYC3 Transactions Marcin Andrychowicz, Stefan Dziembowski, Daniel Malinowski, Łukasz Mazurek http://fc15.ifca.ai/preproceedings/bitcoin/paper_9.pdf diff --git a/doc/release-notes/release-notes-0.11.2.md b/doc/release-notes/release-notes-0.11.2.md index 75a43c93b..608a63a8e 100644 --- a/doc/release-notes/release-notes-0.11.2.md +++ b/doc/release-notes/release-notes-0.11.2.md @@ -18,7 +18,7 @@ How to Upgrade If you are running an older version, shut it down. Wait until it has completely shut down (which might take a few minutes for older versions), then run the -installer (on Windows) or just copy over /Applications/Bitcoin-Qt (on Mac) or +installer (on Windows) or just copy over /Applications/NYC3-Qt (on Mac) or bitcoind/bitcoin-qt (on Linux). Downgrade warning @@ -100,7 +100,7 @@ version 0.4.3 or any version from 0.5.2 onward. BIP113 mempool-only locktime enforcement using GetMedianTimePast() ---------------------------------------------------------------- -Bitcoin transactions currently may specify a locktime indicating when +NYC3 transactions currently may specify a locktime indicating when they may be added to a valid block. Current consensus rules require that blocks have a block header time greater than the locktime specified in any transaction in that block. diff --git a/doc/release-notes/release-notes-0.12.0.md b/doc/release-notes/release-notes-0.12.0.md index 5e107bd52..1e1beb9fb 100644 --- a/doc/release-notes/release-notes-0.12.0.md +++ b/doc/release-notes/release-notes-0.12.0.md @@ -16,7 +16,7 @@ How to Upgrade If you are running an older version, shut it down. Wait until it has completely shut down (which might take a few minutes for older versions), then run the -installer (on Windows) or just copy over /Applications/Bitcoin-Qt (on Mac) or +installer (on Windows) or just copy over /Applications/NYC3-Qt (on Mac) or bitcoind/bitcoin-qt (on Linux). Downgrade warning @@ -60,7 +60,7 @@ Notable changes Signature validation using libsecp256k1 --------------------------------------- -ECDSA signatures inside Bitcoin transactions now use validation using +ECDSA signatures inside NYC3 transactions now use validation using [libsecp256k1](https://github.com/bitcoin-core/secp256k1) instead of OpenSSL. Depending on the platform, this means a significant speedup for raw signature @@ -250,7 +250,7 @@ information, pass `-debug=tor`. Notifications through ZMQ ------------------------- -Bitcoind can now (optionally) asynchronously notify clients through a +NYC3d can now (optionally) asynchronously notify clients through a ZMQ-based PUB socket of the arrival of new transactions and blocks. This feature requires installation of the ZMQ C API library 4.x and configuring its use through the command line or configuration file. @@ -263,7 +263,7 @@ Various improvements have been made to how the wallet calculates transaction fees. Users can decide to pay a predefined fee rate by setting `-paytxfee=` -(or `settxfee ` rpc during runtime). A value of `n=0` signals Bitcoin +(or `settxfee ` rpc during runtime). A value of `n=0` signals NYC3 Core to use floating fees. By default, NYC3 will use floating fees. @@ -637,7 +637,7 @@ git merge commit are mentioned. ### Build system - #6210 `0e4f2a0` build: disable optional use of gmp in internal secp256k1 build (Wladimir J. van der Laan) -- #6214 `87406aa` [OSX] revert renaming of Bitcoin-Qt.app and use CFBundleDisplayName (partial revert of #6116) (Jonas Schnelli) +- #6214 `87406aa` [OSX] revert renaming of NYC3-Qt.app and use CFBundleDisplayName (partial revert of #6116) (Jonas Schnelli) - #6218 `9d67b10` build/gitian misc updates (Cory Fields) - #6269 `d4565b6` gitian: Use the new bitcoin-detached-sigs git repo for OSX signatures (Cory Fields) - #6418 `d4a910c` Add autogen.sh to source tarball. (randy-waterhouse) diff --git a/doc/release-notes/release-notes-0.12.1.md b/doc/release-notes/release-notes-0.12.1.md index 3a9e6d97f..5623b7c82 100644 --- a/doc/release-notes/release-notes-0.12.1.md +++ b/doc/release-notes/release-notes-0.12.1.md @@ -17,7 +17,7 @@ How to Upgrade If you are running an older version, shut it down. Wait until it has completely shut down (which might take a few minutes for older versions), then run the -installer (on Windows) or just copy over /Applications/Bitcoin-Qt (on Mac) or +installer (on Windows) or just copy over /Applications/NYC3-Qt (on Mac) or bitcoind/bitcoin-qt (on Linux). Downgrade warning @@ -74,7 +74,7 @@ BIP112 soft fork to enforce OP_CHECKSEQUENCEVERIFY -------------------------------------------------- [BIP112][] redefines the existing OP_NOP3 as OP_CHECKSEQUENCEVERIFY (CSV) -for a new opcode in the Bitcoin scripting system that in combination with +for a new opcode in the NYC3 scripting system that in combination with [BIP68][] allows execution pathways of a script to be restricted based on the age of the output being spent. @@ -88,7 +88,7 @@ NYC3 0.11.2 previously introduced mempool-only locktime enforcement using GetMedianTimePast(). This release seeks to consensus enforce the rule. -Bitcoin transactions currently may specify a locktime indicating when +NYC3 transactions currently may specify a locktime indicating when they may be added to a valid block. Current consensus rules require that blocks have a block header time greater than the locktime specified in any transaction in that block. diff --git a/doc/release-notes/release-notes-0.13.0.md b/doc/release-notes/release-notes-0.13.0.md index 8aabb1d1a..f88eaa8d9 100644 --- a/doc/release-notes/release-notes-0.13.0.md +++ b/doc/release-notes/release-notes-0.13.0.md @@ -232,7 +232,7 @@ files on disk. These two have now been split up, so that all blocks are known before validation starts. This was necessary to make certain optimizations that are available during normal synchronizations also available during reindexing. -The two phases are distinct in the Bitcoin-Qt GUI. During the first one, +The two phases are distinct in the NYC3-Qt GUI. During the first one, "Reindexing blocks on disk" is shown. During the second (slower) one, "Processing blocks on disk" is shown. @@ -563,7 +563,7 @@ git merge commit are mentioned. - #8257 `ff03c50` Do not ask a UI question from bitcoind (sipa) - #8288 `91abb77` Network-specific example address (laanwj) - #7707 `a914968` UI support for abandoned transactions (jonasschnelli) -- #8207 `f7a403b` Add a link to the Bitcoin-Core repository and website to the About Dialog (MarcoFalke) +- #8207 `f7a403b` Add a link to the NYC3-Core repository and website to the About Dialog (MarcoFalke) - #8281 `6a87eb0` Remove client name from debug window (laanwj) - #8407 `45eba4b` Add dbcache migration path (jonasschnelli) @@ -660,7 +660,7 @@ git merge commit are mentioned. - #8090 `a2df115` Adding P2SH(p2pkh) script test case (Christewart) - #7992 `ec45cc5` Extend #7956 with one more test (TheBlueMatt) - #8139 `ae5575b` Fix interrupted HTTP RPC connection workaround for Python 3.5+ (sipa) -- #8164 `0f24eaf` [Bitcoin-Tx] fix missing test fixtures, fix 32bit atoi issue (jonasschnelli) +- #8164 `0f24eaf` [NYC3-Tx] fix missing test fixtures, fix 32bit atoi issue (jonasschnelli) - #8166 `0b5279f` Src/test: Do not shadow local variables (paveljanik) - #8141 `44c1b1c` Continuing port of java comparison tool (mrbandrews) - #8201 `36b7400` fundrawtransaction: Fix race, assert amounts (MarcoFalke) diff --git a/doc/release-notes/release-notes-0.13.1.md b/doc/release-notes/release-notes-0.13.1.md index 7094e6b04..5a205d296 100644 --- a/doc/release-notes/release-notes-0.13.1.md +++ b/doc/release-notes/release-notes-0.13.1.md @@ -56,9 +56,9 @@ covered by the txid. This provides several immediate benefits: identifier (txid) of transactions without referencing the witness, which can sometimes be changed by third-parties (such as miners) or by co-signers in a multisig spend. This solves all known cases of unwanted transaction - malleability, which is a problem that makes programming Bitcoin wallet + malleability, which is a problem that makes programming NYC3 wallet software more difficult and which seriously complicates the design of smart - contracts for Bitcoin. + contracts for NYC3. - **Capacity increase:** Segwit transactions contain new fields that are not part of the data currently used to calculate the size of a block, which @@ -72,7 +72,7 @@ covered by the txid. This provides several immediate benefits: following section for details). - **Weighting data based on how it affects node performance:** Some parts of - each Bitcoin block need to be stored by nodes in order to validate future + each NYC3 block need to be stored by nodes in order to validate future blocks; other parts of a block can be immediately forgotten (pruned) or used only for helping other nodes sync their copy of the block chain. One large part of the immediately prunable data are transaction signatures (witnesses), @@ -105,7 +105,7 @@ covered by the txid. This provides several immediate benefits: different signature method that doesn't suffer from this problem and doesn't have any unwanted side-effects. -- **Increased security for multisig:** Bitcoin addresses (both P2PKH addresses +- **Increased security for multisig:** NYC3 addresses (both P2PKH addresses that start with a '1' and P2SH addresses that start with a '3') use a hash function known as RIPEMD-160. For P2PKH addresses, this provides about 160 bits of security---which is beyond what cryptographers believe can be broken @@ -115,15 +115,15 @@ covered by the txid. This provides several immediate benefits: Segwit allows advanced transactions to use the SHA256 hash function instead, which provides about 128 bits of security (that is 281 trillion times as much security as 80 bits and is equivalent to the maximum bits of security - believed to be provided by Bitcoin's choice of parameters for its Elliptic + believed to be provided by NYC3's choice of parameters for its Elliptic Curve Digital Security Algorithm [ECDSA].) - **More efficient almost-full-node security** Satoshi Nakamoto's original - Bitcoin paper describes a method for allowing newly-started full nodes to + NYC3 paper describes a method for allowing newly-started full nodes to skip downloading and validating some data from historic blocks that are protected by large amounts of proof of work. Unfortunately, Nakamoto's method can't guarantee that a newly-started node using this method will - produce an accurate copy of Bitcoin's current ledger (called the UTXO set), + produce an accurate copy of NYC3's current ledger (called the UTXO set), making the node vulnerable to falling out of consensus with other nodes. Although the problems with Nakamoto's method can't be fixed in a soft fork, Segwit accomplishes something similar to his original proposal: it makes it @@ -135,14 +135,14 @@ covered by the txid. This provides several immediate benefits: of this 0.13.1 release. - **Script versioning:** Segwit makes it easy for future soft forks to allow - Bitcoin users to individually opt-in to almost any change in the Bitcoin + NYC3 users to individually opt-in to almost any change in the NYC3 Script language when those users receive new transactions. Features currently being researched by NYC3 contributors that may use this capability include support for Schnorr signatures, which can improve the privacy and efficiency of multisig transactions (or transactions with multiple inputs), and Merklized Abstract Syntax Trees (MAST), which can improve the privacy and efficiency of scripts with two or more conditions. - Other Bitcoin community members are studying several other improvements + Other NYC3 community members are studying several other improvements that can be made using script versioning. Activation for the segwit soft fork is being managed using BIP9 diff --git a/doc/release-notes/release-notes-0.14.2.md b/doc/release-notes/release-notes-0.14.2.md index ab4d07cc4..65c98eab0 100644 --- a/doc/release-notes/release-notes-0.14.2.md +++ b/doc/release-notes/release-notes-0.14.2.md @@ -48,7 +48,7 @@ possible. Known Bugs ========== -Since 0.14.0 the approximate transaction fee shown in Bitcoin-Qt when using coin +Since 0.14.0 the approximate transaction fee shown in NYC3-Qt when using coin control and smart fee estimation does not reflect any change in target from the smart fee slider. It will only present an approximate fee calculated using the default target. The fee calculated using the correct target is still applied to diff --git a/doc/release-notes/release-notes-0.14.3.md b/doc/release-notes/release-notes-0.14.3.md index 002e5609e..405d1bd8e 100644 --- a/doc/release-notes/release-notes-0.14.3.md +++ b/doc/release-notes/release-notes-0.14.3.md @@ -40,7 +40,7 @@ the vulnerable versions to 0.14.3, 0.15.2 or 0.16.3 as soon as possible. Known Bugs ========== -Since 0.14.0 the approximate transaction fee shown in Bitcoin-Qt when using coin +Since 0.14.0 the approximate transaction fee shown in NYC3-Qt when using coin control and smart fee estimation does not reflect any change in target from the smart fee slider. It will only present an approximate fee calculated using the default target. The fee calculated using the correct target is still applied to diff --git a/doc/release-notes/release-notes-0.15.0.1.md b/doc/release-notes/release-notes-0.15.0.1.md index b99c2fc3a..7a67849fe 100644 --- a/doc/release-notes/release-notes-0.15.0.1.md +++ b/doc/release-notes/release-notes-0.15.0.1.md @@ -21,7 +21,7 @@ How to Upgrade If you are running an older version, shut it down. Wait until it has completely shut down (which might take a few minutes for older versions), then run the -installer (on Windows) or just copy over `/Applications/Bitcoin-Qt` (on Mac) +installer (on Windows) or just copy over `/Applications/NYC3-Qt` (on Mac) or `bitcoind`/`bitcoin-qt` (on Linux). The first time you run version 0.15.0 or higher, your chainstate database will diff --git a/doc/release-notes/release-notes-0.15.0.md b/doc/release-notes/release-notes-0.15.0.md index ad6190ffc..e60df6aae 100644 --- a/doc/release-notes/release-notes-0.15.0.md +++ b/doc/release-notes/release-notes-0.15.0.md @@ -18,7 +18,7 @@ How to Upgrade If you are running an older version, shut it down. Wait until it has completely shut down (which might take a few minutes for older versions), then run the -installer (on Windows) or just copy over `/Applications/Bitcoin-Qt` (on Mac) +installer (on Windows) or just copy over `/Applications/NYC3-Qt` (on Mac) or `bitcoind`/`bitcoin-qt` (on Linux). The first time you run version 0.15.0, your chainstate database will be converted to a @@ -144,9 +144,9 @@ Multi-wallet support NYC3 now supports loading multiple, separate wallets (See [PR 8694](https://github.com/bitcoin/bitcoin/pull/8694), [PR 10849](https://github.com/bitcoin/bitcoin/pull/10849)). The wallets are completely separated, with individual balances, keys and received transactions. -Multi-wallet is enabled by using more than one `-wallet` argument when starting Bitcoin, either on the command line or in the Bitcoin config file. +Multi-wallet is enabled by using more than one `-wallet` argument when starting NYC3, either on the command line or in the NYC3 config file. -**In Bitcoin-Qt, only the first wallet will be displayed and accessible for creating and signing transactions.** GUI selectable multiple wallets will be supported in a future version. However, even in 0.15 other loaded wallets will remain synchronized to the node's current tip in the background. This can be useful if running a pruned node, since loading a wallet where the most recent sync is beyond the pruned height results in having to download and revalidate the whole blockchain. Continuing to synchronize all wallets in the background avoids this problem. +**In NYC3-Qt, only the first wallet will be displayed and accessible for creating and signing transactions.** GUI selectable multiple wallets will be supported in a future version. However, even in 0.15 other loaded wallets will remain synchronized to the node's current tip in the background. This can be useful if running a pruned node, since loading a wallet where the most recent sync is beyond the pruned height results in having to download and revalidate the whole blockchain. Continuing to synchronize all wallets in the background avoids this problem. NYC3 0.15.0 contains the following changes to the RPC interface and `bitcoin-cli` for multi-wallet: @@ -634,7 +634,7 @@ Low-level RPC changes - #10415 `217b416` [tests] Speed up fuzzing by ~200x when using afl-fuzz (practicalswift) - #10445 `b4b057a` Add test for empty chain and reorg consistency for gettxoutsetinfo (gmaxwell) - #10423 `1aefc94` [tests] skipped tests should clean up after themselves (jnewbery) -- #10359 `329fc1d` [tests] functional tests should call BitcoinTestFramework start/stop node methods (jnewbery) +- #10359 `329fc1d` [tests] functional tests should call NYC3TestFramework start/stop node methods (jnewbery) - #10514 `e103b3f` Bugfix: missing == 0 after randrange (sipa) - #10515 `c871f32` [test] Add test for getchaintxstats (jimmysong) - #10509 `bea5b00` Remove xvfb configuration from travis (ryanofsky) @@ -653,7 +653,7 @@ Low-level RPC changes - #10612 `7c87a9c` The young person's guide to the test_framework (jnewbery) - #10659 `acb1153` [qa] blockchain: Pass on closed connection during generate call (MarcoFalke) - #10690 `416af3e` [qa] Bugfix: allow overriding extra_args in ComparisonTestFramework (sdaftuar) -- #10556 `65cc7aa` Move stop/start functions from utils.py into BitcoinTestFramework (jnewbery) +- #10556 `65cc7aa` Move stop/start functions from utils.py into NYC3TestFramework (jnewbery) - #10704 `dd07f47` [tests] nits in dbcrash.py (jnewbery) - #10743 `be82498` [test] don't run dbcrash.py on Travis (jnewbery) - #10761 `d3b5870` [tests] fix replace_by_fee.py (jnewbery) @@ -771,7 +771,7 @@ Low-level RPC changes - #10837 `8bc6d1f` Fix resource leak on error in GetDevURandom (corebob) - #10832 `89bb036` init: Factor out AppInitLockDataDirectory and fix startup core dump issue (laanwj) - #10914 `b995a37` Add missing lock in CScheduler::AreThreadsServicingQueue() (TheBlueMatt) -- #10958 `659c096` Update to latest Bitcoin patches for LevelDB (sipa) +- #10958 `659c096` Update to latest NYC3 patches for LevelDB (sipa) - #10919 `c1c671f` Fix more init bugs (TheBlueMatt) Credits diff --git a/doc/release-notes/release-notes-0.15.1.md b/doc/release-notes/release-notes-0.15.1.md index 241da3fde..52a05fb43 100644 --- a/doc/release-notes/release-notes-0.15.1.md +++ b/doc/release-notes/release-notes-0.15.1.md @@ -22,7 +22,7 @@ How to Upgrade If you are running an older version, shut it down. Wait until it has completely shut down (which might take a few minutes for older versions), then run the -installer (on Windows) or just copy over `/Applications/Bitcoin-Qt` (on Mac) +installer (on Windows) or just copy over `/Applications/NYC3-Qt` (on Mac) or `bitcoind`/`bitcoin-qt` (on Linux). The first time you run version 0.15.0 or higher, your chainstate database will diff --git a/doc/release-notes/release-notes-0.15.2.md b/doc/release-notes/release-notes-0.15.2.md index 7b2a44112..696c702f1 100644 --- a/doc/release-notes/release-notes-0.15.2.md +++ b/doc/release-notes/release-notes-0.15.2.md @@ -18,7 +18,7 @@ How to Upgrade If you are running an older version, shut it down. Wait until it has completely shut down (which might take a few minutes for older versions), then run the -installer (on Windows) or just copy over `/Applications/Bitcoin-Qt` (on Mac) +installer (on Windows) or just copy over `/Applications/NYC3-Qt` (on Mac) or `bitcoind`/`bitcoin-qt` (on Linux). The first time you run version 0.15.0 or higher, your chainstate database will diff --git a/doc/release-notes/release-notes-0.16.0.md b/doc/release-notes/release-notes-0.16.0.md index 896010894..9f2e3a646 100644 --- a/doc/release-notes/release-notes-0.16.0.md +++ b/doc/release-notes/release-notes-0.16.0.md @@ -18,7 +18,7 @@ How to Upgrade If you are running an older version, shut it down. Wait until it has completely shut down (which might take a few minutes for older versions), then run the -installer (on Windows) or just copy over `/Applications/Bitcoin-Qt` (on Mac) +installer (on Windows) or just copy over `/Applications/NYC3-Qt` (on Mac) or `bitcoind`/`bitcoin-qt` (on Linux). The first time you run version 0.15.0 or newer, your chainstate database will be converted to a diff --git a/doc/release-notes/release-notes-0.16.1.md b/doc/release-notes/release-notes-0.16.1.md index 482a4e16f..27b81c02a 100644 --- a/doc/release-notes/release-notes-0.16.1.md +++ b/doc/release-notes/release-notes-0.16.1.md @@ -18,7 +18,7 @@ How to Upgrade If you are running an older version, shut it down. Wait until it has completely shut down (which might take a few minutes for older versions), then run the -installer (on Windows) or just copy over `/Applications/Bitcoin-Qt` (on Mac) +installer (on Windows) or just copy over `/Applications/NYC3-Qt` (on Mac) or `bitcoind`/`bitcoin-qt` (on Linux). The first time you run version 0.15.0 or newer, your chainstate database will be converted to a diff --git a/doc/release-notes/release-notes-0.16.2.md b/doc/release-notes/release-notes-0.16.2.md index 3858ff875..e696b39c2 100644 --- a/doc/release-notes/release-notes-0.16.2.md +++ b/doc/release-notes/release-notes-0.16.2.md @@ -18,7 +18,7 @@ How to Upgrade If you are running an older version, shut it down. Wait until it has completely shut down (which might take a few minutes for older versions), then run the -installer (on Windows) or just copy over `/Applications/Bitcoin-Qt` (on Mac) +installer (on Windows) or just copy over `/Applications/NYC3-Qt` (on Mac) or `bitcoind`/`bitcoin-qt` (on Linux). The first time you run version 0.15.0 or newer, your chainstate database will be converted to a diff --git a/doc/release-notes/release-notes-0.16.3.md b/doc/release-notes/release-notes-0.16.3.md index 09ec34ebf..e4f43a003 100644 --- a/doc/release-notes/release-notes-0.16.3.md +++ b/doc/release-notes/release-notes-0.16.3.md @@ -17,7 +17,7 @@ How to Upgrade If you are running an older version, shut it down. Wait until it has completely shut down (which might take a few minutes for older versions), then run the -installer (on Windows) or just copy over `/Applications/Bitcoin-Qt` (on Mac) +installer (on Windows) or just copy over `/Applications/NYC3-Qt` (on Mac) or `bitcoind`/`bitcoin-qt` (on Linux). The first time you run version 0.15.0 or newer, your chainstate database will be converted to a diff --git a/doc/release-notes/release-notes-0.17.0.md b/doc/release-notes/release-notes-0.17.0.md index df4c81da4..567295848 100644 --- a/doc/release-notes/release-notes-0.17.0.md +++ b/doc/release-notes/release-notes-0.17.0.md @@ -18,7 +18,7 @@ How to Upgrade If you are running an older version, shut it down. Wait until it has completely shut down (which might take a few minutes for older versions), then run the -installer (on Windows) or just copy over `/Applications/Bitcoin-Qt` (on Mac) +installer (on Windows) or just copy over `/Applications/NYC3-Qt` (on Mac) or `bitcoind`/`bitcoin-qt` (on Linux). If your node has a txindex, the txindex db will be migrated the first time you run 0.17.0 or newer, which may take up to a few hours. Your node will not be functional until this migration completes. @@ -184,10 +184,10 @@ Here are the changes to RPC methods: | `listtransactions` | The `account` named parameter has been renamed to `dummy`. If provided, the `dummy` parameter must be set to the string `*`, unless running with the `-deprecatedrpc=accounts` argument (in which case functionality is unchanged). | | `getbalance` | `account`, `minconf` and `include_watchonly` parameters are deprecated, and can only be used if running with '-deprecatedrpc=accounts' | -BIP 174 Partially Signed Bitcoin Transactions support +BIP 174 Partially Signed NYC3 Transactions support ----------------------------------------------------- -[BIP 174 PSBT](https://github.com/bitcoin/bips/blob/master/bip-0174.mediawiki) is an interchange format for Bitcoin transactions that are not fully signed +[BIP 174 PSBT](https://github.com/bitcoin/bips/blob/master/bip-0174.mediawiki) is an interchange format for NYC3 transactions that are not fully signed yet, together with relevant metadata to help entities work towards signing it. It is intended to simplify workflows where multiple parties need to cooperate to produce a transaction. Examples include hardware wallets, multisig setups, and @@ -195,7 +195,7 @@ produce a transaction. Examples include hardware wallets, multisig setups, and ### Overall workflow -Overall, the construction of a fully signed Bitcoin transaction goes through the +Overall, the construction of a fully signed NYC3 transaction goes through the following steps: - A **Creator** proposes a particular transaction to be created. He constructs @@ -210,7 +210,7 @@ following steps: partial signature for the inputs for which they have relevant key(s). - A **Finalizer** is run for each input to convert the partial signatures and possibly script information into a final `scriptSig` and/or `scriptWitness`. -- An **Extractor** produces a valid Bitcoin transaction (in network format) +- An **Extractor** produces a valid NYC3 transaction (in network format) from a PSBT for which all inputs are finalized. Generally, each of the above (excluding Creator and Extractor) will simply @@ -587,7 +587,7 @@ Support for Python 2 has been discontinued for all test files and tools. - #13043 `6e249e4` OptionsDialog: add prune setting (Sjors) - #13506 `6579d80` load wallet in UI after possible init aborts (jonasschnelli) - #13458 `dc53f7f` Drop qt4 support (laanwj) -- #13528 `b877c39` Move BitcoinGUI initializers to class, fix initializer order warning (laanwj) +- #13528 `b877c39` Move NYC3GUI initializers to class, fix initializer order warning (laanwj) - #13536 `baf3a3a` coincontrol: Remove unused qt4 workaround (MarcoFalke) - #13537 `10ffca7` Peer table: Visualize inbound/outbound state for every row (wodry) - #13791 `2c14c1f` Reject dialogs if key escape is pressed (promag) @@ -652,7 +652,7 @@ Support for Python 2 has been discontinued for all test files and tools. - #12252 `8d57319` Require all tests to follow naming convention (ajtowns) - #12295 `935eb8d` Enable flake8 warnings for all currently non-violated rules (practicalswift) - #11858 `b4d8549` Prepare tests for Windows (MarcoFalke) -- #11771 `2dbc4a4` Change invalidtxrequest to use BitcoinTestFramework (jnewbery) +- #11771 `2dbc4a4` Change invalidtxrequest to use NYC3TestFramework (jnewbery) - #12200 `d09968f` Bind functional test nodes to 127.0.0.1 (Sjors) - #12425 `26dc2da` Add some script tests (richardkiss) - #12455 `23481fa` Fix bip68 sequence test to reflect updated rpc error message (Empact) @@ -665,7 +665,7 @@ Support for Python 2 has been discontinued for all test files and tools. - #12600 `29088b1` Add a test for large tx output scripts with segwit input (richardkiss) - #12627 `791c3ea` Fix some tests to work on native windows (MarcoFalke) - #12405 `0f58d7f` travis: Full clone for git subtree check (MarcoFalke) -- #11772 `0630974` Change invalidblockrequest to use BitcoinTestFramework (jnewbery) +- #11772 `0630974` Change invalidblockrequest to use NYC3TestFramework (jnewbery) - #12681 `1846296` Fix ComputeTimeSmart test failure with `-DDEBUG_LOCKORDER` (ryanofsky) - #12682 `9f04c8e` travis: Clone depth 1 unless `$check_doc` (MarcoFalke) - #12710 `00d1680` Append scripts to new `test_list` array to fix bad assignment (jeffrade) @@ -678,9 +678,9 @@ Support for Python 2 has been discontinued for all test files and tools. - #12806 `18606eb` Fix function names in `feature_blocksdir` (MarcoFalke) - #12811 `0d8fc8d` Make summary row bold-red if any test failed and show failed tests at end of table (laanwj) - #12790 `490644d` Use blockmaxweight where tests previously had blockmaxsize (conscott) -- #11773 `f0f9732` Change `feature_block.py` to use BitcoinTestFramework (jnewbery) +- #11773 `f0f9732` Change `feature_block.py` to use NYC3TestFramework (jnewbery) - #12839 `40f4baf` Remove travis checkout depth (laanwj) -- #11817 `2a09a78` Change `feature_csv_activation.py` to use BitcoinTestFramework (jnewbery) +- #11817 `2a09a78` Change `feature_csv_activation.py` to use NYC3TestFramework (jnewbery) - #12284 `fa5825d` Remove assigned but never used local variables. Enable Travis checking for unused local variables (practicalswift) - #12719 `9beded5` Add note about test suite naming convention in developer-notes.md (practicalswift) - #12861 `c564424` Stop `feature_block.py` from blowing up memory (jnewbery) @@ -690,7 +690,7 @@ Support for Python 2 has been discontinued for all test files and tools. - #12766 `69310a3` Tidy up REST interface functional tests (romanz) - #12849 `83c7533` Add logging in loops in `p2p_sendhears.py` (ccdle12) - #12895 `d6f10b2` Add note about test suite name uniqueness requirement to developer notes (practicalswift) -- #12856 `27278df` Add Metaclass for BitcoinTestFramework (WillAyd) +- #12856 `27278df` Add Metaclass for NYC3TestFramework (WillAyd) - #12918 `6fc5a05` Assert on correct variable (kallewoof) - #11878 `a04440f` Add Travis check for duplicate includes (practicalswift) - #12917 `cf8073f` Windows fixups for functional tests (MarcoFalke) diff --git a/doc/release-notes/release-notes-0.17.1.md b/doc/release-notes/release-notes-0.17.1.md index c38bdaa63..2b219ae13 100644 --- a/doc/release-notes/release-notes-0.17.1.md +++ b/doc/release-notes/release-notes-0.17.1.md @@ -22,7 +22,7 @@ How to Upgrade If you are running an older version, shut it down. Wait until it has completely shut down (which might take a few minutes for older versions), then run the -installer (on Windows) or just copy over `/Applications/Bitcoin-Qt` (on Mac) +installer (on Windows) or just copy over `/Applications/NYC3-Qt` (on Mac) or `bitcoind`/`bitcoin-qt` (on Linux). If your node has a txindex, the txindex db will be migrated the first time you run 0.17.0 or newer, which may take up to a few hours. Your node will not be functional until this migration completes. diff --git a/doc/release-notes/release-notes-0.3.12.md b/doc/release-notes/release-notes-0.3.12.md index 38715bc75..5cc2c7e72 100644 --- a/doc/release-notes/release-notes-0.3.12.md +++ b/doc/release-notes/release-notes-0.3.12.md @@ -10,4 +10,4 @@ If you have json-rpc code that checks the contents of the error string, you need http://www.bitcoin.org/smf/index.php?topic=969.0 Download: -http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.3.12/ +http://sourceforge.net/projects/bitcoin/files/NYC3/bitcoin-0.3.12/ diff --git a/doc/release-notes/release-notes-0.3.13.md b/doc/release-notes/release-notes-0.3.13.md index 2b95ff233..f5f578f83 100644 --- a/doc/release-notes/release-notes-0.3.13.md +++ b/doc/release-notes/release-notes-0.3.13.md @@ -12,7 +12,7 @@ Gavin Andresen: * Clean shutdown on SIGTERM on Linux. Download: -http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.3.13/ +http://sourceforge.net/projects/bitcoin/files/NYC3/bitcoin-0.3.13/ (Thanks Laszlo for the Mac OSX build!) diff --git a/doc/release-notes/release-notes-0.3.14.md b/doc/release-notes/release-notes-0.3.14.md index e73052ed9..f72a1caa8 100644 --- a/doc/release-notes/release-notes-0.3.14.md +++ b/doc/release-notes/release-notes-0.3.14.md @@ -1,5 +1,5 @@ Version 0.3.14 is now available -http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.3.14/ +http://sourceforge.net/projects/bitcoin/files/NYC3/bitcoin-0.3.14/ Changes: * Key pool feature for safer wallet backup diff --git a/doc/release-notes/release-notes-0.3.15.md b/doc/release-notes/release-notes-0.3.15.md index b98052ef5..1311e7fc9 100644 --- a/doc/release-notes/release-notes-0.3.15.md +++ b/doc/release-notes/release-notes-0.3.15.md @@ -1,6 +1,6 @@ * paytxfee switch is now per KB, so it adds the correct fee for large transactions * sending avoids using coins with less than 6 confirmations if it can -* BitcoinMiner processes transactions in priority order based on age of dependencies +* NYC3Miner processes transactions in priority order based on age of dependencies * make sure generation doesn't start before block 74000 downloaded * bugfixes by Dean Gores * testnet, keypoololdest and paytxfee added to getinfo diff --git a/doc/release-notes/release-notes-0.3.20.2.md b/doc/release-notes/release-notes-0.3.20.2.md index 09ecb736b..9b83d15c6 100644 --- a/doc/release-notes/release-notes-0.3.20.2.md +++ b/doc/release-notes/release-notes-0.3.20.2.md @@ -3,9 +3,9 @@ worse as people upgraded, so I cherry-picked the bug fix and created a minor rel The Amazon Machine Images I used to do the builds are available: - ami-38a05251 Bitcoin-v0.3.20.2 Mingw (Windows; Administrator password 'bitcoin development') - ami-30a05259 Bitcoin_0.3.20.2 Linux32 - ami-8abc4ee3 Bitcoin_0.3.20.2 Linux64 + ami-38a05251 NYC3-v0.3.20.2 Mingw (Windows; Administrator password 'bitcoin development') + ami-30a05259 NYC3_0.3.20.2 Linux32 + ami-8abc4ee3 NYC3_0.3.20.2 Linux64 (mac build will be done soon) diff --git a/doc/release-notes/release-notes-0.3.21.md b/doc/release-notes/release-notes-0.3.21.md index f3b6bc426..14d76a94c 100644 --- a/doc/release-notes/release-notes-0.3.21.md +++ b/doc/release-notes/release-notes-0.3.21.md @@ -1,5 +1,5 @@ -Binaries for Bitcoin version 0.3.21 are available at: - https://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.3.21/ +Binaries for NYC3 version 0.3.21 are available at: + https://sourceforge.net/projects/bitcoin/files/NYC3/bitcoin-0.3.21/ Changes and new features from the 0.3.20 release include: diff --git a/doc/release-notes/release-notes-0.3.22.md b/doc/release-notes/release-notes-0.3.22.md index 4c05e3e5e..f2cbab7c1 100644 --- a/doc/release-notes/release-notes-0.3.22.md +++ b/doc/release-notes/release-notes-0.3.22.md @@ -1,4 +1,4 @@ -Download URL: https://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.3.22/ +Download URL: https://sourceforge.net/projects/bitcoin/files/NYC3/bitcoin-0.3.22/ This is largely a bugfix and TX fee schedule release. We also hope to make 0.3.23 a quick release, to fix problems that the network has seen due to explosive growth in the past week. diff --git a/doc/release-notes/release-notes-0.3.23.md b/doc/release-notes/release-notes-0.3.23.md index c1d520e49..9929b292f 100644 --- a/doc/release-notes/release-notes-0.3.23.md +++ b/doc/release-notes/release-notes-0.3.23.md @@ -1,5 +1,5 @@ Win32, Linux, MacOSX and source releases for bitcoin v0.3.23 have been uploaded to -https://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.3.23/ +https://sourceforge.net/projects/bitcoin/files/NYC3/bitcoin-0.3.23/ This is another quick bugfix release, trying to deal with the influx of new bitcoin users. diff --git a/doc/release-notes/release-notes-0.3.24.md b/doc/release-notes/release-notes-0.3.24.md index d35ac66f2..8d5249e6a 100644 --- a/doc/release-notes/release-notes-0.3.24.md +++ b/doc/release-notes/release-notes-0.3.24.md @@ -1,5 +1,5 @@ -Bitcoin v0.3.24 is now available for download at -https://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.3.24/ +NYC3 v0.3.24 is now available for download at +https://sourceforge.net/projects/bitcoin/files/NYC3/bitcoin-0.3.24/ This is another bug fix release. We had hoped to have wallet encryption ready for release, but more urgent fixes for existing clients were needed -- most notably block download problems were getting severe. Wallet encryption is ready for testing at https://github.com/bitcoin/bitcoin/pull/352 for the git-savvy, and hopefully will follow shortly in the next release, v0.4. @@ -15,6 +15,6 @@ C1) DNS seeding enabled by default. C2) UPNP enabled by default in the GUI client. The percentage of bitcoin clients that accept incoming connections is quite small, and that is a problem. This should help. bitcoind, and unofficial builds, are unchanged (though we encourage use of "-upnp" to help the network!) -C3) Initial unit testing framework. Bitcoin sorely needs automated tests, and this is a beginning. Contributions welcome. +C3) Initial unit testing framework. NYC3 sorely needs automated tests, and this is a beginning. Contributions welcome. C4) Internal wallet code cleanup. While invisible to an end user, this change provides the basis for v0.4's wallet encryption. diff --git a/doc/release-notes/release-notes-0.4.0.md b/doc/release-notes/release-notes-0.4.0.md index 145072a36..d3282325d 100644 --- a/doc/release-notes/release-notes-0.4.0.md +++ b/doc/release-notes/release-notes-0.4.0.md @@ -1,5 +1,5 @@ -Bitcoin version 0.4.0 is now available for download at: -http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.4.0/ +NYC3 version 0.4.0 is now available for download at: +http://sourceforge.net/projects/bitcoin/files/NYC3/bitcoin-0.4.0/ The main feature in this release is wallet private key encryption; you can set a passphrase that must be entered before sending coins. @@ -27,14 +27,14 @@ Optimize database writes for large (lots of inputs) transactions Wallet Encryption -Bitcoin supports native wallet encryption so that people who steal your -wallet file don't automatically get access to all of your Bitcoins. +NYC3 supports native wallet encryption so that people who steal your +wallet file don't automatically get access to all of your NYC3s. In order to enable this feature, choose "Encrypt Wallet" from the Options menu. You will be prompted to enter a passphrase, which will be used as the key to encrypt your wallet and will be needed -every time you wish to send Bitcoins. If you lose this passphrase, +every time you wish to send NYC3s. If you lose this passphrase, you will lose access to spend all of the bitcoins in your wallet, -no one, not even the Bitcoin developers can recover your Bitcoins. +no one, not even the NYC3 developers can recover your NYC3s. This means you are responsible for your own security, store your passphrase in a secure location and do not forget it. @@ -46,24 +46,24 @@ relevant transactions, you are only protected from someone spending your coins. It is recommended that you backup your wallet file before you -encrypt your wallet. To do this, close the Bitcoin client and +encrypt your wallet. To do this, close the NYC3 client and copy the wallet.dat file from ~/.bitcoin/ on Linux, /Users/(user -name)/Application Support/Bitcoin/ on Mac OSX, and %APPDATA%/Bitcoin/ -on Windows (that is /Users/(user name)/AppData/Roaming/Bitcoin on +name)/Application Support/NYC3/ on Mac OSX, and %APPDATA%/NYC3/ +on Windows (that is /Users/(user name)/AppData/Roaming/NYC3 on Windows Vista and 7 and /Documents and Settings/(user name)/Application -Data/Bitcoin on Windows XP). Once you have copied that file to a -safe location, reopen the Bitcoin client and Encrypt your wallet. +Data/NYC3 on Windows XP). Once you have copied that file to a +safe location, reopen the NYC3 client and Encrypt your wallet. If everything goes fine, delete the backup and enjoy your encrypted wallet. Note that once you encrypt your wallet, you will never be -able to go back to a version of the Bitcoin client older than 0.4. +able to go back to a version of the NYC3 client older than 0.4. Keep in mind that you are always responsible for your own security. All it takes is a slightly more advanced wallet-stealing trojan which installs a keylogger to steal your wallet passphrase as you enter it -in addition to your wallet file and you have lost all your Bitcoins. +in addition to your wallet file and you have lost all your NYC3s. Wallet encryption cannot keep you safe if you do not practice good security, such as running up-to-date antivirus software, only -entering your wallet passphrase in the Bitcoin client and using the +entering your wallet passphrase in the NYC3 client and using the same passphrase only as your wallet passphrase. See the doc/README file in the bitcoin source for technical details diff --git a/doc/release-notes/release-notes-0.4.1.md b/doc/release-notes/release-notes-0.4.1.md index ac471a8d7..7f3effdcc 100644 --- a/doc/release-notes/release-notes-0.4.1.md +++ b/doc/release-notes/release-notes-0.4.1.md @@ -1,5 +1,5 @@ -Bitcoin version 0.4.1 is now available for download at: -http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.4.1/ +NYC3 version 0.4.1 is now available for download at: +http://sourceforge.net/projects/bitcoin/files/NYC3/bitcoin-0.4.1/ This is a bugfix only release based on 0.4.0. @@ -7,30 +7,30 @@ Please report bugs by replying to this forum thread. MAJOR BUG FIX (CVE-2011-4447) -The wallet encryption feature introduced in Bitcoin version 0.4.0 did not sufficiently secure the private keys. An attacker who +The wallet encryption feature introduced in NYC3 version 0.4.0 did not sufficiently secure the private keys. An attacker who managed to get a copy of your encrypted wallet.dat file might be able to recover some or all of the unencrypted keys and steal the associated coins. -If you have a previously encrypted wallet.dat, the first time you run wxbitcoin or bitcoind the wallet will be rewritten, Bitcoin will +If you have a previously encrypted wallet.dat, the first time you run wxbitcoin or bitcoind the wallet will be rewritten, NYC3 will shut down, and you will be prompted to restart it to run with the new, properly encrypted file. If you had a previously encrypted wallet.dat that might have been copied or stolen (for example, you backed it up to a public location) you should send all of your bitcoins to yourself using a new bitcoin address and stop using any previously generated addresses. -Wallets encrypted with this version of Bitcoin are written properly. +Wallets encrypted with this version of NYC3 are written properly. Technical note: the encrypted wallet's 'keypool' will be regenerated the first time you request a new bitcoin address; to be certain that the new private keys are properly backed up you should: -1. Run Bitcoin and let it rewrite the wallet.dat file +1. Run NYC3 and let it rewrite the wallet.dat file 2. Run it again, then ask it for a new bitcoin address. -wxBitcoin: new address visible on main window +wxNYC3: new address visible on main window bitcoind: run the 'walletpassphrase' RPC command to unlock the wallet, then run the 'getnewaddress' RPC command. 3. If your encrypted wallet.dat may have been copied or stolen, send all of your bitcoins to the new bitcoin address. -4. Shut down Bitcoin, then backup the wallet.dat file. +4. Shut down NYC3, then backup the wallet.dat file. IMPORTANT: be sure to request a new bitcoin address before backing up, so that the 'keypool' is regenerated and backed up. "Security in depth" is always a good idea, so choosing a secure location for the backup and/or encrypting the backup before uploading it is recommended. And as in previous releases, if your machine is infected by malware there are several ways an attacker might steal your bitcoins. diff --git a/doc/release-notes/release-notes-0.4.3.md b/doc/release-notes/release-notes-0.4.3.md index fea1ae75b..26de2562d 100644 --- a/doc/release-notes/release-notes-0.4.3.md +++ b/doc/release-notes/release-notes-0.4.3.md @@ -3,7 +3,7 @@ http://luke.dashjr.org/programs/bitcoin/files/bitcoind-0.4.3/ (until Gavin uploa This is a bugfix-only release based on 0.4.0. -Please note that the wxBitcoin GUI client is no longer maintained nor supported. If someone would like to step up to maintain this, they should contact Luke-Jr. +Please note that the wxNYC3 GUI client is no longer maintained nor supported. If someone would like to step up to maintain this, they should contact Luke-Jr. Please report bugs for the daemon only using the issue tracker at github: https://github.com/bitcoin/bitcoin/issues @@ -15,7 +15,7 @@ BUG FIXES Cease locking memory used by non-sensitive information (this caused a huge performance hit on some platforms, especially noticable during initial blockchain download). Fixed some address-handling deadlocks (client freezes). -No longer accept inbound connections over the internet when Bitcoin is being used with Tor (identity leak). +No longer accept inbound connections over the internet when NYC3 is being used with Tor (identity leak). Use the correct base transaction fee of 0.0005 BTC for accepting transactions into mined blocks (since 0.4.0, it was incorrectly accepting 0.0001 BTC which was only meant to be relayed). Add new DNS seeds (maintained by Pieter Wuille and Luke Dashjr). diff --git a/doc/release-notes/release-notes-0.4.4.md b/doc/release-notes/release-notes-0.4.4.md index f435ba716..c472210ca 100644 --- a/doc/release-notes/release-notes-0.4.4.md +++ b/doc/release-notes/release-notes-0.4.4.md @@ -1,9 +1,9 @@ -Bitcoin version 0.4.4 is now available for download at: +NYC3 version 0.4.4 is now available for download at: http://luke.dashjr.org/programs/bitcoin/files/bitcoind-0.4.4/ This is a bugfix-only release based on 0.4.0. -Please note that the wxBitcoin GUI client is no longer maintained nor supported. If someone would like to step up to maintain this, they should contact Luke-Jr. +Please note that the wxNYC3 GUI client is no longer maintained nor supported. If someone would like to step up to maintain this, they should contact Luke-Jr. Please report bugs for the daemon only using the issue tracker at github: https://github.com/bitcoin/bitcoin/issues diff --git a/doc/release-notes/release-notes-0.4.6.md b/doc/release-notes/release-notes-0.4.6.md index 07c5e4b69..8b677f910 100644 --- a/doc/release-notes/release-notes-0.4.6.md +++ b/doc/release-notes/release-notes-0.4.6.md @@ -1,11 +1,11 @@ bitcoind version 0.4.6 is now available for download at: Windows: installer | zip (sig) Source: tar.gz -bitcoind and Bitcoin-Qt version 0.6.0.7 are also tagged in git, but it is recommended to upgrade to 0.6.1. +bitcoind and NYC3-Qt version 0.6.0.7 are also tagged in git, but it is recommended to upgrade to 0.6.1. These are bugfix-only releases. -Please report bugs by replying to this forum thread. Note that the 0.4.x wxBitcoin GUI client is no longer maintained nor supported. If someone would like to step up to maintain this, they should contact Luke-Jr. +Please report bugs by replying to this forum thread. Note that the 0.4.x wxNYC3 GUI client is no longer maintained nor supported. If someone would like to step up to maintain this, they should contact Luke-Jr. BUG FIXES @@ -13,25 +13,25 @@ Version 0.6.0 allowed importing invalid "private keys", which would be unspendab Verify status of encrypt/decrypt calls to detect failed padding Check blocks for duplicate transactions earlier. Fixes #1167 Upgrade Windows builds to OpenSSL 1.0.1b -Set label when selecting an address that already has a label. Fixes #1080 (Bitcoin-Qt) +Set label when selecting an address that already has a label. Fixes #1080 (NYC3-Qt) JSON-RPC listtransactions's from/count handling is now fixed Optimize and fix multithreaded access, when checking whether we already know about transactions Fix potential networking deadlock Proper support for Growl 1.3 notifications Display an error, rather than crashing, if encoding a QR Code failed (0.6.0.7) -Don't erroneously set "Display addresses" for users who haven't explicitly enabled it (Bitcoin-Qt) +Don't erroneously set "Display addresses" for users who haven't explicitly enabled it (NYC3-Qt) Some non-ASCII input in JSON-RPC expecting hexadecimal may have been misinterpreted rather than rejected Missing error condition checking added -Do not show green tick unless all known blocks are downloaded. Fixes #921 (Bitcoin-Qt) +Do not show green tick unless all known blocks are downloaded. Fixes #921 (NYC3-Qt) Increase time ago of last block for "up to date" status from 30 to 90 minutes -Show a message box when runaway exception happens (Bitcoin-Qt) +Show a message box when runaway exception happens (NYC3-Qt) Use a messagebox to display the error when -server is provided without providing a rpc password -Show error message instead of exception crash when unable to bind RPC port (Bitcoin-Qt) -Correct sign message bitcoin address tooltip. Fixes #1050 (Bitcoin-Qt) +Show error message instead of exception crash when unable to bind RPC port (NYC3-Qt) +Correct sign message bitcoin address tooltip. Fixes #1050 (NYC3-Qt) Removed "(no label)" from QR Code dialog titlebar if we have no label (0.6.0.7) Removed an ugly line break in tooltip for mature transactions (0.6.0.7) -Add missing tooltip and key shortcut in settings dialog (part of #1088) (Bitcoin-Qt) +Add missing tooltip and key shortcut in settings dialog (part of #1088) (NYC3-Qt) Work around issue in boost::program_options that prevents from compiling in clang Fixed bugs occurring only on platforms with unsigned characters (such as ARM). -Rename make_windows_icon.py to .sh as it is a shell script. Fixes #1099 (Bitcoin-Qt) +Rename make_windows_icon.py to .sh as it is a shell script. Fixes #1099 (NYC3-Qt) Various trivial internal corrections to types used for counting/size loops and warnings diff --git a/doc/release-notes/release-notes-0.5.0.md b/doc/release-notes/release-notes-0.5.0.md index baa409b5f..835e04b14 100644 --- a/doc/release-notes/release-notes-0.5.0.md +++ b/doc/release-notes/release-notes-0.5.0.md @@ -1,5 +1,5 @@ -Bitcoin version 0.5.0 is now available for download at: -http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.5.0/ +NYC3 version 0.5.0 is now available for download at: +http://sourceforge.net/projects/bitcoin/files/NYC3/bitcoin-0.5.0/ The major change for this release is a completely new graphical interface that uses the Qt user interface toolkit. @@ -13,30 +13,30 @@ For Ubuntu users, there is a new ppa maintained by Matt Corallo which you can ad MAJOR BUG FIX (CVE-2011-4447) -The wallet encryption feature introduced in Bitcoin version 0.4.0 did not sufficiently secure the private keys. An attacker who +The wallet encryption feature introduced in NYC3 version 0.4.0 did not sufficiently secure the private keys. An attacker who managed to get a copy of your encrypted wallet.dat file might be able to recover some or all of the unencrypted keys and steal the associated coins. -If you have a previously encrypted wallet.dat, the first time you run bitcoin-qt or bitcoind the wallet will be rewritten, Bitcoin will +If you have a previously encrypted wallet.dat, the first time you run bitcoin-qt or bitcoind the wallet will be rewritten, NYC3 will shut down, and you will be prompted to restart it to run with the new, properly encrypted file. If you had a previously encrypted wallet.dat that might have been copied or stolen (for example, you backed it up to a public location) you should send all of your bitcoins to yourself using a new bitcoin address and stop using any previously generated addresses. -Wallets encrypted with this version of Bitcoin are written properly. +Wallets encrypted with this version of NYC3 are written properly. Technical note: the encrypted wallet's 'keypool' will be regenerated the first time you request a new bitcoin address; to be certain that the new private keys are properly backed up you should: -1. Run Bitcoin and let it rewrite the wallet.dat file +1. Run NYC3 and let it rewrite the wallet.dat file 2. Run it again, then ask it for a new bitcoin address. -Bitcoin-Qt: Address Book, then New Address... +NYC3-Qt: Address Book, then New Address... bitcoind: run the 'walletpassphrase' RPC command to unlock the wallet, then run the 'getnewaddress' RPC command. 3. If your encrypted wallet.dat may have been copied or stolen, send all of your bitcoins to the new bitcoin address. -4. Shut down Bitcoin, then backup the wallet.dat file. +4. Shut down NYC3, then backup the wallet.dat file. IMPORTANT: be sure to request a new bitcoin address before backing up, so that the 'keypool' is regenerated and backed up. "Security in depth" is always a good idea, so choosing a secure location for the backup and/or encrypting the backup before uploading it is recommended. And as in previous releases, if your machine is infected by malware there are several ways an attacker might steal your bitcoins. diff --git a/doc/release-notes/release-notes-0.5.1.md b/doc/release-notes/release-notes-0.5.1.md index d56bff6d9..926b9f06f 100644 --- a/doc/release-notes/release-notes-0.5.1.md +++ b/doc/release-notes/release-notes-0.5.1.md @@ -1,5 +1,5 @@ -Bitcoin version 0.5.1 is now available for download at: -http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.5.1/ +NYC3 version 0.5.1 is now available for download at: +http://sourceforge.net/projects/bitcoin/files/NYC3/bitcoin-0.5.1/ This is a bugfix-only release. diff --git a/doc/release-notes/release-notes-0.5.2.md b/doc/release-notes/release-notes-0.5.2.md index f79816668..8891d23f1 100644 --- a/doc/release-notes/release-notes-0.5.2.md +++ b/doc/release-notes/release-notes-0.5.2.md @@ -1,5 +1,5 @@ -Bitcoin version 0.5.2 is now available for download at: -http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.5.2/ +NYC3 version 0.5.2 is now available for download at: +http://sourceforge.net/projects/bitcoin/files/NYC3/bitcoin-0.5.2/ This is a bugfix-only release based on 0.5.1. @@ -15,7 +15,7 @@ Check all transactions in blocks after the last checkpoint (0.5.0 and 0.5.1 skip Cease locking memory used by non-sensitive information (this caused a huge performance hit on some platforms, especially noticable during initial blockchain download; this was not a security vulnerability). Fixed some address-handling deadlocks (client freezes). -No longer accept inbound connections over the internet when Bitcoin is being used with Tor (identity leak). +No longer accept inbound connections over the internet when NYC3 is being used with Tor (identity leak). Re-enable SSL support for the JSON-RPC interface (it was unintentionally disabled for the 0.5.0 and 0.5.1 release Linux binaries). Use the correct base transaction fee of 0.0005 BTC for accepting transactions into mined blocks (since 0.4.0, it was incorrectly accepting 0.0001 BTC which was only meant to be relayed). Don't show "IP" for transactions which are not necessarily IP transactions. diff --git a/doc/release-notes/release-notes-0.5.3.md b/doc/release-notes/release-notes-0.5.3.md index 7c84c5332..bf0bd2ae1 100644 --- a/doc/release-notes/release-notes-0.5.3.md +++ b/doc/release-notes/release-notes-0.5.3.md @@ -1,5 +1,5 @@ -Bitcoin version 0.5.3 is now available for download at: -http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.5.3/ +NYC3 version 0.5.3 is now available for download at: +http://sourceforge.net/projects/bitcoin/files/NYC3/bitcoin-0.5.3/ This is a bugfix-only release based on 0.5.1. It also includes a few protocol updates. @@ -13,7 +13,7 @@ http://gitorious.org/bitcoin/bitcoind-stable/archive-tarball/v0.5.3#.tar.gz PROTOCOL UPDATES BIP 30: Introduce a new network rule: "a block is not valid if it contains a transaction whose hash already exists in the block chain, unless all that transaction's outputs were already spent before said block" beginning on March 15, 2012, 00:00 UTC. -On testnet, allow mining of min-difficulty blocks if 20 minutes have gone by without mining a regular-difficulty block. This is to make testing Bitcoin easier, and will not affect normal mode. +On testnet, allow mining of min-difficulty blocks if 20 minutes have gone by without mining a regular-difficulty block. This is to make testing NYC3 easier, and will not affect normal mode. BUG FIXES @@ -24,19 +24,19 @@ Resolved multiple bugs preventing long-term unlocking of encrypted wallets Only send local IP in "version" messages if it is globally routable (ie, not private), and try to get such an IP from UPnP if applicable. Reannounce UPnP port forwards every 20 minutes, to workaround routers expiring old entries, and allow the -upnp option to override any stored setting. Skip splash screen when -min is used, and fix Minimize to Tray function. -Do not blank "label" in Bitcoin-Qt "Send" tab, if the user has already entered something. +Do not blank "label" in NYC3-Qt "Send" tab, if the user has already entered something. Correct various labels and messages. Various memory leaks and potential null pointer deferences have been fixed. -Handle invalid Bitcoin URIs using "bitcoin://" instead of "bitcoin:". +Handle invalid NYC3 URIs using "bitcoin://" instead of "bitcoin:". Several shutdown issues have been fixed. Revert to "global progress indication", as starting from zero every time was considered too confusing for many users. Check that keys stored in the wallet are valid at startup, and if not, report corruption. Enable accessible widgets on Windows, so that people with screen readers such as NVDA can make sense of it. Various build fixes. If no password is specified to bitcoind, recommend a secure password. -Automatically focus and scroll to new "Send coins" entries in Bitcoin-Qt. -Show a message box for --help on Windows, for Bitcoin-Qt. +Automatically focus and scroll to new "Send coins" entries in NYC3-Qt. +Show a message box for --help on Windows, for NYC3-Qt. Add missing "About Qt" menu option to show built-in Qt About dialog. -Don't show "-daemon" as an option for Bitcoin-Qt, since it isn't available. +Don't show "-daemon" as an option for NYC3-Qt, since it isn't available. Update hard-coded fallback seed nodes, choosing recent ones with long uptime and versions at least 0.4.0. Add checkpoint at block 168,000. diff --git a/doc/release-notes/release-notes-0.5.4.md b/doc/release-notes/release-notes-0.5.4.md index fcde3ac4e..34a590182 100644 --- a/doc/release-notes/release-notes-0.5.4.md +++ b/doc/release-notes/release-notes-0.5.4.md @@ -1,5 +1,5 @@ -Bitcoin version 0.5.4 is now available for download at: -http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.5.4/ +NYC3 version 0.5.4 is now available for download at: +http://sourceforge.net/projects/bitcoin/files/NYC3/bitcoin-0.5.4/ NOTE: 0.5.4rc3 is being renamed to 0.5.4 final with no changes. This is a bugfix-only release in the 0.5.x series, plus a few protocol updates. @@ -22,8 +22,8 @@ Fix broken testnet mining. Stop excess inventory relay during initial block download. When disconnecting a node, clear the received buffer so that we do not process any already received messages. Yet another attempt at implementing "minimize to tray" that works on all operating systems. -Fix Bitcoin-Qt notifications under Growl 1.3. -Increase required age of Bitcoin-Qt's "not up to date" status from 30 to 90 minutes. +Fix NYC3-Qt notifications under Growl 1.3. +Increase required age of NYC3-Qt's "not up to date" status from 30 to 90 minutes. Implemented missing verifications that led to crash on entering some wrong passphrases for encrypted wallets. Fix default filename suffixes in GNOME save dialog. Make the "Send coins" tab use the configured unit type, even on the first attempt. @@ -31,7 +31,7 @@ Print detailed wallet loading errors to debug.log when it is corrupt. Allocate exactly the amount of space needed for signing transactions, instead of a fixed 10k buffer. Workaround for improbable memory access violation. Check wallet's minimum version before trying to load it. -Remove wxBitcoin properly when installing Bitcoin-Qt over it. (Windows) +Remove wxNYC3 properly when installing NYC3-Qt over it. (Windows) Detail reorganization information better in debug log. Use a messagebox to display the error when -server is provided without configuring a RPC password. Testing suite build now honours provided CXXFLAGS. diff --git a/doc/release-notes/release-notes-0.5.5.md b/doc/release-notes/release-notes-0.5.5.md index 75ebc3e6b..570b1cbc9 100644 --- a/doc/release-notes/release-notes-0.5.5.md +++ b/doc/release-notes/release-notes-0.5.5.md @@ -1,11 +1,11 @@ -bitcoind and Bitcoin-Qt version 0.5.5 are now available for download at: +bitcoind and NYC3-Qt version 0.5.5 are now available for download at: Windows: installer | zip (sig) Source: tar.gz -bitcoind and Bitcoin-Qt version 0.6.0.7 are also tagged in git, but it is recommended to upgrade to 0.6.1. +bitcoind and NYC3-Qt version 0.6.0.7 are also tagged in git, but it is recommended to upgrade to 0.6.1. These are bugfix-only releases. -Please report bugs by replying to this forum thread. Note that the 0.4.x wxBitcoin GUI client is no longer maintained nor supported. If someone would like to step up to maintain this, they should contact Luke-Jr. +Please report bugs by replying to this forum thread. Note that the 0.4.x wxNYC3 GUI client is no longer maintained nor supported. If someone would like to step up to maintain this, they should contact Luke-Jr. BUG FIXES @@ -13,25 +13,25 @@ Version 0.6.0 allowed importing invalid "private keys", which would be unspendab Verify status of encrypt/decrypt calls to detect failed padding Check blocks for duplicate transactions earlier. Fixes #1167 Upgrade Windows builds to OpenSSL 1.0.1b -Set label when selecting an address that already has a label. Fixes #1080 (Bitcoin-Qt) +Set label when selecting an address that already has a label. Fixes #1080 (NYC3-Qt) JSON-RPC listtransactions's from/count handling is now fixed Optimize and fix multithreaded access, when checking whether we already know about transactions Fix potential networking deadlock Proper support for Growl 1.3 notifications Display an error, rather than crashing, if encoding a QR Code failed (0.6.0.7) -Don't erroneously set "Display addresses" for users who haven't explicitly enabled it (Bitcoin-Qt) +Don't erroneously set "Display addresses" for users who haven't explicitly enabled it (NYC3-Qt) Some non-ASCII input in JSON-RPC expecting hexadecimal may have been misinterpreted rather than rejected Missing error condition checking added -Do not show green tick unless all known blocks are downloaded. Fixes #921 (Bitcoin-Qt) +Do not show green tick unless all known blocks are downloaded. Fixes #921 (NYC3-Qt) Increase time ago of last block for "up to date" status from 30 to 90 minutes -Show a message box when runaway exception happens (Bitcoin-Qt) +Show a message box when runaway exception happens (NYC3-Qt) Use a messagebox to display the error when -server is provided without providing a rpc password -Show error message instead of exception crash when unable to bind RPC port (Bitcoin-Qt) -Correct sign message bitcoin address tooltip. Fixes #1050 (Bitcoin-Qt) +Show error message instead of exception crash when unable to bind RPC port (NYC3-Qt) +Correct sign message bitcoin address tooltip. Fixes #1050 (NYC3-Qt) Removed "(no label)" from QR Code dialog titlebar if we have no label (0.6.0.7) Removed an ugly line break in tooltip for mature transactions (0.6.0.7) -Add missing tooltip and key shortcut in settings dialog (part of #1088) (Bitcoin-Qt) +Add missing tooltip and key shortcut in settings dialog (part of #1088) (NYC3-Qt) Work around issue in boost::program_options that prevents from compiling in clang Fixed bugs occurring only on platforms with unsigned characters (such as ARM). -Rename make_windows_icon.py to .sh as it is a shell script. Fixes #1099 (Bitcoin-Qt) +Rename make_windows_icon.py to .sh as it is a shell script. Fixes #1099 (NYC3-Qt) Various trivial internal corrections to types used for counting/size loops and warnings diff --git a/doc/release-notes/release-notes-0.6.0.md b/doc/release-notes/release-notes-0.6.0.md index 1963a3625..fcc007726 100644 --- a/doc/release-notes/release-notes-0.6.0.md +++ b/doc/release-notes/release-notes-0.6.0.md @@ -1,5 +1,5 @@ -Bitcoin version 0.6.0 is now available for download at: -http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.6.0/test/ +NYC3 version 0.6.0 is now available for download at: +http://sourceforge.net/projects/bitcoin/files/NYC3/bitcoin-0.6.0/test/ This release includes more than 20 language localizations. More translations are welcome; join the @@ -38,7 +38,7 @@ hours). Backup Wallet menu option. -Bitcoin-Qt can display and save QR codes for sending +NYC3-Qt can display and save QR codes for sending and receiving addresses. New context menu on addresses to copy/edit/delete them. @@ -54,14 +54,14 @@ transactions and less traffic on the bitcoin network. The shorter keys are already supported by the network but wallet.dat files containing short keys are not compatible with earlier -versions of Bitcoin-Qt/bitcoind. +versions of NYC3-Qt/bitcoind. New command-line argument -blocknotify= that will spawn a shell process to run when a new block is accepted. New command-line argument -splash=0 to disable -Bitcoin-Qt's initial splash screen +NYC3-Qt's initial splash screen validateaddress JSON-RPC api command output includes two new fields for addresses in the wallet: @@ -105,10 +105,10 @@ attacks were fixed. NOT YET IMPLEMENTED FEATURES Support for clicking on bitcoin: URIs and -opening/launching Bitcoin-Qt is available only on Linux, +opening/launching NYC3-Qt is available only on Linux, and only if you configure your desktop to launch -Bitcoin-Qt. All platforms support dragging and dropping -bitcoin: URIs onto the Bitcoin-Qt window to start +NYC3-Qt. All platforms support dragging and dropping +bitcoin: URIs onto the NYC3-Qt window to start payment. @@ -125,7 +125,7 @@ with this release multisignature transactions are considered standard and will start to be relayed and accepted into blocks. -It is expected that future releases of Bitcoin-Qt +It is expected that future releases of NYC3-Qt will support the creation of multisignature transactions, once enough of the network has upgraded so relaying and validating them is robust. diff --git a/doc/release-notes/release-notes-0.6.2.md b/doc/release-notes/release-notes-0.6.2.md index bb85fb23a..141c7a1d9 100644 --- a/doc/release-notes/release-notes-0.6.2.md +++ b/doc/release-notes/release-notes-0.6.2.md @@ -1,5 +1,5 @@ -Bitcoin version 0.6.2 is now available for download at: -http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.6.2/ +NYC3 version 0.6.2 is now available for download at: +http://sourceforge.net/projects/bitcoin/files/NYC3/bitcoin-0.6.2/ This is a bug-fix and code-cleanup release, with no major new features. diff --git a/doc/release-notes/release-notes-0.6.3.md b/doc/release-notes/release-notes-0.6.3.md index c27f607b5..df49607cc 100644 --- a/doc/release-notes/release-notes-0.6.3.md +++ b/doc/release-notes/release-notes-0.6.3.md @@ -1,5 +1,5 @@ -Bitcoin version 0.6.3 is now available for download at: - http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.6.3/ +NYC3 version 0.6.3 is now available for download at: + http://sourceforge.net/projects/bitcoin/files/NYC3/bitcoin-0.6.3/ This is a bug-fix release, with no new features. @@ -20,10 +20,10 @@ Fixed an obscure bug that could cause the bitcoin process to get stuck on an invalid block-chain, if the invalid chain was hundreds of blocks long. -Bitcoin-Qt no longer automatically selects the first address +NYC3-Qt no longer automatically selects the first address in the address book (Issue #1384). -Fixed minimize-to-dock behavior of Bitcoin-Qt on the Mac. +Fixed minimize-to-dock behavior of NYC3-Qt on the Mac. Added a block checkpoint at block 185,333 to speed up initial blockchain download. diff --git a/doc/release-notes/release-notes-0.7.0.md b/doc/release-notes/release-notes-0.7.0.md index d33a58f99..d77ac93b7 100644 --- a/doc/release-notes/release-notes-0.7.0.md +++ b/doc/release-notes/release-notes-0.7.0.md @@ -1,7 +1,7 @@ -Bitcoin version 0.7.0 is now available for download at: - http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.7.0/ +NYC3 version 0.7.0 is now available for download at: + http://sourceforge.net/projects/bitcoin/files/NYC3/bitcoin-0.7.0/ -We recommend that everybody running prior versions of bitcoind/Bitcoin-Qt +We recommend that everybody running prior versions of bitcoind/NYC3-Qt upgrade to this release, except for users running Mac OSX 10.5. Please report bugs using the issue tracker at github: @@ -27,7 +27,7 @@ If you are running an older version, shut it down. Wait until it has completely shut down (which might take a few minutes for older versions), then run the installer (on Windows) or just copy over Code: -/Applications/Bitcoin-Qt +/Applications/NYC3-Qt (on Mac) or Code: bitcoind/bitcoin-qt @@ -45,7 +45,7 @@ Incompatible Changes and 'getrawmempool' commands. * Remove deprecated RPC 'getblocknumber' -Bitcoin Improvement Proposals implemented +NYC3 Improvement Proposals implemented BIP 22 - 'getblocktemplate', 'submitblock' RPCs BIP 34 - block version 2, height in coinbase diff --git a/doc/release-notes/release-notes-0.7.1.md b/doc/release-notes/release-notes-0.7.1.md index 22e910c09..b01758268 100644 --- a/doc/release-notes/release-notes-0.7.1.md +++ b/doc/release-notes/release-notes-0.7.1.md @@ -1,5 +1,5 @@ -Bitcoin version 0.7.1 is now available from: - http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.7.1/ +NYC3 version 0.7.1 is now available from: + http://sourceforge.net/projects/bitcoin/files/NYC3/bitcoin-0.7.1/ This is a bug-fix minor release. @@ -30,7 +30,7 @@ How to Upgrade If you are running an older version, shut it down. Wait until it has completely shut down (which might take a few minutes for older versions), then run the installer (on Windows) or just copy over -/Applications/Bitcoin-Qt (on Mac) or bitcoind/bitcoin-qt (on Linux). +/Applications/NYC3-Qt (on Mac) or bitcoind/bitcoin-qt (on Linux). If you were running on Linux with a version that might have been compiled with a different version of Berkeley DB (for example, if you were using an @@ -75,7 +75,7 @@ Dependency changes Bug fixes --------- -* Clicking on a bitcoin: URI on Windows should now launch Bitcoin-Qt properly. +* Clicking on a bitcoin: URI on Windows should now launch NYC3-Qt properly. * When running -testnet, use RPC port 18332 by default. diff --git a/doc/release-notes/release-notes-0.7.2.md b/doc/release-notes/release-notes-0.7.2.md index 40af34962..ea68a7269 100644 --- a/doc/release-notes/release-notes-0.7.2.md +++ b/doc/release-notes/release-notes-0.7.2.md @@ -1,5 +1,5 @@ -Bitcoin version 0.7.2 is now available from: - http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.7.2 +NYC3 version 0.7.2 is now available from: + http://sourceforge.net/projects/bitcoin/files/NYC3/bitcoin-0.7.2 This is a bug-fix minor release. @@ -12,7 +12,7 @@ How to Upgrade If you are running an older version, shut it down. Wait until it has completely shut down (which might take a few minutes for older versions), then run the installer (on Windows) or just copy over -/Applications/Bitcoin-Qt (on Mac) or bitcoind/bitcoin-qt (on Linux). +/Applications/NYC3-Qt (on Mac) or bitcoind/bitcoin-qt (on Linux). If you were running on Linux with a version that might have been compiled with a different version of Berkeley DB (for example, if you were using an @@ -40,7 +40,7 @@ Bug fixes database twice. * Fix use-after-free problems in initialization and shutdown, the latter of - which caused Bitcoin-Qt to crash on Windows when exiting. + which caused NYC3-Qt to crash on Windows when exiting. * Correct library linking so building on Windows natively works. diff --git a/doc/release-notes/release-notes-0.8.0.md b/doc/release-notes/release-notes-0.8.0.md index 4e98a7740..7a19896ce 100644 --- a/doc/release-notes/release-notes-0.8.0.md +++ b/doc/release-notes/release-notes-0.8.0.md @@ -1,5 +1,5 @@ -Bitcoin-Qt version 0.8.0 is now available from: - http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.8.0/ +NYC3-Qt version 0.8.0 is now available from: + http://sourceforge.net/projects/bitcoin/files/NYC3/bitcoin-0.8.0/ This is a major release designed to improve performance and handle the increasing volume of transactions on the network. @@ -13,7 +13,7 @@ How to Upgrade If you are running an older version, shut it down. Wait until it has completely shut down (which might take a few minutes for older versions), then run the installer (on Windows) or just copy over -/Applications/Bitcoin-Qt (on Mac) or bitcoind/bitcoin-qt (on Linux). +/Applications/NYC3-Qt (on Mac) or bitcoind/bitcoin-qt (on Linux). The first time you run after the upgrade a re-indexing process will be started that will take anywhere from 30 minutes to several hours, @@ -31,7 +31,7 @@ details). Improvements ------------ -Mac and Windows binaries are signed with certificates owned by the Bitcoin +Mac and Windows binaries are signed with certificates owned by the NYC3 Foundation, to be compatible with the new security features in OSX 10.8 and Windows 8. diff --git a/doc/release-notes/release-notes-0.8.1.md b/doc/release-notes/release-notes-0.8.1.md index 4fd546bee..493a7a8b4 100644 --- a/doc/release-notes/release-notes-0.8.1.md +++ b/doc/release-notes/release-notes-0.8.1.md @@ -1,5 +1,5 @@ -Bitcoin-Qt/bitcoind version 0.8.1 is now available from: - http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.8.1/ +NYC3-Qt/bitcoind version 0.8.1 is now available from: + http://sourceforge.net/projects/bitcoin/files/NYC3/bitcoin-0.8.1/ This is a maintenance release that adds a new network rule to avoid a chain-forking incompatibility with versions 0.7.2 and earlier. @@ -14,7 +14,7 @@ How to Upgrade If you are running an older version, shut it down. Wait until it has completely shut down (which might take a few minutes for older versions), then run the installer (on Windows) or just copy over -/Applications/Bitcoin-Qt (on Mac) or bitcoind/bitcoin-qt (on Linux). +/Applications/NYC3-Qt (on Mac) or bitcoind/bitcoin-qt (on Linux). If you are upgrading from version 0.7.2 or earlier, the first time you run 0.8.1 your blockchain files will be re-indexed, which will take diff --git a/doc/release-notes/release-notes-0.8.2.md b/doc/release-notes/release-notes-0.8.2.md index eea9ba2a2..bbc865f7e 100644 --- a/doc/release-notes/release-notes-0.8.2.md +++ b/doc/release-notes/release-notes-0.8.2.md @@ -1,5 +1,5 @@ -Bitcoin-Qt version 0.8.2 is now available from: - http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.8.2/ +NYC3-Qt version 0.8.2 is now available from: + http://sourceforge.net/projects/bitcoin/files/NYC3/bitcoin-0.8.2/ This is a maintenance release that fixes many bugs and includes a few small new features. @@ -13,7 +13,7 @@ How to Upgrade If you are running an older version, shut it down. Wait until it has completely shut down (which might take a few minutes for older versions), then run the installer (on Windows) or just copy over -/Applications/Bitcoin-Qt (on Mac) or bitcoind/bitcoin-qt (on Linux). +/Applications/NYC3-Qt (on Mac) or bitcoind/bitcoin-qt (on Linux). If you are upgrading from version 0.7.2 or earlier, the first time you run 0.8.2 your blockchain files will be re-indexed, which will take @@ -43,7 +43,7 @@ with code that automatically calculates and suggests appropriate fees in the 0.9 release and note that if you set a fee policy significantly different from the rest of the network your transactions may never confirm. -Bitcoin-Qt changes +NYC3-Qt changes * New icon and splash screen * Improve reporting of synchronization process @@ -97,8 +97,8 @@ Wallet compatibility/rescuing Known Bugs -* Entering the 'getblocktemplate' or 'getwork' RPC commands into the Bitcoin-Qt debug -console will cause Bitcoin-Qt to crash. Run Bitcoin-Qt with the -server command-line +* Entering the 'getblocktemplate' or 'getwork' RPC commands into the NYC3-Qt debug +console will cause NYC3-Qt to crash. Run NYC3-Qt with the -server command-line option to workaround. Thanks to everybody who contributed to the 0.8.2 release! diff --git a/doc/release-notes/release-notes-0.8.3.md b/doc/release-notes/release-notes-0.8.3.md index 856c20aa3..2888939f7 100644 --- a/doc/release-notes/release-notes-0.8.3.md +++ b/doc/release-notes/release-notes-0.8.3.md @@ -1,5 +1,5 @@ -Bitcoin-Qt version 0.8.3 is now available from: - http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.8.3/ +NYC3-Qt version 0.8.3 is now available from: + http://sourceforge.net/projects/bitcoin/files/NYC3/bitcoin-0.8.3/ This is a maintenance release to fix a denial-of-service attack that can cause nodes to crash. diff --git a/doc/release-notes/release-notes-0.8.4.md b/doc/release-notes/release-notes-0.8.4.md index c6f31f1fa..91f767df0 100644 --- a/doc/release-notes/release-notes-0.8.4.md +++ b/doc/release-notes/release-notes-0.8.4.md @@ -1,5 +1,5 @@ -Bitcoin-Qt version 0.8.4 is now available from: - http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.8.4/ +NYC3-Qt version 0.8.4 is now available from: + http://sourceforge.net/projects/bitcoin/files/NYC3/bitcoin-0.8.4/ This is a maintenance release to fix a critical bug and three security issues; we urge all users to upgrade. @@ -14,7 +14,7 @@ How to Upgrade If you are running an older version, shut it down. Wait until it has completely shut down (which might take a few minutes for older versions), then run the installer (on Windows) or just copy over -/Applications/Bitcoin-Qt (on Mac) or bitcoind/bitcoin-qt (on Linux). +/Applications/NYC3-Qt (on Mac) or bitcoind/bitcoin-qt (on Linux). If you are upgrading from version 0.7.2 or earlier, the first time you run 0.8.4 your blockchain files will be re-indexed, which will take @@ -29,7 +29,7 @@ Security issues An attacker could send a series of messages that resulted in an integer division-by-zero error in the Bloom Filter handling -code, causing the Bitcoin-Qt or bitcoind process to crash. +code, causing the NYC3-Qt or bitcoind process to crash. Bloom filters were introduced with version 0.8, so versions 0.8.0 through 0.8.3 are vulnerable to this critical denial-of-service attack. @@ -59,7 +59,7 @@ Linux: clicking on bitcoin: links was broken if you were using a Gnome-based desktop. Fix a hang-at-shutdown bug that only affects users that compile -their own version of Bitcoin against Boost versions 1.50-1.52. +their own version of NYC3 against Boost versions 1.50-1.52. Other changes ------------- diff --git a/doc/release-notes/release-notes-0.8.5.md b/doc/release-notes/release-notes-0.8.5.md index aa93fe7c7..e65b862dd 100644 --- a/doc/release-notes/release-notes-0.8.5.md +++ b/doc/release-notes/release-notes-0.8.5.md @@ -1,5 +1,5 @@ -Bitcoin-Qt version 0.8.5 is now available from: - http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.8.5/ +NYC3-Qt version 0.8.5 is now available from: + http://sourceforge.net/projects/bitcoin/files/NYC3/bitcoin-0.8.5/ This is a maintenance release to fix a critical bug; we urge all users to upgrade. @@ -14,7 +14,7 @@ How to Upgrade If you are running an older version, shut it down. Wait until it has completely shut down (which might take a few minutes for older versions), then run the installer (on Windows) or just copy over -/Applications/Bitcoin-Qt (on Mac) or bitcoind/bitcoin-qt (on Linux). +/Applications/NYC3-Qt (on Mac) or bitcoind/bitcoin-qt (on Linux). If you are upgrading from version 0.7.2 or earlier, the first time you run 0.8.5 your blockchain files will be re-indexed, which will take diff --git a/doc/release-notes/release-notes-0.8.6.md b/doc/release-notes/release-notes-0.8.6.md index 39a45e0db..74b79779b 100644 --- a/doc/release-notes/release-notes-0.8.6.md +++ b/doc/release-notes/release-notes-0.8.6.md @@ -1,6 +1,6 @@ -Bitcoin-Qt version 0.8.6 final is now available from: +NYC3-Qt version 0.8.6 final is now available from: - http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.8.6/ + http://sourceforge.net/projects/bitcoin/files/NYC3/bitcoin-0.8.6/ This is a maintenance release to fix a critical bug; we urge all users to upgrade. @@ -16,7 +16,7 @@ If you already downloaded 0.8.6rc1 you do not need to re-download. This release If you are running an older version, shut it down. Wait until it has completely shut down (which might take a few minutes for older versions), then run the installer (on Windows) or just copy over -/Applications/Bitcoin-Qt (on Mac) or bitcoind/bitcoin-qt (on Linux). +/Applications/NYC3-Qt (on Mac) or bitcoind/bitcoin-qt (on Linux). If you are upgrading from version 0.7.2 or earlier, the first time you run 0.8.6 your blockchain files will be re-indexed, which will take @@ -47,7 +47,7 @@ your machine. - Additional debug.log logging for diagnosis of network problems, log timestamps by default -- Fix Bitcoin-Qt startup crash when clicking dock icon on OSX +- Fix NYC3-Qt startup crash when clicking dock icon on OSX - Fix memory leaks in CKey::SetCompactSignature() and Key::SignCompact() diff --git a/doc/release-notes/release-notes-0.9.0.md b/doc/release-notes/release-notes-0.9.0.md index 0f14d89e8..79a4ce773 100644 --- a/doc/release-notes/release-notes-0.9.0.md +++ b/doc/release-notes/release-notes-0.9.0.md @@ -14,14 +14,14 @@ How to Upgrade If you are running an older version, shut it down. Wait until it has completely shut down (which might take a few minutes for older versions), uninstall all -earlier versions of Bitcoin, then run the installer (on Windows) or just copy -over /Applications/Bitcoin-Qt (on Mac) or bitcoind/bitcoin-qt (on Linux). +earlier versions of NYC3, then run the installer (on Windows) or just copy +over /Applications/NYC3-Qt (on Mac) or bitcoind/bitcoin-qt (on Linux). If you are upgrading from version 0.7.2 or earlier, the first time you run 0.9.0 your blockchain files will be re-indexed, which will take anywhere from 30 minutes to several hours, depending on the speed of your machine. -On Windows, do not forget to uninstall all earlier versions of the Bitcoin +On Windows, do not forget to uninstall all earlier versions of the NYC3 client first, especially if you are switching to the 64-bit version. Windows 64-bit installer @@ -62,7 +62,7 @@ of minutes on a typical machine). Rebranding to NYC3 --------------------------- -To reduce confusion between Bitcoin-the-network and Bitcoin-the-software we +To reduce confusion between NYC3-the-network and NYC3-the-software we have renamed the reference client to NYC3. @@ -85,13 +85,13 @@ Autotools build system For 0.9.0 we switched to an autotools-based build system instead of individual (q)makefiles. -Using the standard "./autogen.sh; ./configure; make" to build Bitcoin-Qt and +Using the standard "./autogen.sh; ./configure; make" to build NYC3-Qt and bitcoind makes it easier for experienced open source developers to contribute to the project. Be sure to check doc/build-*.md for your platform before building from source. -Bitcoin-cli +NYC3-cli ------------- Another change in the 0.9 release is moving away from the bitcoind executable diff --git a/doc/release-notes/release-notes-0.9.1.md b/doc/release-notes/release-notes-0.9.1.md index cb3e3445a..46e7fce7e 100644 --- a/doc/release-notes/release-notes-0.9.1.md +++ b/doc/release-notes/release-notes-0.9.1.md @@ -20,7 +20,7 @@ How to Upgrade If you are running an older version, shut it down. Wait until it has completely shut down (which might take a few minutes for older versions), then run the -installer (on Windows) or just copy over /Applications/Bitcoin-Qt (on Mac) or +installer (on Windows) or just copy over /Applications/NYC3-Qt (on Mac) or bitcoind/bitcoin-qt (on Linux). If you are upgrading from version 0.7.2 or earlier, the first time you run diff --git a/doc/release-notes/release-notes-0.9.2.1.md b/doc/release-notes/release-notes-0.9.2.1.md index a1333948a..19313c8bd 100644 --- a/doc/release-notes/release-notes-0.9.2.1.md +++ b/doc/release-notes/release-notes-0.9.2.1.md @@ -15,7 +15,7 @@ How to Upgrade If you are running an older version, shut it down. Wait until it has completely shut down (which might take a few minutes for older versions), then run the -installer (on Windows) or just copy over /Applications/Bitcoin-Qt (on Mac) or +installer (on Windows) or just copy over /Applications/NYC3-Qt (on Mac) or bitcoind/bitcoin-qt (on Linux). If you are upgrading from version 0.7.2 or earlier, the first time you run diff --git a/doc/release-notes/release-notes-0.9.2.md b/doc/release-notes/release-notes-0.9.2.md index 811dfdf5d..98add9da9 100644 --- a/doc/release-notes/release-notes-0.9.2.md +++ b/doc/release-notes/release-notes-0.9.2.md @@ -15,7 +15,7 @@ How to Upgrade If you are running an older version, shut it down. Wait until it has completely shut down (which might take a few minutes for older versions), then run the -installer (on Windows) or just copy over /Applications/Bitcoin-Qt (on Mac) or +installer (on Windows) or just copy over /Applications/NYC3-Qt (on Mac) or bitcoind/bitcoin-qt (on Linux). If you are upgrading from version 0.7.2 or earlier, the first time you run diff --git a/doc/release-notes/release-notes-0.9.3.md b/doc/release-notes/release-notes-0.9.3.md index b8566bfbd..ef8cf50df 100644 --- a/doc/release-notes/release-notes-0.9.3.md +++ b/doc/release-notes/release-notes-0.9.3.md @@ -17,7 +17,7 @@ How to Upgrade If you are running an older version, shut it down. Wait until it has completely shut down (which might take a few minutes for older versions), then run the -installer (on Windows) or just copy over /Applications/Bitcoin-Qt (on Mac) or +installer (on Windows) or just copy over /Applications/NYC3-Qt (on Mac) or bitcoind/bitcoin-qt (on Linux). If you are upgrading from version 0.7.2 or earlier, the first time you run diff --git a/doc/release-notes/release-notes-0.9.4.md b/doc/release-notes/release-notes-0.9.4.md index bf26e1676..0a0baea2b 100644 --- a/doc/release-notes/release-notes-0.9.4.md +++ b/doc/release-notes/release-notes-0.9.4.md @@ -14,7 +14,7 @@ How to Upgrade If you are running an older version, shut it down. Wait until it has completely shut down (which might take a few minutes for older versions), then run the -installer (on Windows) or just copy over /Applications/Bitcoin-Qt (on Mac) or +installer (on Windows) or just copy over /Applications/NYC3-Qt (on Mac) or bitcoind/bitcoin-qt (on Linux). OpenSSL Warning @@ -22,7 +22,7 @@ OpenSSL Warning OpenSSL 1.0.0p / 1.0.1k was recently released and is being pushed out by various operating system maintainers. Review by Gregory Maxwell determined that -this update is incompatible with the Bitcoin system and could lead to consensus +this update is incompatible with the NYC3 system and could lead to consensus forks. NYC3 released binaries from https://bitcoin.org are unaffected, diff --git a/doc/release-notes/release-notes-0.9.5.md b/doc/release-notes/release-notes-0.9.5.md index b035fc3b3..a5695ffb4 100644 --- a/doc/release-notes/release-notes-0.9.5.md +++ b/doc/release-notes/release-notes-0.9.5.md @@ -15,7 +15,7 @@ How to Upgrade If you are running an older version, shut it down. Wait until it has completely shut down (which might take a few minutes for older versions), then run the -installer (on Windows) or just copy over /Applications/Bitcoin-Qt (on Mac) or +installer (on Windows) or just copy over /Applications/NYC3-Qt (on Mac) or bitcoind/bitcoin-qt (on Linux). Notable changes @@ -27,7 +27,7 @@ Mining and relay policy enhancements NYC3's block templates are now for version 3 blocks only, and any mining software relying on its `getblocktemplate` must be updated in parallel to use libblkmaker either version 0.4.2 or any version from 0.5.1 onward. -If you are solo mining, this will affect you the moment you upgrade Bitcoin +If you are solo mining, this will affect you the moment you upgrade NYC3 Core, which must be done prior to BIP66 achieving its 951/1001 status. If you are mining with the stratum mining protocol: this does not affect you. If you are mining with the getblocktemplate protocol to a pool: this will affect diff --git a/doc/release-process.md b/doc/release-process.md index 31423b0c9..e214362d2 100644 --- a/doc/release-process.md +++ b/doc/release-process.md @@ -40,7 +40,7 @@ Check out the source code in the following directory hierarchy. git clone https://github.com/devrandom/gitian-builder.git git clone https://github.com/nyc3coin/nyc3 -### Bitcoin maintainers/release engineers, suggestion for writing release notes +### NYC3 maintainers/release engineers, suggestion for writing release notes Write release notes. git shortlog helps a lot, for example: @@ -278,14 +278,14 @@ bitcoin.org (see below for bitcoin.org update instructions). - Update bitcoin.org version - - First, check to see if the Bitcoin.org maintainers have prepared a + - First, check to see if the NYC3.org maintainers have prepared a release: https://github.com/bitcoin-dot-org/bitcoin.org/labels/Core - If they have, it will have previously failed their Travis CI checks because the final release files weren't uploaded. Trigger a Travis CI rebuild---if it passes, merge. - - If they have not prepared a release, follow the Bitcoin.org release + - If they have not prepared a release, follow the NYC3.org release instructions: https://github.com/bitcoin-dot-org/bitcoin.org/blob/master/docs/adding-events-release-notes-and-alerts.md#release-notes - After the pull request is merged, the website will automatically show the newest version within 15 minutes, as well @@ -333,6 +333,6 @@ bitcoin.org (see below for bitcoin.org update instructions). - Update title of #bitcoin on Freenode IRC - - Optionally twitter, reddit /r/Bitcoin, ... but this will usually sort out itself + - Optionally twitter, reddit /r/NYC3, ... but this will usually sort out itself - Celebrate diff --git a/doc/shared-libraries.md b/doc/shared-libraries.md index e960863a8..8c866bb73 100644 --- a/doc/shared-libraries.md +++ b/doc/shared-libraries.md @@ -3,7 +3,7 @@ Shared Libraries ## bitcoinconsensus -The purpose of this library is to make the verification functionality that is critical to Bitcoin's consensus available to other applications, e.g. to language bindings. +The purpose of this library is to make the verification functionality that is critical to NYC3's consensus available to other applications, e.g. to language bindings. ### API @@ -43,7 +43,7 @@ The interface is defined in the C header `bitcoinconsensus.h` located in `src/sc - `bitcoinconsensus_ERR_AMOUNT_REQUIRED` - Input amount is required if WITNESS is used ### Example Implementations -- [NBitcoin](https://github.com/NicolasDorier/NBitcoin/blob/master/NBitcoin/Script.cs#L814) (.NET Bindings) +- [NNYC3](https://github.com/NicolasDorier/NNYC3/blob/master/NNYC3/Script.cs#L814) (.NET Bindings) - [node-libbitcoinconsensus](https://github.com/bitpay/node-libbitcoinconsensus) (Node.js Bindings) - [java-libbitcoinconsensus](https://github.com/dexX7/java-libbitcoinconsensus) (Java Bindings) - [bitcoinconsensus-php](https://github.com/Bit-Wasp/bitcoinconsensus-php) (PHP Bindings) diff --git a/doc/translation_process.md b/doc/translation_process.md index 969283284..f92c16b3d 100644 --- a/doc/translation_process.md +++ b/doc/translation_process.md @@ -1,14 +1,14 @@ Translations ============ -The Bitcoin-Core project has been designed to support multiple localisations. This makes adding new phrases, and completely new languages easily achievable. For managing all application translations, Bitcoin-Core makes use of the Transifex online translation management tool. +The NYC3-Core project has been designed to support multiple localisations. This makes adding new phrases, and completely new languages easily achievable. For managing all application translations, NYC3-Core makes use of the Transifex online translation management tool. ### Helping to translate (using Transifex) Transifex is setup to monitor the GitHub repo for updates, and when code containing new translations is found, Transifex will process any changes. It may take several hours after a pull-request has been merged, to appear in the Transifex web interface. -Multiple language support is critical in assisting Bitcoin’s global adoption, and growth. One of Bitcoin’s greatest strengths is cross-border money transfers, any help making that easier is greatly appreciated. +Multiple language support is critical in assisting NYC3’s global adoption, and growth. One of NYC3’s greatest strengths is cross-border money transfers, any help making that easier is greatly appreciated. -See the [Transifex Bitcoin project](https://www.transifex.com/projects/p/bitcoin/) to assist in translations. You should also join the translation mailing list for announcements - see details below. +See the [Transifex NYC3 project](https://www.transifex.com/projects/p/bitcoin/) to assist in translations. You should also join the translation mailing list for announcements - see details below. ### Writing code with translations We use automated scripts to help extract translations in both Qt, and non-Qt source files. It is rarely necessary to manually edit the files in `src/qt/locale/`. The translation source files must adhere to the following format: @@ -43,7 +43,7 @@ git commit ### Creating a Transifex account Visit the [Transifex Signup](https://www.transifex.com/signup/) page to create an account. Take note of your username and password, as they will be required to configure the command-line tool. -You can find the Bitcoin translation project at [https://www.transifex.com/projects/p/bitcoin/](https://www.transifex.com/projects/p/bitcoin/). +You can find the NYC3 translation project at [https://www.transifex.com/projects/p/bitcoin/](https://www.transifex.com/projects/p/bitcoin/). ### Installing the Transifex client command-line tool The client is used to fetch updated translations. If you are having problems, or need more details, see [https://docs.transifex.com/client/installing-the-client](https://docs.transifex.com/client/installing-the-client) @@ -62,7 +62,7 @@ token = username = USERNAME ``` -The Transifex Bitcoin project config file is included as part of the repo. It can be found at `.tx/config`, however you shouldn’t need to change anything. +The Transifex NYC3 project config file is included as part of the repo. It can be found at `.tx/config`, however you shouldn’t need to change anything. ### Synchronising translations To assist in updating translations, we have created a script to help. @@ -110,6 +110,6 @@ To create a new language template, you will need to edit the languages manifest **Note:** that the language translation file **must end in `.qm`** (the compiled extension), and not `.ts`. ### Questions and general assistance -The Bitcoin-Core translation maintainers include *tcatm, seone, Diapolo, wumpus and luke-jr*. You can find them, and others, in the Freenode IRC chatroom - `irc.freenode.net #bitcoin-core-dev`. +The NYC3-Core translation maintainers include *tcatm, seone, Diapolo, wumpus and luke-jr*. You can find them, and others, in the Freenode IRC chatroom - `irc.freenode.net #bitcoin-core-dev`. If you are a translator, you should also subscribe to the mailing list, https://groups.google.com/forum/#!forum/bitcoin-translators. Announcements will be posted during application pre-releases to notify translators to check for updates. diff --git a/doc/translation_strings_policy.md b/doc/translation_strings_policy.md index 377c1a994..9bc6dd72b 100644 --- a/doc/translation_strings_policy.md +++ b/doc/translation_strings_policy.md @@ -75,10 +75,10 @@ In Qt code, use tr's third argument for optional plurality. For example: This adds ``s to the respective `.ts` file, which can be translated separately depending on the language. In English, this is simply: - %n active connection(s) to Bitcoin network + %n active connection(s) to NYC3 network - %n active connection to Bitcoin network - %n active connections to Bitcoin network + %n active connection to NYC3 network + %n active connections to NYC3 network diff --git a/doc/zmq.md b/doc/zmq.md index 44ebd9e2c..ddb84854e 100644 --- a/doc/zmq.md +++ b/doc/zmq.md @@ -115,5 +115,5 @@ retrieve the chain from the last known block to the new tip. There are several possibilities that ZMQ notification can get lost during transmission depending on the communication type you are -using. Bitcoind appends an up-counting sequence number to each +using. NYC3d appends an up-counting sequence number to each notification which allows listeners to detect lost notifications. diff --git a/libbitcoinconsensus.pc.in b/libbitcoinconsensus.pc.in index eb920c47e..a55d74f91 100644 --- a/libbitcoinconsensus.pc.in +++ b/libbitcoinconsensus.pc.in @@ -4,7 +4,7 @@ libdir=@libdir@ includedir=@includedir@ Name: @PACKAGE_NAME@ consensus library -Description: Library for the Bitcoin consensus protocol. +Description: Library for the NYC3 consensus protocol. Version: @PACKAGE_VERSION@ Libs: -L${libdir} -lbitcoinconsensus Cflags: -I${includedir} diff --git a/share/examples/bitcoin.conf b/share/examples/bitcoin.conf index 6062d49c4..c779c4793 100644 --- a/share/examples/bitcoin.conf +++ b/share/examples/bitcoin.conf @@ -57,10 +57,10 @@ #maxconnections= # -# JSON-RPC options (for controlling a running Bitcoin/bitcoind process) +# JSON-RPC options (for controlling a running NYC3/bitcoind process) # -# server=1 tells Bitcoin-Qt and bitcoind to accept JSON-RPC commands +# server=1 tells NYC3-Qt and bitcoind to accept JSON-RPC commands #server=0 # Bind to given address to listen for JSON-RPC connections. Use [host]:port notation for IPv6. @@ -100,7 +100,7 @@ # NOTE: opening up the RPC port to hosts outside your local trusted network is NOT RECOMMENDED, # because the rpcpassword is transmitted over the network unencrypted. -# server=1 tells Bitcoin-Qt to accept JSON-RPC commands. +# server=1 tells NYC3-Qt to accept JSON-RPC commands. # it is also read by bitcoind to determine if RPC should be enabled #rpcallowip=10.1.1.34/255.255.255.0 #rpcallowip=1.2.3.4/24 @@ -109,7 +109,7 @@ # Listen for RPC connections on this TCP port: #rpcport=8332 -# You can use Bitcoin or bitcoind to send commands to Bitcoin/bitcoind +# You can use NYC3 or bitcoind to send commands to NYC3/bitcoind # running on another host using this option: #rpcconnect=127.0.0.1 @@ -137,7 +137,7 @@ # User interface options -# Start Bitcoin minimized +# Start NYC3 minimized #min=1 # Minimize to the system tray diff --git a/share/genbuild.sh b/share/genbuild.sh index 38c9ba176..7148e20d7 100755 --- a/share/genbuild.sh +++ b/share/genbuild.sh @@ -1,5 +1,5 @@ #!/bin/sh -# Copyright (c) 2012-2016 The Bitcoin Core developers +# Copyright (c) 2012-2016 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/share/qt/Info.plist.in b/share/qt/Info.plist.in index c7ca23204..6d54ddb68 100644 --- a/share/qt/Info.plist.in +++ b/share/qt/Info.plist.in @@ -46,7 +46,7 @@ CFBundleTypeRole Editor CFBundleURLName - org.bitcoin.BitcoinPayment + org.bitcoin.NYC3Payment CFBundleURLSchemes bitcoin diff --git a/share/qt/extract_strings_qt.py b/share/qt/extract_strings_qt.py index 76ef12eee..11a1a7931 100755 --- a/share/qt/extract_strings_qt.py +++ b/share/qt/extract_strings_qt.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2012-2018 The Bitcoin Core developers +# Copyright (c) 2012-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. ''' diff --git a/share/rpcauth/rpcauth.py b/share/rpcauth/rpcauth.py index b14c80171..9a1b87769 100755 --- a/share/rpcauth/rpcauth.py +++ b/share/rpcauth/rpcauth.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2015-2018 The Bitcoin Core developers +# Copyright (c) 2015-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/share/setup.nsi.in b/share/setup.nsi.in index acf9e8666..853554d03 100644 --- a/share/setup.nsi.in +++ b/share/setup.nsi.in @@ -50,9 +50,9 @@ Var StartMenuGroup # Installer attributes OutFile @abs_top_srcdir@/@PACKAGE_TARNAME@-@PACKAGE_VERSION@-win@WINDOWS_BITS@-setup.exe !if "@WINDOWS_BITS@" == "64" -InstallDir $PROGRAMFILES64\Bitcoin +InstallDir $PROGRAMFILES64\NYC3 !else -InstallDir $PROGRAMFILES\Bitcoin +InstallDir $PROGRAMFILES\NYC3 !endif CRCCheck on XPStyle on @@ -106,7 +106,7 @@ Section -post SEC0001 WriteRegDWORD HKCU "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$(^Name)" NoModify 1 WriteRegDWORD HKCU "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$(^Name)" NoRepair 1 WriteRegStr HKCR "@PACKAGE_TARNAME@" "URL Protocol" "" - WriteRegStr HKCR "@PACKAGE_TARNAME@" "" "URL:Bitcoin" + WriteRegStr HKCR "@PACKAGE_TARNAME@" "" "URL:NYC3" WriteRegStr HKCR "@PACKAGE_TARNAME@\DefaultIcon" "" $INSTDIR\@BITCOIN_GUI_NAME@@EXEEXT@ WriteRegStr HKCR "@PACKAGE_TARNAME@\shell\open\command" "" '"$INSTDIR\@BITCOIN_GUI_NAME@@EXEEXT@" "%1"' SectionEnd @@ -139,7 +139,7 @@ Section -un.post UNSEC0001 Delete /REBOOTOK "$SMPROGRAMS\$StartMenuGroup\Uninstall $(^Name).lnk" Delete /REBOOTOK "$SMPROGRAMS\$StartMenuGroup\$(^Name).lnk" Delete /REBOOTOK "$SMPROGRAMS\$StartMenuGroup\@PACKAGE_NAME@ (testnet, @WINDOWS_BITS@-bit).lnk" - Delete /REBOOTOK "$SMSTARTUP\Bitcoin.lnk" + Delete /REBOOTOK "$SMSTARTUP\NYC3.lnk" Delete /REBOOTOK $INSTDIR\uninstall.exe Delete /REBOOTOK $INSTDIR\debug.log Delete /REBOOTOK $INSTDIR\db.log diff --git a/src/Makefile.am b/src/Makefile.am index cefb91c17..3b841146a 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,4 +1,4 @@ -# Copyright (c) 2013-2016 The Bitcoin Core developers +# Copyright (c) 2013-2016 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/Makefile.bench.include b/src/Makefile.bench.include index 5e787ca22..fb29c142a 100644 --- a/src/Makefile.bench.include +++ b/src/Makefile.bench.include @@ -1,4 +1,4 @@ -# Copyright (c) 2015-2016 The Bitcoin Core developers +# Copyright (c) 2015-2016 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/Makefile.leveldb.include b/src/Makefile.leveldb.include index bd08bcb4e..3e3fe65f6 100644 --- a/src/Makefile.leveldb.include +++ b/src/Makefile.leveldb.include @@ -1,4 +1,4 @@ -# Copyright (c) 2016 The Bitcoin Core developers +# Copyright (c) 2016 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/Makefile.qt.include b/src/Makefile.qt.include index 267b80ecb..da6aaad70 100644 --- a/src/Makefile.qt.include +++ b/src/Makefile.qt.include @@ -1,4 +1,4 @@ -# Copyright (c) 2013-2016 The Bitcoin Core developers +# Copyright (c) 2013-2016 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/Makefile.qttest.include b/src/Makefile.qttest.include index 61977b50c..6e1ee5cb0 100644 --- a/src/Makefile.qttest.include +++ b/src/Makefile.qttest.include @@ -1,4 +1,4 @@ -# Copyright (c) 2013-2016 The Bitcoin Core developers +# Copyright (c) 2013-2016 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/Makefile.test.include b/src/Makefile.test.include index db6b27022..ed403f13c 100644 --- a/src/Makefile.test.include +++ b/src/Makefile.test.include @@ -1,4 +1,4 @@ -# Copyright (c) 2013-2016 The Bitcoin Core developers +# Copyright (c) 2013-2016 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/addrdb.cpp b/src/addrdb.cpp index c6083f555..a8cc97014 100644 --- a/src/addrdb.cpp +++ b/src/addrdb.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/addrdb.h b/src/addrdb.h index 290b63dd1..8a90c8b05 100644 --- a/src/addrdb.h +++ b/src/addrdb.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/addrman.cpp b/src/addrman.cpp index 8a5f78d1c..146825ca0 100644 --- a/src/addrman.cpp +++ b/src/addrman.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2012 Pieter Wuille -// Copyright (c) 2012-2018 The Bitcoin Core developers +// Copyright (c) 2012-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/addrman.h b/src/addrman.h index e54184ce3..23002a0eb 100644 --- a/src/addrman.h +++ b/src/addrman.h @@ -1,5 +1,5 @@ // Copyright (c) 2012 Pieter Wuille -// Copyright (c) 2012-2018 The Bitcoin Core developers +// Copyright (c) 2012-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/amount.h b/src/amount.h index 0f4358ab4..892b1d1b7 100644 --- a/src/amount.h +++ b/src/amount.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -15,7 +15,7 @@ static const CAmount COIN = 100000000; /** No amount larger than this (in satoshi) is valid. * - * Note that this constant is *not* the total money supply, which in Bitcoin + * Note that this constant is *not* the total money supply, which in NYC3 * currently happens to be less than 21,000,000 BTC for various reasons, but * rather a sanity check. As this sanity check is used by consensus-critical * validation code, the exact value of the MAX_MONEY constant is consensus diff --git a/src/arith_uint256.cpp b/src/arith_uint256.cpp index aa66d1310..0dab1c4a5 100644 --- a/src/arith_uint256.cpp +++ b/src/arith_uint256.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/arith_uint256.h b/src/arith_uint256.h index bd0360087..16391dfe6 100644 --- a/src/arith_uint256.h +++ b/src/arith_uint256.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -271,7 +271,7 @@ public: * Thus 0x1234560000 is compact (0x05123456) * and 0xc0de000000 is compact (0x0600c0de) * - * Bitcoin only uses this "compact" format for encoding difficulty + * NYC3 only uses this "compact" format for encoding difficulty * targets, which are unsigned 256bit quantities. Thus, all the * complexities of the sign bit and using base 256 are probably an * implementation accident. diff --git a/src/attributes.h b/src/attributes.h index 45099bd8b..f69e9c06d 100644 --- a/src/attributes.h +++ b/src/attributes.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/banman.cpp b/src/banman.cpp index 47d64a8f3..3ec53f9a3 100644 --- a/src/banman.cpp +++ b/src/banman.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2017 The Bitcoin Core developers +// Copyright (c) 2009-2017 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/banman.h b/src/banman.h index a1a00309d..f1d4b134c 100644 --- a/src/banman.h +++ b/src/banman.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2017 The Bitcoin Core developers +// Copyright (c) 2009-2017 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_BANMAN_H diff --git a/src/base58.cpp b/src/base58.cpp index e3d285339..a1e698664 100644 --- a/src/base58.cpp +++ b/src/base58.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2018 The Bitcoin Core developers +// Copyright (c) 2014-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/base58.h b/src/base58.h index d6e0299a1..f83ad24cd 100644 --- a/src/base58.h +++ b/src/base58.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/bench/base58.cpp b/src/bench/base58.cpp index e7702ec46..3f560b9fc 100644 --- a/src/bench/base58.cpp +++ b/src/bench/base58.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2016-2018 The Bitcoin Core developers +// Copyright (c) 2016-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/bench/bech32.cpp b/src/bench/bech32.cpp index 3c4b453a2..0952c5405 100644 --- a/src/bench/bech32.cpp +++ b/src/bench/bech32.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2018 The Bitcoin Core developers +// Copyright (c) 2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/bench/bench.cpp b/src/bench/bench.cpp index 966b99f6c..8e75e68a7 100644 --- a/src/bench/bench.cpp +++ b/src/bench/bench.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2015-2018 The Bitcoin Core developers +// Copyright (c) 2015-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/bench/bench.h b/src/bench/bench.h index 35eeab339..ad1419910 100644 --- a/src/bench/bench.h +++ b/src/bench/bench.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015-2018 The Bitcoin Core developers +// Copyright (c) 2015-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/bench/bench_bitcoin.cpp b/src/bench/bench_bitcoin.cpp index d67b2c5bc..11084e6f6 100644 --- a/src/bench/bench_bitcoin.cpp +++ b/src/bench/bench_bitcoin.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2015-2018 The Bitcoin Core developers +// Copyright (c) 2015-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/bench/block_assemble.cpp b/src/bench/block_assemble.cpp index cd4543c01..4ab4095df 100644 --- a/src/bench/block_assemble.cpp +++ b/src/bench/block_assemble.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/bench/ccoins_caching.cpp b/src/bench/ccoins_caching.cpp index 9cfd5d23e..adb3fba34 100644 --- a/src/bench/ccoins_caching.cpp +++ b/src/bench/ccoins_caching.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2016-2018 The Bitcoin Core developers +// Copyright (c) 2016-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/bench/checkblock.cpp b/src/bench/checkblock.cpp index e325333c0..3ae95b98c 100644 --- a/src/bench/checkblock.cpp +++ b/src/bench/checkblock.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2016-2018 The Bitcoin Core developers +// Copyright (c) 2016-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/bench/checkqueue.cpp b/src/bench/checkqueue.cpp index 6ab542067..7f1b0ff2b 100644 --- a/src/bench/checkqueue.cpp +++ b/src/bench/checkqueue.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2015-2018 The Bitcoin Core developers +// Copyright (c) 2015-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/bench/coin_selection.cpp b/src/bench/coin_selection.cpp index 74641191a..a97cc0150 100644 --- a/src/bench/coin_selection.cpp +++ b/src/bench/coin_selection.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2012-2018 The Bitcoin Core developers +// Copyright (c) 2012-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/bench/crypto_hash.cpp b/src/bench/crypto_hash.cpp index dc0b05442..f976603b4 100644 --- a/src/bench/crypto_hash.cpp +++ b/src/bench/crypto_hash.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2016-2018 The Bitcoin Core developers +// Copyright (c) 2016-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/bench/duplicate_inputs.cpp b/src/bench/duplicate_inputs.cpp index 1f6840d81..4d6295f91 100644 --- a/src/bench/duplicate_inputs.cpp +++ b/src/bench/duplicate_inputs.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/bench/examples.cpp b/src/bench/examples.cpp index e7ddd5a93..f7be5e044 100644 --- a/src/bench/examples.cpp +++ b/src/bench/examples.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2015-2018 The Bitcoin Core developers +// Copyright (c) 2015-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/bench/gcs_filter.cpp b/src/bench/gcs_filter.cpp index 535ad3557..63596579f 100644 --- a/src/bench/gcs_filter.cpp +++ b/src/bench/gcs_filter.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2018 The Bitcoin Core developers +// Copyright (c) 2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/bench/lockedpool.cpp b/src/bench/lockedpool.cpp index 0712eab4b..04520e675 100644 --- a/src/bench/lockedpool.cpp +++ b/src/bench/lockedpool.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2016-2018 The Bitcoin Core developers +// Copyright (c) 2016-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/bench/mempool_eviction.cpp b/src/bench/mempool_eviction.cpp index ac8a18235..7ccd61ddc 100644 --- a/src/bench/mempool_eviction.cpp +++ b/src/bench/mempool_eviction.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/bench/merkle_root.cpp b/src/bench/merkle_root.cpp index bdb2bdbe3..319db3e95 100644 --- a/src/bench/merkle_root.cpp +++ b/src/bench/merkle_root.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2016-2018 The Bitcoin Core developers +// Copyright (c) 2016-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/bench/prevector.cpp b/src/bench/prevector.cpp index 00e5d7e7a..0886f8566 100644 --- a/src/bench/prevector.cpp +++ b/src/bench/prevector.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2015-2018 The Bitcoin Core developers +// Copyright (c) 2015-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/bench/rollingbloom.cpp b/src/bench/rollingbloom.cpp index 0a99ea318..e03d20488 100644 --- a/src/bench/rollingbloom.cpp +++ b/src/bench/rollingbloom.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2016-2018 The Bitcoin Core developers +// Copyright (c) 2016-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/bench/verify_script.cpp b/src/bench/verify_script.cpp index 312b66e38..d790f7894 100644 --- a/src/bench/verify_script.cpp +++ b/src/bench/verify_script.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2016-2018 The Bitcoin Core developers +// Copyright (c) 2016-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/blockencodings.cpp b/src/blockencodings.cpp index 10f51931f..5c6906254 100644 --- a/src/blockencodings.cpp +++ b/src/blockencodings.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2016-2018 The Bitcoin Core developers +// Copyright (c) 2016-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/blockencodings.h b/src/blockencodings.h index 0c2b83ebc..dd615dfe7 100644 --- a/src/blockencodings.h +++ b/src/blockencodings.h @@ -1,4 +1,4 @@ -// Copyright (c) 2016-2018 The Bitcoin Core developers +// Copyright (c) 2016-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/blockfilter.cpp b/src/blockfilter.cpp index bcf24047f..74803ccf9 100644 --- a/src/blockfilter.cpp +++ b/src/blockfilter.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2018 The Bitcoin Core developers +// Copyright (c) 2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/blockfilter.h b/src/blockfilter.h index 4d1f51dd6..61e3766f6 100644 --- a/src/blockfilter.h +++ b/src/blockfilter.h @@ -1,4 +1,4 @@ -// Copyright (c) 2018 The Bitcoin Core developers +// Copyright (c) 2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/bloom.cpp b/src/bloom.cpp index 7732cee27..39123c8de 100644 --- a/src/bloom.cpp +++ b/src/bloom.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2012-2018 The Bitcoin Core developers +// Copyright (c) 2012-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/bloom.h b/src/bloom.h index 7d3aa878b..877f12026 100644 --- a/src/bloom.h +++ b/src/bloom.h @@ -1,4 +1,4 @@ -// Copyright (c) 2012-2018 The Bitcoin Core developers +// Copyright (c) 2012-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/chain.cpp b/src/chain.cpp index d462f94ab..fffb9a2e8 100644 --- a/src/chain.cpp +++ b/src/chain.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/chain.h b/src/chain.h index e5ed7b1ec..b9e5d0d40 100644 --- a/src/chain.h +++ b/src/chain.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/chainparams.cpp b/src/chainparams.cpp index f7fdfb1a3..461cec546 100644 --- a/src/chainparams.cpp +++ b/src/chainparams.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/chainparams.h b/src/chainparams.h index 6ff3dbb7e..d156661c9 100644 --- a/src/chainparams.h +++ b/src/chainparams.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -39,7 +39,7 @@ struct ChainTxData { /** * CChainParams defines various tweakable parameters of a given instance of the - * Bitcoin system. There are three: the main network on which people trade goods + * NYC3 system. There are three: the main network on which people trade goods * and services, the public test network which gets reset from time to time and * a regression test mode which is intended for private networks only. It has * minimal difficulty to ensure that blocks can be found instantly. diff --git a/src/chainparamsbase.cpp b/src/chainparamsbase.cpp index f0559a319..6d14de497 100644 --- a/src/chainparamsbase.cpp +++ b/src/chainparamsbase.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/chainparamsbase.h b/src/chainparamsbase.h index 355df043d..157c240c6 100644 --- a/src/chainparamsbase.h +++ b/src/chainparamsbase.h @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2018 The Bitcoin Core developers +// Copyright (c) 2014-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -11,7 +11,7 @@ /** * CBaseChainParams defines the base parameters (shared between bitcoin-cli and bitcoind) - * of a given instance of the Bitcoin system. + * of a given instance of the NYC3 system. */ class CBaseChainParams { diff --git a/src/checkpoints.cpp b/src/checkpoints.cpp index ad5edfeb3..e01e40f50 100644 --- a/src/checkpoints.cpp +++ b/src/checkpoints.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/checkpoints.h b/src/checkpoints.h index a25e97e46..bfe45e374 100644 --- a/src/checkpoints.h +++ b/src/checkpoints.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/checkqueue.h b/src/checkqueue.h index 978e23a7c..aa608bddf 100644 --- a/src/checkqueue.h +++ b/src/checkqueue.h @@ -1,4 +1,4 @@ -// Copyright (c) 2012-2018 The Bitcoin Core developers +// Copyright (c) 2012-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/clientversion.cpp b/src/clientversion.cpp index 5d9eaea6d..e458de880 100644 --- a/src/clientversion.cpp +++ b/src/clientversion.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2012-2018 The Bitcoin Core developers +// Copyright (c) 2012-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/clientversion.h b/src/clientversion.h index 363094b69..b7bf72a24 100644 --- a/src/clientversion.h +++ b/src/clientversion.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/coins.cpp b/src/coins.cpp index 3ef9e0463..372941ecc 100644 --- a/src/coins.cpp +++ b/src/coins.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2012-2018 The Bitcoin Core developers +// Copyright (c) 2012-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/coins.h b/src/coins.h index d39ebf906..5b26f23cc 100644 --- a/src/coins.h +++ b/src/coins.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/compat.h b/src/compat.h index 4d6ff8335..a193d9b7c 100644 --- a/src/compat.h +++ b/src/compat.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/compat/assumptions.h b/src/compat/assumptions.h index 820c9b93d..d46eaa249 100644 --- a/src/compat/assumptions.h +++ b/src/compat/assumptions.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2019 The Bitcoin Core developers +// Copyright (c) 2009-2019 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -14,7 +14,7 @@ // Example(s): We use assert(...) extensively with the assumption of it never // being a noop at runtime. #if defined(NDEBUG) -# error "Bitcoin cannot be compiled without assertions." +# error "NYC3 cannot be compiled without assertions." #endif // Assumption: We assume the floating-point types to fulfill the requirements of diff --git a/src/compat/byteswap.h b/src/compat/byteswap.h index fe47f4899..950d4ef24 100644 --- a/src/compat/byteswap.h +++ b/src/compat/byteswap.h @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2018 The Bitcoin Core developers +// Copyright (c) 2014-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/compat/endian.h b/src/compat/endian.h index c5cf7a46c..2e58d7dbe 100644 --- a/src/compat/endian.h +++ b/src/compat/endian.h @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2018 The Bitcoin Core developers +// Copyright (c) 2014-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/compat/glibc_compat.cpp b/src/compat/glibc_compat.cpp index 4de4fd7f4..c1aab08ec 100644 --- a/src/compat/glibc_compat.cpp +++ b/src/compat/glibc_compat.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/compat/glibc_sanity.cpp b/src/compat/glibc_sanity.cpp index 1ef66e27b..daae94fb5 100644 --- a/src/compat/glibc_sanity.cpp +++ b/src/compat/glibc_sanity.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/compat/glibcxx_sanity.cpp b/src/compat/glibcxx_sanity.cpp index e6e6208e4..ac40d7236 100644 --- a/src/compat/glibcxx_sanity.cpp +++ b/src/compat/glibcxx_sanity.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/compat/sanity.h b/src/compat/sanity.h index 909c4f6da..07ea52b38 100644 --- a/src/compat/sanity.h +++ b/src/compat/sanity.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009-2014 The Bitcoin Core developers +// Copyright (c) 2009-2014 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/compat/strnlen.cpp b/src/compat/strnlen.cpp index 93a034a66..970437004 100644 --- a/src/compat/strnlen.cpp +++ b/src/compat/strnlen.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/compressor.cpp b/src/compressor.cpp index a2d9af880..becb28226 100644 --- a/src/compressor.cpp +++ b/src/compressor.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/compressor.h b/src/compressor.h index c1eda503c..23d7af743 100644 --- a/src/compressor.h +++ b/src/compressor.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/consensus/consensus.h b/src/consensus/consensus.h index 00a734851..a62f34597 100644 --- a/src/consensus/consensus.h +++ b/src/consensus/consensus.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/consensus/merkle.cpp b/src/consensus/merkle.cpp index b47d9774c..c029cccb6 100644 --- a/src/consensus/merkle.cpp +++ b/src/consensus/merkle.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2015-2018 The Bitcoin Core developers +// Copyright (c) 2015-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/consensus/merkle.h b/src/consensus/merkle.h index 7675877de..e93db1f69 100644 --- a/src/consensus/merkle.h +++ b/src/consensus/merkle.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015-2018 The Bitcoin Core developers +// Copyright (c) 2015-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/consensus/params.h b/src/consensus/params.h index 673a81625..04f869f00 100644 --- a/src/consensus/params.h +++ b/src/consensus/params.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/consensus/tx_verify.cpp b/src/consensus/tx_verify.cpp index 0a7eacfb9..c40e65660 100644 --- a/src/consensus/tx_verify.cpp +++ b/src/consensus/tx_verify.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2018 The Bitcoin Core developers +// Copyright (c) 2017-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/consensus/tx_verify.h b/src/consensus/tx_verify.h index 0519cef8c..cb35a7a50 100644 --- a/src/consensus/tx_verify.h +++ b/src/consensus/tx_verify.h @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2018 The Bitcoin Core developers +// Copyright (c) 2017-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/consensus/validation.h b/src/consensus/validation.h index f2e2c3585..a922a286b 100644 --- a/src/consensus/validation.h +++ b/src/consensus/validation.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/core_io.h b/src/core_io.h index ae377eb6e..6a8669d2f 100644 --- a/src/core_io.h +++ b/src/core_io.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/core_memusage.h b/src/core_memusage.h index 6f1ace998..41fa60891 100644 --- a/src/core_memusage.h +++ b/src/core_memusage.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015-2018 The Bitcoin Core developers +// Copyright (c) 2015-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/core_read.cpp b/src/core_read.cpp index 536a7f4f1..9a32514c5 100644 --- a/src/core_read.cpp +++ b/src/core_read.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/core_write.cpp b/src/core_write.cpp index 765a17030..b94554db7 100644 --- a/src/core_write.cpp +++ b/src/core_write.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/crypto/aes.cpp b/src/crypto/aes.cpp index 919ea593b..c62250acd 100644 --- a/src/crypto/aes.cpp +++ b/src/crypto/aes.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2016-2018 The Bitcoin Core developers +// Copyright (c) 2016-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/crypto/aes.h b/src/crypto/aes.h index fdad70c59..4da98a381 100644 --- a/src/crypto/aes.h +++ b/src/crypto/aes.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015-2018 The Bitcoin Core developers +// Copyright (c) 2015-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. // diff --git a/src/crypto/chacha20.cpp b/src/crypto/chacha20.cpp index ac4470f04..332d63022 100644 --- a/src/crypto/chacha20.cpp +++ b/src/crypto/chacha20.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2017 The Bitcoin Core developers +// Copyright (c) 2017 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/crypto/chacha20.h b/src/crypto/chacha20.h index a305977bc..1c48f636e 100644 --- a/src/crypto/chacha20.h +++ b/src/crypto/chacha20.h @@ -1,4 +1,4 @@ -// Copyright (c) 2017 The Bitcoin Core developers +// Copyright (c) 2017 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/crypto/common.h b/src/crypto/common.h index e7bb020a1..509502b54 100644 --- a/src/crypto/common.h +++ b/src/crypto/common.h @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2018 The Bitcoin Core developers +// Copyright (c) 2014-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/crypto/hmac_sha256.cpp b/src/crypto/hmac_sha256.cpp index 0ba99ae27..4ddfd5963 100644 --- a/src/crypto/hmac_sha256.cpp +++ b/src/crypto/hmac_sha256.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2018 The Bitcoin Core developers +// Copyright (c) 2014-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/crypto/hmac_sha256.h b/src/crypto/hmac_sha256.h index d31fda1dd..fe3c86eec 100644 --- a/src/crypto/hmac_sha256.h +++ b/src/crypto/hmac_sha256.h @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2018 The Bitcoin Core developers +// Copyright (c) 2014-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/crypto/hmac_sha512.cpp b/src/crypto/hmac_sha512.cpp index d70aee843..272d8474f 100644 --- a/src/crypto/hmac_sha512.cpp +++ b/src/crypto/hmac_sha512.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2018 The Bitcoin Core developers +// Copyright (c) 2014-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/crypto/hmac_sha512.h b/src/crypto/hmac_sha512.h index 1ea9a3671..31fec1eb4 100644 --- a/src/crypto/hmac_sha512.h +++ b/src/crypto/hmac_sha512.h @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2018 The Bitcoin Core developers +// Copyright (c) 2014-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/crypto/ripemd160.cpp b/src/crypto/ripemd160.cpp index a00331dcb..36d10d7a8 100644 --- a/src/crypto/ripemd160.cpp +++ b/src/crypto/ripemd160.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2018 The Bitcoin Core developers +// Copyright (c) 2014-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/crypto/ripemd160.h b/src/crypto/ripemd160.h index 38ea375c1..f50e48649 100644 --- a/src/crypto/ripemd160.h +++ b/src/crypto/ripemd160.h @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2016 The Bitcoin Core developers +// Copyright (c) 2014-2016 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/crypto/sha1.cpp b/src/crypto/sha1.cpp index 5c601c54a..fb7d40893 100644 --- a/src/crypto/sha1.cpp +++ b/src/crypto/sha1.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2018 The Bitcoin Core developers +// Copyright (c) 2014-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/crypto/sha1.h b/src/crypto/sha1.h index 8b4568ee1..786f49deb 100644 --- a/src/crypto/sha1.h +++ b/src/crypto/sha1.h @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2016 The Bitcoin Core developers +// Copyright (c) 2014-2016 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/crypto/sha256.cpp b/src/crypto/sha256.cpp index cab37e032..ebbbb362d 100644 --- a/src/crypto/sha256.cpp +++ b/src/crypto/sha256.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2018 The Bitcoin Core developers +// Copyright (c) 2014-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/crypto/sha256.h b/src/crypto/sha256.h index 028ee1434..a90d60281 100644 --- a/src/crypto/sha256.h +++ b/src/crypto/sha256.h @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2018 The Bitcoin Core developers +// Copyright (c) 2014-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/crypto/sha256_shani.cpp b/src/crypto/sha256_shani.cpp index e561da42c..6d1d219c0 100644 --- a/src/crypto/sha256_shani.cpp +++ b/src/crypto/sha256_shani.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2018 The Bitcoin Core developers +// Copyright (c) 2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. // diff --git a/src/crypto/sha256_sse4.cpp b/src/crypto/sha256_sse4.cpp index 89f529a3a..8625d779e 100644 --- a/src/crypto/sha256_sse4.cpp +++ b/src/crypto/sha256_sse4.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2017 The Bitcoin Core developers +// Copyright (c) 2017 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. // diff --git a/src/crypto/sha512.cpp b/src/crypto/sha512.cpp index bc64135ca..e3a25d4ea 100644 --- a/src/crypto/sha512.cpp +++ b/src/crypto/sha512.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2018 The Bitcoin Core developers +// Copyright (c) 2014-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/crypto/sha512.h b/src/crypto/sha512.h index 4118ac1b1..12a6d92a2 100644 --- a/src/crypto/sha512.h +++ b/src/crypto/sha512.h @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2016 The Bitcoin Core developers +// Copyright (c) 2014-2016 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/crypto/siphash.cpp b/src/crypto/siphash.cpp index e81957111..702b9c41b 100644 --- a/src/crypto/siphash.cpp +++ b/src/crypto/siphash.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2016-2018 The Bitcoin Core developers +// Copyright (c) 2016-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/crypto/siphash.h b/src/crypto/siphash.h index b312f913f..928715ad0 100644 --- a/src/crypto/siphash.h +++ b/src/crypto/siphash.h @@ -1,4 +1,4 @@ -// Copyright (c) 2016-2018 The Bitcoin Core developers +// Copyright (c) 2016-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/dbwrapper.cpp b/src/dbwrapper.cpp index 58d8cc2c9..439178a92 100644 --- a/src/dbwrapper.cpp +++ b/src/dbwrapper.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2012-2018 The Bitcoin Core developers +// Copyright (c) 2012-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -14,7 +14,7 @@ #include #include -class CBitcoinLevelDBLogger : public leveldb::Logger { +class CNYC3LevelDBLogger : public leveldb::Logger { public: // This code is adapted from posix_logger.h, which is why it is using vsprintf. // Please do not do this in normal code @@ -104,7 +104,7 @@ static leveldb::Options GetOptions(size_t nCacheSize) options.write_buffer_size = nCacheSize / 4; // up to two write buffers may be held in memory simultaneously options.filter_policy = leveldb::NewBloomFilterPolicy(10); options.compression = leveldb::kNoCompression; - options.info_log = new CBitcoinLevelDBLogger(); + options.info_log = new CNYC3LevelDBLogger(); if (leveldb::kMajorVersion > 1 || (leveldb::kMajorVersion == 1 && leveldb::kMinorVersion >= 16)) { // LevelDB versions before 1.16 consider short writes to be corruption. Only trigger error // on corruption in later versions. diff --git a/src/dbwrapper.h b/src/dbwrapper.h index 416f5e839..d728d0779 100644 --- a/src/dbwrapper.h +++ b/src/dbwrapper.h @@ -1,4 +1,4 @@ -// Copyright (c) 2012-2018 The Bitcoin Core developers +// Copyright (c) 2012-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/dummywallet.cpp b/src/dummywallet.cpp index 8a76021a5..a17cfe866 100644 --- a/src/dummywallet.cpp +++ b/src/dummywallet.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2018 The Bitcoin Core developers +// Copyright (c) 2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/fs.h b/src/fs.h index 8af81f173..3ed744d1c 100644 --- a/src/fs.h +++ b/src/fs.h @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2018 The Bitcoin Core developers +// Copyright (c) 2017-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/hash.cpp b/src/hash.cpp index 26150e5ca..8e3165a35 100644 --- a/src/hash.cpp +++ b/src/hash.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2013-2018 The Bitcoin Core developers +// Copyright (c) 2013-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/hash.h b/src/hash.h index aa17a4bc3..c1acc800c 100644 --- a/src/hash.h +++ b/src/hash.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -19,7 +19,7 @@ typedef uint256 ChainCode; -/** A hasher class for Bitcoin's 256-bit hash (double SHA-256). */ +/** A hasher class for NYC3's 256-bit hash (double SHA-256). */ class CHash256 { private: CSHA256 sha; @@ -43,7 +43,7 @@ public: } }; -/** A hasher class for Bitcoin's 160-bit hash (SHA-256 + RIPEMD-160). */ +/** A hasher class for NYC3's 160-bit hash (SHA-256 + RIPEMD-160). */ class CHash160 { private: CSHA256 sha; diff --git a/src/httprpc.cpp b/src/httprpc.cpp index fcf760a4c..2005781d0 100644 --- a/src/httprpc.cpp +++ b/src/httprpc.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2015-2018 The Bitcoin Core developers +// Copyright (c) 2015-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/httprpc.h b/src/httprpc.h index 2230a8ca4..5b865b23c 100644 --- a/src/httprpc.h +++ b/src/httprpc.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015-2018 The Bitcoin Core developers +// Copyright (c) 2015-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/httpserver.cpp b/src/httpserver.cpp index b9ca037c9..8783b3ec5 100644 --- a/src/httpserver.cpp +++ b/src/httpserver.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2015-2018 The Bitcoin Core developers +// Copyright (c) 2015-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/httpserver.h b/src/httpserver.h index 63f96734f..08af2cff3 100644 --- a/src/httpserver.h +++ b/src/httpserver.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015-2018 The Bitcoin Core developers +// Copyright (c) 2015-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/index/base.cpp b/src/index/base.cpp index f6f59572c..8fc22350c 100644 --- a/src/index/base.cpp +++ b/src/index/base.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2018 The Bitcoin Core developers +// Copyright (c) 2017-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/index/base.h b/src/index/base.h index 04ee6e6cc..491ceda0a 100644 --- a/src/index/base.h +++ b/src/index/base.h @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2018 The Bitcoin Core developers +// Copyright (c) 2017-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/index/txindex.cpp b/src/index/txindex.cpp index 10bc8419d..4cf91efaf 100644 --- a/src/index/txindex.cpp +++ b/src/index/txindex.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2018 The Bitcoin Core developers +// Copyright (c) 2017-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/index/txindex.h b/src/index/txindex.h index 8202c3c95..b51358b82 100644 --- a/src/index/txindex.h +++ b/src/index/txindex.h @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2018 The Bitcoin Core developers +// Copyright (c) 2017-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/indirectmap.h b/src/indirectmap.h index 76da4a6bd..3b3de17a7 100644 --- a/src/indirectmap.h +++ b/src/indirectmap.h @@ -1,4 +1,4 @@ -// Copyright (c) 2016 The Bitcoin Core developers +// Copyright (c) 2016 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/init.cpp b/src/init.cpp index e7b24895a..1201f9810 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -733,7 +733,7 @@ static void ThreadImport(std::vector vImportFiles) } /** Sanity checks - * Ensure that Bitcoin is running in a usable environment with all + * Ensure that NYC3 is running in a usable environment with all * necessary library support. */ static bool InitSanityCheck() @@ -1178,7 +1178,7 @@ bool AppInitParameterInteraction() static bool LockDataDirectory(bool probeOnly) { - // Make sure only a single Bitcoin process is using the data directory. + // Make sure only a single NYC3 process is using the data directory. fs::path datadir = GetDataDir(); if (!DirIsWritable(datadir)) { return InitError(strprintf(_("Cannot write to data directory '%s'; check permissions."), datadir.string())); diff --git a/src/init.h b/src/init.h index 1c59ca069..ef929c151 100644 --- a/src/init.h +++ b/src/init.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -59,7 +59,7 @@ bool AppInitSanityChecks(); */ bool AppInitLockDataDirectory(); /** - * Bitcoin core main initialization. + * NYC3 core main initialization. * @note This should only be done after daemonization. Call Shutdown() if this function fails. * @pre Parameters should be parsed and config file should be read, AppInitLockDataDirectory should have been called. */ diff --git a/src/interfaces/chain.cpp b/src/interfaces/chain.cpp index d3d9e86e8..86f0b967c 100644 --- a/src/interfaces/chain.cpp +++ b/src/interfaces/chain.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2018 The Bitcoin Core developers +// Copyright (c) 2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/interfaces/chain.h b/src/interfaces/chain.h index 57e970375..ac9e1b1c8 100644 --- a/src/interfaces/chain.h +++ b/src/interfaces/chain.h @@ -1,4 +1,4 @@ -// Copyright (c) 2018 The Bitcoin Core developers +// Copyright (c) 2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/interfaces/handler.cpp b/src/interfaces/handler.cpp index 92601fc4e..66c34fb8e 100644 --- a/src/interfaces/handler.cpp +++ b/src/interfaces/handler.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2018 The Bitcoin Core developers +// Copyright (c) 2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/interfaces/handler.h b/src/interfaces/handler.h index c4c674cac..2f67e022b 100644 --- a/src/interfaces/handler.h +++ b/src/interfaces/handler.h @@ -1,4 +1,4 @@ -// Copyright (c) 2018 The Bitcoin Core developers +// Copyright (c) 2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/interfaces/node.cpp b/src/interfaces/node.cpp index 96bde7e9f..02071665f 100644 --- a/src/interfaces/node.cpp +++ b/src/interfaces/node.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2018 The Bitcoin Core developers +// Copyright (c) 2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/interfaces/node.h b/src/interfaces/node.h index 76b93af23..6607b9ed9 100644 --- a/src/interfaces/node.h +++ b/src/interfaces/node.h @@ -1,4 +1,4 @@ -// Copyright (c) 2018 The Bitcoin Core developers +// Copyright (c) 2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/interfaces/wallet.cpp b/src/interfaces/wallet.cpp index 0dac75834..4191833b9 100644 --- a/src/interfaces/wallet.cpp +++ b/src/interfaces/wallet.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2018 The Bitcoin Core developers +// Copyright (c) 2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/interfaces/wallet.h b/src/interfaces/wallet.h index a931e5faf..027d3dea8 100644 --- a/src/interfaces/wallet.h +++ b/src/interfaces/wallet.h @@ -1,4 +1,4 @@ -// Copyright (c) 2018 The Bitcoin Core developers +// Copyright (c) 2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/key.cpp b/src/key.cpp index 9d982fc44..1d01d5512 100644 --- a/src/key.cpp +++ b/src/key.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Copyright (c) 2017 The Zcash developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -229,7 +229,7 @@ bool CKey::VerifyPubKey(const CPubKey& pubkey) const { return false; } unsigned char rnd[8]; - std::string str = "Bitcoin key verification\n"; + std::string str = "NYC3 key verification\n"; GetRandBytes(rnd, sizeof(rnd)); uint256 hash; CHash256().Write((unsigned char*)str.data(), str.size()).Write(rnd, sizeof(rnd)).Finalize(hash.begin()); diff --git a/src/key.h b/src/key.h index 0f695c07b..914c4e205 100644 --- a/src/key.h +++ b/src/key.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Copyright (c) 2017 The Zcash developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/key_io.cpp b/src/key_io.cpp index 1d53a5e07..9f74b68ce 100644 --- a/src/key_io.cpp +++ b/src/key_io.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2018 The Bitcoin Core developers +// Copyright (c) 2014-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -75,7 +75,7 @@ CTxDestination DecodeDestination(const std::string& str, const CChainParams& par std::vector data; uint160 hash; if (DecodeBase58Check(str, data)) { - // base58-encoded Bitcoin addresses. + // base58-encoded NYC3 addresses. // Public-key-hash-addresses have version 0 (or 111 testnet). // The data vector contains RIPEMD160(SHA256(pubkey)), where pubkey is the serialized public key. const std::vector& pubkey_prefix = params.Base58Prefix(CChainParams::PUBKEY_ADDRESS); diff --git a/src/key_io.h b/src/key_io.h index d80c08f49..2cb399740 100644 --- a/src/key_io.h +++ b/src/key_io.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/keystore.cpp b/src/keystore.cpp index 148979cf3..fb82bc858 100644 --- a/src/keystore.cpp +++ b/src/keystore.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/keystore.h b/src/keystore.h index 4bd99e255..1a633c69e 100644 --- a/src/keystore.h +++ b/src/keystore.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/limitedmap.h b/src/limitedmap.h index 7d66964e3..1986d6d92 100644 --- a/src/limitedmap.h +++ b/src/limitedmap.h @@ -1,4 +1,4 @@ -// Copyright (c) 2012-2018 The Bitcoin Core developers +// Copyright (c) 2012-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/logging.cpp b/src/logging.cpp index 36cad6573..89b4953e1 100644 --- a/src/logging.cpp +++ b/src/logging.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/logging.h b/src/logging.h index ac9d0dc0c..235ba6b07 100644 --- a/src/logging.h +++ b/src/logging.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/memusage.h b/src/memusage.h index 3ae9face1..c55db6be4 100644 --- a/src/memusage.h +++ b/src/memusage.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015-2018 The Bitcoin Core developers +// Copyright (c) 2015-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/merkleblock.cpp b/src/merkleblock.cpp index a54268d65..a4716a151 100644 --- a/src/merkleblock.cpp +++ b/src/merkleblock.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/merkleblock.h b/src/merkleblock.h index e641c8aa9..24f694bf6 100644 --- a/src/merkleblock.h +++ b/src/merkleblock.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/miner.cpp b/src/miner.cpp index 0b9c1dd20..d29b19006 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2019 The Bitcoin Core developers +// Copyright (c) 2009-2019 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/miner.h b/src/miner.h index 8b072bfe7..004e82341 100644 --- a/src/miner.h +++ b/src/miner.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2019 The Bitcoin Core developers +// Copyright (c) 2009-2019 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/net.cpp b/src/net.cpp index ef2dd322a..4bfbe6aa8 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2019 The Bitcoin Core developers +// Copyright (c) 2009-2019 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/net.h b/src/net.h index db44ec633..c5d67a406 100644 --- a/src/net.h +++ b/src/net.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2019 The Bitcoin Core developers +// Copyright (c) 2009-2019 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/net_processing.cpp b/src/net_processing.cpp index c1b9a0bf8..4c0050df6 100644 --- a/src/net_processing.cpp +++ b/src/net_processing.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/net_processing.h b/src/net_processing.h index 4189debe4..9883a0425 100644 --- a/src/net_processing.h +++ b/src/net_processing.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/netaddress.cpp b/src/netaddress.cpp index 58e45c2c0..34f143f02 100644 --- a/src/netaddress.cpp +++ b/src/netaddress.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/netaddress.h b/src/netaddress.h index ca435d17d..e63f3cf60 100644 --- a/src/netaddress.h +++ b/src/netaddress.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/netbase.cpp b/src/netbase.cpp index 6c386a9ad..bbbd8ccf1 100644 --- a/src/netbase.cpp +++ b/src/netbase.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/netbase.h b/src/netbase.h index 708df5b8e..df844bf76 100644 --- a/src/netbase.h +++ b/src/netbase.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/netmessagemaker.h b/src/netmessagemaker.h index 2efb384a7..b605fcf2f 100644 --- a/src/netmessagemaker.h +++ b/src/netmessagemaker.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/node/transaction.cpp b/src/node/transaction.cpp index 7b9b4310e..a26cf6db2 100644 --- a/src/node/transaction.cpp +++ b/src/node/transaction.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/node/transaction.h b/src/node/transaction.h index 3457ececa..f72ea9944 100644 --- a/src/node/transaction.h +++ b/src/node/transaction.h @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Bitcoin Core developers +// Copyright (c) 2017-2019 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/noui.cpp b/src/noui.cpp index c7d8fee0b..49df1703c 100644 --- a/src/noui.cpp +++ b/src/noui.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/noui.h b/src/noui.h index 79a79a9af..0028b0aa0 100644 --- a/src/noui.h +++ b/src/noui.h @@ -1,4 +1,4 @@ -// Copyright (c) 2013-2018 The Bitcoin Core developers +// Copyright (c) 2013-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/nyc3-tx.cpp b/src/nyc3-tx.cpp index 4be89aab6..1c753788a 100644 --- a/src/nyc3-tx.cpp +++ b/src/nyc3-tx.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -33,7 +33,7 @@ static const int CONTINUE_EXECUTION=-1; const std::function G_TRANSLATION_FUN = nullptr; -static void SetupBitcoinTxArgs() +static void SetupNYC3TxArgs() { SetupHelpOptions(gArgs); @@ -78,7 +78,7 @@ static int AppInitRawTx(int argc, char* argv[]) // // Parameters // - SetupBitcoinTxArgs(); + SetupNYC3TxArgs(); std::string error; if (!gArgs.ParseParameters(argc, argv, error)) { fprintf(stderr, "Error parsing command line arguments: %s\n", error.c_str()); diff --git a/src/optional.h b/src/optional.h index 95a3b24d0..8c6989bfc 100644 --- a/src/optional.h +++ b/src/optional.h @@ -1,4 +1,4 @@ -// Copyright (c) 2017 The Bitcoin Core developers +// Copyright (c) 2017 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/outputtype.cpp b/src/outputtype.cpp index 7e5690dfc..82f957c2f 100644 --- a/src/outputtype.cpp +++ b/src/outputtype.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/outputtype.h b/src/outputtype.h index 6c30fd195..78ce5ac93 100644 --- a/src/outputtype.h +++ b/src/outputtype.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/policy/feerate.cpp b/src/policy/feerate.cpp index 14be6192f..c73ce118f 100644 --- a/src/policy/feerate.cpp +++ b/src/policy/feerate.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/policy/feerate.h b/src/policy/feerate.h index 85d7d22b4..a59ccee10 100644 --- a/src/policy/feerate.h +++ b/src/policy/feerate.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/policy/fees.cpp b/src/policy/fees.cpp index c49b9fa36..595a98a2d 100644 --- a/src/policy/fees.cpp +++ b/src/policy/fees.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/policy/fees.h b/src/policy/fees.h index c8472a12f..44458600a 100644 --- a/src/policy/fees.h +++ b/src/policy/fees.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_POLICY_FEES_H diff --git a/src/policy/policy.cpp b/src/policy/policy.cpp index d4cc53849..2ad5361ef 100644 --- a/src/policy/policy.cpp +++ b/src/policy/policy.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/policy/policy.h b/src/policy/policy.h index 3d47ac126..92174a659 100644 --- a/src/policy/policy.h +++ b/src/policy/policy.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/policy/rbf.cpp b/src/policy/rbf.cpp index 0dc130d10..b00172ce6 100644 --- a/src/policy/rbf.cpp +++ b/src/policy/rbf.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2016-2018 The Bitcoin Core developers +// Copyright (c) 2016-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/policy/rbf.h b/src/policy/rbf.h index 581f489e1..f2c7a58e7 100644 --- a/src/policy/rbf.h +++ b/src/policy/rbf.h @@ -1,4 +1,4 @@ -// Copyright (c) 2016-2018 The Bitcoin Core developers +// Copyright (c) 2016-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/pow.cpp b/src/pow.cpp index bd7e0a094..6243e9543 100644 --- a/src/pow.cpp +++ b/src/pow.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/pow.h b/src/pow.h index 1d802cd01..d21ac52b6 100644 --- a/src/pow.h +++ b/src/pow.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/prevector.h b/src/prevector.h index 99e575163..b6429c033 100644 --- a/src/prevector.h +++ b/src/prevector.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015-2018 The Bitcoin Core developers +// Copyright (c) 2015-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/primitives/block.cpp b/src/primitives/block.cpp index ac00ef899..e113b5a6c 100644 --- a/src/primitives/block.cpp +++ b/src/primitives/block.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/primitives/block.h b/src/primitives/block.h index 9bc06ad6b..50a7f0273 100644 --- a/src/primitives/block.h +++ b/src/primitives/block.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/primitives/transaction.cpp b/src/primitives/transaction.cpp index 28c145f71..9ea732574 100644 --- a/src/primitives/transaction.cpp +++ b/src/primitives/transaction.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/primitives/transaction.h b/src/primitives/transaction.h index f6f8e3136..998351178 100644 --- a/src/primitives/transaction.h +++ b/src/primitives/transaction.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/protocol.cpp b/src/protocol.cpp index bdf236c2c..e918ee87d 100644 --- a/src/protocol.cpp +++ b/src/protocol.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/protocol.h b/src/protocol.h index 43dee2be9..e140626b8 100644 --- a/src/protocol.h +++ b/src/protocol.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -61,7 +61,7 @@ public: }; /** - * Bitcoin protocol message types. When adding new message types, don't forget + * NYC3 protocol message types. When adding new message types, don't forget * to update allNetMessageTypes in protocol.cpp. */ namespace NetMsgType { @@ -251,7 +251,7 @@ enum ServiceFlags : uint64_t { // set by all NYC3 non pruned nodes, and is unset by SPV clients or other light clients. NODE_NETWORK = (1 << 0), // NODE_GETUTXO means the node is capable of responding to the getutxo protocol request. - // NYC3 does not support this but a patch set called Bitcoin XT does. + // NYC3 does not support this but a patch set called NYC3 XT does. // See BIP 64 for details on how this is implemented. NODE_GETUTXO = (1 << 1), // NODE_BLOOM means the node is capable and willing to handle bloom-filtered connections. diff --git a/src/psbt.cpp b/src/psbt.cpp index 0fb7d49d7..82ec20da9 100644 --- a/src/psbt.cpp +++ b/src/psbt.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/psbt.h b/src/psbt.h index c889dad36..041cb036d 100644 --- a/src/psbt.h +++ b/src/psbt.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009-2019 The Bitcoin Core developers +// Copyright (c) 2009-2019 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -386,7 +386,7 @@ struct PartiallySignedTransaction bool IsNull() const; /** Merge psbt into this. The two psbts must have the same underlying CTransaction (i.e. the - * same actual Bitcoin transaction.) Returns true if the merge succeeded, false otherwise. */ + * same actual NYC3 transaction.) Returns true if the merge succeeded, false otherwise. */ NODISCARD bool Merge(const PartiallySignedTransaction& psbt); bool IsSane() const; bool AddInput(const CTxIn& txin, PSBTInput& psbtin); diff --git a/src/pubkey.cpp b/src/pubkey.cpp index d38df716b..561a3d70b 100644 --- a/src/pubkey.cpp +++ b/src/pubkey.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Copyright (c) 2017 The Zcash developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -20,7 +20,7 @@ secp256k1_context* secp256k1_context_verify = nullptr; * * Supported violations include negative integers, excessive padding, garbage * at the end, and overly long length descriptors. This is safe to use in - * Bitcoin because since the activation of BIP66, signatures are verified to be + * NYC3 because since the activation of BIP66, signatures are verified to be * strict DER before being passed to this module, and we know it supports all * violations present in the blockchain before that point. */ @@ -178,7 +178,7 @@ bool CPubKey::Verify(const uint256 &hash, const std::vector& vchS return false; } /* libsecp256k1's ECDSA verification requires lower-S signatures, which have - * not historically been enforced in Bitcoin, so normalize them first. */ + * not historically been enforced in NYC3, so normalize them first. */ secp256k1_ecdsa_signature_normalize(secp256k1_context_verify, &sig, &sig); return secp256k1_ecdsa_verify(secp256k1_context_verify, &sig, hash.begin(), &pubkey); } diff --git a/src/pubkey.h b/src/pubkey.h index 089324ffd..bbd00612f 100644 --- a/src/pubkey.h +++ b/src/pubkey.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Copyright (c) 2017 The Zcash developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/README.md b/src/qt/README.md index 0eb18f7cd..4aee9267f 100644 --- a/src/qt/README.md +++ b/src/qt/README.md @@ -1,4 +1,4 @@ -This directory contains the BitcoinQT graphical user interface (GUI). It uses the cross-platform framework [Qt](https://www1.qt.io/developers/). +This directory contains the NYC3QT graphical user interface (GUI). It uses the cross-platform framework [Qt](https://www1.qt.io/developers/). The current precise version for Qt 5 is specified in [qt.mk](/depends/packages/qt.mk). @@ -32,7 +32,7 @@ Tests. ### bitcoingui.(h/cpp) -Represents the main window of the Bitcoin UI. +Represents the main window of the NYC3 UI. ### \*model.(h/cpp) @@ -58,7 +58,7 @@ Represents the view to a single wallet. ### Other .h/cpp files -* UI elements like BitcoinAmountField, which inherit from QWidget. +* UI elements like NYC3AmountField, which inherit from QWidget. * `bitcoinstrings.cpp`: automatically generated * `bitcoinunits.(h/cpp)`: BTC / mBTC / etc handling * `callback.h` diff --git a/src/qt/addressbookpage.cpp b/src/qt/addressbookpage.cpp index 9b3cc3d19..094b08dd2 100644 --- a/src/qt/addressbookpage.cpp +++ b/src/qt/addressbookpage.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -102,12 +102,12 @@ AddressBookPage::AddressBookPage(const PlatformStyle *platformStyle, Mode _mode, switch(tab) { case SendingTab: - ui->labelExplanation->setText(tr("These are your Bitcoin addresses for sending payments. Always check the amount and the receiving address before sending coins.")); + ui->labelExplanation->setText(tr("These are your NYC3 addresses for sending payments. Always check the amount and the receiving address before sending coins.")); ui->deleteAddress->setVisible(true); ui->newAddress->setVisible(true); break; case ReceivingTab: - ui->labelExplanation->setText(tr("These are your Bitcoin addresses for receiving payments. It is recommended to use a new receiving address for each transaction.")); + ui->labelExplanation->setText(tr("These are your NYC3 addresses for receiving payments. It is recommended to use a new receiving address for each transaction.")); ui->deleteAddress->setVisible(false); ui->newAddress->setVisible(false); break; diff --git a/src/qt/addressbookpage.h b/src/qt/addressbookpage.h index 6394d2680..d8e260a57 100644 --- a/src/qt/addressbookpage.h +++ b/src/qt/addressbookpage.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/addresstablemodel.cpp b/src/qt/addresstablemodel.cpp index c3143e948..6151974dd 100644 --- a/src/qt/addresstablemodel.cpp +++ b/src/qt/addresstablemodel.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -332,7 +332,7 @@ QModelIndex AddressTableModel::index(int row, int column, const QModelIndex &par void AddressTableModel::updateEntry(const QString &address, const QString &label, bool isMine, const QString &purpose, int status) { - // Update address book model from Bitcoin core + // Update address book model from NYC3 core priv->updateEntry(address, label, isMine, purpose, status); } diff --git a/src/qt/addresstablemodel.h b/src/qt/addresstablemodel.h index 94c9dc4f8..c73998b00 100644 --- a/src/qt/addresstablemodel.h +++ b/src/qt/addresstablemodel.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/askpassphrasedialog.cpp b/src/qt/askpassphrasedialog.cpp index a89a15bc9..175ddf234 100644 --- a/src/qt/askpassphrasedialog.cpp +++ b/src/qt/askpassphrasedialog.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/askpassphrasedialog.h b/src/qt/askpassphrasedialog.h index ac31569f6..33ac06d74 100644 --- a/src/qt/askpassphrasedialog.h +++ b/src/qt/askpassphrasedialog.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/bantablemodel.cpp b/src/qt/bantablemodel.cpp index 00c446cc6..12172816b 100644 --- a/src/qt/bantablemodel.cpp +++ b/src/qt/bantablemodel.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/bantablemodel.h b/src/qt/bantablemodel.h index 9dec5fa6a..a64b7918c 100644 --- a/src/qt/bantablemodel.h +++ b/src/qt/bantablemodel.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/clientmodel.cpp b/src/qt/clientmodel.cpp index 27b4c182f..bb0b3aa6e 100644 --- a/src/qt/clientmodel.cpp +++ b/src/qt/clientmodel.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/clientmodel.h b/src/qt/clientmodel.h index 95f4521f0..1bb4f6e89 100644 --- a/src/qt/clientmodel.h +++ b/src/qt/clientmodel.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -40,7 +40,7 @@ enum NumConnections { CONNECTIONS_ALL = (CONNECTIONS_IN | CONNECTIONS_OUT), }; -/** Model for Bitcoin network client. */ +/** Model for NYC3 network client. */ class ClientModel : public QObject { Q_OBJECT diff --git a/src/qt/coincontroldialog.cpp b/src/qt/coincontroldialog.cpp index f36303506..fb63c14a1 100644 --- a/src/qt/coincontroldialog.cpp +++ b/src/qt/coincontroldialog.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -230,7 +230,7 @@ void CoinControlDialog::showMenu(const QPoint &point) // context menu action: copy amount void CoinControlDialog::copyAmount() { - GUIUtil::setClipboard(BitcoinUnits::removeSpaces(contextMenuItem->text(COLUMN_AMOUNT))); + GUIUtil::setClipboard(NYC3Units::removeSpaces(contextMenuItem->text(COLUMN_AMOUNT))); } // context menu action: copy label @@ -532,7 +532,7 @@ void CoinControlDialog::updateLabels(WalletModel *model, QDialog* dialog) } // actually update labels - int nDisplayUnit = BitcoinUnits::NYC3; + int nDisplayUnit = NYC3Units::NYC3; if (model && model->getOptionsModel()) nDisplayUnit = model->getOptionsModel()->getDisplayUnit(); @@ -552,12 +552,12 @@ void CoinControlDialog::updateLabels(WalletModel *model, QDialog* dialog) // stats l1->setText(QString::number(nQuantity)); // Quantity - l2->setText(BitcoinUnits::formatWithUnit(nDisplayUnit, nAmount)); // Amount - l3->setText(BitcoinUnits::formatWithUnit(nDisplayUnit, nPayFee)); // Fee - l4->setText(BitcoinUnits::formatWithUnit(nDisplayUnit, nAfterFee)); // After Fee + l2->setText(NYC3Units::formatWithUnit(nDisplayUnit, nAmount)); // Amount + l3->setText(NYC3Units::formatWithUnit(nDisplayUnit, nPayFee)); // Fee + l4->setText(NYC3Units::formatWithUnit(nDisplayUnit, nAfterFee)); // After Fee l5->setText(((nBytes > 0) ? ASYMP_UTF8 : "") + QString::number(nBytes)); // Bytes l7->setText(fDust ? tr("yes") : tr("no")); // Dust - l8->setText(BitcoinUnits::formatWithUnit(nDisplayUnit, nChange)); // Change + l8->setText(NYC3Units::formatWithUnit(nDisplayUnit, nChange)); // Change if (nPayFee > 0) { l3->setText(ASYMP_UTF8 + l3->text()); @@ -679,7 +679,7 @@ void CoinControlDialog::updateView() } // amount - itemOutput->setText(COLUMN_AMOUNT, BitcoinUnits::format(nDisplayUnit, out.txout.nValue)); + itemOutput->setText(COLUMN_AMOUNT, NYC3Units::format(nDisplayUnit, out.txout.nValue)); itemOutput->setData(COLUMN_AMOUNT, Qt::UserRole, QVariant((qlonglong)out.txout.nValue)); // padding so that sorting works correctly // date @@ -713,7 +713,7 @@ void CoinControlDialog::updateView() if (treeMode) { itemWalletAddress->setText(COLUMN_CHECKBOX, "(" + QString::number(nChildren) + ")"); - itemWalletAddress->setText(COLUMN_AMOUNT, BitcoinUnits::format(nDisplayUnit, nSum)); + itemWalletAddress->setText(COLUMN_AMOUNT, NYC3Units::format(nDisplayUnit, nSum)); itemWalletAddress->setData(COLUMN_AMOUNT, Qt::UserRole, QVariant((qlonglong)nSum)); } } diff --git a/src/qt/coincontroldialog.h b/src/qt/coincontroldialog.h index efc06a765..305db3adc 100644 --- a/src/qt/coincontroldialog.h +++ b/src/qt/coincontroldialog.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/coincontroltreewidget.cpp b/src/qt/coincontroltreewidget.cpp index 4ffbd832e..0239e51ec 100644 --- a/src/qt/coincontroltreewidget.cpp +++ b/src/qt/coincontroltreewidget.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/coincontroltreewidget.h b/src/qt/coincontroltreewidget.h index 88fc8b704..c26948add 100644 --- a/src/qt/coincontroltreewidget.h +++ b/src/qt/coincontroltreewidget.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2014 The Bitcoin Core developers +// Copyright (c) 2011-2014 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/csvmodelwriter.cpp b/src/qt/csvmodelwriter.cpp index 656afb6e8..707b96549 100644 --- a/src/qt/csvmodelwriter.cpp +++ b/src/qt/csvmodelwriter.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/csvmodelwriter.h b/src/qt/csvmodelwriter.h index e8611bea3..29f127b9e 100644 --- a/src/qt/csvmodelwriter.h +++ b/src/qt/csvmodelwriter.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2014 The Bitcoin Core developers +// Copyright (c) 2011-2014 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/editaddressdialog.cpp b/src/qt/editaddressdialog.cpp index 2fc174be5..71a1730bc 100644 --- a/src/qt/editaddressdialog.cpp +++ b/src/qt/editaddressdialog.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/editaddressdialog.h b/src/qt/editaddressdialog.h index 4d0e0709b..19b977023 100644 --- a/src/qt/editaddressdialog.h +++ b/src/qt/editaddressdialog.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/forms/optionsdialog.ui b/src/qt/forms/optionsdialog.ui index f24907a73..dda9a2ad5 100644 --- a/src/qt/forms/optionsdialog.ui +++ b/src/qt/forms/optionsdialog.ui @@ -757,7 +757,7 @@ - + Open the %1 configuration file from the working directory. diff --git a/src/qt/guiconstants.h b/src/qt/guiconstants.h index 73cb334e7..3c92ce624 100644 --- a/src/qt/guiconstants.h +++ b/src/qt/guiconstants.h @@ -11,7 +11,7 @@ static const int MODEL_UPDATE_DELAY = 250; /* AskPassphraseDialog -- Maximum passphrase length */ static const int MAX_PASSPHRASE_SIZE = 1024; -/* BitcoinGUI -- Size of icons in status bar */ +/* NYC3GUI -- Size of icons in status bar */ static const int STATUSBAR_ICONSIZE = 16; static const bool DEFAULT_SPLASHSCREEN = true; diff --git a/src/qt/guiutil.cpp b/src/qt/guiutil.cpp index 2c355ca29..bc6667782 100644 --- a/src/qt/guiutil.cpp +++ b/src/qt/guiutil.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -106,11 +106,11 @@ void setupAddressWidget(QValidatedLineEdit *widget, QWidget *parent) // and this is the only place, where this address is supplied. widget->setPlaceholderText(QObject::tr("Enter a NYC3 address (e.g. %1)").arg( QString::fromStdString(DummyAddress(Params())))); - widget->setValidator(new BitcoinAddressEntryValidator(parent)); - widget->setCheckValidator(new BitcoinAddressCheckValidator(parent)); + widget->setValidator(new NYC3AddressEntryValidator(parent)); + widget->setCheckValidator(new NYC3AddressCheckValidator(parent)); } -bool parseBitcoinURI(const QUrl &uri, SendCoinsRecipient *out) +bool parseNYC3URI(const QUrl &uri, SendCoinsRecipient *out) { // return if URI is not valid or is no bitcoin: URI if(!uri.isValid() || uri.scheme() != QString("bitcoin")) @@ -149,7 +149,7 @@ bool parseBitcoinURI(const QUrl &uri, SendCoinsRecipient *out) { if(!i->second.isEmpty()) { - if(!BitcoinUnits::parse(BitcoinUnits::NYC3, i->second, &rv.amount)) + if(!NYC3Units::parse(NYC3Units::NYC3, i->second, &rv.amount)) { return false; } @@ -167,20 +167,20 @@ bool parseBitcoinURI(const QUrl &uri, SendCoinsRecipient *out) return true; } -bool parseBitcoinURI(QString uri, SendCoinsRecipient *out) +bool parseNYC3URI(QString uri, SendCoinsRecipient *out) { QUrl uriInstance(uri); - return parseBitcoinURI(uriInstance, out); + return parseNYC3URI(uriInstance, out); } -QString formatBitcoinURI(const SendCoinsRecipient &info) +QString formatNYC3URI(const SendCoinsRecipient &info) { QString ret = QString("bitcoin:%1").arg(info.address); int paramCount = 0; if (info.amount) { - ret += QString("?amount=%1").arg(BitcoinUnits::format(BitcoinUnits::NYC3, info.amount, false, BitcoinUnits::separatorNever)); + ret += QString("?amount=%1").arg(NYC3Units::format(NYC3Units::NYC3, info.amount, false, NYC3Units::separatorNever)); paramCount++; } @@ -379,7 +379,7 @@ void openDebugLogfile() QDesktopServices::openUrl(QUrl::fromLocalFile(boostPathToQString(pathDebug))); } -bool openBitcoinConf() +bool openNYC3Conf() { fs::path pathConfig = GetConfigFile(gArgs.GetArg("-conf", BITCOIN_CONF_FILENAME)); @@ -539,15 +539,15 @@ fs::path static StartupShortcutPath() { std::string chain = gArgs.GetChainName(); if (chain == CBaseChainParams::MAIN) - return GetSpecialFolderPath(CSIDL_STARTUP) / "Bitcoin.lnk"; + return GetSpecialFolderPath(CSIDL_STARTUP) / "NYC3.lnk"; if (chain == CBaseChainParams::TESTNET) // Remove this special case when CBaseChainParams::TESTNET = "testnet4" - return GetSpecialFolderPath(CSIDL_STARTUP) / "Bitcoin (testnet).lnk"; - return GetSpecialFolderPath(CSIDL_STARTUP) / strprintf("Bitcoin (%s).lnk", chain); + return GetSpecialFolderPath(CSIDL_STARTUP) / "NYC3 (testnet).lnk"; + return GetSpecialFolderPath(CSIDL_STARTUP) / strprintf("NYC3 (%s).lnk", chain); } bool GetStartOnSystemStartup() { - // check for Bitcoin*.lnk + // check for NYC3*.lnk return fs::exists(StartupShortcutPath()); } @@ -667,9 +667,9 @@ bool SetStartOnSystemStartup(bool fAutoStart) optionFile << "[Desktop Entry]\n"; optionFile << "Type=Application\n"; if (chain == CBaseChainParams::MAIN) - optionFile << "Name=Bitcoin\n"; + optionFile << "Name=NYC3\n"; else - optionFile << strprintf("Name=Bitcoin (%s)\n", chain); + optionFile << strprintf("Name=NYC3 (%s)\n", chain); optionFile << "Exec=" << pszExePath << strprintf(" -min -testnet=%d -regtest=%d\n", gArgs.GetBoolArg("-testnet", false), gArgs.GetBoolArg("-regtest", false)); optionFile << "Terminal=false\n"; optionFile << "Hidden=false\n"; diff --git a/src/qt/guiutil.h b/src/qt/guiutil.h index 48b868715..5a57df613 100644 --- a/src/qt/guiutil.h +++ b/src/qt/guiutil.h @@ -51,9 +51,9 @@ namespace GUIUtil void setupAddressWidget(QValidatedLineEdit *widget, QWidget *parent); // Parse "bitcoin:" URI into recipient object, return true on successful parsing - bool parseBitcoinURI(const QUrl &uri, SendCoinsRecipient *out); - bool parseBitcoinURI(QString uri, SendCoinsRecipient *out); - QString formatBitcoinURI(const SendCoinsRecipient &info); + bool parseNYC3URI(const QUrl &uri, SendCoinsRecipient *out); + bool parseNYC3URI(QString uri, SendCoinsRecipient *out); + QString formatNYC3URI(const SendCoinsRecipient &info); // Returns true if given address+amount meets "dust" definition bool isDust(interfaces::Node& node, const QString& address, const CAmount& amount); @@ -123,7 +123,7 @@ namespace GUIUtil void openDebugLogfile(); // Open the config file - bool openBitcoinConf(); + bool openNYC3Conf(); /** Qt event filter that intercepts ToolTipChange events, and replaces the tooltip with a rich text representation if needed. This assures that Qt can word-wrap long tooltip messages. diff --git a/src/qt/locale/nyc3_af.ts b/src/qt/locale/nyc3_af.ts index ded9c4780..a1b11e916 100644 --- a/src/qt/locale/nyc3_af.ts +++ b/src/qt/locale/nyc3_af.ts @@ -67,7 +67,7 @@ These are your NYC3 addresses for receiving payments. It is recommended to use a new receiving address for each transaction. - Hierdie is die adresse waar u Bitcoins sal ontvang. Ons beveel aan dat u 'n nuwe adres kies vir elke transaksie + Hierdie is die adresse waar u NYC3s sal ontvang. Ons beveel aan dat u 'n nuwe adres kies vir elke transaksie &Copy Address @@ -232,7 +232,7 @@ - BitcoinGUI + NYC3GUI Sign &message... Teken &boodskap... @@ -1698,7 +1698,7 @@ transaksievertragingsrisiko. Warning: Invalid NYC3 address - Waarskuwing: Ongeldige Bitcoinadres + Waarskuwing: Ongeldige NYC3adres The address you selected for change is not part of this wallet. Any or all funds in your wallet may be sent to this address. Are you sure? @@ -1731,7 +1731,7 @@ Is u seker? The NYC3 address to send the payment to - Die Bitcoinadres waarheen die betaling gestuur word + Die NYC3adres waarheen die betaling gestuur word Alt+A diff --git a/src/qt/locale/nyc3_af_ZA.ts b/src/qt/locale/nyc3_af_ZA.ts index 1bd80ce86..2c7f84199 100644 --- a/src/qt/locale/nyc3_af_ZA.ts +++ b/src/qt/locale/nyc3_af_ZA.ts @@ -232,7 +232,7 @@ - BitcoinGUI + NYC3GUI Sign &message... Teken &Boodskap diff --git a/src/qt/locale/nyc3_am.ts b/src/qt/locale/nyc3_am.ts index 2bed0e77d..790c014cd 100644 --- a/src/qt/locale/nyc3_am.ts +++ b/src/qt/locale/nyc3_am.ts @@ -228,7 +228,7 @@ - BitcoinGUI + NYC3GUI Sign &message... ምልክትና መልእክት... diff --git a/src/qt/locale/nyc3_ar.ts b/src/qt/locale/nyc3_ar.ts index d5fd34f53..91994f797 100644 --- a/src/qt/locale/nyc3_ar.ts +++ b/src/qt/locale/nyc3_ar.ts @@ -236,7 +236,7 @@ - BitcoinGUI + NYC3GUI Sign &message... التوقيع و الرسائل diff --git a/src/qt/locale/nyc3_be_BY.ts b/src/qt/locale/nyc3_be_BY.ts index 58124a54e..a74905260 100644 --- a/src/qt/locale/nyc3_be_BY.ts +++ b/src/qt/locale/nyc3_be_BY.ts @@ -224,7 +224,7 @@ BanTableModel - BitcoinGUI + NYC3GUI Sign &message... Падпісаць паведамленне... diff --git a/src/qt/locale/nyc3_bg.ts b/src/qt/locale/nyc3_bg.ts index 48a650815..3adecadde 100644 --- a/src/qt/locale/nyc3_bg.ts +++ b/src/qt/locale/nyc3_bg.ts @@ -236,7 +236,7 @@ - BitcoinGUI + NYC3GUI Sign &message... Подписване на &съобщение... diff --git a/src/qt/locale/nyc3_bg_BG.ts b/src/qt/locale/nyc3_bg_BG.ts index d9aa82bf2..c952cd02c 100644 --- a/src/qt/locale/nyc3_bg_BG.ts +++ b/src/qt/locale/nyc3_bg_BG.ts @@ -188,7 +188,7 @@ - BitcoinGUI + NYC3GUI Sign &message... Подпиши съобщение... diff --git a/src/qt/locale/nyc3_ca.ts b/src/qt/locale/nyc3_ca.ts index 07753086f..19eb7646d 100644 --- a/src/qt/locale/nyc3_ca.ts +++ b/src/qt/locale/nyc3_ca.ts @@ -236,7 +236,7 @@ - BitcoinGUI + NYC3GUI Sign &message... Signa el &missatge... diff --git a/src/qt/locale/nyc3_ca@valencia.ts b/src/qt/locale/nyc3_ca@valencia.ts index 843221289..a52201309 100644 --- a/src/qt/locale/nyc3_ca@valencia.ts +++ b/src/qt/locale/nyc3_ca@valencia.ts @@ -224,7 +224,7 @@ BanTableModel - BitcoinGUI + NYC3GUI Sign &message... Signa el &missatge... diff --git a/src/qt/locale/nyc3_ca_ES.ts b/src/qt/locale/nyc3_ca_ES.ts index 967369112..48a4ad8f7 100644 --- a/src/qt/locale/nyc3_ca_ES.ts +++ b/src/qt/locale/nyc3_ca_ES.ts @@ -232,7 +232,7 @@ - BitcoinGUI + NYC3GUI Sign &message... Signa el &missatge... diff --git a/src/qt/locale/nyc3_cs.ts b/src/qt/locale/nyc3_cs.ts index 61622a75c..76b54147b 100644 --- a/src/qt/locale/nyc3_cs.ts +++ b/src/qt/locale/nyc3_cs.ts @@ -240,7 +240,7 @@ - BitcoinGUI + NYC3GUI Sign &message... Po&depiš zprávu... @@ -503,7 +503,7 @@ Show the %1 help message to get a list with possible NYC3 command-line options - Seznam argumentů Bitcoinu pro příkazovou řádku získáš v nápovědě %1 + Seznam argumentů NYC3u pro příkazovou řádku získáš v nápovědě %1 default wallet @@ -2427,7 +2427,7 @@ Poznámka: Jelikož je poplatek počítaný za bajt, poplatek o hodnotě "100 sa The NYC3 address to send the payment to - Bitcoinová adresa příjemce + NYC3ová adresa příjemce Alt+A @@ -2524,7 +2524,7 @@ Poznámka: Jelikož je poplatek počítaný za bajt, poplatek o hodnotě "100 sa The NYC3 address to sign the message with - Bitcoinová adresa, kterou se zpráva podepíše + NYC3ová adresa, kterou se zpráva podepíše Choose previously used address @@ -2580,7 +2580,7 @@ Poznámka: Jelikož je poplatek počítaný za bajt, poplatek o hodnotě "100 sa The NYC3 address the message was signed with - Bitcoinová adresa, kterou je zpráva podepsána + NYC3ová adresa, kterou je zpráva podepsána Verify the message to ensure it was signed with the specified NYC3 address diff --git a/src/qt/locale/nyc3_cy.ts b/src/qt/locale/nyc3_cy.ts index 88b391a10..7b31aabba 100644 --- a/src/qt/locale/nyc3_cy.ts +++ b/src/qt/locale/nyc3_cy.ts @@ -224,7 +224,7 @@ - BitcoinGUI + NYC3GUI Sign &message... Arwyddo &neges... diff --git a/src/qt/locale/nyc3_da.ts b/src/qt/locale/nyc3_da.ts index 1c71d6abb..0b6372857 100644 --- a/src/qt/locale/nyc3_da.ts +++ b/src/qt/locale/nyc3_da.ts @@ -240,7 +240,7 @@ - BitcoinGUI + NYC3GUI Sign &message... Signér &besked… diff --git a/src/qt/locale/nyc3_de.ts b/src/qt/locale/nyc3_de.ts index 54251d239..bb50dd7b9 100644 --- a/src/qt/locale/nyc3_de.ts +++ b/src/qt/locale/nyc3_de.ts @@ -47,11 +47,11 @@ Choose the address to send coins to - Wählen Sie die Adresse aus, an die Sie Bitcoins senden möchten + Wählen Sie die Adresse aus, an die Sie NYC3s senden möchten Choose the address to receive coins with - Wählen Sie die Adresse aus, mit der Sie Bitcoins empfangen wollen + Wählen Sie die Adresse aus, mit der Sie NYC3s empfangen wollen C&hoose @@ -67,7 +67,7 @@ These are your NYC3 addresses for sending payments. Always check the amount and the receiving address before sending coins. - Dies sind Ihre NYC3-Adressen zum Tätigen von Überweisungen. Bitte prüfen Sie den Betrag und die Adresse des Empfängers, bevor Sie Bitcoins überweisen. + Dies sind Ihre NYC3-Adressen zum Tätigen von Überweisungen. Bitte prüfen Sie den Betrag und die Adresse des Empfängers, bevor Sie NYC3s überweisen. These are your NYC3 addresses for receiving payments. It is recommended to use a new receiving address for each transaction. @@ -177,7 +177,7 @@ Warning: If you encrypt your wallet and lose your passphrase, you will <b>LOSE ALL OF YOUR BITCOINS</b>! - Warnung: Wenn Sie Ihre Brieftasche verschlüsseln und Ihre Passphrase verlieren, werden Sie <b>alle Ihre Bitcoins verlieren</b>! + Warnung: Wenn Sie Ihre Brieftasche verschlüsseln und Ihre Passphrase verlieren, werden Sie <b>alle Ihre NYC3s verlieren</b>! Are you sure you wish to encrypt your wallet? @@ -189,7 +189,7 @@ Your wallet is now encrypted. Remember that encrypting your wallet cannot fully protect your bitcoins from being stolen by malware infecting your computer. - Ihre Brieftasche ist jetzt verschlüsselt. Denken Sie daran, dass auch eine Verschlüsselung ihre Bitcoins nicht vollkommen vor Diebstahl schützen kann, sollte ihr PC mit Malware infiziert sein. + Ihre Brieftasche ist jetzt verschlüsselt. Denken Sie daran, dass auch eine Verschlüsselung ihre NYC3s nicht vollkommen vor Diebstahl schützen kann, sollte ihr PC mit Malware infiziert sein. IMPORTANT: Any previous backups you have made of your wallet file should be replaced with the newly generated, encrypted wallet file. For security reasons, previous backups of the unencrypted wallet file will become useless as soon as you start using the new, encrypted wallet. @@ -240,7 +240,7 @@ - BitcoinGUI + NYC3GUI Sign &message... Nachricht s&ignieren... @@ -343,7 +343,7 @@ Send coins to a NYC3 address - Bitcoins an eine NYC3-Adresse überweisen + NYC3s an eine NYC3-Adresse überweisen Backup wallet to another location @@ -949,7 +949,7 @@ Attempting to spend bitcoins that are affected by not-yet-displayed transactions will not be accepted by the network. - Versuche, Bitcoins aus noch nicht angezeigten Transaktionen auszugeben, werden vom Netzwerk nicht akzeptiert. + Versuche, NYC3s aus noch nicht angezeigten Transaktionen auszugeben, werden vom Netzwerk nicht akzeptiert. Number of blocks left @@ -1215,7 +1215,7 @@ Choose the default subdivision unit to show in the interface and when sending coins. - Wählen Sie die standardmäßige Untereinheit, die in der Benutzeroberfläche und beim Überweisen von Bitcoins angezeigt werden soll. + Wählen Sie die standardmäßige Untereinheit, die in der Benutzeroberfläche und beim Überweisen von NYC3s angezeigt werden soll. Whether to show coin control features or not. @@ -2116,7 +2116,7 @@ SendCoinsDialog Send Coins - Bitcoins überweisen + NYC3s überweisen Coin Control Features @@ -2443,7 +2443,7 @@ Hinweis: Eine Gebühr von "100 Satoshis pro kB" bei einer Größe der Transaktio The fee will be deducted from the amount being sent. The recipient will receive less bitcoins than you enter in the amount field. If multiple recipients are selected, the fee is split equally. - Die Gebühr wird vom zu überweisenden Betrag abgezogen. Der Empfänger wird also weniger Bitcoins erhalten, als Sie im Betrags-Feld eingegeben haben. Falls mehrere Empfänger ausgewählt wurden, wird die Gebühr gleichmäßig verteilt. + Die Gebühr wird vom zu überweisenden Betrag abgezogen. Der Empfänger wird also weniger NYC3s erhalten, als Sie im Betrags-Feld eingegeben haben. Falls mehrere Empfänger ausgewählt wurden, wird die Gebühr gleichmäßig verteilt. S&ubtract fee from amount @@ -2516,7 +2516,7 @@ Hinweis: Eine Gebühr von "100 Satoshis pro kB" bei einer Größe der Transaktio You can sign messages/agreements with your addresses to prove you can receive bitcoins sent to them. Be careful not to sign anything vague or random, as phishing attacks may try to trick you into signing your identity over to them. Only sign fully-detailed statements you agree to. - Sie können Nachrichten/Vereinbarungen mit Hilfe Ihrer Adressen signieren, um zu beweisen, dass Sie Bitcoins empfangen können, die an diese Adressen überwiesen werden. Seien Sie vorsichtig und signieren Sie nichts Vages oder Willkürliches, um Ihre Indentität vor Phishingangriffen zu schützen. Signieren Sie nur vollständig-detaillierte Aussagen, mit denen Sie auch einverstanden sind. + Sie können Nachrichten/Vereinbarungen mit Hilfe Ihrer Adressen signieren, um zu beweisen, dass Sie NYC3s empfangen können, die an diese Adressen überwiesen werden. Seien Sie vorsichtig und signieren Sie nichts Vages oder Willkürliches, um Ihre Indentität vor Phishingangriffen zu schützen. Signieren Sie nur vollständig-detaillierte Aussagen, mit denen Sie auch einverstanden sind. The NYC3 address to sign the message with @@ -2797,7 +2797,7 @@ Hinweis: Eine Gebühr von "100 Satoshis pro kB" bei einer Größe der Transaktio Generated coins must mature %1 blocks before they can be spent. When you generated this block, it was broadcast to the network to be added to the block chain. If it fails to get into the chain, its state will change to "not accepted" and it won't be spendable. This may occasionally happen if another node generates a block within a few seconds of yours. - Erzeugte Bitcoins müssen %1 Blöcke lang reifen, bevor sie ausgegeben werden können. Als Sie diesen Block erzeugten, wurde er an das Netzwerk übertragen, um ihn der Blockkette hinzuzufügen. Falls dies fehlschlägt wird der Status in "nicht angenommen" geändert und Sie werden keine Bitcoins gutgeschrieben bekommen. Das kann gelegentlich passieren, wenn ein anderer Knoten einen Block fast zeitgleich erzeugt. + Erzeugte NYC3s müssen %1 Blöcke lang reifen, bevor sie ausgegeben werden können. Als Sie diesen Block erzeugten, wurde er an das Netzwerk übertragen, um ihn der Blockkette hinzuzufügen. Falls dies fehlschlägt wird der Status in "nicht angenommen" geändert und Sie werden keine NYC3s gutgeschrieben bekommen. Das kann gelegentlich passieren, wenn ein anderer Knoten einen Block fast zeitgleich erzeugt. Debug information @@ -3134,7 +3134,7 @@ Hinweis: Eine Gebühr von "100 Satoshis pro kB" bei einer Größe der Transaktio WalletModel Send Coins - Bitcoins überweisen + NYC3s überweisen Fee bump error diff --git a/src/qt/locale/nyc3_el.ts b/src/qt/locale/nyc3_el.ts index 0aff98c0f..8048fb508 100644 --- a/src/qt/locale/nyc3_el.ts +++ b/src/qt/locale/nyc3_el.ts @@ -32,7 +32,7 @@ BanTableModel - BitcoinGUI + NYC3GUI Quit application Κλείσιμο εφαρμογής diff --git a/src/qt/locale/nyc3_el_GR.ts b/src/qt/locale/nyc3_el_GR.ts index 479154a2e..5bb19e212 100644 --- a/src/qt/locale/nyc3_el_GR.ts +++ b/src/qt/locale/nyc3_el_GR.ts @@ -236,7 +236,7 @@ - BitcoinGUI + NYC3GUI Sign &message... Υπογραφή &μηνύματος... diff --git a/src/qt/locale/nyc3_en.ts b/src/qt/locale/nyc3_en.ts index 2d5295920..b503346ef 100644 --- a/src/qt/locale/nyc3_en.ts +++ b/src/qt/locale/nyc3_en.ts @@ -308,7 +308,7 @@ - BitcoinGUI + NYC3GUI Sign &message... diff --git a/src/qt/locale/nyc3_en_GB.ts b/src/qt/locale/nyc3_en_GB.ts index badc2f563..73a6d3528 100644 --- a/src/qt/locale/nyc3_en_GB.ts +++ b/src/qt/locale/nyc3_en_GB.ts @@ -240,7 +240,7 @@ - BitcoinGUI + NYC3GUI Sign &message... Sign &message... @@ -925,7 +925,7 @@ Attempting to spend bitcoins that are affected by not-yet-displayed transactions will not be accepted by the network. - Attempting to spend Bitcoins that are affected by not-yet-displayed transactions will not be accepted by the network. + Attempting to spend NYC3s that are affected by not-yet-displayed transactions will not be accepted by the network. Number of blocks left diff --git a/src/qt/locale/nyc3_eo.ts b/src/qt/locale/nyc3_eo.ts index f2ecba986..68cfae095 100644 --- a/src/qt/locale/nyc3_eo.ts +++ b/src/qt/locale/nyc3_eo.ts @@ -228,7 +228,7 @@ BanTableModel - BitcoinGUI + NYC3GUI Sign &message... Subskribi &mesaĝon... diff --git a/src/qt/locale/nyc3_es.ts b/src/qt/locale/nyc3_es.ts index 3900894f5..06448c11e 100644 --- a/src/qt/locale/nyc3_es.ts +++ b/src/qt/locale/nyc3_es.ts @@ -236,7 +236,7 @@ - BitcoinGUI + NYC3GUI Sign &message... Firmar &mensaje... diff --git a/src/qt/locale/nyc3_es_AR.ts b/src/qt/locale/nyc3_es_AR.ts index 2710c9caa..5bcf9e9c2 100644 --- a/src/qt/locale/nyc3_es_AR.ts +++ b/src/qt/locale/nyc3_es_AR.ts @@ -170,7 +170,7 @@ BanTableModel - BitcoinGUI + NYC3GUI CoinControlDialog diff --git a/src/qt/locale/nyc3_es_CL.ts b/src/qt/locale/nyc3_es_CL.ts index a6f289aff..115f8c446 100644 --- a/src/qt/locale/nyc3_es_CL.ts +++ b/src/qt/locale/nyc3_es_CL.ts @@ -236,7 +236,7 @@ - BitcoinGUI + NYC3GUI Sign &message... Firmar &Mensaje... diff --git a/src/qt/locale/nyc3_es_CO.ts b/src/qt/locale/nyc3_es_CO.ts index f54aee2b0..15b8380b5 100644 --- a/src/qt/locale/nyc3_es_CO.ts +++ b/src/qt/locale/nyc3_es_CO.ts @@ -229,7 +229,7 @@ Exportar los datos en la pestaña actual a un archivo - BitcoinGUI + NYC3GUI Sign &message... Firma y mensaje ... diff --git a/src/qt/locale/nyc3_es_DO.ts b/src/qt/locale/nyc3_es_DO.ts index aa6a4a8f1..50925a956 100644 --- a/src/qt/locale/nyc3_es_DO.ts +++ b/src/qt/locale/nyc3_es_DO.ts @@ -168,7 +168,7 @@ BanTableModel - BitcoinGUI + NYC3GUI Sign &message... Firmar &mensaje... diff --git a/src/qt/locale/nyc3_es_ES.ts b/src/qt/locale/nyc3_es_ES.ts index 7425486dc..2903e3789 100644 --- a/src/qt/locale/nyc3_es_ES.ts +++ b/src/qt/locale/nyc3_es_ES.ts @@ -236,7 +236,7 @@ - BitcoinGUI + NYC3GUI Sign &message... Firmar &mensaje... diff --git a/src/qt/locale/nyc3_es_MX.ts b/src/qt/locale/nyc3_es_MX.ts index 07bb3f2df..7bb0cbf10 100644 --- a/src/qt/locale/nyc3_es_MX.ts +++ b/src/qt/locale/nyc3_es_MX.ts @@ -120,7 +120,7 @@ - BitcoinGUI + NYC3GUI Sign &message... Firmar &mensaje diff --git a/src/qt/locale/nyc3_es_UY.ts b/src/qt/locale/nyc3_es_UY.ts index 0765600da..873fc0e58 100644 --- a/src/qt/locale/nyc3_es_UY.ts +++ b/src/qt/locale/nyc3_es_UY.ts @@ -204,7 +204,7 @@ BanTableModel - BitcoinGUI + NYC3GUI Synchronizing with network... Sincronizando con la red... diff --git a/src/qt/locale/nyc3_es_VE.ts b/src/qt/locale/nyc3_es_VE.ts index 2d9dd6ef5..215ee95ff 100644 --- a/src/qt/locale/nyc3_es_VE.ts +++ b/src/qt/locale/nyc3_es_VE.ts @@ -170,7 +170,7 @@ BanTableModel - BitcoinGUI + NYC3GUI Sign &message... Firmar &mensaje... diff --git a/src/qt/locale/nyc3_et.ts b/src/qt/locale/nyc3_et.ts index 9bff9fe71..67b520979 100644 --- a/src/qt/locale/nyc3_et.ts +++ b/src/qt/locale/nyc3_et.ts @@ -224,7 +224,7 @@ - BitcoinGUI + NYC3GUI Sign &message... Signeeri &sõnum @@ -295,7 +295,7 @@ Send coins to a NYC3 address - Saada münte Bitcoini aadressile + Saada münte NYC3i aadressile Backup wallet to another location @@ -343,11 +343,11 @@ Sign messages with your NYC3 addresses to prove you own them - Omandi tõestamiseks allkirjasta sõnumid oma Bitcoini aadressiga + Omandi tõestamiseks allkirjasta sõnumid oma NYC3i aadressiga Verify messages to ensure they were signed with specified NYC3 addresses - Kinnita sõnumid kindlustamaks et need allkirjastati määratud Bitcoini aadressiga + Kinnita sõnumid kindlustamaks et need allkirjastati määratud NYC3i aadressiga &File @@ -379,7 +379,7 @@ %n active connection(s) to NYC3 network - %n aktiivne ühendus Bitcoini võrku%n aktiivset ühendust Bitcoini võrku + %n aktiivne ühendus NYC3i võrku%n aktiivset ühendust NYC3i võrku Indexing blocks on disk... @@ -737,7 +737,7 @@ Automatically open the NYC3 client port on the router. This only works when your router supports UPnP and it is enabled. - Bitcoini kliendi pordi automaatne avamine ruuteris. Toimib, kui sinu ruuter aktsepteerib UPnP ühendust. + NYC3i kliendi pordi automaatne avamine ruuteris. Toimib, kui sinu ruuter aktsepteerib UPnP ühendust. Map port using &UPnP @@ -1458,7 +1458,7 @@ Sign the message to prove you own this NYC3 address - Allkirjasta sõnum Bitcoini aadressi sulle kuulumise tõestamiseks + Allkirjasta sõnum NYC3i aadressi sulle kuulumise tõestamiseks Sign &Message @@ -1482,7 +1482,7 @@ Verify the message to ensure it was signed with the specified NYC3 address - Kinnita sõnum tõestamaks selle allkirjastatust määratud Bitcoini aadressiga. + Kinnita sõnum tõestamaks selle allkirjastatust määratud NYC3i aadressiga. Verify &Message @@ -1918,7 +1918,7 @@ bitcoin-core NYC3 - Bitcoini tuumik + NYC3i tuumik This is a pre-release test build - use at your own risk - do not use for mining or merchant applications diff --git a/src/qt/locale/nyc3_et_EE.ts b/src/qt/locale/nyc3_et_EE.ts index c69e0cf74..c31299bae 100644 --- a/src/qt/locale/nyc3_et_EE.ts +++ b/src/qt/locale/nyc3_et_EE.ts @@ -104,7 +104,7 @@ BanTableModel - BitcoinGUI + NYC3GUI Synchronizing with network... Võrguga sünkroniseerimine... diff --git a/src/qt/locale/nyc3_eu_ES.ts b/src/qt/locale/nyc3_eu_ES.ts index d7e052789..9b6406a69 100644 --- a/src/qt/locale/nyc3_eu_ES.ts +++ b/src/qt/locale/nyc3_eu_ES.ts @@ -216,7 +216,7 @@ BanTableModel - BitcoinGUI + NYC3GUI Synchronizing with network... Sarearekin sinkronizatzen... diff --git a/src/qt/locale/nyc3_fa.ts b/src/qt/locale/nyc3_fa.ts index fa49af428..818da4c58 100644 --- a/src/qt/locale/nyc3_fa.ts +++ b/src/qt/locale/nyc3_fa.ts @@ -224,7 +224,7 @@ - BitcoinGUI + NYC3GUI Sign &message... &امضای پیام... diff --git a/src/qt/locale/nyc3_fa_IR.ts b/src/qt/locale/nyc3_fa_IR.ts index b8f283098..d222a51db 100644 --- a/src/qt/locale/nyc3_fa_IR.ts +++ b/src/qt/locale/nyc3_fa_IR.ts @@ -236,7 +236,7 @@ - BitcoinGUI + NYC3GUI Sign &message... ثبت &پیام diff --git a/src/qt/locale/nyc3_fi.ts b/src/qt/locale/nyc3_fi.ts index ba72cd49a..fe2cfded3 100644 --- a/src/qt/locale/nyc3_fi.ts +++ b/src/qt/locale/nyc3_fi.ts @@ -240,7 +240,7 @@ - BitcoinGUI + NYC3GUI Sign &message... &Allekirjoita viesti... @@ -479,7 +479,7 @@ Show the %1 help message to get a list with possible NYC3 command-line options - Näytä %1 ohjeet saadaksesi listan mahdollisista Bitcoinin komentorivivalinnoista + Näytä %1 ohjeet saadaksesi listan mahdollisista NYC3in komentorivivalinnoista default wallet @@ -878,7 +878,7 @@ %1 will download and store a copy of the NYC3 block chain. - %1 lataa ja tallentaa kopion Bitcoinin lohkoketjusta. + %1 lataa ja tallentaa kopion NYC3in lohkoketjusta. The wallet will also be stored in this directory. @@ -1286,7 +1286,7 @@ Your current total balance - Tililläsi tällä hetkellä olevien Bitcoinien määrä + Tililläsi tällä hetkellä olevien NYC3ien määrä Your current balance in watch-only addresses @@ -1321,7 +1321,7 @@ Cannot start bitcoin: click-to-pay handler - Bitcoinia ei voi käynnistää: klikkaa-maksaaksesi -käsittelijän virhe + NYC3ia ei voi käynnistää: klikkaa-maksaaksesi -käsittelijän virhe URI handling diff --git a/src/qt/locale/nyc3_fr.ts b/src/qt/locale/nyc3_fr.ts index c328617bf..f2be7e707 100644 --- a/src/qt/locale/nyc3_fr.ts +++ b/src/qt/locale/nyc3_fr.ts @@ -240,7 +240,7 @@ - BitcoinGUI + NYC3GUI Sign &message... Signer un &message... diff --git a/src/qt/locale/nyc3_fr_CA.ts b/src/qt/locale/nyc3_fr_CA.ts index 8dd7dc557..244c7ab22 100644 --- a/src/qt/locale/nyc3_fr_CA.ts +++ b/src/qt/locale/nyc3_fr_CA.ts @@ -36,7 +36,7 @@ BanTableModel - BitcoinGUI + NYC3GUI CoinControlDialog diff --git a/src/qt/locale/nyc3_fr_FR.ts b/src/qt/locale/nyc3_fr_FR.ts index 40294c098..e9a7c6e27 100644 --- a/src/qt/locale/nyc3_fr_FR.ts +++ b/src/qt/locale/nyc3_fr_FR.ts @@ -236,7 +236,7 @@ - BitcoinGUI + NYC3GUI Sign &message... Signer un &message... diff --git a/src/qt/locale/nyc3_gl.ts b/src/qt/locale/nyc3_gl.ts index 2cdb52fe3..5f2349079 100644 --- a/src/qt/locale/nyc3_gl.ts +++ b/src/qt/locale/nyc3_gl.ts @@ -68,7 +68,7 @@ BanTableModel - BitcoinGUI + NYC3GUI Sign &message... &Asinar mensaxe... diff --git a/src/qt/locale/nyc3_he.ts b/src/qt/locale/nyc3_he.ts index 0f1474ff6..555f6ca7f 100644 --- a/src/qt/locale/nyc3_he.ts +++ b/src/qt/locale/nyc3_he.ts @@ -236,7 +236,7 @@ - BitcoinGUI + NYC3GUI Sign &message... &חתימה על הודעה… diff --git a/src/qt/locale/nyc3_hi_IN.ts b/src/qt/locale/nyc3_hi_IN.ts index 91d0e3ecd..41f8f86a2 100644 --- a/src/qt/locale/nyc3_hi_IN.ts +++ b/src/qt/locale/nyc3_hi_IN.ts @@ -140,7 +140,7 @@ BanTableModel - BitcoinGUI + NYC3GUI Synchronizing with network... नेटवर्क से समकालिक (मिल) रहा है ... diff --git a/src/qt/locale/nyc3_hr.ts b/src/qt/locale/nyc3_hr.ts index 46a4c7cab..2f3e9aff8 100644 --- a/src/qt/locale/nyc3_hr.ts +++ b/src/qt/locale/nyc3_hr.ts @@ -236,7 +236,7 @@ - BitcoinGUI + NYC3GUI Sign &message... P&otpišite poruku... @@ -857,7 +857,7 @@ %1 will download and store a copy of the NYC3 block chain. - %1 preuzet će i pohraniti kopiju Bitcoinovog lanca blokova. + %1 preuzet će i pohraniti kopiju NYC3ovog lanca blokova. The wallet will also be stored in this directory. @@ -884,7 +884,7 @@ Recent transactions may not yet be visible, and therefore your wallet's balance might be incorrect. This information will be correct once your wallet has finished synchronizing with the bitcoin network, as detailed below. - Nedavne transakcije možda još nisu vidljive pa vam stanje novčanika može biti netočno. Ove informacije bit će točne nakon što vaš novčanik dovrši sinkronizaciju s Bitcoinovom mrežom, kako je opisano dolje. + Nedavne transakcije možda još nisu vidljive pa vam stanje novčanika može biti netočno. Ove informacije bit će točne nakon što vaš novčanik dovrši sinkronizaciju s NYC3ovom mrežom, kako je opisano dolje. Attempting to spend bitcoins that are affected by not-yet-displayed transactions will not be accepted by the network. diff --git a/src/qt/locale/nyc3_hu.ts b/src/qt/locale/nyc3_hu.ts index 0033080e4..0a13ad77a 100644 --- a/src/qt/locale/nyc3_hu.ts +++ b/src/qt/locale/nyc3_hu.ts @@ -233,7 +233,7 @@ Kérem a kulcsmondatban használjon <b> tíz vagy több véletlenszerű ka - BitcoinGUI + NYC3GUI Sign &message... Üzenet aláírása... diff --git a/src/qt/locale/nyc3_id.ts b/src/qt/locale/nyc3_id.ts index 2c0368cbe..eb765899e 100644 --- a/src/qt/locale/nyc3_id.ts +++ b/src/qt/locale/nyc3_id.ts @@ -240,7 +240,7 @@ - BitcoinGUI + NYC3GUI Sign &message... &Verifikasi pesan... diff --git a/src/qt/locale/nyc3_id_ID.ts b/src/qt/locale/nyc3_id_ID.ts index ed4377f57..62a82df3e 100644 --- a/src/qt/locale/nyc3_id_ID.ts +++ b/src/qt/locale/nyc3_id_ID.ts @@ -240,7 +240,7 @@ - BitcoinGUI + NYC3GUI Sign &message... Pesan &penanda... diff --git a/src/qt/locale/nyc3_is.ts b/src/qt/locale/nyc3_is.ts index eeb24e866..4ff3e5e69 100644 --- a/src/qt/locale/nyc3_is.ts +++ b/src/qt/locale/nyc3_is.ts @@ -228,7 +228,7 @@ - BitcoinGUI + NYC3GUI Sign &message... Undirrita &skilaboð diff --git a/src/qt/locale/nyc3_it.ts b/src/qt/locale/nyc3_it.ts index a5bcfb623..de683972d 100644 --- a/src/qt/locale/nyc3_it.ts +++ b/src/qt/locale/nyc3_it.ts @@ -240,7 +240,7 @@ - BitcoinGUI + NYC3GUI Sign &message... Firma &messaggio... diff --git a/src/qt/locale/nyc3_it_IT.ts b/src/qt/locale/nyc3_it_IT.ts index 03183c74e..ae4db3c09 100644 --- a/src/qt/locale/nyc3_it_IT.ts +++ b/src/qt/locale/nyc3_it_IT.ts @@ -232,7 +232,7 @@ - BitcoinGUI + NYC3GUI Sign &message... Firma &messaggio... diff --git a/src/qt/locale/nyc3_ja.ts b/src/qt/locale/nyc3_ja.ts index e12fc5e99..05cbc55f3 100644 --- a/src/qt/locale/nyc3_ja.ts +++ b/src/qt/locale/nyc3_ja.ts @@ -240,7 +240,7 @@ - BitcoinGUI + NYC3GUI Sign &message... メッセージの署名...(&m) diff --git a/src/qt/locale/nyc3_ka.ts b/src/qt/locale/nyc3_ka.ts index 68b10ec98..91b1fd9bb 100644 --- a/src/qt/locale/nyc3_ka.ts +++ b/src/qt/locale/nyc3_ka.ts @@ -220,7 +220,7 @@ - BitcoinGUI + NYC3GUI Sign &message... ხელ&მოწერა diff --git a/src/qt/locale/nyc3_kk_KZ.ts b/src/qt/locale/nyc3_kk_KZ.ts index f0c1483f0..2d680c8c9 100644 --- a/src/qt/locale/nyc3_kk_KZ.ts +++ b/src/qt/locale/nyc3_kk_KZ.ts @@ -48,7 +48,7 @@ BanTableModel - BitcoinGUI + NYC3GUI &Transactions &Транзакциялар diff --git a/src/qt/locale/nyc3_ko.ts b/src/qt/locale/nyc3_ko.ts index ee27c6ba5..75244466d 100644 --- a/src/qt/locale/nyc3_ko.ts +++ b/src/qt/locale/nyc3_ko.ts @@ -216,7 +216,7 @@ - BitcoinGUI + NYC3GUI Sign &message... &메시지에 서명하기... diff --git a/src/qt/locale/nyc3_ko_KR.ts b/src/qt/locale/nyc3_ko_KR.ts index b8f500b68..a00b9995f 100644 --- a/src/qt/locale/nyc3_ko_KR.ts +++ b/src/qt/locale/nyc3_ko_KR.ts @@ -240,7 +240,7 @@ - BitcoinGUI + NYC3GUI Sign &message... 메시지 서명(&M)... diff --git a/src/qt/locale/nyc3_ku_IQ.ts b/src/qt/locale/nyc3_ku_IQ.ts index b614822d3..395babaa0 100644 --- a/src/qt/locale/nyc3_ku_IQ.ts +++ b/src/qt/locale/nyc3_ku_IQ.ts @@ -40,7 +40,7 @@ BanTableModel - BitcoinGUI + NYC3GUI &Send &ناردن diff --git a/src/qt/locale/nyc3_ky.ts b/src/qt/locale/nyc3_ky.ts index d5742e903..dd956bd94 100644 --- a/src/qt/locale/nyc3_ky.ts +++ b/src/qt/locale/nyc3_ky.ts @@ -28,7 +28,7 @@ BanTableModel - BitcoinGUI + NYC3GUI &Transactions &Транзакциялар diff --git a/src/qt/locale/nyc3_la.ts b/src/qt/locale/nyc3_la.ts index bf7fa5dcb..e7152f058 100644 --- a/src/qt/locale/nyc3_la.ts +++ b/src/qt/locale/nyc3_la.ts @@ -56,7 +56,7 @@ BanTableModel - BitcoinGUI + NYC3GUI Sign &message... Signa &nuntium... diff --git a/src/qt/locale/nyc3_lt.ts b/src/qt/locale/nyc3_lt.ts index 510e32d34..addfa5b59 100644 --- a/src/qt/locale/nyc3_lt.ts +++ b/src/qt/locale/nyc3_lt.ts @@ -232,7 +232,7 @@ - BitcoinGUI + NYC3GUI Sign &message... Pasirašyti ži&nutę... diff --git a/src/qt/locale/nyc3_lv_LV.ts b/src/qt/locale/nyc3_lv_LV.ts index 39104d710..c6ed2741a 100644 --- a/src/qt/locale/nyc3_lv_LV.ts +++ b/src/qt/locale/nyc3_lv_LV.ts @@ -136,7 +136,7 @@ BanTableModel - BitcoinGUI + NYC3GUI Sign &message... Parakstīt &ziņojumu... diff --git a/src/qt/locale/nyc3_mk_MK.ts b/src/qt/locale/nyc3_mk_MK.ts index 859510452..083a692d5 100644 --- a/src/qt/locale/nyc3_mk_MK.ts +++ b/src/qt/locale/nyc3_mk_MK.ts @@ -64,7 +64,7 @@ BanTableModel - BitcoinGUI + NYC3GUI Sign &message... Потпиши &порака... diff --git a/src/qt/locale/nyc3_ml.ts b/src/qt/locale/nyc3_ml.ts index fc9eee9a4..68bf8b007 100644 --- a/src/qt/locale/nyc3_ml.ts +++ b/src/qt/locale/nyc3_ml.ts @@ -173,7 +173,7 @@ BanTableModel - BitcoinGUI + NYC3GUI CoinControlDialog diff --git a/src/qt/locale/nyc3_mn.ts b/src/qt/locale/nyc3_mn.ts index 3a3aaca4a..fb41d2564 100644 --- a/src/qt/locale/nyc3_mn.ts +++ b/src/qt/locale/nyc3_mn.ts @@ -64,7 +64,7 @@ BanTableModel - BitcoinGUI + NYC3GUI Sign &message... &Зурвас хавсаргах... diff --git a/src/qt/locale/nyc3_ms_MY.ts b/src/qt/locale/nyc3_ms_MY.ts index 28349d92c..efda102eb 100644 --- a/src/qt/locale/nyc3_ms_MY.ts +++ b/src/qt/locale/nyc3_ms_MY.ts @@ -239,7 +239,7 @@ Alihkan fail data ke dalam tab semasa - BitcoinGUI + NYC3GUI Sign &message... Tandatangan & mesej... diff --git a/src/qt/locale/nyc3_nb.ts b/src/qt/locale/nyc3_nb.ts index 60cae4861..ec79660eb 100644 --- a/src/qt/locale/nyc3_nb.ts +++ b/src/qt/locale/nyc3_nb.ts @@ -236,7 +236,7 @@ - BitcoinGUI + NYC3GUI Sign &message... Signer &melding... @@ -1958,7 +1958,7 @@ SendCoinsDialog Send Coins - Send Bitcoins + Send NYC3s Coin Control Features diff --git a/src/qt/locale/nyc3_ne.ts b/src/qt/locale/nyc3_ne.ts index a0e4bc96b..1564eb506 100644 --- a/src/qt/locale/nyc3_ne.ts +++ b/src/qt/locale/nyc3_ne.ts @@ -93,7 +93,7 @@ - BitcoinGUI + NYC3GUI Sign &message... सन्देशमा &amp;हस्ताक्षर गर्नुहोस्... diff --git a/src/qt/locale/nyc3_nl.ts b/src/qt/locale/nyc3_nl.ts index eb4fe1f11..ce252db94 100644 --- a/src/qt/locale/nyc3_nl.ts +++ b/src/qt/locale/nyc3_nl.ts @@ -67,7 +67,7 @@ These are your NYC3 addresses for sending payments. Always check the amount and the receiving address before sending coins. - Dit zijn uw Bitcoinadressen om betalingen mee te verzenden. Controleer altijd het bedrag en het ontvangstadres voordat u uw bitcoins verzendt. + Dit zijn uw NYC3adressen om betalingen mee te verzenden. Controleer altijd het bedrag en het ontvangstadres voordat u uw bitcoins verzendt. These are your NYC3 addresses for receiving payments. It is recommended to use a new receiving address for each transaction. @@ -240,7 +240,7 @@ - BitcoinGUI + NYC3GUI Sign &message... &Onderteken bericht... @@ -343,7 +343,7 @@ Send coins to a NYC3 address - Verstuur munten naar een Bitcoinadres + Verstuur munten naar een NYC3adres Backup wallet to another location @@ -391,11 +391,11 @@ Sign messages with your NYC3 addresses to prove you own them - Onderteken berichten met uw Bitcoinadressen om te bewijzen dat u deze adressen bezit + Onderteken berichten met uw NYC3adressen om te bewijzen dat u deze adressen bezit Verify messages to ensure they were signed with specified NYC3 addresses - Verifiëer handtekeningen om zeker te zijn dat de berichten zijn ondertekend met de gespecificeerde Bitcoinadressen + Verifiëer handtekeningen om zeker te zijn dat de berichten zijn ondertekend met de gespecificeerde NYC3adressen &File @@ -435,7 +435,7 @@ %n active connection(s) to NYC3 network - %n actieve verbinding met Bitcoinnetwerk%n actieve verbindingen met Bitcoinnetwerk + %n actieve verbinding met NYC3netwerk%n actieve verbindingen met NYC3netwerk Indexing blocks on disk... @@ -805,7 +805,7 @@ The entered address "%1" is not a valid NYC3 address. - Het opgegeven adres "%1" is een ongeldig Bitcoinadres. + Het opgegeven adres "%1" is een ongeldig NYC3adres. Address "%1" already exists as a receiving address with label "%2" and so cannot be added as a sending address. @@ -1131,7 +1131,7 @@ Automatically open the NYC3 client port on the router. This only works when your router supports UPnP and it is enabled. - Open de Bitcoinpoort automatisch op de router. Dit werkt alleen als de router UPnP ondersteunt en het aanstaat. + Open de NYC3poort automatisch op de router. Dit werkt alleen als de router UPnP ondersteunt en het aanstaat. Map port using &UPnP @@ -1147,7 +1147,7 @@ Connect to the NYC3 network through a SOCKS5 proxy. - Verbind met het Bitcoinnetwerk via een SOCKS5 proxy. + Verbind met het NYC3netwerk via een SOCKS5 proxy. &Connect through SOCKS5 proxy (default proxy): @@ -1183,7 +1183,7 @@ Connect to the NYC3 network through a separate SOCKS5 proxy for Tor hidden services. - Maak verbinding met Bitcoinnetwerk door een aparte SOCKS5-proxy voor verborgen diensten van Tor. + Maak verbinding met NYC3netwerk door een aparte SOCKS5-proxy voor verborgen diensten van Tor. &Window @@ -1294,7 +1294,7 @@ The displayed information may be out of date. Your wallet automatically synchronizes with the NYC3 network after a connection is established, but this process has not completed yet. - De weergegeven informatie kan verouderd zijn. Uw portemonnee synchroniseert automatisch met het Bitcoinnetwerk nadat een verbinding is gelegd, maar dit proces is nog niet voltooid. + De weergegeven informatie kan verouderd zijn. Uw portemonnee synchroniseert automatisch met het NYC3netwerk nadat een verbinding is gelegd, maar dit proces is nog niet voltooid. Watch-only: @@ -1499,7 +1499,7 @@ Enter a NYC3 address (e.g. %1) - Voer een Bitcoinadres in (bijv. %1) + Voer een NYC3adres in (bijv. %1) %1 d @@ -1955,7 +1955,7 @@ An optional message to attach to the payment request, which will be displayed when the request is opened. Note: The message will not be sent with the payment over the NYC3 network. - Een optioneel bericht om bij te voegen aan het betalingsverzoek, welke zal getoond worden wanneer het verzoek is geopend. Opmerking: Het bericht zal niet worden verzonden met de betaling over het Bitcoinnetwerk. + Een optioneel bericht om bij te voegen aan het betalingsverzoek, welke zal getoond worden wanneer het verzoek is geopend. Opmerking: Het bericht zal niet worden verzonden met de betaling over het NYC3netwerk. An optional label to associate with the new receiving address. @@ -2384,7 +2384,7 @@ Notitie: Omdat de vergoeding per byte wordt gerekend, zal een vergoeding van "10 Warning: Invalid NYC3 address - Waarschuwing: Ongeldig Bitcoinadres + Waarschuwing: Ongeldig NYC3adres Warning: Unknown change address @@ -2427,7 +2427,7 @@ Notitie: Omdat de vergoeding per byte wordt gerekend, zal een vergoeding van "10 The NYC3 address to send the payment to - Het Bitcoinadres om betaling aan te versturen + Het NYC3adres om betaling aan te versturen Alt+A @@ -2475,7 +2475,7 @@ Notitie: Omdat de vergoeding per byte wordt gerekend, zal een vergoeding van "10 A message that was attached to the bitcoin: URI which will be stored with the transaction for your reference. Note: This message will not be sent over the NYC3 network. - Een bericht dat werd toegevoegd aan de bitcoin: URI welke wordt opgeslagen met de transactie ter referentie. Opmerking: Dit bericht zal niet worden verzonden over het Bitcoinnetwerk. + Een bericht dat werd toegevoegd aan de bitcoin: URI welke wordt opgeslagen met de transactie ter referentie. Opmerking: Dit bericht zal niet worden verzonden over het NYC3netwerk. Pay To: @@ -2520,11 +2520,11 @@ Notitie: Omdat de vergoeding per byte wordt gerekend, zal een vergoeding van "10 You can sign messages/agreements with your addresses to prove you can receive bitcoins sent to them. Be careful not to sign anything vague or random, as phishing attacks may try to trick you into signing your identity over to them. Only sign fully-detailed statements you agree to. - U kunt berichten/overeenkomsten ondertekenen met uw adres om te bewijzen dat u Bitcoins kunt versturen. Wees voorzichtig met het ondertekenen van iets vaags of willekeurigs, omdat phishingaanvallen u kunnen proberen te misleiden tot het ondertekenen van overeenkomsten om uw identiteit aan hen toe te vertrouwen. Onderteken alleen volledig gedetailleerde verklaringen voordat u akkoord gaat. + U kunt berichten/overeenkomsten ondertekenen met uw adres om te bewijzen dat u NYC3s kunt versturen. Wees voorzichtig met het ondertekenen van iets vaags of willekeurigs, omdat phishingaanvallen u kunnen proberen te misleiden tot het ondertekenen van overeenkomsten om uw identiteit aan hen toe te vertrouwen. Onderteken alleen volledig gedetailleerde verklaringen voordat u akkoord gaat. The NYC3 address to sign the message with - Het Bitcoinadres om bericht mee te ondertekenen + Het NYC3adres om bericht mee te ondertekenen Choose previously used address @@ -2556,7 +2556,7 @@ Notitie: Omdat de vergoeding per byte wordt gerekend, zal een vergoeding van "10 Sign the message to prove you own this NYC3 address - Onderteken een bericht om te bewijzen dat u een bepaald Bitcoinadres bezit + Onderteken een bericht om te bewijzen dat u een bepaald NYC3adres bezit Sign &Message @@ -2580,11 +2580,11 @@ Notitie: Omdat de vergoeding per byte wordt gerekend, zal een vergoeding van "10 The NYC3 address the message was signed with - Het Bitcoinadres waarmee het bericht ondertekend is + Het NYC3adres waarmee het bericht ondertekend is Verify the message to ensure it was signed with the specified NYC3 address - Controleer een bericht om te verifiëren dat het gespecificeerde Bitcoinadres het bericht heeft ondertekend. + Controleer een bericht om te verifiëren dat het gespecificeerde NYC3adres het bericht heeft ondertekend. Verify &Message diff --git a/src/qt/locale/nyc3_pam.ts b/src/qt/locale/nyc3_pam.ts index 5f0f7dc63..15a4e333e 100644 --- a/src/qt/locale/nyc3_pam.ts +++ b/src/qt/locale/nyc3_pam.ts @@ -64,7 +64,7 @@ BanTableModel - BitcoinGUI + NYC3GUI Sign &message... I-sign ing &mensayi diff --git a/src/qt/locale/nyc3_pl.ts b/src/qt/locale/nyc3_pl.ts index f21a173d4..563d32b68 100644 --- a/src/qt/locale/nyc3_pl.ts +++ b/src/qt/locale/nyc3_pl.ts @@ -240,7 +240,7 @@ - BitcoinGUI + NYC3GUI Sign &message... Podpisz wiado&mość... diff --git a/src/qt/locale/nyc3_pt_BR.ts b/src/qt/locale/nyc3_pt_BR.ts index bb6e63f16..0a8928035 100644 --- a/src/qt/locale/nyc3_pt_BR.ts +++ b/src/qt/locale/nyc3_pt_BR.ts @@ -240,7 +240,7 @@ - BitcoinGUI + NYC3GUI Sign &message... Assinar &mensagem... diff --git a/src/qt/locale/nyc3_pt_PT.ts b/src/qt/locale/nyc3_pt_PT.ts index c230b1f56..8b4c8208d 100644 --- a/src/qt/locale/nyc3_pt_PT.ts +++ b/src/qt/locale/nyc3_pt_PT.ts @@ -240,7 +240,7 @@ - BitcoinGUI + NYC3GUI Sign &message... Assinar &mensagem... diff --git a/src/qt/locale/nyc3_ro.ts b/src/qt/locale/nyc3_ro.ts index 6a7e7ef62..639184677 100644 --- a/src/qt/locale/nyc3_ro.ts +++ b/src/qt/locale/nyc3_ro.ts @@ -224,7 +224,7 @@ - BitcoinGUI + NYC3GUI Sign &message... Semnează și trimite... diff --git a/src/qt/locale/nyc3_ro_RO.ts b/src/qt/locale/nyc3_ro_RO.ts index d61d5248c..d59833a71 100644 --- a/src/qt/locale/nyc3_ro_RO.ts +++ b/src/qt/locale/nyc3_ro_RO.ts @@ -236,7 +236,7 @@ - BitcoinGUI + NYC3GUI Sign &message... Semnează &mesaj... diff --git a/src/qt/locale/nyc3_ru.ts b/src/qt/locale/nyc3_ru.ts index 56746999d..b0d0c0e1a 100644 --- a/src/qt/locale/nyc3_ru.ts +++ b/src/qt/locale/nyc3_ru.ts @@ -220,7 +220,7 @@ - BitcoinGUI + NYC3GUI Sign &message... Подписать &сообщение... diff --git a/src/qt/locale/nyc3_ru_RU.ts b/src/qt/locale/nyc3_ru_RU.ts index d474f0995..26afe4519 100644 --- a/src/qt/locale/nyc3_ru_RU.ts +++ b/src/qt/locale/nyc3_ru_RU.ts @@ -240,7 +240,7 @@ - BitcoinGUI + NYC3GUI Sign &message... Подписать &сообщение... diff --git a/src/qt/locale/nyc3_sk.ts b/src/qt/locale/nyc3_sk.ts index b63028c18..12345a998 100644 --- a/src/qt/locale/nyc3_sk.ts +++ b/src/qt/locale/nyc3_sk.ts @@ -240,7 +240,7 @@ - BitcoinGUI + NYC3GUI Sign &message... Podpísať &správu... @@ -503,7 +503,7 @@ Show the %1 help message to get a list with possible NYC3 command-line options - Ukáž %1 zoznam možných nastavení Bitcoinu pomocou príkazového riadku + Ukáž %1 zoznam možných nastavení NYC3u pomocou príkazového riadku default wallet @@ -1183,7 +1183,7 @@ Connect to the NYC3 network through a separate SOCKS5 proxy for Tor hidden services. - Pripojiť k Bitcoinovej sieti cez separované SOCKS5 proxy pre skrytú službu Tor. + Pripojiť k NYC3ovej sieti cez separované SOCKS5 proxy pre skrytú službu Tor. &Window @@ -2121,7 +2121,7 @@ SendCoinsDialog Send Coins - Poslať Bitcoins + Poslať NYC3s Coin Control Features diff --git a/src/qt/locale/nyc3_sl_SI.ts b/src/qt/locale/nyc3_sl_SI.ts index 2a41fb6ff..380770751 100644 --- a/src/qt/locale/nyc3_sl_SI.ts +++ b/src/qt/locale/nyc3_sl_SI.ts @@ -232,7 +232,7 @@ - BitcoinGUI + NYC3GUI Sign &message... Podpiši &sporočilo ... diff --git a/src/qt/locale/nyc3_sn.ts b/src/qt/locale/nyc3_sn.ts index cbe9ac39f..d193fdc61 100644 --- a/src/qt/locale/nyc3_sn.ts +++ b/src/qt/locale/nyc3_sn.ts @@ -64,7 +64,7 @@ - BitcoinGUI + NYC3GUI E&xit Buda diff --git a/src/qt/locale/nyc3_sq.ts b/src/qt/locale/nyc3_sq.ts index 43ac9bc53..be5220e67 100644 --- a/src/qt/locale/nyc3_sq.ts +++ b/src/qt/locale/nyc3_sq.ts @@ -192,7 +192,7 @@ BanTableModel - BitcoinGUI + NYC3GUI Synchronizing with network... Duke u sinkronizuar me rrjetin... diff --git a/src/qt/locale/nyc3_sr.ts b/src/qt/locale/nyc3_sr.ts index dee69c904..9b77e4dda 100644 --- a/src/qt/locale/nyc3_sr.ts +++ b/src/qt/locale/nyc3_sr.ts @@ -236,7 +236,7 @@ - BitcoinGUI + NYC3GUI Sign &message... Потпиши &поруку... diff --git a/src/qt/locale/nyc3_sr@latin.ts b/src/qt/locale/nyc3_sr@latin.ts index 9ca972347..2423b67f1 100644 --- a/src/qt/locale/nyc3_sr@latin.ts +++ b/src/qt/locale/nyc3_sr@latin.ts @@ -228,7 +228,7 @@ - BitcoinGUI + NYC3GUI Sign &message... Potpišite &poruka... diff --git a/src/qt/locale/nyc3_sv.ts b/src/qt/locale/nyc3_sv.ts index 588074b67..f02c5b850 100644 --- a/src/qt/locale/nyc3_sv.ts +++ b/src/qt/locale/nyc3_sv.ts @@ -241,7 +241,7 @@ Var vänlig och försök igen. - BitcoinGUI + NYC3GUI Sign &message... Signera &meddelande... @@ -3107,7 +3107,7 @@ Notera: Då avgiften beräknas per byte kommer en avgift på 50 satoshi tas ut f WalletModel Send Coins - Skicka Bitcoins + Skicka NYC3s Fee bump error diff --git a/src/qt/locale/nyc3_szl.ts b/src/qt/locale/nyc3_szl.ts index 74d3dcfc3..2851c532f 100644 --- a/src/qt/locale/nyc3_szl.ts +++ b/src/qt/locale/nyc3_szl.ts @@ -236,7 +236,7 @@ - BitcoinGUI + NYC3GUI Sign &message... Szkryftnij &wiadōmość diff --git a/src/qt/locale/nyc3_ta.ts b/src/qt/locale/nyc3_ta.ts index 6c7249827..78a27e5aa 100644 --- a/src/qt/locale/nyc3_ta.ts +++ b/src/qt/locale/nyc3_ta.ts @@ -228,7 +228,7 @@ - BitcoinGUI + NYC3GUI Sign &message... கையொப்பம் & செய்தி ... diff --git a/src/qt/locale/nyc3_th_TH.ts b/src/qt/locale/nyc3_th_TH.ts index 830b407bb..7141aefaa 100644 --- a/src/qt/locale/nyc3_th_TH.ts +++ b/src/qt/locale/nyc3_th_TH.ts @@ -88,7 +88,7 @@ - BitcoinGUI + NYC3GUI Sign &message... เซ็นต์ชื่อด้วย &ข้อความ... diff --git a/src/qt/locale/nyc3_tr.ts b/src/qt/locale/nyc3_tr.ts index 21cf75751..3ed67fb97 100644 --- a/src/qt/locale/nyc3_tr.ts +++ b/src/qt/locale/nyc3_tr.ts @@ -236,7 +236,7 @@ - BitcoinGUI + NYC3GUI Sign &message... &İleti imzala... @@ -2974,7 +2974,7 @@ WalletModel Send Coins - Bitcoini Gönder + NYC3i Gönder Increasing transaction fee failed diff --git a/src/qt/locale/nyc3_tr_TR.ts b/src/qt/locale/nyc3_tr_TR.ts index 9238b812a..441f3a8cd 100644 --- a/src/qt/locale/nyc3_tr_TR.ts +++ b/src/qt/locale/nyc3_tr_TR.ts @@ -216,7 +216,7 @@ BanTableModel - BitcoinGUI + NYC3GUI Sign &message... İmza &mesaj diff --git a/src/qt/locale/nyc3_uk.ts b/src/qt/locale/nyc3_uk.ts index 7bfc2093e..6e9b2b618 100644 --- a/src/qt/locale/nyc3_uk.ts +++ b/src/qt/locale/nyc3_uk.ts @@ -240,7 +240,7 @@ - BitcoinGUI + NYC3GUI Sign &message... &Підписати повідомлення... diff --git a/src/qt/locale/nyc3_ur_PK.ts b/src/qt/locale/nyc3_ur_PK.ts index 3c5733432..69187641f 100644 --- a/src/qt/locale/nyc3_ur_PK.ts +++ b/src/qt/locale/nyc3_ur_PK.ts @@ -116,7 +116,7 @@ BanTableModel - BitcoinGUI + NYC3GUI Error نقص diff --git a/src/qt/locale/nyc3_uz@Cyrl.ts b/src/qt/locale/nyc3_uz@Cyrl.ts index c21436f21..d094ebea2 100644 --- a/src/qt/locale/nyc3_uz@Cyrl.ts +++ b/src/qt/locale/nyc3_uz@Cyrl.ts @@ -72,7 +72,7 @@ BanTableModel - BitcoinGUI + NYC3GUI Sign &message... &Хабар ёзиш... diff --git a/src/qt/locale/nyc3_vi.ts b/src/qt/locale/nyc3_vi.ts index e9c1cde14..21dc38d32 100644 --- a/src/qt/locale/nyc3_vi.ts +++ b/src/qt/locale/nyc3_vi.ts @@ -236,7 +236,7 @@ - BitcoinGUI + NYC3GUI Sign &message... Chữ ký &lời nhắn... diff --git a/src/qt/locale/nyc3_vi_VN.ts b/src/qt/locale/nyc3_vi_VN.ts index 3262ca2bc..feb10bd61 100644 --- a/src/qt/locale/nyc3_vi_VN.ts +++ b/src/qt/locale/nyc3_vi_VN.ts @@ -225,7 +225,7 @@ Ví của bạn chưa được mã hóa. - BitcoinGUI + NYC3GUI Sign &message... Chứ ký & Tin nhắn... diff --git a/src/qt/locale/nyc3_zh.ts b/src/qt/locale/nyc3_zh.ts index ccf8ff70b..0787ccc18 100644 --- a/src/qt/locale/nyc3_zh.ts +++ b/src/qt/locale/nyc3_zh.ts @@ -200,7 +200,7 @@ - BitcoinGUI + NYC3GUI Sign &message... 签名 &消息... @@ -387,7 +387,7 @@ Show the %1 help message to get a list with possible NYC3 command-line options - 显示%1帮助消息以获得可能包含Bitcoin命令行选项的列表 + 显示%1帮助消息以获得可能包含NYC3命令行选项的列表 &Window diff --git a/src/qt/locale/nyc3_zh_CN.ts b/src/qt/locale/nyc3_zh_CN.ts index f6994e50c..6ea1cdfd3 100644 --- a/src/qt/locale/nyc3_zh_CN.ts +++ b/src/qt/locale/nyc3_zh_CN.ts @@ -240,7 +240,7 @@ - BitcoinGUI + NYC3GUI Sign &message... 消息签名(&M)... diff --git a/src/qt/locale/nyc3_zh_HK.ts b/src/qt/locale/nyc3_zh_HK.ts index fc6683009..b5b9467ea 100644 --- a/src/qt/locale/nyc3_zh_HK.ts +++ b/src/qt/locale/nyc3_zh_HK.ts @@ -228,7 +228,7 @@ - BitcoinGUI + NYC3GUI Sign &message... 簽署訊息... &m diff --git a/src/qt/locale/nyc3_zh_TW.ts b/src/qt/locale/nyc3_zh_TW.ts index 3009a9e41..e62776d42 100644 --- a/src/qt/locale/nyc3_zh_TW.ts +++ b/src/qt/locale/nyc3_zh_TW.ts @@ -240,7 +240,7 @@ - BitcoinGUI + NYC3GUI Sign &message... 簽署訊息(&M)... diff --git a/src/qt/macdockiconhandler.h b/src/qt/macdockiconhandler.h index ff867e21a..45859966a 100644 --- a/src/qt/macdockiconhandler.h +++ b/src/qt/macdockiconhandler.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/macdockiconhandler.mm b/src/qt/macdockiconhandler.mm index 102adce6c..1e8ca3cfc 100644 --- a/src/qt/macdockiconhandler.mm +++ b/src/qt/macdockiconhandler.mm @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/macnotificationhandler.h b/src/qt/macnotificationhandler.h index 03c744c12..a9c69fdfa 100644 --- a/src/qt/macnotificationhandler.h +++ b/src/qt/macnotificationhandler.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/macnotificationhandler.mm b/src/qt/macnotificationhandler.mm index a07079eec..ad5f912e1 100644 --- a/src/qt/macnotificationhandler.mm +++ b/src/qt/macnotificationhandler.mm @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2013 The Bitcoin Core developers +// Copyright (c) 2011-2013 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -13,7 +13,7 @@ - (NSString *)__bundleIdentifier { if (self == [NSBundle mainBundle]) { - return @"org.bitcoinfoundation.Bitcoin-Qt"; + return @"org.bitcoinfoundation.NYC3-Qt"; } else { return [self __bundleIdentifier]; } diff --git a/src/qt/macos_appnap.h b/src/qt/macos_appnap.h index 8c2cd840b..ec9096b3b 100644 --- a/src/qt/macos_appnap.h +++ b/src/qt/macos_appnap.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/macos_appnap.mm b/src/qt/macos_appnap.mm index 22a88782a..bb856e512 100644 --- a/src/qt/macos_appnap.mm +++ b/src/qt/macos_appnap.mm @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/main.cpp b/src/qt/main.cpp index f0fa1bc46..f421b5c10 100644 --- a/src/qt/main.cpp +++ b/src/qt/main.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2018 The Bitcoin Core developers +// Copyright (c) 2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/modaloverlay.cpp b/src/qt/modaloverlay.cpp index 8ecc33da8..aa264d7df 100644 --- a/src/qt/modaloverlay.cpp +++ b/src/qt/modaloverlay.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2016-2018 The Bitcoin Core developers +// Copyright (c) 2016-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/modaloverlay.h b/src/qt/modaloverlay.h index cf8b53f2b..ed5797b4d 100644 --- a/src/qt/modaloverlay.h +++ b/src/qt/modaloverlay.h @@ -1,4 +1,4 @@ -// Copyright (c) 2016-2018 The Bitcoin Core developers +// Copyright (c) 2016-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/networkstyle.cpp b/src/qt/networkstyle.cpp index cff18b9e4..5447ff114 100644 --- a/src/qt/networkstyle.cpp +++ b/src/qt/networkstyle.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2018 The Bitcoin Core developers +// Copyright (c) 2014-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/networkstyle.h b/src/qt/networkstyle.h index b78a9f594..4eee9ee99 100644 --- a/src/qt/networkstyle.h +++ b/src/qt/networkstyle.h @@ -1,4 +1,4 @@ -// Copyright (c) 2014 The Bitcoin Core developers +// Copyright (c) 2014 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/notificator.cpp b/src/qt/notificator.cpp index 4b91c1976..5966129f3 100644 --- a/src/qt/notificator.cpp +++ b/src/qt/notificator.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/notificator.h b/src/qt/notificator.h index 7d80b43e4..37c904fb9 100644 --- a/src/qt/notificator.h +++ b/src/qt/notificator.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/nyc3.cpp b/src/qt/nyc3.cpp index ad76f8bba..b97c1a8ba 100644 --- a/src/qt/nyc3.cpp +++ b/src/qt/nyc3.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2019 The Bitcoin Core developers +// Copyright (c) 2011-2019 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -133,18 +133,18 @@ void DebugMessageHandler(QtMsgType type, const QMessageLogContext& context, cons } } -BitcoinCore::BitcoinCore(interfaces::Node& node) : +NYC3Core::NYC3Core(interfaces::Node& node) : QObject(), m_node(node) { } -void BitcoinCore::handleRunawayException(const std::exception *e) +void NYC3Core::handleRunawayException(const std::exception *e) { PrintExceptionContinue(e, "Runaway exception"); Q_EMIT runawayException(QString::fromStdString(m_node.getWarnings("gui"))); } -void BitcoinCore::initialize() +void NYC3Core::initialize() { try { @@ -158,7 +158,7 @@ void BitcoinCore::initialize() } } -void BitcoinCore::shutdown() +void NYC3Core::shutdown() { try { @@ -173,7 +173,7 @@ void BitcoinCore::shutdown() } } -BitcoinApplication::BitcoinApplication(interfaces::Node& node, int &argc, char **argv): +NYC3Application::NYC3Application(interfaces::Node& node, int &argc, char **argv): QApplication(argc, argv), coreThread(nullptr), m_node(node), @@ -187,20 +187,20 @@ BitcoinApplication::BitcoinApplication(interfaces::Node& node, int &argc, char * setQuitOnLastWindowClosed(false); } -void BitcoinApplication::setupPlatformStyle() +void NYC3Application::setupPlatformStyle() { // UI per-platform customization - // This must be done inside the BitcoinApplication constructor, or after it, because + // This must be done inside the NYC3Application constructor, or after it, because // PlatformStyle::instantiate requires a QApplication std::string platformName; - platformName = gArgs.GetArg("-uiplatform", BitcoinGUI::DEFAULT_UIPLATFORM); + platformName = gArgs.GetArg("-uiplatform", NYC3GUI::DEFAULT_UIPLATFORM); platformStyle = PlatformStyle::instantiate(QString::fromStdString(platformName)); if (!platformStyle) // Fall back to "other" if specified name not found platformStyle = PlatformStyle::instantiate("other"); assert(platformStyle); } -BitcoinApplication::~BitcoinApplication() +NYC3Application::~NYC3Application() { if(coreThread) { @@ -225,61 +225,61 @@ BitcoinApplication::~BitcoinApplication() } #ifdef ENABLE_WALLET -void BitcoinApplication::createPaymentServer() +void NYC3Application::createPaymentServer() { paymentServer = new PaymentServer(this); } #endif -void BitcoinApplication::createOptionsModel(bool resetSettings) +void NYC3Application::createOptionsModel(bool resetSettings) { optionsModel = new OptionsModel(m_node, nullptr, resetSettings); } -void BitcoinApplication::createWindow(const NetworkStyle *networkStyle) +void NYC3Application::createWindow(const NetworkStyle *networkStyle) { - window = new BitcoinGUI(m_node, platformStyle, networkStyle, nullptr); + window = new NYC3GUI(m_node, platformStyle, networkStyle, nullptr); pollShutdownTimer = new QTimer(window); - connect(pollShutdownTimer, &QTimer::timeout, window, &BitcoinGUI::detectShutdown); + connect(pollShutdownTimer, &QTimer::timeout, window, &NYC3GUI::detectShutdown); } -void BitcoinApplication::createSplashScreen(const NetworkStyle *networkStyle) +void NYC3Application::createSplashScreen(const NetworkStyle *networkStyle) { SplashScreen *splash = new SplashScreen(m_node, nullptr, networkStyle); // We don't hold a direct pointer to the splash screen after creation, but the splash // screen will take care of deleting itself when finish() happens. splash->show(); - connect(this, &BitcoinApplication::splashFinished, splash, &SplashScreen::finish); - connect(this, &BitcoinApplication::requestedShutdown, splash, &QWidget::close); + connect(this, &NYC3Application::splashFinished, splash, &SplashScreen::finish); + connect(this, &NYC3Application::requestedShutdown, splash, &QWidget::close); } -bool BitcoinApplication::baseInitialize() +bool NYC3Application::baseInitialize() { return m_node.baseInitialize(); } -void BitcoinApplication::startThread() +void NYC3Application::startThread() { if(coreThread) return; coreThread = new QThread(this); - BitcoinCore *executor = new BitcoinCore(m_node); + NYC3Core *executor = new NYC3Core(m_node); executor->moveToThread(coreThread); /* communication to and from thread */ - connect(executor, &BitcoinCore::initializeResult, this, &BitcoinApplication::initializeResult); - connect(executor, &BitcoinCore::shutdownResult, this, &BitcoinApplication::shutdownResult); - connect(executor, &BitcoinCore::runawayException, this, &BitcoinApplication::handleRunawayException); - connect(this, &BitcoinApplication::requestedInitialize, executor, &BitcoinCore::initialize); - connect(this, &BitcoinApplication::requestedShutdown, executor, &BitcoinCore::shutdown); + connect(executor, &NYC3Core::initializeResult, this, &NYC3Application::initializeResult); + connect(executor, &NYC3Core::shutdownResult, this, &NYC3Application::shutdownResult); + connect(executor, &NYC3Core::runawayException, this, &NYC3Application::handleRunawayException); + connect(this, &NYC3Application::requestedInitialize, executor, &NYC3Core::initialize); + connect(this, &NYC3Application::requestedShutdown, executor, &NYC3Core::shutdown); /* make sure executor object is deleted in its own thread */ connect(coreThread, &QThread::finished, executor, &QObject::deleteLater); coreThread->start(); } -void BitcoinApplication::parameterSetup() +void NYC3Application::parameterSetup() { // Default printtoconsole to false for the GUI. GUI programs should not // print to the console unnecessarily. @@ -289,14 +289,14 @@ void BitcoinApplication::parameterSetup() m_node.initParameterInteraction(); } -void BitcoinApplication::requestInitialize() +void NYC3Application::requestInitialize() { qDebug() << __func__ << ": Requesting initialize"; startThread(); Q_EMIT requestedInitialize(); } -void BitcoinApplication::requestShutdown() +void NYC3Application::requestShutdown() { // Show a simple window indicating shutdown status // Do this first as some of the steps may take some time below, @@ -324,7 +324,7 @@ void BitcoinApplication::requestShutdown() Q_EMIT requestedShutdown(); } -void BitcoinApplication::initializeResult(bool success) +void NYC3Application::initializeResult(bool success) { qDebug() << __func__ << ": Initialization result: " << success; // Set exit result. @@ -367,8 +367,8 @@ void BitcoinApplication::initializeResult(bool success) // Now that initialization/startup is done, process any command-line // bitcoin: URIs or payment requests: if (paymentServer) { - connect(paymentServer, &PaymentServer::receivedPaymentRequest, window, &BitcoinGUI::handlePaymentRequest); - connect(window, &BitcoinGUI::receivedURI, paymentServer, &PaymentServer::handleURIOrFile); + connect(paymentServer, &PaymentServer::receivedPaymentRequest, window, &NYC3GUI::handlePaymentRequest); + connect(window, &NYC3GUI::receivedURI, paymentServer, &PaymentServer::handleURIOrFile); connect(paymentServer, &PaymentServer::message, [this](const QString& title, const QString& message, unsigned int style) { window->message(title, message, style); }); @@ -382,18 +382,18 @@ void BitcoinApplication::initializeResult(bool success) } } -void BitcoinApplication::shutdownResult() +void NYC3Application::shutdownResult() { quit(); // Exit second main loop invocation after shutdown finished } -void BitcoinApplication::handleRunawayException(const QString &message) +void NYC3Application::handleRunawayException(const QString &message) { - QMessageBox::critical(nullptr, "Runaway exception", BitcoinGUI::tr("A fatal error occurred. Bitcoin can no longer continue safely and will quit.") + QString("\n\n") + message); + QMessageBox::critical(nullptr, "Runaway exception", NYC3GUI::tr("A fatal error occurred. NYC3 can no longer continue safely and will quit.") + QString("\n\n") + message); ::exit(EXIT_FAILURE); } -WId BitcoinApplication::getMainWinId() const +WId NYC3Application::getMainWinId() const { if (!window) return 0; @@ -412,7 +412,7 @@ static void SetupUIArgs() gArgs.AddArg("-resetguisettings", "Reset all settings changed in the GUI", false, OptionsCategory::GUI); gArgs.AddArg("-rootcertificates=", "Set SSL root certificates for payment request (default: -system-)", false, OptionsCategory::GUI); gArgs.AddArg("-splash", strprintf("Show splash screen on startup (default: %u)", DEFAULT_SPLASHSCREEN), false, OptionsCategory::GUI); - gArgs.AddArg("-uiplatform", strprintf("Select platform to customize UI for (one of windows, macosx, other; default: %s)", BitcoinGUI::DEFAULT_UIPLATFORM), true, OptionsCategory::GUI); + gArgs.AddArg("-uiplatform", strprintf("Select platform to customize UI for (one of windows, macosx, other; default: %s)", NYC3GUI::DEFAULT_UIPLATFORM), true, OptionsCategory::GUI); } #ifndef BITCOIN_QT_TEST @@ -437,7 +437,7 @@ int GuiMain(int argc, char* argv[]) Q_INIT_RESOURCE(nyc3); Q_INIT_RESOURCE(nyc3_locale); - BitcoinApplication app(*node, argc, argv); + NYC3Application app(*node, argc, argv); // Generate high-dpi pixmaps QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps); #if QT_VERSION >= 0x050600 diff --git a/src/qt/nyc3.h b/src/qt/nyc3.h index 9fc9fd75c..5e0731d81 100644 --- a/src/qt/nyc3.h +++ b/src/qt/nyc3.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2016 The Bitcoin Core developers +// Copyright (c) 2011-2016 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -13,7 +13,7 @@ #include #include -class BitcoinGUI; +class NYC3GUI; class ClientModel; class NetworkStyle; class OptionsModel; @@ -30,11 +30,11 @@ class Node; /** Class encapsulating NYC3 startup and shutdown. * Allows running startup and shutdown in a different thread from the UI thread. */ -class BitcoinCore: public QObject +class NYC3Core: public QObject { Q_OBJECT public: - explicit BitcoinCore(interfaces::Node& node); + explicit NYC3Core(interfaces::Node& node); public Q_SLOTS: void initialize(); @@ -52,13 +52,13 @@ private: interfaces::Node& m_node; }; -/** Main Bitcoin application object */ -class BitcoinApplication: public QApplication +/** Main NYC3 application object */ +class NYC3Application: public QApplication { Q_OBJECT public: - explicit BitcoinApplication(interfaces::Node& node, int &argc, char **argv); - ~BitcoinApplication(); + explicit NYC3Application(interfaces::Node& node, int &argc, char **argv); + ~NYC3Application(); #ifdef ENABLE_WALLET /// Create payment server @@ -83,7 +83,7 @@ public: /// Get process return value int getReturnValue() const { return returnValue; } - /// Get window identifier of QMainWindow (BitcoinGUI) + /// Get window identifier of QMainWindow (NYC3GUI) WId getMainWinId() const; /// Setup platform style @@ -99,14 +99,14 @@ Q_SIGNALS: void requestedInitialize(); void requestedShutdown(); void splashFinished(); - void windowShown(BitcoinGUI* window); + void windowShown(NYC3GUI* window); private: QThread *coreThread; interfaces::Node& m_node; OptionsModel *optionsModel; ClientModel *clientModel; - BitcoinGUI *window; + NYC3GUI *window; QTimer *pollShutdownTimer; #ifdef ENABLE_WALLET PaymentServer* paymentServer{nullptr}; diff --git a/src/qt/nyc3addressvalidator.cpp b/src/qt/nyc3addressvalidator.cpp index 3ae6414d6..b7fc83134 100644 --- a/src/qt/nyc3addressvalidator.cpp +++ b/src/qt/nyc3addressvalidator.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -15,12 +15,12 @@ - All lower-case letters except for 'l' */ -BitcoinAddressEntryValidator::BitcoinAddressEntryValidator(QObject *parent) : +NYC3AddressEntryValidator::NYC3AddressEntryValidator(QObject *parent) : QValidator(parent) { } -QValidator::State BitcoinAddressEntryValidator::validate(QString &input, int &pos) const +QValidator::State NYC3AddressEntryValidator::validate(QString &input, int &pos) const { Q_UNUSED(pos); @@ -80,12 +80,12 @@ QValidator::State BitcoinAddressEntryValidator::validate(QString &input, int &po return state; } -BitcoinAddressCheckValidator::BitcoinAddressCheckValidator(QObject *parent) : +NYC3AddressCheckValidator::NYC3AddressCheckValidator(QObject *parent) : QValidator(parent) { } -QValidator::State BitcoinAddressCheckValidator::validate(QString &input, int &pos) const +QValidator::State NYC3AddressCheckValidator::validate(QString &input, int &pos) const { Q_UNUSED(pos); // Validate the passed NYC3 address diff --git a/src/qt/nyc3addressvalidator.h b/src/qt/nyc3addressvalidator.h index 78f1b3c0d..1e27b51e2 100644 --- a/src/qt/nyc3addressvalidator.h +++ b/src/qt/nyc3addressvalidator.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2014 The Bitcoin Core developers +// Copyright (c) 2011-2014 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -10,24 +10,24 @@ /** Base58 entry widget validator, checks for valid characters and * removes some whitespace. */ -class BitcoinAddressEntryValidator : public QValidator +class NYC3AddressEntryValidator : public QValidator { Q_OBJECT public: - explicit BitcoinAddressEntryValidator(QObject *parent); + explicit NYC3AddressEntryValidator(QObject *parent); State validate(QString &input, int &pos) const; }; /** NYC3 address widget validator, checks for a valid bitcoin address. */ -class BitcoinAddressCheckValidator : public QValidator +class NYC3AddressCheckValidator : public QValidator { Q_OBJECT public: - explicit BitcoinAddressCheckValidator(QObject *parent); + explicit NYC3AddressCheckValidator(QObject *parent); State validate(QString &input, int &pos) const; }; diff --git a/src/qt/nyc3amountfield.cpp b/src/qt/nyc3amountfield.cpp index ef32d5216..f37532d47 100644 --- a/src/qt/nyc3amountfield.cpp +++ b/src/qt/nyc3amountfield.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -55,7 +55,7 @@ public: if (valid) { val = qBound(m_min_amount, val, m_max_amount); - input = BitcoinUnits::format(currentUnit, val, false, BitcoinUnits::separatorAlways); + input = NYC3Units::format(currentUnit, val, false, NYC3Units::separatorAlways); lineEdit()->setText(input); } } @@ -67,7 +67,7 @@ public: void setValue(const CAmount& value) { - lineEdit()->setText(BitcoinUnits::format(currentUnit, value, false, BitcoinUnits::separatorAlways)); + lineEdit()->setText(NYC3Units::format(currentUnit, value, false, NYC3Units::separatorAlways)); Q_EMIT valueChanged(); } @@ -121,7 +121,7 @@ public: const QFontMetrics fm(fontMetrics()); int h = lineEdit()->minimumSizeHint().height(); - int w = fm.width(BitcoinUnits::format(BitcoinUnits::NYC3, BitcoinUnits::maxMoney(), false, BitcoinUnits::separatorAlways)); + int w = fm.width(NYC3Units::format(NYC3Units::NYC3, NYC3Units::maxMoney(), false, NYC3Units::separatorAlways)); w += 2; // cursor blinking space QStyleOptionSpinBox opt; @@ -147,12 +147,12 @@ public: } private: - int currentUnit{BitcoinUnits::NYC3}; + int currentUnit{NYC3Units::NYC3}; CAmount singleStep{CAmount(100000)}; // satoshis mutable QSize cachedMinimumSizeHint; bool m_allow_empty{true}; CAmount m_min_amount{CAmount(0)}; - CAmount m_max_amount{BitcoinUnits::maxMoney()}; + CAmount m_max_amount{NYC3Units::maxMoney()}; /** * Parse a string into a number of base monetary units and @@ -162,10 +162,10 @@ private: CAmount parse(const QString &text, bool *valid_out=nullptr) const { CAmount val = 0; - bool valid = BitcoinUnits::parse(currentUnit, text, &val); + bool valid = NYC3Units::parse(currentUnit, text, &val); if(valid) { - if(val < 0 || val > BitcoinUnits::maxMoney()) + if(val < 0 || val > NYC3Units::maxMoney()) valid = false; } if(valid_out) @@ -226,7 +226,7 @@ nyc3amountfield::nyc3amountfield(QWidget *parent) : QHBoxLayout *layout = new QHBoxLayout(this); layout->addWidget(amount); unit = new QValueComboBox(this); - unit->setModel(new BitcoinUnits(this)); + unit->setModel(new NYC3Units(this)); layout->addWidget(unit); layout->addStretch(1); layout->setContentsMargins(0,0,0,0); @@ -325,7 +325,7 @@ void nyc3amountfield::unitChanged(int idx) unit->setToolTip(unit->itemData(idx, Qt::ToolTipRole).toString()); // Determine new unit ID - int newUnit = unit->itemData(idx, BitcoinUnits::UnitRole).toInt(); + int newUnit = unit->itemData(idx, NYC3Units::UnitRole).toInt(); amount->setDisplayUnit(newUnit); } diff --git a/src/qt/nyc3amountfield.h b/src/qt/nyc3amountfield.h index ef7cf879e..d00bc7902 100644 --- a/src/qt/nyc3amountfield.h +++ b/src/qt/nyc3amountfield.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/nyc3gui.cpp b/src/qt/nyc3gui.cpp index 7fa9afb53..4e1f463b5 100644 --- a/src/qt/nyc3gui.cpp +++ b/src/qt/nyc3gui.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2019 The Bitcoin Core developers +// Copyright (c) 2011-2019 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -64,7 +64,7 @@ #include -const std::string BitcoinGUI::DEFAULT_UIPLATFORM = +const std::string NYC3GUI::DEFAULT_UIPLATFORM = #if defined(Q_OS_MAC) "macosx" #elif defined(Q_OS_WIN) @@ -74,7 +74,7 @@ const std::string BitcoinGUI::DEFAULT_UIPLATFORM = #endif ; -BitcoinGUI::BitcoinGUI(interfaces::Node& node, const PlatformStyle *_platformStyle, const NetworkStyle *networkStyle, QWidget *parent) : +NYC3GUI::NYC3GUI(interfaces::Node& node, const PlatformStyle *_platformStyle, const NetworkStyle *networkStyle, QWidget *parent) : QMainWindow(parent), m_node(node), trayIconMenu{new QMenu()}, @@ -204,9 +204,9 @@ BitcoinGUI::BitcoinGUI(interfaces::Node& node, const PlatformStyle *_platformSty modalOverlay = new ModalOverlay(this->centralWidget()); #ifdef ENABLE_WALLET if(enableWallet) { - connect(walletFrame, &WalletFrame::requestedSyncWarningInfo, this, &BitcoinGUI::showModalOverlay); - connect(labelBlocksIcon, &GUIUtil::ClickableLabel::clicked, this, &BitcoinGUI::showModalOverlay); - connect(progressBar, &GUIUtil::ClickableProgressBar::clicked, this, &BitcoinGUI::showModalOverlay); + connect(walletFrame, &WalletFrame::requestedSyncWarningInfo, this, &NYC3GUI::showModalOverlay); + connect(labelBlocksIcon, &GUIUtil::ClickableLabel::clicked, this, &NYC3GUI::showModalOverlay); + connect(progressBar, &GUIUtil::ClickableProgressBar::clicked, this, &NYC3GUI::showModalOverlay); } #endif @@ -215,7 +215,7 @@ BitcoinGUI::BitcoinGUI(interfaces::Node& node, const PlatformStyle *_platformSty #endif } -BitcoinGUI::~BitcoinGUI() +NYC3GUI::~NYC3GUI() { // Unsubscribe from notifications from core unsubscribeFromCoreSignals(); @@ -233,7 +233,7 @@ BitcoinGUI::~BitcoinGUI() delete rpcConsole; } -void BitcoinGUI::createActions() +void NYC3GUI::createActions() { QActionGroup *tabGroup = new QActionGroup(this); @@ -277,17 +277,17 @@ void BitcoinGUI::createActions() // These showNormalIfMinimized are needed because Send Coins and Receive Coins // can be triggered from the tray menu, and need to show the GUI to be useful. connect(overviewAction, &QAction::triggered, [this]{ showNormalIfMinimized(); }); - connect(overviewAction, &QAction::triggered, this, &BitcoinGUI::gotoOverviewPage); + connect(overviewAction, &QAction::triggered, this, &NYC3GUI::gotoOverviewPage); connect(sendCoinsAction, &QAction::triggered, [this]{ showNormalIfMinimized(); }); connect(sendCoinsAction, &QAction::triggered, [this]{ gotoSendCoinsPage(); }); connect(sendCoinsMenuAction, &QAction::triggered, [this]{ showNormalIfMinimized(); }); connect(sendCoinsMenuAction, &QAction::triggered, [this]{ gotoSendCoinsPage(); }); connect(receiveCoinsAction, &QAction::triggered, [this]{ showNormalIfMinimized(); }); - connect(receiveCoinsAction, &QAction::triggered, this, &BitcoinGUI::gotoReceiveCoinsPage); + connect(receiveCoinsAction, &QAction::triggered, this, &NYC3GUI::gotoReceiveCoinsPage); connect(receiveCoinsMenuAction, &QAction::triggered, [this]{ showNormalIfMinimized(); }); - connect(receiveCoinsMenuAction, &QAction::triggered, this, &BitcoinGUI::gotoReceiveCoinsPage); + connect(receiveCoinsMenuAction, &QAction::triggered, this, &NYC3GUI::gotoReceiveCoinsPage); connect(historyAction, &QAction::triggered, [this]{ showNormalIfMinimized(); }); - connect(historyAction, &QAction::triggered, this, &BitcoinGUI::gotoHistoryPage); + connect(historyAction, &QAction::triggered, this, &NYC3GUI::gotoHistoryPage); #endif // ENABLE_WALLET quitAction = new QAction(platformStyle->TextColorIcon(":/icons/quit"), tr("E&xit"), this); @@ -346,12 +346,12 @@ void BitcoinGUI::createActions() showHelpMessageAction->setStatusTip(tr("Show the %1 help message to get a list with possible NYC3 command-line options").arg(tr(PACKAGE_NAME))); connect(quitAction, &QAction::triggered, qApp, QApplication::quit); - connect(aboutAction, &QAction::triggered, this, &BitcoinGUI::aboutClicked); + connect(aboutAction, &QAction::triggered, this, &NYC3GUI::aboutClicked); connect(aboutQtAction, &QAction::triggered, qApp, QApplication::aboutQt); - connect(optionsAction, &QAction::triggered, this, &BitcoinGUI::optionsClicked); - connect(toggleHideAction, &QAction::triggered, this, &BitcoinGUI::toggleHidden); - connect(showHelpMessageAction, &QAction::triggered, this, &BitcoinGUI::showHelpMessageClicked); - connect(openRPCConsoleAction, &QAction::triggered, this, &BitcoinGUI::showDebugWindow); + connect(optionsAction, &QAction::triggered, this, &NYC3GUI::optionsClicked); + connect(toggleHideAction, &QAction::triggered, this, &NYC3GUI::toggleHidden); + connect(showHelpMessageAction, &QAction::triggered, this, &NYC3GUI::showHelpMessageClicked); + connect(openRPCConsoleAction, &QAction::triggered, this, &NYC3GUI::showDebugWindow); // prevents an open debug window from becoming stuck/unusable on client shutdown connect(quitAction, &QAction::triggered, rpcConsole, &QWidget::hide); @@ -367,7 +367,7 @@ void BitcoinGUI::createActions() connect(verifyMessageAction, &QAction::triggered, [this]{ gotoVerifyMessageTab(); }); connect(usedSendingAddressesAction, &QAction::triggered, walletFrame, &WalletFrame::usedSendingAddresses); connect(usedReceivingAddressesAction, &QAction::triggered, walletFrame, &WalletFrame::usedReceivingAddresses); - connect(openAction, &QAction::triggered, this, &BitcoinGUI::openClicked); + connect(openAction, &QAction::triggered, this, &NYC3GUI::openClicked); connect(m_open_wallet_action->menu(), &QMenu::aboutToShow, [this] { m_open_wallet_action->menu()->clear(); for (std::string path : m_wallet_controller->getWalletsAvailableToOpen()) { @@ -393,7 +393,7 @@ void BitcoinGUI::createActions() connect(this, &QObject::destroyed, &box, &QDialog::accept); box.exec(); }); - connect(activity, &OpenWalletActivity::opened, this, &BitcoinGUI::setCurrentWallet); + connect(activity, &OpenWalletActivity::opened, this, &NYC3GUI::setCurrentWallet); connect(activity, &OpenWalletActivity::finished, activity, &QObject::deleteLater); connect(activity, &OpenWalletActivity::finished, dialog, &QObject::deleteLater); bool invoked = QMetaObject::invokeMethod(activity, "open"); @@ -407,11 +407,11 @@ void BitcoinGUI::createActions() } #endif // ENABLE_WALLET - connect(new QShortcut(QKeySequence(Qt::CTRL + Qt::SHIFT + Qt::Key_C), this), &QShortcut::activated, this, &BitcoinGUI::showDebugWindowActivateConsole); - connect(new QShortcut(QKeySequence(Qt::CTRL + Qt::SHIFT + Qt::Key_D), this), &QShortcut::activated, this, &BitcoinGUI::showDebugWindow); + connect(new QShortcut(QKeySequence(Qt::CTRL + Qt::SHIFT + Qt::Key_C), this), &QShortcut::activated, this, &NYC3GUI::showDebugWindowActivateConsole); + connect(new QShortcut(QKeySequence(Qt::CTRL + Qt::SHIFT + Qt::Key_D), this), &QShortcut::activated, this, &NYC3GUI::showDebugWindow); } -void BitcoinGUI::createMenuBar() +void NYC3GUI::createMenuBar() { #ifdef Q_OS_MAC // Create a decoupled menu bar on Mac which stays even if the window is closed @@ -509,7 +509,7 @@ void BitcoinGUI::createMenuBar() help->addAction(aboutQtAction); } -void BitcoinGUI::createToolBars() +void NYC3GUI::createToolBars() { if(walletFrame) { @@ -531,7 +531,7 @@ void BitcoinGUI::createToolBars() m_wallet_selector = new QComboBox(); m_wallet_selector->setSizeAdjustPolicy(QComboBox::AdjustToContents); - connect(m_wallet_selector, static_cast(&QComboBox::currentIndexChanged), this, &BitcoinGUI::setCurrentWalletBySelectorIndex); + connect(m_wallet_selector, static_cast(&QComboBox::currentIndexChanged), this, &NYC3GUI::setCurrentWalletBySelectorIndex); m_wallet_selector_label = new QLabel(); m_wallet_selector_label->setText(tr("Wallet:") + " "); @@ -546,7 +546,7 @@ void BitcoinGUI::createToolBars() } } -void BitcoinGUI::setClientModel(ClientModel *_clientModel) +void NYC3GUI::setClientModel(ClientModel *_clientModel) { this->clientModel = _clientModel; if(_clientModel) @@ -557,12 +557,12 @@ void BitcoinGUI::setClientModel(ClientModel *_clientModel) // Keep up to date with client updateNetworkState(); - connect(_clientModel, &ClientModel::numConnectionsChanged, this, &BitcoinGUI::setNumConnections); - connect(_clientModel, &ClientModel::networkActiveChanged, this, &BitcoinGUI::setNetworkActive); + connect(_clientModel, &ClientModel::numConnectionsChanged, this, &NYC3GUI::setNumConnections); + connect(_clientModel, &ClientModel::networkActiveChanged, this, &NYC3GUI::setNetworkActive); modalOverlay->setKnownBestHeight(_clientModel->getHeaderTipHeight(), QDateTime::fromTime_t(_clientModel->getHeaderTipTime())); setNumBlocks(m_node.getNumBlocks(), QDateTime::fromTime_t(m_node.getLastBlockTime()), m_node.getVerificationProgress(), false); - connect(_clientModel, &ClientModel::numBlocksChanged, this, &BitcoinGUI::setNumBlocks); + connect(_clientModel, &ClientModel::numBlocksChanged, this, &NYC3GUI::setNumBlocks); // Receive and report messages from client model connect(_clientModel, &ClientModel::message, [this](const QString &title, const QString &message, unsigned int style){ @@ -570,7 +570,7 @@ void BitcoinGUI::setClientModel(ClientModel *_clientModel) }); // Show progress dialog - connect(_clientModel, &ClientModel::showProgress, this, &BitcoinGUI::showProgress); + connect(_clientModel, &ClientModel::showProgress, this, &NYC3GUI::showProgress); rpcConsole->setClientModel(_clientModel); @@ -587,7 +587,7 @@ void BitcoinGUI::setClientModel(ClientModel *_clientModel) OptionsModel* optionsModel = _clientModel->getOptionsModel(); if (optionsModel && trayIcon) { // be aware of the tray icon disable state change reported by the OptionsModel object. - connect(optionsModel, &OptionsModel::hideTrayIconChanged, this, &BitcoinGUI::setTrayIconVisible); + connect(optionsModel, &OptionsModel::hideTrayIconChanged, this, &NYC3GUI::setTrayIconVisible); // initialize the disable state of the tray icon with the current value in the model. setTrayIconVisible(optionsModel->getHideTrayIcon()); @@ -613,22 +613,22 @@ void BitcoinGUI::setClientModel(ClientModel *_clientModel) } #ifdef ENABLE_WALLET -void BitcoinGUI::setWalletController(WalletController* wallet_controller) +void NYC3GUI::setWalletController(WalletController* wallet_controller) { assert(!m_wallet_controller); assert(wallet_controller); m_wallet_controller = wallet_controller; - connect(wallet_controller, &WalletController::walletAdded, this, &BitcoinGUI::addWallet); - connect(wallet_controller, &WalletController::walletRemoved, this, &BitcoinGUI::removeWallet); + connect(wallet_controller, &WalletController::walletAdded, this, &NYC3GUI::addWallet); + connect(wallet_controller, &WalletController::walletRemoved, this, &NYC3GUI::removeWallet); for (WalletModel* wallet_model : m_wallet_controller->getWallets()) { addWallet(wallet_model); } } -void BitcoinGUI::addWallet(WalletModel* walletModel) +void NYC3GUI::addWallet(WalletModel* walletModel) { if (!walletFrame) return; const QString display_name = walletModel->getDisplayName(); @@ -642,7 +642,7 @@ void BitcoinGUI::addWallet(WalletModel* walletModel) } } -void BitcoinGUI::removeWallet(WalletModel* walletModel) +void NYC3GUI::removeWallet(WalletModel* walletModel) { if (!walletFrame) return; int index = m_wallet_selector->findData(QVariant::fromValue(walletModel)); @@ -658,7 +658,7 @@ void BitcoinGUI::removeWallet(WalletModel* walletModel) updateWindowTitle(); } -void BitcoinGUI::setCurrentWallet(WalletModel* wallet_model) +void NYC3GUI::setCurrentWallet(WalletModel* wallet_model) { if (!walletFrame) return; walletFrame->setCurrentWallet(wallet_model); @@ -671,13 +671,13 @@ void BitcoinGUI::setCurrentWallet(WalletModel* wallet_model) updateWindowTitle(); } -void BitcoinGUI::setCurrentWalletBySelectorIndex(int index) +void NYC3GUI::setCurrentWalletBySelectorIndex(int index) { WalletModel* wallet_model = m_wallet_selector->itemData(index).value(); if (wallet_model) setCurrentWallet(wallet_model); } -void BitcoinGUI::removeAllWallets() +void NYC3GUI::removeAllWallets() { if(!walletFrame) return; @@ -686,7 +686,7 @@ void BitcoinGUI::removeAllWallets() } #endif // ENABLE_WALLET -void BitcoinGUI::setWalletActionsEnabled(bool enabled) +void NYC3GUI::setWalletActionsEnabled(bool enabled) { overviewAction->setEnabled(enabled); sendCoinsAction->setEnabled(enabled); @@ -705,7 +705,7 @@ void BitcoinGUI::setWalletActionsEnabled(bool enabled) m_close_wallet_action->setEnabled(enabled); } -void BitcoinGUI::createTrayIcon() +void NYC3GUI::createTrayIcon() { assert(QSystemTrayIcon::isSystemTrayAvailable()); @@ -718,7 +718,7 @@ void BitcoinGUI::createTrayIcon() #endif } -void BitcoinGUI::createTrayIconMenu() +void NYC3GUI::createTrayIconMenu() { #ifndef Q_OS_MAC // return if trayIcon is unset (only on non-macOSes) @@ -726,11 +726,11 @@ void BitcoinGUI::createTrayIconMenu() return; trayIcon->setContextMenu(trayIconMenu.get()); - connect(trayIcon, &QSystemTrayIcon::activated, this, &BitcoinGUI::trayIconActivated); + connect(trayIcon, &QSystemTrayIcon::activated, this, &NYC3GUI::trayIconActivated); #else // Note: On macOS, the Dock icon is used to provide the tray's functionality. MacDockIconHandler *dockIconHandler = MacDockIconHandler::instance(); - connect(dockIconHandler, &MacDockIconHandler::dockIconClicked, this, &BitcoinGUI::macosDockIconActivated); + connect(dockIconHandler, &MacDockIconHandler::dockIconClicked, this, &NYC3GUI::macosDockIconActivated); trayIconMenu->setAsDockMenu(); #endif @@ -757,7 +757,7 @@ void BitcoinGUI::createTrayIconMenu() } #ifndef Q_OS_MAC -void BitcoinGUI::trayIconActivated(QSystemTrayIcon::ActivationReason reason) +void NYC3GUI::trayIconActivated(QSystemTrayIcon::ActivationReason reason) { if(reason == QSystemTrayIcon::Trigger) { @@ -766,19 +766,19 @@ void BitcoinGUI::trayIconActivated(QSystemTrayIcon::ActivationReason reason) } } #else -void BitcoinGUI::macosDockIconActivated() +void NYC3GUI::macosDockIconActivated() { show(); activateWindow(); } #endif -void BitcoinGUI::optionsClicked() +void NYC3GUI::optionsClicked() { openOptionsDialogWithTab(OptionsDialog::TAB_MAIN); } -void BitcoinGUI::aboutClicked() +void NYC3GUI::aboutClicked() { if(!clientModel) return; @@ -787,25 +787,25 @@ void BitcoinGUI::aboutClicked() dlg.exec(); } -void BitcoinGUI::showDebugWindow() +void NYC3GUI::showDebugWindow() { GUIUtil::bringToFront(rpcConsole); Q_EMIT consoleShown(rpcConsole); } -void BitcoinGUI::showDebugWindowActivateConsole() +void NYC3GUI::showDebugWindowActivateConsole() { rpcConsole->setTabFocus(RPCConsole::TAB_CONSOLE); showDebugWindow(); } -void BitcoinGUI::showHelpMessageClicked() +void NYC3GUI::showHelpMessageClicked() { helpMessageDialog->show(); } #ifdef ENABLE_WALLET -void BitcoinGUI::openClicked() +void NYC3GUI::openClicked() { OpenURIDialog dlg(this); if(dlg.exec()) @@ -814,42 +814,42 @@ void BitcoinGUI::openClicked() } } -void BitcoinGUI::gotoOverviewPage() +void NYC3GUI::gotoOverviewPage() { overviewAction->setChecked(true); if (walletFrame) walletFrame->gotoOverviewPage(); } -void BitcoinGUI::gotoHistoryPage() +void NYC3GUI::gotoHistoryPage() { historyAction->setChecked(true); if (walletFrame) walletFrame->gotoHistoryPage(); } -void BitcoinGUI::gotoReceiveCoinsPage() +void NYC3GUI::gotoReceiveCoinsPage() { receiveCoinsAction->setChecked(true); if (walletFrame) walletFrame->gotoReceiveCoinsPage(); } -void BitcoinGUI::gotoSendCoinsPage(QString addr) +void NYC3GUI::gotoSendCoinsPage(QString addr) { sendCoinsAction->setChecked(true); if (walletFrame) walletFrame->gotoSendCoinsPage(addr); } -void BitcoinGUI::gotoSignMessageTab(QString addr) +void NYC3GUI::gotoSignMessageTab(QString addr) { if (walletFrame) walletFrame->gotoSignMessageTab(addr); } -void BitcoinGUI::gotoVerifyMessageTab(QString addr) +void NYC3GUI::gotoVerifyMessageTab(QString addr) { if (walletFrame) walletFrame->gotoVerifyMessageTab(addr); } #endif // ENABLE_WALLET -void BitcoinGUI::updateNetworkState() +void NYC3GUI::updateNetworkState() { int count = clientModel->getNumConnections(); QString icon; @@ -878,17 +878,17 @@ void BitcoinGUI::updateNetworkState() connectionsControl->setPixmap(platformStyle->SingleColorIcon(icon).pixmap(STATUSBAR_ICONSIZE,STATUSBAR_ICONSIZE)); } -void BitcoinGUI::setNumConnections(int count) +void NYC3GUI::setNumConnections(int count) { updateNetworkState(); } -void BitcoinGUI::setNetworkActive(bool networkActive) +void NYC3GUI::setNetworkActive(bool networkActive) { updateNetworkState(); } -void BitcoinGUI::updateHeadersSyncProgressLabel() +void NYC3GUI::updateHeadersSyncProgressLabel() { int64_t headersTipTime = clientModel->getHeaderTipTime(); int headersTipHeight = clientModel->getHeaderTipHeight(); @@ -897,7 +897,7 @@ void BitcoinGUI::updateHeadersSyncProgressLabel() progressBarLabel->setText(tr("Syncing Headers (%1%)...").arg(QString::number(100.0 / (headersTipHeight+estHeadersLeft)*headersTipHeight, 'f', 1))); } -void BitcoinGUI::openOptionsDialogWithTab(OptionsDialog::Tab tab) +void NYC3GUI::openOptionsDialogWithTab(OptionsDialog::Tab tab) { if (!clientModel || !clientModel->getOptionsModel()) return; @@ -908,7 +908,7 @@ void BitcoinGUI::openOptionsDialogWithTab(OptionsDialog::Tab tab) dlg.exec(); } -void BitcoinGUI::setNumBlocks(int count, const QDateTime& blockDate, double nVerificationProgress, bool header) +void NYC3GUI::setNumBlocks(int count, const QDateTime& blockDate, double nVerificationProgress, bool header) { // Disabling macOS App Nap on initial sync, disk and reindex operations. #ifdef Q_OS_MAC @@ -1022,9 +1022,9 @@ void BitcoinGUI::setNumBlocks(int count, const QDateTime& blockDate, double nVer progressBar->setToolTip(tooltip); } -void BitcoinGUI::message(const QString &title, const QString &message, unsigned int style, bool *ret) +void NYC3GUI::message(const QString &title, const QString &message, unsigned int style, bool *ret) { - QString strTitle = tr("Bitcoin"); // default title + QString strTitle = tr("NYC3"); // default title // Default to information icon int nMBoxIcon = QMessageBox::Information; int nNotifyIcon = Notificator::Information; @@ -1082,7 +1082,7 @@ void BitcoinGUI::message(const QString &title, const QString &message, unsigned notificator->notify(static_cast(nNotifyIcon), strTitle, message); } -void BitcoinGUI::changeEvent(QEvent *e) +void NYC3GUI::changeEvent(QEvent *e) { QMainWindow::changeEvent(e); #ifndef Q_OS_MAC // Ignored on Mac @@ -1093,12 +1093,12 @@ void BitcoinGUI::changeEvent(QEvent *e) QWindowStateChangeEvent *wsevt = static_cast(e); if(!(wsevt->oldState() & Qt::WindowMinimized) && isMinimized()) { - QTimer::singleShot(0, this, &BitcoinGUI::hide); + QTimer::singleShot(0, this, &NYC3GUI::hide); e->ignore(); } else if((wsevt->oldState() & Qt::WindowMinimized) && !isMinimized()) { - QTimer::singleShot(0, this, &BitcoinGUI::show); + QTimer::singleShot(0, this, &NYC3GUI::show); e->ignore(); } } @@ -1106,7 +1106,7 @@ void BitcoinGUI::changeEvent(QEvent *e) #endif } -void BitcoinGUI::closeEvent(QCloseEvent *event) +void NYC3GUI::closeEvent(QCloseEvent *event) { #ifndef Q_OS_MAC // Ignored on Mac if(clientModel && clientModel->getOptionsModel()) @@ -1129,7 +1129,7 @@ void BitcoinGUI::closeEvent(QCloseEvent *event) #endif } -void BitcoinGUI::showEvent(QShowEvent *event) +void NYC3GUI::showEvent(QShowEvent *event) { // enable the debug window when the main window shows up openRPCConsoleAction->setEnabled(true); @@ -1138,11 +1138,11 @@ void BitcoinGUI::showEvent(QShowEvent *event) } #ifdef ENABLE_WALLET -void BitcoinGUI::incomingTransaction(const QString& date, int unit, const CAmount& amount, const QString& type, const QString& address, const QString& label, const QString& walletName) +void NYC3GUI::incomingTransaction(const QString& date, int unit, const CAmount& amount, const QString& type, const QString& address, const QString& label, const QString& walletName) { // On new transaction, make an info balloon QString msg = tr("Date: %1\n").arg(date) + - tr("Amount: %1\n").arg(BitcoinUnits::formatWithUnit(unit, amount, true)); + tr("Amount: %1\n").arg(NYC3Units::formatWithUnit(unit, amount, true)); if (m_node.getWallets().size() > 1 && !walletName.isEmpty()) { msg += tr("Wallet: %1\n").arg(walletName); } @@ -1156,14 +1156,14 @@ void BitcoinGUI::incomingTransaction(const QString& date, int unit, const CAmoun } #endif // ENABLE_WALLET -void BitcoinGUI::dragEnterEvent(QDragEnterEvent *event) +void NYC3GUI::dragEnterEvent(QDragEnterEvent *event) { // Accept only URIs if(event->mimeData()->hasUrls()) event->acceptProposedAction(); } -void BitcoinGUI::dropEvent(QDropEvent *event) +void NYC3GUI::dropEvent(QDropEvent *event) { if(event->mimeData()->hasUrls()) { @@ -1175,7 +1175,7 @@ void BitcoinGUI::dropEvent(QDropEvent *event) event->acceptProposedAction(); } -bool BitcoinGUI::eventFilter(QObject *object, QEvent *event) +bool NYC3GUI::eventFilter(QObject *object, QEvent *event) { // Catch status tip events if (event->type() == QEvent::StatusTip) @@ -1188,7 +1188,7 @@ bool BitcoinGUI::eventFilter(QObject *object, QEvent *event) } #ifdef ENABLE_WALLET -bool BitcoinGUI::handlePaymentRequest(const SendCoinsRecipient& recipient) +bool NYC3GUI::handlePaymentRequest(const SendCoinsRecipient& recipient) { // URI has to be valid if (walletFrame && walletFrame->handlePaymentRequest(recipient)) @@ -1200,7 +1200,7 @@ bool BitcoinGUI::handlePaymentRequest(const SendCoinsRecipient& recipient) return false; } -void BitcoinGUI::setHDStatus(bool privkeyDisabled, int hdEnabled) +void NYC3GUI::setHDStatus(bool privkeyDisabled, int hdEnabled) { labelWalletHDStatusIcon->setPixmap(platformStyle->SingleColorIcon(privkeyDisabled ? ":/icons/eye" : hdEnabled ? ":/icons/hd_enabled" : ":/icons/hd_disabled").pixmap(STATUSBAR_ICONSIZE,STATUSBAR_ICONSIZE)); labelWalletHDStatusIcon->setToolTip(privkeyDisabled ? tr("Private key disabled") : hdEnabled ? tr("HD key generation is enabled") : tr("HD key generation is disabled")); @@ -1209,7 +1209,7 @@ void BitcoinGUI::setHDStatus(bool privkeyDisabled, int hdEnabled) labelWalletHDStatusIcon->setEnabled(hdEnabled); } -void BitcoinGUI::setEncryptionStatus(int status) +void NYC3GUI::setEncryptionStatus(int status) { switch(status) { @@ -1238,7 +1238,7 @@ void BitcoinGUI::setEncryptionStatus(int status) } } -void BitcoinGUI::updateWalletStatus() +void NYC3GUI::updateWalletStatus() { if (!walletFrame) { return; @@ -1253,7 +1253,7 @@ void BitcoinGUI::updateWalletStatus() } #endif // ENABLE_WALLET -void BitcoinGUI::updateProxyIcon() +void NYC3GUI::updateProxyIcon() { std::string ip_port; bool proxy_enabled = clientModel->getProxyInfo(ip_port); @@ -1271,7 +1271,7 @@ void BitcoinGUI::updateProxyIcon() } } -void BitcoinGUI::updateWindowTitle() +void NYC3GUI::updateWindowTitle() { QString window_title = tr(PACKAGE_NAME); #ifdef ENABLE_WALLET @@ -1288,7 +1288,7 @@ void BitcoinGUI::updateWindowTitle() setWindowTitle(window_title); } -void BitcoinGUI::showNormalIfMinimized(bool fToggleHidden) +void NYC3GUI::showNormalIfMinimized(bool fToggleHidden) { if(!clientModel) return; @@ -1300,12 +1300,12 @@ void BitcoinGUI::showNormalIfMinimized(bool fToggleHidden) } } -void BitcoinGUI::toggleHidden() +void NYC3GUI::toggleHidden() { showNormalIfMinimized(true); } -void BitcoinGUI::detectShutdown() +void NYC3GUI::detectShutdown() { if (m_node.shutdownRequested()) { @@ -1315,7 +1315,7 @@ void BitcoinGUI::detectShutdown() } } -void BitcoinGUI::showProgress(const QString &title, int nProgress) +void NYC3GUI::showProgress(const QString &title, int nProgress) { if (nProgress == 0) { progressDialog = new QProgressDialog(title, QString(), 0, 100); @@ -1334,7 +1334,7 @@ void BitcoinGUI::showProgress(const QString &title, int nProgress) } } -void BitcoinGUI::setTrayIconVisible(bool fHideTrayIcon) +void NYC3GUI::setTrayIconVisible(bool fHideTrayIcon) { if (trayIcon) { @@ -1342,13 +1342,13 @@ void BitcoinGUI::setTrayIconVisible(bool fHideTrayIcon) } } -void BitcoinGUI::showModalOverlay() +void NYC3GUI::showModalOverlay() { if (modalOverlay && (progressBar->isVisible() || modalOverlay->isLayerVisible())) modalOverlay->toggleVisibility(); } -static bool ThreadSafeMessageBox(BitcoinGUI* gui, const std::string& message, const std::string& caption, unsigned int style) +static bool ThreadSafeMessageBox(NYC3GUI* gui, const std::string& message, const std::string& caption, unsigned int style) { bool modal = (style & CClientUIInterface::MODAL); // The SECURE flag has no effect in the Qt GUI. @@ -1365,14 +1365,14 @@ static bool ThreadSafeMessageBox(BitcoinGUI* gui, const std::string& message, co return ret; } -void BitcoinGUI::subscribeToCoreSignals() +void NYC3GUI::subscribeToCoreSignals() { // Connect signals to client m_handler_message_box = m_node.handleMessageBox(std::bind(ThreadSafeMessageBox, this, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3)); m_handler_question = m_node.handleQuestion(std::bind(ThreadSafeMessageBox, this, std::placeholders::_1, std::placeholders::_3, std::placeholders::_4)); } -void BitcoinGUI::unsubscribeFromCoreSignals() +void NYC3GUI::unsubscribeFromCoreSignals() { // Disconnect signals from client m_handler_message_box->disconnect(); @@ -1385,12 +1385,12 @@ UnitDisplayStatusBarControl::UnitDisplayStatusBarControl(const PlatformStyle *pl { createContextMenu(); setToolTip(tr("Unit to show amounts in. Click to select another unit.")); - QList units = BitcoinUnits::availableUnits(); + QList units = NYC3Units::availableUnits(); int max_width = 0; const QFontMetrics fm(font()); - for (const BitcoinUnits::Unit unit : units) + for (const NYC3Units::Unit unit : units) { - max_width = qMax(max_width, fm.width(BitcoinUnits::longName(unit))); + max_width = qMax(max_width, fm.width(NYC3Units::longName(unit))); } setMinimumSize(max_width, 0); setAlignment(Qt::AlignRight | Qt::AlignVCenter); @@ -1407,9 +1407,9 @@ void UnitDisplayStatusBarControl::mousePressEvent(QMouseEvent *event) void UnitDisplayStatusBarControl::createContextMenu() { menu = new QMenu(this); - for (const BitcoinUnits::Unit u : BitcoinUnits::availableUnits()) + for (const NYC3Units::Unit u : NYC3Units::availableUnits()) { - QAction *menuAction = new QAction(QString(BitcoinUnits::longName(u)), this); + QAction *menuAction = new QAction(QString(NYC3Units::longName(u)), this); menuAction->setData(QVariant(u)); menu->addAction(menuAction); } @@ -1434,7 +1434,7 @@ void UnitDisplayStatusBarControl::setOptionsModel(OptionsModel *_optionsModel) /** When Display Units are changed on OptionsModel it will refresh the display text of the control on the status bar */ void UnitDisplayStatusBarControl::updateDisplayUnit(int newUnits) { - setText(BitcoinUnits::longName(newUnits)); + setText(NYC3Units::longName(newUnits)); } /** Shows context menu with Display Unit options by the mouse coordinates */ diff --git a/src/qt/nyc3gui.h b/src/qt/nyc3gui.h index b58ccbb45..76ea83b50 100644 --- a/src/qt/nyc3gui.h +++ b/src/qt/nyc3gui.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2019 The Bitcoin Core developers +// Copyright (c) 2011-2019 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -58,18 +58,18 @@ class ClickableProgressBar; } /** - Bitcoin GUI main class. This class represents the main window of the Bitcoin UI. It communicates with both the client and + NYC3 GUI main class. This class represents the main window of the NYC3 UI. It communicates with both the client and wallet models to give the user an up-to-date view of the current core state. */ -class BitcoinGUI : public QMainWindow +class NYC3GUI : public QMainWindow { Q_OBJECT public: static const std::string DEFAULT_UIPLATFORM; - explicit BitcoinGUI(interfaces::Node& node, const PlatformStyle *platformStyle, const NetworkStyle *networkStyle, QWidget *parent = nullptr); - ~BitcoinGUI(); + explicit NYC3GUI(interfaces::Node& node, const PlatformStyle *platformStyle, const NetworkStyle *networkStyle, QWidget *parent = nullptr); + ~NYC3GUI(); /** Set the client model. The client model represents the part of the core that communicates with the P2P network, and is wallet-agnostic. diff --git a/src/qt/nyc3units.cpp b/src/qt/nyc3units.cpp index 0047ecbf7..4a1429d44 100644 --- a/src/qt/nyc3units.cpp +++ b/src/qt/nyc3units.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -8,15 +8,15 @@ #include -BitcoinUnits::BitcoinUnits(QObject *parent): +NYC3Units::NYC3Units(QObject *parent): QAbstractListModel(parent), unitlist(availableUnits()) { } -QList BitcoinUnits::availableUnits() +QList NYC3Units::availableUnits() { - QList unitlist; + QList unitlist; unitlist.append(NYC3); unitlist.append(mNYC3); unitlist.append(uNYC3); @@ -24,7 +24,7 @@ QList BitcoinUnits::availableUnits() return unitlist; } -bool BitcoinUnits::valid(int unit) +bool NYC3Units::valid(int unit) { switch(unit) { @@ -38,7 +38,7 @@ bool BitcoinUnits::valid(int unit) } } -QString BitcoinUnits::longName(int unit) +QString NYC3Units::longName(int unit) { switch(unit) { @@ -50,7 +50,7 @@ QString BitcoinUnits::longName(int unit) } } -QString BitcoinUnits::shortName(int unit) +QString NYC3Units::shortName(int unit) { switch(unit) { @@ -60,7 +60,7 @@ QString BitcoinUnits::shortName(int unit) } } -QString BitcoinUnits::description(int unit) +QString NYC3Units::description(int unit) { switch(unit) { @@ -72,7 +72,7 @@ QString BitcoinUnits::description(int unit) } } -qint64 BitcoinUnits::factor(int unit) +qint64 NYC3Units::factor(int unit) { switch(unit) { @@ -84,7 +84,7 @@ qint64 BitcoinUnits::factor(int unit) } } -int BitcoinUnits::decimals(int unit) +int NYC3Units::decimals(int unit) { switch(unit) { @@ -96,7 +96,7 @@ int BitcoinUnits::decimals(int unit) } } -QString BitcoinUnits::format(int unit, const CAmount& nIn, bool fPlus, SeparatorStyle separators) +QString NYC3Units::format(int unit, const CAmount& nIn, bool fPlus, SeparatorStyle separators) { // Note: not using straight sprintf here because we do NOT want // localized number formatting. @@ -140,12 +140,12 @@ QString BitcoinUnits::format(int unit, const CAmount& nIn, bool fPlus, Separator // Please take care to use formatHtmlWithUnit instead, when // appropriate. -QString BitcoinUnits::formatWithUnit(int unit, const CAmount& amount, bool plussign, SeparatorStyle separators) +QString NYC3Units::formatWithUnit(int unit, const CAmount& amount, bool plussign, SeparatorStyle separators) { return format(unit, amount, plussign, separators) + QString(" ") + shortName(unit); } -QString BitcoinUnits::formatHtmlWithUnit(int unit, const CAmount& amount, bool plussign, SeparatorStyle separators) +QString NYC3Units::formatHtmlWithUnit(int unit, const CAmount& amount, bool plussign, SeparatorStyle separators) { QString str(formatWithUnit(unit, amount, plussign, separators)); str.replace(QChar(THIN_SP_CP), QString(THIN_SP_HTML)); @@ -153,7 +153,7 @@ QString BitcoinUnits::formatHtmlWithUnit(int unit, const CAmount& amount, bool p } -bool BitcoinUnits::parse(int unit, const QString &value, CAmount *val_out) +bool NYC3Units::parse(int unit, const QString &value, CAmount *val_out) { if(!valid(unit) || value.isEmpty()) return false; // Refuse to parse invalid unit or empty string @@ -192,23 +192,23 @@ bool BitcoinUnits::parse(int unit, const QString &value, CAmount *val_out) return ok; } -QString BitcoinUnits::getAmountColumnTitle(int unit) +QString NYC3Units::getAmountColumnTitle(int unit) { QString amountTitle = QObject::tr("Amount"); - if (BitcoinUnits::valid(unit)) + if (NYC3Units::valid(unit)) { - amountTitle += " ("+BitcoinUnits::shortName(unit) + ")"; + amountTitle += " ("+NYC3Units::shortName(unit) + ")"; } return amountTitle; } -int BitcoinUnits::rowCount(const QModelIndex &parent) const +int NYC3Units::rowCount(const QModelIndex &parent) const { Q_UNUSED(parent); return unitlist.size(); } -QVariant BitcoinUnits::data(const QModelIndex &index, int role) const +QVariant NYC3Units::data(const QModelIndex &index, int role) const { int row = index.row(); if(row >= 0 && row < unitlist.size()) @@ -228,7 +228,7 @@ QVariant BitcoinUnits::data(const QModelIndex &index, int role) const return QVariant(); } -CAmount BitcoinUnits::maxMoney() +CAmount NYC3Units::maxMoney() { return MAX_MONEY; } diff --git a/src/qt/nyc3units.h b/src/qt/nyc3units.h index e806526b0..810a05c64 100644 --- a/src/qt/nyc3units.h +++ b/src/qt/nyc3units.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -41,17 +41,17 @@ #define THIN_SP_UTF8 REAL_THIN_SP_UTF8 #define THIN_SP_HTML HTML_HACK_SP -/** Bitcoin unit definitions. Encapsulates parsing and formatting +/** NYC3 unit definitions. Encapsulates parsing and formatting and serves as list model for drop-down selection boxes. */ -class BitcoinUnits: public QAbstractListModel +class NYC3Units: public QAbstractListModel { Q_OBJECT public: - explicit BitcoinUnits(QObject *parent); + explicit NYC3Units(QObject *parent); - /** Bitcoin units. + /** NYC3 units. @note Source: https://en.bitcoin.it/wiki/Units . Please add only sensible ones */ enum Unit @@ -124,8 +124,8 @@ public: static CAmount maxMoney(); private: - QList unitlist; + QList unitlist; }; -typedef BitcoinUnits::Unit BitcoinUnit; +typedef NYC3Units::Unit NYC3Unit; #endif // BITCOIN_QT_BITCOINUNITS_H diff --git a/src/qt/openuridialog.cpp b/src/qt/openuridialog.cpp index 48db95679..4c7f6a2ba 100644 --- a/src/qt/openuridialog.cpp +++ b/src/qt/openuridialog.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -31,7 +31,7 @@ QString OpenURIDialog::getURI() void OpenURIDialog::accept() { SendCoinsRecipient rcp; - if(GUIUtil::parseBitcoinURI(getURI(), &rcp)) + if(GUIUtil::parseNYC3URI(getURI(), &rcp)) { /* Only accept value URIs */ QDialog::accept(); diff --git a/src/qt/openuridialog.h b/src/qt/openuridialog.h index e94593d5b..598439f21 100644 --- a/src/qt/openuridialog.h +++ b/src/qt/openuridialog.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2015 The Bitcoin Core developers +// Copyright (c) 2011-2015 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/optionsdialog.cpp b/src/qt/optionsdialog.cpp index 2d140abf2..544f258d1 100644 --- a/src/qt/optionsdialog.cpp +++ b/src/qt/optionsdialog.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -90,7 +90,7 @@ OptionsDialog::OptionsDialog(QWidget *parent, bool enableWallet) : ui->bitcoinAtStartup->setToolTip(ui->bitcoinAtStartup->toolTip().arg(tr(PACKAGE_NAME))); ui->bitcoinAtStartup->setText(ui->bitcoinAtStartup->text().arg(tr(PACKAGE_NAME))); - ui->openBitcoinConfButton->setToolTip(ui->openBitcoinConfButton->toolTip().arg(tr(PACKAGE_NAME))); + ui->openNYC3ConfButton->setToolTip(ui->openNYC3ConfButton->toolTip().arg(tr(PACKAGE_NAME))); ui->lang->setToolTip(ui->lang->toolTip().arg(tr(PACKAGE_NAME))); ui->lang->addItem(QString("(") + tr("default") + QString(")"), QVariant("")); @@ -112,7 +112,7 @@ OptionsDialog::OptionsDialog(QWidget *parent, bool enableWallet) : } ui->thirdPartyTxUrls->setPlaceholderText("https://example.com/tx/%s"); - ui->unit->setModel(new BitcoinUnits(this)); + ui->unit->setModel(new NYC3Units(this)); /* Widget-to-option mapper */ mapper = new QDataWidgetMapper(this); @@ -262,7 +262,7 @@ void OptionsDialog::on_resetButton_clicked() } } -void OptionsDialog::on_openBitcoinConfButton_clicked() +void OptionsDialog::on_openNYC3ConfButton_clicked() { /* explain the purpose of the config file */ QMessageBox::information(this, tr("Configuration options"), @@ -270,7 +270,7 @@ void OptionsDialog::on_openBitcoinConfButton_clicked() "Additionally, any command-line options will override this configuration file.")); /* show an error if there was some problem opening the file */ - if (!GUIUtil::openBitcoinConf()) + if (!GUIUtil::openNYC3Conf()) QMessageBox::critical(this, tr("Error"), tr("The configuration file could not be opened.")); } diff --git a/src/qt/optionsdialog.h b/src/qt/optionsdialog.h index 9bc1c8ae4..c7665719a 100644 --- a/src/qt/optionsdialog.h +++ b/src/qt/optionsdialog.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -53,7 +53,7 @@ private Q_SLOTS: /* set OK button state (enabled / disabled) */ void setOkButtonState(bool fState); void on_resetButton_clicked(); - void on_openBitcoinConfButton_clicked(); + void on_openNYC3ConfButton_clicked(); void on_okButton_clicked(); void on_cancelButton_clicked(); diff --git a/src/qt/optionsmodel.cpp b/src/qt/optionsmodel.cpp index fc1a748d9..a4ec6264e 100644 --- a/src/qt/optionsmodel.cpp +++ b/src/qt/optionsmodel.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -69,7 +69,7 @@ void OptionsModel::Init(bool resetSettings) // Display if (!settings.contains("nDisplayUnit")) - settings.setValue("nDisplayUnit", BitcoinUnits::NYC3); + settings.setValue("nDisplayUnit", NYC3Units::NYC3); nDisplayUnit = settings.value("nDisplayUnit").toInt(); if (!settings.contains("strThirdPartyTxUrls")) diff --git a/src/qt/optionsmodel.h b/src/qt/optionsmodel.h index 1af3a72b9..4297cbb7a 100644 --- a/src/qt/optionsmodel.h +++ b/src/qt/optionsmodel.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -20,7 +20,7 @@ QT_END_NAMESPACE extern const char *DEFAULT_GUI_PROXY_HOST; static constexpr unsigned short DEFAULT_GUI_PROXY_PORT = 9050; -/** Interface from Qt to configuration data structure for Bitcoin client. +/** Interface from Qt to configuration data structure for NYC3 client. To Qt, the options are presented as a list with the different options laid out vertically. This can be changed to a tree once the settings become sufficiently @@ -45,7 +45,7 @@ public: ProxyUseTor, // bool ProxyIPTor, // QString ProxyPortTor, // int - DisplayUnit, // BitcoinUnits::Unit + DisplayUnit, // NYC3Units::Unit ThirdPartyTxUrls, // QString Language, // QString CoinControlFeatures, // bool diff --git a/src/qt/overviewpage.cpp b/src/qt/overviewpage.cpp index ca7726240..9d588d678 100644 --- a/src/qt/overviewpage.cpp +++ b/src/qt/overviewpage.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -28,7 +28,7 @@ class TxViewDelegate : public QAbstractItemDelegate Q_OBJECT public: explicit TxViewDelegate(const PlatformStyle *_platformStyle, QObject *parent=nullptr): - QAbstractItemDelegate(parent), unit(BitcoinUnits::NYC3), + QAbstractItemDelegate(parent), unit(NYC3Units::NYC3), platformStyle(_platformStyle) { @@ -86,7 +86,7 @@ public: foreground = option.palette.color(QPalette::Text); } painter->setPen(foreground); - QString amountText = BitcoinUnits::formatWithUnit(unit, amount, true, BitcoinUnits::separatorAlways); + QString amountText = NYC3Units::formatWithUnit(unit, amount, true, NYC3Units::separatorAlways); if(!confirmed) { amountText = QString("[") + amountText + QString("]"); @@ -162,19 +162,19 @@ void OverviewPage::setBalance(const interfaces::WalletBalances& balances) int unit = walletModel->getOptionsModel()->getDisplayUnit(); m_balances = balances; if (walletModel->privateKeysDisabled()) { - ui->labelBalance->setText(BitcoinUnits::formatWithUnit(unit, balances.watch_only_balance, false, BitcoinUnits::separatorAlways)); - ui->labelUnconfirmed->setText(BitcoinUnits::formatWithUnit(unit, balances.unconfirmed_watch_only_balance, false, BitcoinUnits::separatorAlways)); - ui->labelImmature->setText(BitcoinUnits::formatWithUnit(unit, balances.immature_watch_only_balance, false, BitcoinUnits::separatorAlways)); - ui->labelTotal->setText(BitcoinUnits::formatWithUnit(unit, balances.watch_only_balance + balances.unconfirmed_watch_only_balance + balances.immature_watch_only_balance, false, BitcoinUnits::separatorAlways)); + ui->labelBalance->setText(NYC3Units::formatWithUnit(unit, balances.watch_only_balance, false, NYC3Units::separatorAlways)); + ui->labelUnconfirmed->setText(NYC3Units::formatWithUnit(unit, balances.unconfirmed_watch_only_balance, false, NYC3Units::separatorAlways)); + ui->labelImmature->setText(NYC3Units::formatWithUnit(unit, balances.immature_watch_only_balance, false, NYC3Units::separatorAlways)); + ui->labelTotal->setText(NYC3Units::formatWithUnit(unit, balances.watch_only_balance + balances.unconfirmed_watch_only_balance + balances.immature_watch_only_balance, false, NYC3Units::separatorAlways)); } else { - ui->labelBalance->setText(BitcoinUnits::formatWithUnit(unit, balances.balance, false, BitcoinUnits::separatorAlways)); - ui->labelUnconfirmed->setText(BitcoinUnits::formatWithUnit(unit, balances.unconfirmed_balance, false, BitcoinUnits::separatorAlways)); - ui->labelImmature->setText(BitcoinUnits::formatWithUnit(unit, balances.immature_balance, false, BitcoinUnits::separatorAlways)); - ui->labelTotal->setText(BitcoinUnits::formatWithUnit(unit, balances.balance + balances.unconfirmed_balance + balances.immature_balance, false, BitcoinUnits::separatorAlways)); - ui->labelWatchAvailable->setText(BitcoinUnits::formatWithUnit(unit, balances.watch_only_balance, false, BitcoinUnits::separatorAlways)); - ui->labelWatchPending->setText(BitcoinUnits::formatWithUnit(unit, balances.unconfirmed_watch_only_balance, false, BitcoinUnits::separatorAlways)); - ui->labelWatchImmature->setText(BitcoinUnits::formatWithUnit(unit, balances.immature_watch_only_balance, false, BitcoinUnits::separatorAlways)); - ui->labelWatchTotal->setText(BitcoinUnits::formatWithUnit(unit, balances.watch_only_balance + balances.unconfirmed_watch_only_balance + balances.immature_watch_only_balance, false, BitcoinUnits::separatorAlways)); + ui->labelBalance->setText(NYC3Units::formatWithUnit(unit, balances.balance, false, NYC3Units::separatorAlways)); + ui->labelUnconfirmed->setText(NYC3Units::formatWithUnit(unit, balances.unconfirmed_balance, false, NYC3Units::separatorAlways)); + ui->labelImmature->setText(NYC3Units::formatWithUnit(unit, balances.immature_balance, false, NYC3Units::separatorAlways)); + ui->labelTotal->setText(NYC3Units::formatWithUnit(unit, balances.balance + balances.unconfirmed_balance + balances.immature_balance, false, NYC3Units::separatorAlways)); + ui->labelWatchAvailable->setText(NYC3Units::formatWithUnit(unit, balances.watch_only_balance, false, NYC3Units::separatorAlways)); + ui->labelWatchPending->setText(NYC3Units::formatWithUnit(unit, balances.unconfirmed_watch_only_balance, false, NYC3Units::separatorAlways)); + ui->labelWatchImmature->setText(NYC3Units::formatWithUnit(unit, balances.immature_watch_only_balance, false, NYC3Units::separatorAlways)); + ui->labelWatchTotal->setText(NYC3Units::formatWithUnit(unit, balances.watch_only_balance + balances.unconfirmed_watch_only_balance + balances.immature_watch_only_balance, false, NYC3Units::separatorAlways)); } // only show immature (newly mined) balance if it's non-zero, so as not to complicate things // for the non-mining users diff --git a/src/qt/overviewpage.h b/src/qt/overviewpage.h index 00ba7ad4c..b719da997 100644 --- a/src/qt/overviewpage.h +++ b/src/qt/overviewpage.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/paymentrequest.proto b/src/qt/paymentrequest.proto index d2721a34b..47875c995 100644 --- a/src/qt/paymentrequest.proto +++ b/src/qt/paymentrequest.proto @@ -1,5 +1,5 @@ // -// Simple Bitcoin Payment Protocol messages +// Simple NYC3 Payment Protocol messages // // Use fields 100+ for extensions; // to avoid conflicts, register extensions at: diff --git a/src/qt/paymentrequestplus.cpp b/src/qt/paymentrequestplus.cpp index b962ab1ef..0e4dc4ed5 100644 --- a/src/qt/paymentrequestplus.cpp +++ b/src/qt/paymentrequestplus.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/paymentrequestplus.h b/src/qt/paymentrequestplus.h index 301462880..dc5fcdeba 100644 --- a/src/qt/paymentrequestplus.h +++ b/src/qt/paymentrequestplus.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/paymentserver.cpp b/src/qt/paymentserver.cpp index 76447a072..14a28286a 100644 --- a/src/qt/paymentserver.cpp +++ b/src/qt/paymentserver.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -66,7 +66,7 @@ const char* BIP71_MIMETYPE_PAYMENTREQUEST = "application/bitcoin-paymentrequest" // static QString ipcServerName() { - QString name("BitcoinQt"); + QString name("NYC3Qt"); // Append a simple hash of the datadir // Note that GetDataDir(true) returns a different path @@ -110,7 +110,7 @@ void PaymentServer::ipcParseCommandLine(interfaces::Node& node, int argc, char* savedPaymentRequests.append(arg); SendCoinsRecipient r; - if (GUIUtil::parseBitcoinURI(arg, &r) && !r.address.isEmpty()) + if (GUIUtil::parseNYC3URI(arg, &r) && !r.address.isEmpty()) { auto tempChainParams = CreateChainParams(CBaseChainParams::MAIN); @@ -322,7 +322,7 @@ void PaymentServer::handleURIOrFile(const QString& s) // normal URI { SendCoinsRecipient recipient; - if (GUIUtil::parseBitcoinURI(s, &recipient)) + if (GUIUtil::parseNYC3URI(s, &recipient)) { if (!IsValidDestinationString(recipient.address.toStdString())) { #ifndef ENABLE_BIP70 @@ -600,7 +600,7 @@ bool PaymentServer::processPaymentRequest(const PaymentRequestPlus& request, Sen return false; } - // Bitcoin amounts are stored as (optional) uint64 in the protobuf messages (see paymentrequest.proto), + // NYC3 amounts are stored as (optional) uint64 in the protobuf messages (see paymentrequest.proto), // but CAmount is defined as int64_t. Because of that we need to verify that amounts are in a valid range // and no overflow has happened. if (!verifyAmount(sendingTo.second)) { @@ -612,7 +612,7 @@ bool PaymentServer::processPaymentRequest(const PaymentRequestPlus& request, Sen CTxOut txOut(sendingTo.second, sendingTo.first); if (IsDust(txOut, optionsModel->node().getDustRelayFee())) { Q_EMIT message(tr("Payment request error"), tr("Requested payment amount of %1 is too small (considered dust).") - .arg(BitcoinUnits::formatWithUnit(optionsModel->getDisplayUnit(), sendingTo.second)), + .arg(NYC3Units::formatWithUnit(optionsModel->getDisplayUnit(), sendingTo.second)), CClientUIInterface::MSG_ERROR); return false; diff --git a/src/qt/paymentserver.h b/src/qt/paymentserver.h index 30b5bc3b6..77284a46d 100644 --- a/src/qt/paymentserver.h +++ b/src/qt/paymentserver.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/peertablemodel.cpp b/src/qt/peertablemodel.cpp index 496aeebf7..39cf11fab 100644 --- a/src/qt/peertablemodel.cpp +++ b/src/qt/peertablemodel.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/peertablemodel.h b/src/qt/peertablemodel.h index b3f5dd7db..3d6f83f75 100644 --- a/src/qt/peertablemodel.h +++ b/src/qt/peertablemodel.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/platformstyle.cpp b/src/qt/platformstyle.cpp index d537d759d..879a3ee5d 100644 --- a/src/qt/platformstyle.cpp +++ b/src/qt/platformstyle.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2015-2018 The Bitcoin Core developers +// Copyright (c) 2015-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/platformstyle.h b/src/qt/platformstyle.h index 4e763e760..3e61b4cc2 100644 --- a/src/qt/platformstyle.h +++ b/src/qt/platformstyle.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015 The Bitcoin Core developers +// Copyright (c) 2015 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/qvalidatedlineedit.cpp b/src/qt/qvalidatedlineedit.cpp index e3ad0bb6e..5227694f1 100644 --- a/src/qt/qvalidatedlineedit.cpp +++ b/src/qt/qvalidatedlineedit.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/qvalidatedlineedit.h b/src/qt/qvalidatedlineedit.h index 815d5e004..b207398e5 100644 --- a/src/qt/qvalidatedlineedit.h +++ b/src/qt/qvalidatedlineedit.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/qvaluecombobox.cpp b/src/qt/qvaluecombobox.cpp index 76f94ecf8..c1fbf3440 100644 --- a/src/qt/qvaluecombobox.cpp +++ b/src/qt/qvaluecombobox.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/qvaluecombobox.h b/src/qt/qvaluecombobox.h index 8892071fb..bd2f22c49 100644 --- a/src/qt/qvaluecombobox.h +++ b/src/qt/qvaluecombobox.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2015 The Bitcoin Core developers +// Copyright (c) 2011-2015 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/receivecoinsdialog.cpp b/src/qt/receivecoinsdialog.cpp index 261fa9bb3..d5b112473 100644 --- a/src/qt/receivecoinsdialog.cpp +++ b/src/qt/receivecoinsdialog.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -277,7 +277,7 @@ void ReceiveCoinsDialog::copyURI() } const RecentRequestsTableModel * const submodel = model->getRecentRequestsTableModel(); - const QString uri = GUIUtil::formatBitcoinURI(submodel->entry(sel.row()).recipient); + const QString uri = GUIUtil::formatNYC3URI(submodel->entry(sel.row()).recipient); GUIUtil::setClipboard(uri); } diff --git a/src/qt/receivecoinsdialog.h b/src/qt/receivecoinsdialog.h index 5bca2f46e..8519eec52 100644 --- a/src/qt/receivecoinsdialog.h +++ b/src/qt/receivecoinsdialog.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/receiverequestdialog.cpp b/src/qt/receiverequestdialog.cpp index d4397afc0..448546121 100644 --- a/src/qt/receiverequestdialog.cpp +++ b/src/qt/receiverequestdialog.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -131,7 +131,7 @@ void ReceiveRequestDialog::update() target = info.address; setWindowTitle(tr("Request payment to %1").arg(target)); - QString uri = GUIUtil::formatBitcoinURI(info); + QString uri = GUIUtil::formatNYC3URI(info); ui->btnSaveAs->setEnabled(false); QString html; html += ""; @@ -140,7 +140,7 @@ void ReceiveRequestDialog::update() html += "" + GUIUtil::HtmlEscape(uri) + "
"; html += ""+tr("Address")+": " + GUIUtil::HtmlEscape(info.address) + "
"; if(info.amount) - html += ""+tr("Amount")+": " + BitcoinUnits::formatHtmlWithUnit(model->getOptionsModel()->getDisplayUnit(), info.amount) + "
"; + html += ""+tr("Amount")+": " + NYC3Units::formatHtmlWithUnit(model->getOptionsModel()->getDisplayUnit(), info.amount) + "
"; if(!info.label.isEmpty()) html += ""+tr("Label")+": " + GUIUtil::HtmlEscape(info.label) + "
"; if(!info.message.isEmpty()) @@ -203,7 +203,7 @@ void ReceiveRequestDialog::update() void ReceiveRequestDialog::on_btnCopyURI_clicked() { - GUIUtil::setClipboard(GUIUtil::formatBitcoinURI(info)); + GUIUtil::setClipboard(GUIUtil::formatNYC3URI(info)); } void ReceiveRequestDialog::on_btnCopyAddress_clicked() diff --git a/src/qt/receiverequestdialog.h b/src/qt/receiverequestdialog.h index dd28fd73c..5a3218aff 100644 --- a/src/qt/receiverequestdialog.h +++ b/src/qt/receiverequestdialog.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/recentrequeststablemodel.cpp b/src/qt/recentrequeststablemodel.cpp index 5d88f2b6d..ef2154c69 100644 --- a/src/qt/recentrequeststablemodel.cpp +++ b/src/qt/recentrequeststablemodel.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -80,9 +80,9 @@ QVariant RecentRequestsTableModel::data(const QModelIndex &index, int role) cons if (rec->recipient.amount == 0 && role == Qt::DisplayRole) return tr("(no amount requested)"); else if (role == Qt::EditRole) - return BitcoinUnits::format(walletModel->getOptionsModel()->getDisplayUnit(), rec->recipient.amount, false, BitcoinUnits::separatorNever); + return NYC3Units::format(walletModel->getOptionsModel()->getDisplayUnit(), rec->recipient.amount, false, NYC3Units::separatorNever); else - return BitcoinUnits::format(walletModel->getOptionsModel()->getDisplayUnit(), rec->recipient.amount); + return NYC3Units::format(walletModel->getOptionsModel()->getDisplayUnit(), rec->recipient.amount); } } else if (role == Qt::TextAlignmentRole) @@ -120,7 +120,7 @@ void RecentRequestsTableModel::updateAmountColumnTitle() /** Gets title for amount column including current display unit if optionsModel reference available. */ QString RecentRequestsTableModel::getAmountTitle() { - return (this->walletModel->getOptionsModel() != nullptr) ? tr("Requested") + " ("+BitcoinUnits::shortName(this->walletModel->getOptionsModel()->getDisplayUnit()) + ")" : ""; + return (this->walletModel->getOptionsModel() != nullptr) ? tr("Requested") + " ("+NYC3Units::shortName(this->walletModel->getOptionsModel()->getDisplayUnit()) + ")" : ""; } QModelIndex RecentRequestsTableModel::index(int row, int column, const QModelIndex &parent) const diff --git a/src/qt/recentrequeststablemodel.h b/src/qt/recentrequeststablemodel.h index 8a1140e95..d71041235 100644 --- a/src/qt/recentrequeststablemodel.h +++ b/src/qt/recentrequeststablemodel.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/res/movies/makespinner.sh b/src/qt/res/movies/makespinner.sh index f47c66e02..eccfc371b 100755 --- a/src/qt/res/movies/makespinner.sh +++ b/src/qt/res/movies/makespinner.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # -# Copyright (c) 2014-2015 The Bitcoin Core developers +# Copyright (c) 2014-2015 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/res/nyc3-qt-res.rc b/src/qt/res/nyc3-qt-res.rc index 94ae25647..35b295341 100644 --- a/src/qt/res/nyc3-qt-res.rc +++ b/src/qt/res/nyc3-qt-res.rc @@ -19,8 +19,8 @@ BEGIN BEGIN BLOCK "040904E4" // U.S. English - multilingual (hex) BEGIN - VALUE "CompanyName", "Bitcoin" - VALUE "FileDescription", PACKAGE_NAME " (GUI node for Bitcoin)" + VALUE "CompanyName", "NYC3" + VALUE "FileDescription", PACKAGE_NAME " (GUI node for NYC3)" VALUE "FileVersion", VER_FILEVERSION_STR VALUE "InternalName", "bitcoin-qt" VALUE "LegalCopyright", COPYRIGHT_STR diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp index fc1e14b03..902d478df 100644 --- a/src/qt/rpcconsole.cpp +++ b/src/qt/rpcconsole.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2019 The Bitcoin Core developers +// Copyright (c) 2011-2019 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/rpcconsole.h b/src/qt/rpcconsole.h index 79b0f3b19..ffce546a8 100644 --- a/src/qt/rpcconsole.h +++ b/src/qt/rpcconsole.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2019 The Bitcoin Core developers +// Copyright (c) 2011-2019 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -32,7 +32,7 @@ class QMenu; class QItemSelection; QT_END_NAMESPACE -/** Local Bitcoin RPC console. */ +/** Local NYC3 RPC console. */ class RPCConsole: public QWidget { Q_OBJECT diff --git a/src/qt/sendcoinsdialog.cpp b/src/qt/sendcoinsdialog.cpp index b7728b1e2..a8d724f0b 100644 --- a/src/qt/sendcoinsdialog.cpp +++ b/src/qt/sendcoinsdialog.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -266,7 +266,7 @@ void SendCoinsDialog::on_sendButton_clicked() // process prepareStatus and on error generate message shown to user processSendCoinsReturn(prepareStatus, - BitcoinUnits::formatWithUnit(model->getOptionsModel()->getDisplayUnit(), currentTransaction.getTransactionFee())); + NYC3Units::formatWithUnit(model->getOptionsModel()->getDisplayUnit(), currentTransaction.getTransactionFee())); if(prepareStatus.status != WalletModel::OK) { fNewRecipientAllowed = true; @@ -280,7 +280,7 @@ void SendCoinsDialog::on_sendButton_clicked() for (const SendCoinsRecipient &rcp : currentTransaction.getRecipients()) { // generate bold amount string with wallet name in case of multiwallet - QString amount = "" + BitcoinUnits::formatHtmlWithUnit(model->getOptionsModel()->getDisplayUnit(), rcp.amount); + QString amount = "" + NYC3Units::formatHtmlWithUnit(model->getOptionsModel()->getDisplayUnit(), rcp.amount); if (model->isMultiwallet()) { amount.append(" "+tr("from wallet %1").arg(GUIUtil::HtmlEscape(model->getWalletName()))+" "); } @@ -337,7 +337,7 @@ void SendCoinsDialog::on_sendButton_clicked() // append transaction fee value questionString.append(""); - questionString.append(BitcoinUnits::formatHtmlWithUnit(model->getOptionsModel()->getDisplayUnit(), txFee)); + questionString.append(NYC3Units::formatHtmlWithUnit(model->getOptionsModel()->getDisplayUnit(), txFee)); questionString.append("
"); // append RBF message according to transaction's signalling @@ -354,13 +354,13 @@ void SendCoinsDialog::on_sendButton_clicked() questionString.append("
"); CAmount totalAmount = currentTransaction.getTotalTransactionAmount() + txFee; QStringList alternativeUnits; - for (const BitcoinUnits::Unit u : BitcoinUnits::availableUnits()) + for (const NYC3Units::Unit u : NYC3Units::availableUnits()) { if(u != model->getOptionsModel()->getDisplayUnit()) - alternativeUnits.append(BitcoinUnits::formatHtmlWithUnit(u, totalAmount)); + alternativeUnits.append(NYC3Units::formatHtmlWithUnit(u, totalAmount)); } questionString.append(QString("%1: %2").arg(tr("Total Amount")) - .arg(BitcoinUnits::formatHtmlWithUnit(model->getOptionsModel()->getDisplayUnit(), totalAmount))); + .arg(NYC3Units::formatHtmlWithUnit(model->getOptionsModel()->getDisplayUnit(), totalAmount))); questionString.append(QString("
(=%1)") .arg(alternativeUnits.join(" " + tr("or") + " "))); @@ -532,7 +532,7 @@ void SendCoinsDialog::setBalance(const interfaces::WalletBalances& balances) { if(model && model->getOptionsModel()) { - ui->labelBalance->setText(BitcoinUnits::formatWithUnit(model->getOptionsModel()->getDisplayUnit(), balances.balance)); + ui->labelBalance->setText(NYC3Units::formatWithUnit(model->getOptionsModel()->getDisplayUnit(), balances.balance)); } } @@ -578,7 +578,7 @@ void SendCoinsDialog::processSendCoinsReturn(const WalletModel::SendCoinsReturn msgParams.second = CClientUIInterface::MSG_ERROR; break; case WalletModel::AbsurdFee: - msgParams.first = tr("A fee higher than %1 is considered an absurdly high fee.").arg(BitcoinUnits::formatWithUnit(model->getOptionsModel()->getDisplayUnit(), model->node().getMaxTxFee())); + msgParams.first = tr("A fee higher than %1 is considered an absurdly high fee.").arg(NYC3Units::formatWithUnit(model->getOptionsModel()->getDisplayUnit(), model->node().getMaxTxFee())); break; case WalletModel::PaymentRequestExpired: msgParams.first = tr("Payment request expired."); @@ -659,7 +659,7 @@ void SendCoinsDialog::updateFeeMinimizedLabel() if (ui->radioSmartFee->isChecked()) ui->labelFeeMinimized->setText(ui->labelSmartFee->text()); else { - ui->labelFeeMinimized->setText(BitcoinUnits::formatWithUnit(model->getOptionsModel()->getDisplayUnit(), ui->customFee->value()) + "/kB"); + ui->labelFeeMinimized->setText(NYC3Units::formatWithUnit(model->getOptionsModel()->getDisplayUnit(), ui->customFee->value()) + "/kB"); } } @@ -687,7 +687,7 @@ void SendCoinsDialog::updateSmartFeeLabel() FeeReason reason; CFeeRate feeRate = CFeeRate(model->wallet().getMinimumFee(1000, coin_control, &returned_target, &reason)); - ui->labelSmartFee->setText(BitcoinUnits::formatWithUnit(model->getOptionsModel()->getDisplayUnit(), feeRate.GetFeePerK()) + "/kB"); + ui->labelSmartFee->setText(NYC3Units::formatWithUnit(model->getOptionsModel()->getDisplayUnit(), feeRate.GetFeePerK()) + "/kB"); if (reason == FeeReason::FALLBACK) { ui->labelSmartFee2->show(); // (Smart fee not initialized yet. This usually takes a few blocks...) diff --git a/src/qt/sendcoinsdialog.h b/src/qt/sendcoinsdialog.h index 337a72b87..100135893 100644 --- a/src/qt/sendcoinsdialog.h +++ b/src/qt/sendcoinsdialog.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/sendcoinsentry.cpp b/src/qt/sendcoinsentry.cpp index f18182440..bed451a7f 100644 --- a/src/qt/sendcoinsentry.cpp +++ b/src/qt/sendcoinsentry.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/sendcoinsentry.h b/src/qt/sendcoinsentry.h index 42e221713..eebf87835 100644 --- a/src/qt/sendcoinsentry.h +++ b/src/qt/sendcoinsentry.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/signverifymessagedialog.cpp b/src/qt/signverifymessagedialog.cpp index d37a78fa8..7ede8c1ff 100644 --- a/src/qt/signverifymessagedialog.cpp +++ b/src/qt/signverifymessagedialog.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/signverifymessagedialog.h b/src/qt/signverifymessagedialog.h index d2e04cd4f..c372d5f41 100644 --- a/src/qt/signverifymessagedialog.h +++ b/src/qt/signverifymessagedialog.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2015 The Bitcoin Core developers +// Copyright (c) 2011-2015 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/splashscreen.cpp b/src/qt/splashscreen.cpp index e4000c2ee..e472df691 100644 --- a/src/qt/splashscreen.cpp +++ b/src/qt/splashscreen.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/splashscreen.h b/src/qt/splashscreen.h index 489e2c4ac..22d8f94db 100644 --- a/src/qt/splashscreen.h +++ b/src/qt/splashscreen.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/test/apptests.cpp b/src/qt/test/apptests.cpp index 3fb75f1d1..a0ca92444 100644 --- a/src/qt/test/apptests.cpp +++ b/src/qt/test/apptests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2018 The Bitcoin Core developers +// Copyright (c) 2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -51,7 +51,7 @@ void TestRpcCommand(RPCConsole* console) } } // namespace -//! Entry point for BitcoinApplication tests. +//! Entry point for NYC3Application tests. void AppTests::appTests() { #ifdef Q_OS_MAC @@ -72,7 +72,7 @@ void AppTests::appTests() NetworkStyle::instantiate(QString::fromStdString(Params().NetworkIDString()))); m_app.setupPlatformStyle(); m_app.createWindow(style.data()); - connect(&m_app, &BitcoinApplication::windowShown, this, &AppTests::guiTests); + connect(&m_app, &NYC3Application::windowShown, this, &AppTests::guiTests); expectCallback("guiTests"); m_app.baseInitialize(); m_app.requestInitialize(); @@ -85,11 +85,11 @@ void AppTests::appTests() UnloadBlockIndex(); } -//! Entry point for BitcoinGUI tests. -void AppTests::guiTests(BitcoinGUI* window) +//! Entry point for NYC3GUI tests. +void AppTests::guiTests(NYC3GUI* window) { HandleCallback callback{"guiTests", *this}; - connect(window, &BitcoinGUI::consoleShown, this, &AppTests::consoleTests); + connect(window, &NYC3GUI::consoleShown, this, &AppTests::consoleTests); expectCallback("consoleTests"); QAction* action = window->findChild("openRPCConsoleAction"); action->activate(QAction::Trigger); diff --git a/src/qt/test/apptests.h b/src/qt/test/apptests.h index 83bf56f1e..ce9f62882 100644 --- a/src/qt/test/apptests.h +++ b/src/qt/test/apptests.h @@ -1,4 +1,4 @@ -// Copyright (c) 2018 The Bitcoin Core developers +// Copyright (c) 2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -10,19 +10,19 @@ #include #include -class BitcoinApplication; -class BitcoinGUI; +class NYC3Application; +class NYC3GUI; class RPCConsole; class AppTests : public QObject { Q_OBJECT public: - explicit AppTests(BitcoinApplication& app) : m_app(app) {} + explicit AppTests(NYC3Application& app) : m_app(app) {} private Q_SLOTS: void appTests(); - void guiTests(BitcoinGUI* window); + void guiTests(NYC3GUI* window); void consoleTests(RPCConsole* console); private: @@ -37,8 +37,8 @@ private: ~HandleCallback(); }; - //! Bitcoin application. - BitcoinApplication& m_app; + //! NYC3 application. + NYC3Application& m_app; //! Set of pending callback names. Used to track expected callbacks and shut //! down the app after the last callback has been handled and all tests have diff --git a/src/qt/test/compattests.cpp b/src/qt/test/compattests.cpp index 6750c543d..582533acb 100644 --- a/src/qt/test/compattests.cpp +++ b/src/qt/test/compattests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2016-2018 The Bitcoin Core developers +// Copyright (c) 2016-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/test/compattests.h b/src/qt/test/compattests.h index 1af97696b..1d52ed6be 100644 --- a/src/qt/test/compattests.h +++ b/src/qt/test/compattests.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009-2016 The Bitcoin Core developers +// Copyright (c) 2009-2016 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/test/paymentrequestdata.h b/src/qt/test/paymentrequestdata.h index 7f45d3097..d155bf7f4 100644 --- a/src/qt/test/paymentrequestdata.h +++ b/src/qt/test/paymentrequestdata.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/test/paymentservertests.cpp b/src/qt/test/paymentservertests.cpp index f0eca899f..17b67aecf 100644 --- a/src/qt/test/paymentservertests.cpp +++ b/src/qt/test/paymentservertests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/test/paymentservertests.h b/src/qt/test/paymentservertests.h index 7ef7a0a64..6f3d23238 100644 --- a/src/qt/test/paymentservertests.h +++ b/src/qt/test/paymentservertests.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/test/rpcnestedtests.cpp b/src/qt/test/rpcnestedtests.cpp index 9485fe87d..f030bd02b 100644 --- a/src/qt/test/rpcnestedtests.cpp +++ b/src/qt/test/rpcnestedtests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2016-2018 The Bitcoin Core developers +// Copyright (c) 2016-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/test/rpcnestedtests.h b/src/qt/test/rpcnestedtests.h index e33f4e3da..e9ecde613 100644 --- a/src/qt/test/rpcnestedtests.h +++ b/src/qt/test/rpcnestedtests.h @@ -1,4 +1,4 @@ -// Copyright (c) 2016-2018 The Bitcoin Core developers +// Copyright (c) 2016-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/test/test_main.cpp b/src/qt/test/test_main.cpp index e008b0835..c4de6d468 100644 --- a/src/qt/test/test_main.cpp +++ b/src/qt/test/test_main.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -71,8 +71,8 @@ int main(int argc, char *argv[]) // Don't remove this, it's needed to access // QApplication:: and QCoreApplication:: in the tests - BitcoinApplication app(*node, argc, argv); - app.setApplicationName("Bitcoin-Qt-test"); + NYC3Application app(*node, argc, argv); + app.setApplicationName("NYC3-Qt-test"); SSL_library_init(); diff --git a/src/qt/test/uritests.cpp b/src/qt/test/uritests.cpp index b87d3b21c..bc1b12cb6 100644 --- a/src/qt/test/uritests.cpp +++ b/src/qt/test/uritests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -14,53 +14,53 @@ void URITests::uriTests() SendCoinsRecipient rv; QUrl uri; uri.setUrl(QString("bitcoin:175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W?req-dontexist=")); - QVERIFY(!GUIUtil::parseBitcoinURI(uri, &rv)); + QVERIFY(!GUIUtil::parseNYC3URI(uri, &rv)); uri.setUrl(QString("bitcoin:175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W?dontexist=")); - QVERIFY(GUIUtil::parseBitcoinURI(uri, &rv)); + QVERIFY(GUIUtil::parseNYC3URI(uri, &rv)); QVERIFY(rv.address == QString("175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W")); QVERIFY(rv.label == QString()); QVERIFY(rv.amount == 0); uri.setUrl(QString("bitcoin:175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W?label=Wikipedia Example Address")); - QVERIFY(GUIUtil::parseBitcoinURI(uri, &rv)); + QVERIFY(GUIUtil::parseNYC3URI(uri, &rv)); QVERIFY(rv.address == QString("175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W")); QVERIFY(rv.label == QString("Wikipedia Example Address")); QVERIFY(rv.amount == 0); uri.setUrl(QString("bitcoin:175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W?amount=0.001")); - QVERIFY(GUIUtil::parseBitcoinURI(uri, &rv)); + QVERIFY(GUIUtil::parseNYC3URI(uri, &rv)); QVERIFY(rv.address == QString("175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W")); QVERIFY(rv.label == QString()); QVERIFY(rv.amount == 100000); uri.setUrl(QString("bitcoin:175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W?amount=1.001")); - QVERIFY(GUIUtil::parseBitcoinURI(uri, &rv)); + QVERIFY(GUIUtil::parseNYC3URI(uri, &rv)); QVERIFY(rv.address == QString("175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W")); QVERIFY(rv.label == QString()); QVERIFY(rv.amount == 100100000); uri.setUrl(QString("bitcoin:175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W?amount=100&label=Wikipedia Example")); - QVERIFY(GUIUtil::parseBitcoinURI(uri, &rv)); + QVERIFY(GUIUtil::parseNYC3URI(uri, &rv)); QVERIFY(rv.address == QString("175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W")); QVERIFY(rv.amount == 10000000000LL); QVERIFY(rv.label == QString("Wikipedia Example")); uri.setUrl(QString("bitcoin:175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W?message=Wikipedia Example Address")); - QVERIFY(GUIUtil::parseBitcoinURI(uri, &rv)); + QVERIFY(GUIUtil::parseNYC3URI(uri, &rv)); QVERIFY(rv.address == QString("175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W")); QVERIFY(rv.label == QString()); - QVERIFY(GUIUtil::parseBitcoinURI("bitcoin:175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W?message=Wikipedia Example Address", &rv)); + QVERIFY(GUIUtil::parseNYC3URI("bitcoin:175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W?message=Wikipedia Example Address", &rv)); QVERIFY(rv.address == QString("175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W")); QVERIFY(rv.label == QString()); uri.setUrl(QString("bitcoin:175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W?req-message=Wikipedia Example Address")); - QVERIFY(GUIUtil::parseBitcoinURI(uri, &rv)); + QVERIFY(GUIUtil::parseNYC3URI(uri, &rv)); uri.setUrl(QString("bitcoin:175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W?amount=1,000&label=Wikipedia Example")); - QVERIFY(!GUIUtil::parseBitcoinURI(uri, &rv)); + QVERIFY(!GUIUtil::parseNYC3URI(uri, &rv)); uri.setUrl(QString("bitcoin:175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W?amount=1,000.0&label=Wikipedia Example")); - QVERIFY(!GUIUtil::parseBitcoinURI(uri, &rv)); + QVERIFY(!GUIUtil::parseNYC3URI(uri, &rv)); } diff --git a/src/qt/test/uritests.h b/src/qt/test/uritests.h index 499484279..8e798905c 100644 --- a/src/qt/test/uritests.h +++ b/src/qt/test/uritests.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009-2015 The Bitcoin Core developers +// Copyright (c) 2009-2015 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/test/wallettests.cpp b/src/qt/test/wallettests.cpp index 2ecf74749..f66c36938 100644 --- a/src/qt/test/wallettests.cpp +++ b/src/qt/test/wallettests.cpp @@ -188,7 +188,7 @@ void TestGUI() QString balanceText = balanceLabel->text(); int unit = walletModel.getOptionsModel()->getDisplayUnit(); CAmount balance = walletModel.wallet().getBalance(); - QString balanceComparison = BitcoinUnits::formatWithUnit(unit, balance, false, BitcoinUnits::separatorAlways); + QString balanceComparison = NYC3Units::formatWithUnit(unit, balance, false, NYC3Units::separatorAlways); QCOMPARE(balanceText, balanceComparison); // Check Request Payment button diff --git a/src/qt/trafficgraphwidget.cpp b/src/qt/trafficgraphwidget.cpp index 1588be8da..23ff5c410 100644 --- a/src/qt/trafficgraphwidget.cpp +++ b/src/qt/trafficgraphwidget.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/trafficgraphwidget.h b/src/qt/trafficgraphwidget.h index 48bd246b3..560ff46b5 100644 --- a/src/qt/trafficgraphwidget.h +++ b/src/qt/trafficgraphwidget.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2015 The Bitcoin Core developers +// Copyright (c) 2011-2015 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/transactiondesc.cpp b/src/qt/transactiondesc.cpp index 0fc745122..8a6469bf9 100644 --- a/src/qt/transactiondesc.cpp +++ b/src/qt/transactiondesc.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -140,7 +140,7 @@ QString TransactionDesc::toHTML(interfaces::Node& node, interfaces::Wallet& wall nUnmatured += wallet.getCredit(txout, ISMINE_ALL); strHTML += "" + tr("Credit") + ": "; if (status.is_in_main_chain) - strHTML += BitcoinUnits::formatHtmlWithUnit(unit, nUnmatured)+ " (" + tr("matures in %n more block(s)", "", status.blocks_to_maturity) + ")"; + strHTML += NYC3Units::formatHtmlWithUnit(unit, nUnmatured)+ " (" + tr("matures in %n more block(s)", "", status.blocks_to_maturity) + ")"; else strHTML += "(" + tr("not accepted") + ")"; strHTML += "
"; @@ -150,7 +150,7 @@ QString TransactionDesc::toHTML(interfaces::Node& node, interfaces::Wallet& wall // // Credit // - strHTML += "" + tr("Credit") + ": " + BitcoinUnits::formatHtmlWithUnit(unit, nNet) + "
"; + strHTML += "" + tr("Credit") + ": " + NYC3Units::formatHtmlWithUnit(unit, nNet) + "
"; } else { @@ -202,9 +202,9 @@ QString TransactionDesc::toHTML(interfaces::Node& node, interfaces::Wallet& wall } } - strHTML += "" + tr("Debit") + ": " + BitcoinUnits::formatHtmlWithUnit(unit, -txout.nValue) + "
"; + strHTML += "" + tr("Debit") + ": " + NYC3Units::formatHtmlWithUnit(unit, -txout.nValue) + "
"; if(toSelf) - strHTML += "" + tr("Credit") + ": " + BitcoinUnits::formatHtmlWithUnit(unit, txout.nValue) + "
"; + strHTML += "" + tr("Credit") + ": " + NYC3Units::formatHtmlWithUnit(unit, txout.nValue) + "
"; } if (fAllToMe) @@ -212,13 +212,13 @@ QString TransactionDesc::toHTML(interfaces::Node& node, interfaces::Wallet& wall // Payment to self CAmount nChange = wtx.change; CAmount nValue = nCredit - nChange; - strHTML += "" + tr("Total debit") + ": " + BitcoinUnits::formatHtmlWithUnit(unit, -nValue) + "
"; - strHTML += "" + tr("Total credit") + ": " + BitcoinUnits::formatHtmlWithUnit(unit, nValue) + "
"; + strHTML += "" + tr("Total debit") + ": " + NYC3Units::formatHtmlWithUnit(unit, -nValue) + "
"; + strHTML += "" + tr("Total credit") + ": " + NYC3Units::formatHtmlWithUnit(unit, nValue) + "
"; } CAmount nTxFee = nDebit - wtx.tx->GetValueOut(); if (nTxFee > 0) - strHTML += "" + tr("Transaction fee") + ": " + BitcoinUnits::formatHtmlWithUnit(unit, -nTxFee) + "
"; + strHTML += "" + tr("Transaction fee") + ": " + NYC3Units::formatHtmlWithUnit(unit, -nTxFee) + "
"; } else { @@ -228,19 +228,19 @@ QString TransactionDesc::toHTML(interfaces::Node& node, interfaces::Wallet& wall auto mine = wtx.txin_is_mine.begin(); for (const CTxIn& txin : wtx.tx->vin) { if (*(mine++)) { - strHTML += "" + tr("Debit") + ": " + BitcoinUnits::formatHtmlWithUnit(unit, -wallet.getDebit(txin, ISMINE_ALL)) + "
"; + strHTML += "" + tr("Debit") + ": " + NYC3Units::formatHtmlWithUnit(unit, -wallet.getDebit(txin, ISMINE_ALL)) + "
"; } } mine = wtx.txout_is_mine.begin(); for (const CTxOut& txout : wtx.tx->vout) { if (*(mine++)) { - strHTML += "" + tr("Credit") + ": " + BitcoinUnits::formatHtmlWithUnit(unit, wallet.getCredit(txout, ISMINE_ALL)) + "
"; + strHTML += "" + tr("Credit") + ": " + NYC3Units::formatHtmlWithUnit(unit, wallet.getCredit(txout, ISMINE_ALL)) + "
"; } } } } - strHTML += "" + tr("Net amount") + ": " + BitcoinUnits::formatHtmlWithUnit(unit, nNet, true) + "
"; + strHTML += "" + tr("Net amount") + ": " + NYC3Units::formatHtmlWithUnit(unit, nNet, true) + "
"; // // Message @@ -291,10 +291,10 @@ QString TransactionDesc::toHTML(interfaces::Node& node, interfaces::Wallet& wall strHTML += "

" + tr("Debug information") + "

"; for (const CTxIn& txin : wtx.tx->vin) if(wallet.txinIsMine(txin)) - strHTML += "" + tr("Debit") + ": " + BitcoinUnits::formatHtmlWithUnit(unit, -wallet.getDebit(txin, ISMINE_ALL)) + "
"; + strHTML += "" + tr("Debit") + ": " + NYC3Units::formatHtmlWithUnit(unit, -wallet.getDebit(txin, ISMINE_ALL)) + "
"; for (const CTxOut& txout : wtx.tx->vout) if(wallet.txoutIsMine(txout)) - strHTML += "" + tr("Credit") + ": " + BitcoinUnits::formatHtmlWithUnit(unit, wallet.getCredit(txout, ISMINE_ALL)) + "
"; + strHTML += "" + tr("Credit") + ": " + NYC3Units::formatHtmlWithUnit(unit, wallet.getCredit(txout, ISMINE_ALL)) + "
"; strHTML += "
" + tr("Transaction") + ":
"; strHTML += GUIUtil::HtmlEscape(wtx.tx->ToString(), true); @@ -320,7 +320,7 @@ QString TransactionDesc::toHTML(interfaces::Node& node, interfaces::Wallet& wall strHTML += GUIUtil::HtmlEscape(name) + " "; strHTML += QString::fromStdString(EncodeDestination(address)); } - strHTML = strHTML + " " + tr("Amount") + "=" + BitcoinUnits::formatHtmlWithUnit(unit, vout.nValue); + strHTML = strHTML + " " + tr("Amount") + "=" + NYC3Units::formatHtmlWithUnit(unit, vout.nValue); strHTML = strHTML + " IsMine=" + (wallet.txoutIsMine(vout) & ISMINE_SPENDABLE ? tr("true") : tr("false")) + ""; strHTML = strHTML + " IsWatchOnly=" + (wallet.txoutIsMine(vout) & ISMINE_WATCH_ONLY ? tr("true") : tr("false")) + ""; } diff --git a/src/qt/transactiondesc.h b/src/qt/transactiondesc.h index cf955a433..d24431f40 100644 --- a/src/qt/transactiondesc.h +++ b/src/qt/transactiondesc.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/transactiondescdialog.cpp b/src/qt/transactiondescdialog.cpp index ca72720e0..8ade31113 100644 --- a/src/qt/transactiondescdialog.cpp +++ b/src/qt/transactiondescdialog.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/transactiondescdialog.h b/src/qt/transactiondescdialog.h index 8fd3f3166..a670ab90f 100644 --- a/src/qt/transactiondescdialog.h +++ b/src/qt/transactiondescdialog.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2014 The Bitcoin Core developers +// Copyright (c) 2011-2014 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/transactionfilterproxy.cpp b/src/qt/transactionfilterproxy.cpp index a631f497a..307247cc4 100644 --- a/src/qt/transactionfilterproxy.cpp +++ b/src/qt/transactionfilterproxy.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/transactionfilterproxy.h b/src/qt/transactionfilterproxy.h index 685f8d3a2..44ec62310 100644 --- a/src/qt/transactionfilterproxy.h +++ b/src/qt/transactionfilterproxy.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/transactionrecord.cpp b/src/qt/transactionrecord.cpp index aa785553c..ab4e7371c 100644 --- a/src/qt/transactionrecord.cpp +++ b/src/qt/transactionrecord.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -55,7 +55,7 @@ QList TransactionRecord::decomposeTransaction(const interface sub.involvesWatchAddress = mine & ISMINE_WATCH_ONLY; if (wtx.txout_address_is_mine[i]) { - // Received by Bitcoin Address + // Received by NYC3 Address sub.type = TransactionRecord::RecvWithAddress; sub.address = EncodeDestination(wtx.txout_address[i]); } @@ -124,7 +124,7 @@ QList TransactionRecord::decomposeTransaction(const interface if (!boost::get(&wtx.txout_address[nOut])) { - // Sent to Bitcoin Address + // Sent to NYC3 Address sub.type = TransactionRecord::SendToAddress; sub.address = EncodeDestination(wtx.txout_address[nOut]); } diff --git a/src/qt/transactionrecord.h b/src/qt/transactionrecord.h index 3f64cefd0..aca075259 100644 --- a/src/qt/transactionrecord.h +++ b/src/qt/transactionrecord.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/transactiontablemodel.cpp b/src/qt/transactiontablemodel.cpp index 631a9b891..0c3c018d4 100644 --- a/src/qt/transactiontablemodel.cpp +++ b/src/qt/transactiontablemodel.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -224,7 +224,7 @@ TransactionTableModel::TransactionTableModel(const PlatformStyle *_platformStyle fProcessingQueuedTransactions(false), platformStyle(_platformStyle) { - columns << QString() << QString() << tr("Date") << tr("Type") << tr("Label") << BitcoinUnits::getAmountColumnTitle(walletModel->getOptionsModel()->getDisplayUnit()); + columns << QString() << QString() << tr("Date") << tr("Type") << tr("Label") << NYC3Units::getAmountColumnTitle(walletModel->getOptionsModel()->getDisplayUnit()); priv->refreshWallet(walletModel->wallet()); connect(walletModel->getOptionsModel(), &OptionsModel::displayUnitChanged, this, &TransactionTableModel::updateDisplayUnit); @@ -241,7 +241,7 @@ TransactionTableModel::~TransactionTableModel() /** Updates the column title to "Amount (DisplayUnit)" and emits headerDataChanged() signal for table headers to react. */ void TransactionTableModel::updateAmountColumnTitle() { - columns[Amount] = BitcoinUnits::getAmountColumnTitle(walletModel->getOptionsModel()->getDisplayUnit()); + columns[Amount] = NYC3Units::getAmountColumnTitle(walletModel->getOptionsModel()->getDisplayUnit()); Q_EMIT headerDataChanged(Qt::Horizontal,Amount,Amount); } @@ -422,9 +422,9 @@ QVariant TransactionTableModel::addressColor(const TransactionRecord *wtx) const return QVariant(); } -QString TransactionTableModel::formatTxAmount(const TransactionRecord *wtx, bool showUnconfirmed, BitcoinUnits::SeparatorStyle separators) const +QString TransactionTableModel::formatTxAmount(const TransactionRecord *wtx, bool showUnconfirmed, NYC3Units::SeparatorStyle separators) const { - QString str = BitcoinUnits::format(walletModel->getOptionsModel()->getDisplayUnit(), wtx->credit + wtx->debit, false, separators); + QString str = NYC3Units::format(walletModel->getOptionsModel()->getDisplayUnit(), wtx->credit + wtx->debit, false, separators); if(showUnconfirmed) { if(!wtx->status.countsForBalance) @@ -524,7 +524,7 @@ QVariant TransactionTableModel::data(const QModelIndex &index, int role) const case ToAddress: return formatTxToAddress(rec, false); case Amount: - return formatTxAmount(rec, true, BitcoinUnits::separatorAlways); + return formatTxAmount(rec, true, NYC3Units::separatorAlways); } break; case Qt::EditRole: @@ -614,14 +614,14 @@ QVariant TransactionTableModel::data(const QModelIndex &index, int role) const details.append(QString::fromStdString(rec->address)); details.append(" "); } - details.append(formatTxAmount(rec, false, BitcoinUnits::separatorNever)); + details.append(formatTxAmount(rec, false, NYC3Units::separatorNever)); return details; } case ConfirmedRole: return rec->status.countsForBalance; case FormattedAmountRole: // Used for copy/export, so don't include separators - return formatTxAmount(rec, false, BitcoinUnits::separatorNever); + return formatTxAmount(rec, false, NYC3Units::separatorNever); case StatusRole: return rec->status.status; } diff --git a/src/qt/transactiontablemodel.h b/src/qt/transactiontablemodel.h index fa48a6968..ba5a28d14 100644 --- a/src/qt/transactiontablemodel.h +++ b/src/qt/transactiontablemodel.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -101,7 +101,7 @@ private: QString formatTxDate(const TransactionRecord *wtx) const; QString formatTxType(const TransactionRecord *wtx) const; QString formatTxToAddress(const TransactionRecord *wtx, bool tooltip) const; - QString formatTxAmount(const TransactionRecord *wtx, bool showUnconfirmed=true, BitcoinUnits::SeparatorStyle separators=BitcoinUnits::separatorStandard) const; + QString formatTxAmount(const TransactionRecord *wtx, bool showUnconfirmed=true, NYC3Units::SeparatorStyle separators=NYC3Units::separatorStandard) const; QString formatTooltip(const TransactionRecord *rec) const; QVariant txStatusDecoration(const TransactionRecord *wtx) const; QVariant txWatchonlyDecoration(const TransactionRecord *wtx) const; diff --git a/src/qt/transactionview.cpp b/src/qt/transactionview.cpp index d092eb48c..9ff51ca35 100644 --- a/src/qt/transactionview.cpp +++ b/src/qt/transactionview.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -343,7 +343,7 @@ void TransactionView::changedAmount() if(!transactionProxyModel) return; CAmount amount_parsed = 0; - if (BitcoinUnits::parse(model->getOptionsModel()->getDisplayUnit(), amountWidget->text(), &amount_parsed)) { + if (NYC3Units::parse(model->getOptionsModel()->getDisplayUnit(), amountWidget->text(), &amount_parsed)) { transactionProxyModel->setMinAmount(amount_parsed); } else @@ -377,7 +377,7 @@ void TransactionView::exportClicked() writer.addColumn(tr("Type"), TransactionTableModel::Type, Qt::EditRole); writer.addColumn(tr("Label"), 0, TransactionTableModel::LabelRole); writer.addColumn(tr("Address"), 0, TransactionTableModel::AddressRole); - writer.addColumn(BitcoinUnits::getAmountColumnTitle(model->getOptionsModel()->getDisplayUnit()), 0, TransactionTableModel::FormattedAmountRole); + writer.addColumn(NYC3Units::getAmountColumnTitle(model->getOptionsModel()->getDisplayUnit()), 0, TransactionTableModel::FormattedAmountRole); writer.addColumn(tr("ID"), 0, TransactionTableModel::TxHashRole); if(!writer.write()) { diff --git a/src/qt/transactionview.h b/src/qt/transactionview.h index e07181d1c..dab97db2e 100644 --- a/src/qt/transactionview.h +++ b/src/qt/transactionview.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/utilitydialog.cpp b/src/qt/utilitydialog.cpp index 22d0d2401..75aef9532 100644 --- a/src/qt/utilitydialog.cpp +++ b/src/qt/utilitydialog.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -160,7 +160,7 @@ ShutdownWindow::ShutdownWindow(QWidget *parent, Qt::WindowFlags f): setLayout(layout); } -QWidget *ShutdownWindow::showShutdownWindow(BitcoinGUI *window) +QWidget *ShutdownWindow::showShutdownWindow(NYC3GUI *window) { if (!window) return nullptr; diff --git a/src/qt/utilitydialog.h b/src/qt/utilitydialog.h index f1cedff28..5e697a550 100644 --- a/src/qt/utilitydialog.h +++ b/src/qt/utilitydialog.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -8,7 +8,7 @@ #include #include -class BitcoinGUI; +class NYC3GUI; namespace interfaces { class Node; @@ -46,7 +46,7 @@ class ShutdownWindow : public QWidget public: explicit ShutdownWindow(QWidget *parent=nullptr, Qt::WindowFlags f=Qt::Widget); - static QWidget *showShutdownWindow(BitcoinGUI *window); + static QWidget *showShutdownWindow(NYC3GUI *window); protected: void closeEvent(QCloseEvent *event); diff --git a/src/qt/walletcontroller.cpp b/src/qt/walletcontroller.cpp index 019bd6582..fec01eb63 100644 --- a/src/qt/walletcontroller.cpp +++ b/src/qt/walletcontroller.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2019 The Bitcoin Core developers +// Copyright (c) 2019 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/walletcontroller.h b/src/qt/walletcontroller.h index 19b3a8225..29d013d78 100644 --- a/src/qt/walletcontroller.h +++ b/src/qt/walletcontroller.h @@ -1,4 +1,4 @@ -// Copyright (c) 2019 The Bitcoin Core developers +// Copyright (c) 2019 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/walletframe.cpp b/src/qt/walletframe.cpp index 40c8fe443..5916df416 100644 --- a/src/qt/walletframe.cpp +++ b/src/qt/walletframe.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2019 The Bitcoin Core developers +// Copyright (c) 2011-2019 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -14,7 +14,7 @@ #include #include -WalletFrame::WalletFrame(const PlatformStyle *_platformStyle, BitcoinGUI *_gui) : +WalletFrame::WalletFrame(const PlatformStyle *_platformStyle, NYC3GUI *_gui) : QFrame(_gui), gui(_gui), platformStyle(_platformStyle) @@ -51,7 +51,7 @@ bool WalletFrame::addWallet(WalletModel *walletModel) } WalletView *walletView = new WalletView(platformStyle, this); - walletView->setBitcoinGUI(gui); + walletView->setNYC3GUI(gui); walletView->setClientModel(clientModel); walletView->setWalletModel(walletModel); walletView->showOutOfSyncWarning(bOutOfSync); diff --git a/src/qt/walletframe.h b/src/qt/walletframe.h index 6a74fde9f..a0daf13e3 100644 --- a/src/qt/walletframe.h +++ b/src/qt/walletframe.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2019 The Bitcoin Core developers +// Copyright (c) 2011-2019 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -8,7 +8,7 @@ #include #include -class BitcoinGUI; +class NYC3GUI; class ClientModel; class PlatformStyle; class SendCoinsRecipient; @@ -21,9 +21,9 @@ QT_END_NAMESPACE /** * A container for embedding all wallet-related - * controls into BitcoinGUI. The purpose of this class is to allow future + * controls into NYC3GUI. The purpose of this class is to allow future * refinements of the wallet controls with minimal need for further - * modifications to BitcoinGUI, thus greatly simplifying merges while + * modifications to NYC3GUI, thus greatly simplifying merges while * reducing the risk of breaking top-level stuff. */ class WalletFrame : public QFrame @@ -31,7 +31,7 @@ class WalletFrame : public QFrame Q_OBJECT public: - explicit WalletFrame(const PlatformStyle *platformStyle, BitcoinGUI *_gui = nullptr); + explicit WalletFrame(const PlatformStyle *platformStyle, NYC3GUI *_gui = nullptr); ~WalletFrame(); void setClientModel(ClientModel *clientModel); @@ -51,7 +51,7 @@ Q_SIGNALS: private: QStackedWidget *walletStack; - BitcoinGUI *gui; + NYC3GUI *gui; ClientModel *clientModel; QMap mapWalletViews; diff --git a/src/qt/walletmodel.cpp b/src/qt/walletmodel.cpp index f4f3be8f4..389c7c44c 100644 --- a/src/qt/walletmodel.cpp +++ b/src/qt/walletmodel.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2019 The Bitcoin Core developers +// Copyright (c) 2011-2019 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -529,15 +529,15 @@ bool WalletModel::bumpFee(uint256 hash, uint256& new_hash) questionString.append(""); questionString.append(tr("Current fee:")); questionString.append(""); - questionString.append(BitcoinUnits::formatHtmlWithUnit(getOptionsModel()->getDisplayUnit(), old_fee)); + questionString.append(NYC3Units::formatHtmlWithUnit(getOptionsModel()->getDisplayUnit(), old_fee)); questionString.append(""); questionString.append(tr("Increase:")); questionString.append(""); - questionString.append(BitcoinUnits::formatHtmlWithUnit(getOptionsModel()->getDisplayUnit(), new_fee - old_fee)); + questionString.append(NYC3Units::formatHtmlWithUnit(getOptionsModel()->getDisplayUnit(), new_fee - old_fee)); questionString.append(""); questionString.append(tr("New fee:")); questionString.append(""); - questionString.append(BitcoinUnits::formatHtmlWithUnit(getOptionsModel()->getDisplayUnit(), new_fee)); + questionString.append(NYC3Units::formatHtmlWithUnit(getOptionsModel()->getDisplayUnit(), new_fee)); questionString.append(""); SendConfirmationDialog confirmationDialog(tr("Confirm fee bump"), questionString); confirmationDialog.exec(); diff --git a/src/qt/walletmodel.h b/src/qt/walletmodel.h index b123befbb..079bb63f5 100644 --- a/src/qt/walletmodel.h +++ b/src/qt/walletmodel.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2019 The Bitcoin Core developers +// Copyright (c) 2011-2019 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -121,7 +121,7 @@ public: } }; -/** Interface to Bitcoin wallet from Qt view code. */ +/** Interface to NYC3 wallet from Qt view code. */ class WalletModel : public QObject { Q_OBJECT diff --git a/src/qt/walletmodeltransaction.cpp b/src/qt/walletmodeltransaction.cpp index eb3b0baf0..2683d4793 100644 --- a/src/qt/walletmodeltransaction.cpp +++ b/src/qt/walletmodeltransaction.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/walletmodeltransaction.h b/src/qt/walletmodeltransaction.h index 289aee847..08f81e82b 100644 --- a/src/qt/walletmodeltransaction.h +++ b/src/qt/walletmodeltransaction.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/walletview.cpp b/src/qt/walletview.cpp index 1f0368256..ed66cc293 100644 --- a/src/qt/walletview.cpp +++ b/src/qt/walletview.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -86,15 +86,15 @@ WalletView::~WalletView() { } -void WalletView::setBitcoinGUI(BitcoinGUI *gui) +void WalletView::setNYC3GUI(NYC3GUI *gui) { if (gui) { // Clicking on a transaction on the overview page simply sends you to transaction history page - connect(overviewPage, &OverviewPage::transactionClicked, gui, &BitcoinGUI::gotoHistoryPage); + connect(overviewPage, &OverviewPage::transactionClicked, gui, &NYC3GUI::gotoHistoryPage); // Navigate to transaction history page after send - connect(sendCoinsPage, &SendCoinsDialog::coinsSent, gui, &BitcoinGUI::gotoHistoryPage); + connect(sendCoinsPage, &SendCoinsDialog::coinsSent, gui, &NYC3GUI::gotoHistoryPage); // Receive and report messages connect(this, &WalletView::message, [gui](const QString &title, const QString &message, unsigned int style) { @@ -102,13 +102,13 @@ void WalletView::setBitcoinGUI(BitcoinGUI *gui) }); // Pass through encryption status changed signals - connect(this, &WalletView::encryptionStatusChanged, gui, &BitcoinGUI::updateWalletStatus); + connect(this, &WalletView::encryptionStatusChanged, gui, &NYC3GUI::updateWalletStatus); // Pass through transaction notifications - connect(this, &WalletView::incomingTransaction, gui, &BitcoinGUI::incomingTransaction); + connect(this, &WalletView::incomingTransaction, gui, &NYC3GUI::incomingTransaction); // Connect HD enabled state signal - connect(this, &WalletView::hdEnabledStatusChanged, gui, &BitcoinGUI::updateWalletStatus); + connect(this, &WalletView::hdEnabledStatusChanged, gui, &NYC3GUI::updateWalletStatus); } } diff --git a/src/qt/walletview.h b/src/qt/walletview.h index e29c4c52f..0adc3eaff 100644 --- a/src/qt/walletview.h +++ b/src/qt/walletview.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -9,7 +9,7 @@ #include -class BitcoinGUI; +class NYC3GUI; class ClientModel; class OverviewPage; class PlatformStyle; @@ -39,7 +39,7 @@ public: explicit WalletView(const PlatformStyle *platformStyle, QWidget *parent); ~WalletView(); - void setBitcoinGUI(BitcoinGUI *gui); + void setNYC3GUI(NYC3GUI *gui); /** Set the client model. The client model represents the part of the core that communicates with the P2P network, and is wallet-agnostic. */ diff --git a/src/qt/winshutdownmonitor.cpp b/src/qt/winshutdownmonitor.cpp index 08cae76ad..4676b44c6 100644 --- a/src/qt/winshutdownmonitor.cpp +++ b/src/qt/winshutdownmonitor.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2018 The Bitcoin Core developers +// Copyright (c) 2014-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/winshutdownmonitor.h b/src/qt/winshutdownmonitor.h index 8edb98c74..e62f777b8 100644 --- a/src/qt/winshutdownmonitor.h +++ b/src/qt/winshutdownmonitor.h @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2018 The Bitcoin Core developers +// Copyright (c) 2014-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/random.cpp b/src/random.cpp index 1aa78a903..8b8b08349 100644 --- a/src/random.cpp +++ b/src/random.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/random.h b/src/random.h index 1c035f87b..5c544438d 100644 --- a/src/random.h +++ b/src/random.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/rest.cpp b/src/rest.cpp index 326f7ae1d..a8cec660c 100644 --- a/src/rest.cpp +++ b/src/rest.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/reverselock.h b/src/reverselock.h index 9d9cc9fd7..ef43b7943 100644 --- a/src/reverselock.h +++ b/src/reverselock.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015-2016 The Bitcoin Core developers +// Copyright (c) 2015-2016 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp index 18e247923..0eaf22ce9 100644 --- a/src/rpc/blockchain.cpp +++ b/src/rpc/blockchain.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2010 Satoshi Nakamoto -// Copyright (c) 2009-2019 The Bitcoin Core developers +// Copyright (c) 2009-2019 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/rpc/blockchain.h b/src/rpc/blockchain.h index 529132d03..99e8ccc24 100644 --- a/src/rpc/blockchain.h +++ b/src/rpc/blockchain.h @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2018 The Bitcoin Core developers +// Copyright (c) 2017-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/rpc/client.cpp b/src/rpc/client.cpp index 0dfbf00b2..c8f1da302 100644 --- a/src/rpc/client.cpp +++ b/src/rpc/client.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/rpc/client.h b/src/rpc/client.h index b9fee5bbb..f7f1b95b7 100644 --- a/src/rpc/client.h +++ b/src/rpc/client.h @@ -1,5 +1,5 @@ // Copyright (c) 2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp index 56f7f9b5f..b64c342dc 100644 --- a/src/rpc/mining.cpp +++ b/src/rpc/mining.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/rpc/mining.h b/src/rpc/mining.h index be9a97331..b36c4a25b 100644 --- a/src/rpc/mining.h +++ b/src/rpc/mining.h @@ -1,4 +1,4 @@ -// Copyright (c) 2017 The Bitcoin Core developers +// Copyright (c) 2017 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/rpc/misc.cpp b/src/rpc/misc.cpp index 0a97f8029..ea3701212 100644 --- a/src/rpc/misc.cpp +++ b/src/rpc/misc.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/rpc/net.cpp b/src/rpc/net.cpp index c7b3478f4..2d58e4e63 100644 --- a/src/rpc/net.cpp +++ b/src/rpc/net.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2009-2019 The Bitcoin Core developers +// Copyright (c) 2009-2019 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/rpc/protocol.cpp b/src/rpc/protocol.cpp index 23999b305..bb0af67e3 100644 --- a/src/rpc/protocol.cpp +++ b/src/rpc/protocol.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -13,7 +13,7 @@ #include /** - * JSON-RPC protocol. Bitcoin speaks version 1.0 for maximum compatibility, + * JSON-RPC protocol. NYC3 speaks version 1.0 for maximum compatibility, * but uses JSON-RPC 1.1/2.0 standards for parts of the 1.0 standard that were * unspecified (HTTP errors and contents of 'error'). * diff --git a/src/rpc/protocol.h b/src/rpc/protocol.h index 6bcbccbd4..7b2efcb1b 100644 --- a/src/rpc/protocol.h +++ b/src/rpc/protocol.h @@ -1,5 +1,5 @@ // Copyright (c) 2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -28,7 +28,7 @@ enum HTTPStatusCode HTTP_SERVICE_UNAVAILABLE = 503, }; -//! Bitcoin RPC error codes +//! NYC3 RPC error codes enum RPCErrorCode { //! Standard JSON-RPC 2.0 errors @@ -64,7 +64,7 @@ enum RPCErrorCode RPC_TRANSACTION_ALREADY_IN_CHAIN= RPC_VERIFY_ALREADY_IN_CHAIN, //! P2P client errors - RPC_CLIENT_NOT_CONNECTED = -9, //!< Bitcoin is not connected + RPC_CLIENT_NOT_CONNECTED = -9, //!< NYC3 is not connected RPC_CLIENT_IN_INITIAL_DOWNLOAD = -10, //!< Still downloading initial blocks RPC_CLIENT_NODE_ALREADY_ADDED = -23, //!< Node is already added RPC_CLIENT_NODE_NOT_ADDED = -24, //!< Node has not been added before diff --git a/src/rpc/register.h b/src/rpc/register.h index 374a1e3db..58cb21006 100644 --- a/src/rpc/register.h +++ b/src/rpc/register.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/rpc/server.cpp b/src/rpc/server.cpp index 6b85f4098..ef9a51eaf 100644 --- a/src/rpc/server.cpp +++ b/src/rpc/server.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2010 Satoshi Nakamoto -// Copyright (c) 2009-2019 The Bitcoin Core developers +// Copyright (c) 2009-2019 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/rpc/util.cpp b/src/rpc/util.cpp index 40ac13318..17aeffee9 100644 --- a/src/rpc/util.cpp +++ b/src/rpc/util.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Bitcoin Core developers +// Copyright (c) 2017-2019 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/rpc/util.h b/src/rpc/util.h index f1bd2c89d..ca1db77cd 100644 --- a/src/rpc/util.h +++ b/src/rpc/util.h @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019 The Bitcoin Core developers +// Copyright (c) 2017-2019 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/scheduler.cpp b/src/scheduler.cpp index fdc859b3a..b5d9a9d20 100644 --- a/src/scheduler.cpp +++ b/src/scheduler.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2015-2018 The Bitcoin Core developers +// Copyright (c) 2015-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/scheduler.h b/src/scheduler.h index 436f661c5..535826c5c 100644 --- a/src/scheduler.h +++ b/src/scheduler.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015-2018 The Bitcoin Core developers +// Copyright (c) 2015-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/script/descriptor.cpp b/src/script/descriptor.cpp index a333d4d4a..8bd277629 100644 --- a/src/script/descriptor.cpp +++ b/src/script/descriptor.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2018 The Bitcoin Core developers +// Copyright (c) 2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/script/descriptor.h b/src/script/descriptor.h index 907a10228..024b76f3d 100644 --- a/src/script/descriptor.h +++ b/src/script/descriptor.h @@ -1,4 +1,4 @@ -// Copyright (c) 2018 The Bitcoin Core developers +// Copyright (c) 2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/script/interpreter.cpp b/src/script/interpreter.cpp index 95b25b491..917066a96 100644 --- a/src/script/interpreter.cpp +++ b/src/script/interpreter.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/script/interpreter.h b/src/script/interpreter.h index 276ff9a58..303062ce8 100644 --- a/src/script/interpreter.h +++ b/src/script/interpreter.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/script/ismine.cpp b/src/script/ismine.cpp index 51bd2d6e9..5154b977a 100644 --- a/src/script/ismine.cpp +++ b/src/script/ismine.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/script/ismine.h b/src/script/ismine.h index 601e70f70..30abfc6b5 100644 --- a/src/script/ismine.h +++ b/src/script/ismine.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/script/nyc3consensus.cpp b/src/script/nyc3consensus.cpp index ebef4f221..cfed32273 100644 --- a/src/script/nyc3consensus.cpp +++ b/src/script/nyc3consensus.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/script/nyc3consensus.h b/src/script/nyc3consensus.h index c5dceac84..cf4d11fac 100644 --- a/src/script/nyc3consensus.h +++ b/src/script/nyc3consensus.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/script/script.cpp b/src/script/script.cpp index 982aa241e..2adb5dbd6 100644 --- a/src/script/script.cpp +++ b/src/script/script.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/script/script.h b/src/script/script.h index 1d8ddba2f..35261234b 100644 --- a/src/script/script.h +++ b/src/script/script.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -522,7 +522,7 @@ public: } /** - * Pre-version-0.6, Bitcoin always counted CHECKMULTISIGs + * Pre-version-0.6, NYC3 always counted CHECKMULTISIGs * as 20 sigops. With pay-to-script-hash, that changed: * CHECKMULTISIGs serialized in scriptSigs are * counted more accurately, assuming they are of the form diff --git a/src/script/script_error.cpp b/src/script/script_error.cpp index 9d7deffc7..60847e24a 100644 --- a/src/script/script_error.cpp +++ b/src/script/script_error.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/script/script_error.h b/src/script/script_error.h index 400f63ff0..af3fbc589 100644 --- a/src/script/script_error.h +++ b/src/script/script_error.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/script/sigcache.cpp b/src/script/sigcache.cpp index 94005cf6f..b57a75be8 100644 --- a/src/script/sigcache.cpp +++ b/src/script/sigcache.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/script/sigcache.h b/src/script/sigcache.h index 807b61b54..3579f38c2 100644 --- a/src/script/sigcache.h +++ b/src/script/sigcache.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/script/sign.cpp b/src/script/sign.cpp index 36dd68a3d..b41aca385 100644 --- a/src/script/sign.cpp +++ b/src/script/sign.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/script/sign.h b/src/script/sign.h index f746325b9..0a3497780 100644 --- a/src/script/sign.h +++ b/src/script/sign.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/script/standard.cpp b/src/script/standard.cpp index 31bfd04b0..b353d3605 100644 --- a/src/script/standard.cpp +++ b/src/script/standard.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/script/standard.h b/src/script/standard.h index fc20fb6a0..af3387c43 100644 --- a/src/script/standard.h +++ b/src/script/standard.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -163,7 +163,7 @@ bool ExtractDestination(const CScript& scriptPubKey, CTxDestination& addressRet) bool ExtractDestinations(const CScript& scriptPubKey, txnouttype& typeRet, std::vector& addressRet, int& nRequiredRet); /** - * Generate a Bitcoin scriptPubKey for the given CTxDestination. Returns a P2PKH + * Generate a NYC3 scriptPubKey for the given CTxDestination. Returns a P2PKH * script for a CKeyID destination, a P2SH script for a CScriptID, and an empty * script for CNoDestination. */ diff --git a/src/secp256k1/contrib/lax_der_parsing.h b/src/secp256k1/contrib/lax_der_parsing.h index 7eaf63bf6..d5c8abfbc 100644 --- a/src/secp256k1/contrib/lax_der_parsing.h +++ b/src/secp256k1/contrib/lax_der_parsing.h @@ -68,7 +68,7 @@ extern "C" { * This function will accept any valid DER encoded signature, even if the * encoded numbers are out of range. In addition, it will accept signatures * which violate the DER spec in various ways. Its purpose is to allow - * validation of the Bitcoin blockchain, which includes non-DER signatures + * validation of the NYC3 blockchain, which includes non-DER signatures * from before the network rules were updated to enforce DER. Note that * the set of supported violations is a strict subset of what OpenSSL will * accept. diff --git a/src/serialize.h b/src/serialize.h index 2d0cfbbbf..12f16f875 100644 --- a/src/serialize.h +++ b/src/serialize.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/shutdown.cpp b/src/shutdown.cpp index dec497d8e..64363d75b 100644 --- a/src/shutdown.cpp +++ b/src/shutdown.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/shutdown.h b/src/shutdown.h index 3ed851c78..a56d92104 100644 --- a/src/shutdown.h +++ b/src/shutdown.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/span.h b/src/span.h index 77de059fa..1ad8555ba 100644 --- a/src/span.h +++ b/src/span.h @@ -1,4 +1,4 @@ -// Copyright (c) 2018 The Bitcoin Core developers +// Copyright (c) 2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/streams.h b/src/streams.h index 4e600f182..23edc617c 100644 --- a/src/streams.h +++ b/src/streams.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/support/allocators/secure.h b/src/support/allocators/secure.h index 57f5b1f73..885fe4661 100644 --- a/src/support/allocators/secure.h +++ b/src/support/allocators/secure.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/support/allocators/zeroafterfree.h b/src/support/allocators/zeroafterfree.h index c7ed5ef30..9cc2b6415 100644 --- a/src/support/allocators/zeroafterfree.h +++ b/src/support/allocators/zeroafterfree.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/support/cleanse.cpp b/src/support/cleanse.cpp index 17a4a4c2b..55cd9648d 100644 --- a/src/support/cleanse.cpp +++ b/src/support/cleanse.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/support/cleanse.h b/src/support/cleanse.h index 5298214e4..8b009c972 100644 --- a/src/support/cleanse.h +++ b/src/support/cleanse.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/support/events.h b/src/support/events.h index 0a74d0236..f91ec4b03 100644 --- a/src/support/events.h +++ b/src/support/events.h @@ -1,4 +1,4 @@ -// Copyright (c) 2016-2018 The Bitcoin Core developers +// Copyright (c) 2016-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/support/lockedpool.cpp b/src/support/lockedpool.cpp index 5c2050e4a..4db316c7f 100644 --- a/src/support/lockedpool.cpp +++ b/src/support/lockedpool.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2016-2018 The Bitcoin Core developers +// Copyright (c) 2016-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/support/lockedpool.h b/src/support/lockedpool.h index b420c909f..b08061c2c 100644 --- a/src/support/lockedpool.h +++ b/src/support/lockedpool.h @@ -1,4 +1,4 @@ -// Copyright (c) 2016-2018 The Bitcoin Core developers +// Copyright (c) 2016-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/sync.cpp b/src/sync.cpp index 23ca866e5..e2cf995f7 100644 --- a/src/sync.cpp +++ b/src/sync.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/sync.h b/src/sync.h index 3857eda56..5ef648830 100644 --- a/src/sync.h +++ b/src/sync.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/addrman_tests.cpp b/src/test/addrman_tests.cpp index 22347fbc5..d57255073 100644 --- a/src/test/addrman_tests.cpp +++ b/src/test/addrman_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2012-2018 The Bitcoin Core developers +// Copyright (c) 2012-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include diff --git a/src/test/allocator_tests.cpp b/src/test/allocator_tests.cpp index 9eded4f5b..12a9cf9d4 100644 --- a/src/test/allocator_tests.cpp +++ b/src/test/allocator_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2012-2018 The Bitcoin Core developers +// Copyright (c) 2012-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/amount_tests.cpp b/src/test/amount_tests.cpp index 1ff040b07..bc77bb733 100644 --- a/src/test/amount_tests.cpp +++ b/src/test/amount_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2016-2018 The Bitcoin Core developers +// Copyright (c) 2016-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/arith_uint256_tests.cpp b/src/test/arith_uint256_tests.cpp index 77b6008fd..93eec7223 100644 --- a/src/test/arith_uint256_tests.cpp +++ b/src/test/arith_uint256_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/base32_tests.cpp b/src/test/base32_tests.cpp index 32af843bf..ad025875a 100644 --- a/src/test/base32_tests.cpp +++ b/src/test/base32_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2012-2018 The Bitcoin Core developers +// Copyright (c) 2012-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/base58_tests.cpp b/src/test/base58_tests.cpp index f8f9b3c1a..c4327e09a 100644 --- a/src/test/base58_tests.cpp +++ b/src/test/base58_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/base64_tests.cpp b/src/test/base64_tests.cpp index 0abbb682a..c55bb5d5d 100644 --- a/src/test/base64_tests.cpp +++ b/src/test/base64_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/bip32_tests.cpp b/src/test/bip32_tests.cpp index c9951f4b7..875c7bd86 100644 --- a/src/test/bip32_tests.cpp +++ b/src/test/bip32_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2013-2018 The Bitcoin Core developers +// Copyright (c) 2013-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/blockencodings_tests.cpp b/src/test/blockencodings_tests.cpp index 607af8a32..8bc889093 100644 --- a/src/test/blockencodings_tests.cpp +++ b/src/test/blockencodings_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/blockfilter_tests.cpp b/src/test/blockfilter_tests.cpp index 625362f44..446f2e29f 100644 --- a/src/test/blockfilter_tests.cpp +++ b/src/test/blockfilter_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2018 The Bitcoin Core developers +// Copyright (c) 2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/bloom_tests.cpp b/src/test/bloom_tests.cpp index f58dd20ef..1816586d0 100644 --- a/src/test/bloom_tests.cpp +++ b/src/test/bloom_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2012-2018 The Bitcoin Core developers +// Copyright (c) 2012-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/bswap_tests.cpp b/src/test/bswap_tests.cpp index 857292619..da09f9239 100644 --- a/src/test/bswap_tests.cpp +++ b/src/test/bswap_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2016-2018 The Bitcoin Core developers +// Copyright (c) 2016-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/checkqueue_tests.cpp b/src/test/checkqueue_tests.cpp index 3469c6dfb..949ba833a 100644 --- a/src/test/checkqueue_tests.cpp +++ b/src/test/checkqueue_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2012-2018 The Bitcoin Core developers +// Copyright (c) 2012-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/coins_tests.cpp b/src/test/coins_tests.cpp index f6b97a686..10ad8ef39 100644 --- a/src/test/coins_tests.cpp +++ b/src/test/coins_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2018 The Bitcoin Core developers +// Copyright (c) 2014-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/compress_tests.cpp b/src/test/compress_tests.cpp index e686c0516..a05f2c4ea 100644 --- a/src/test/compress_tests.cpp +++ b/src/test/compress_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2012-2018 The Bitcoin Core developers +// Copyright (c) 2012-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/crypto_tests.cpp b/src/test/crypto_tests.cpp index 86cb00a78..e96254cf7 100644 --- a/src/test/crypto_tests.cpp +++ b/src/test/crypto_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2018 The Bitcoin Core developers +// Copyright (c) 2014-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -261,7 +261,7 @@ BOOST_AUTO_TEST_CASE(sha256_testvectors) { "f08a78cbbaee082b052ae0708f32fa1e50c5c421aa772ba5dbb406a2ea6be342"); TestSHA256("This is exactly 64 bytes long, not counting the terminating byte", "ab64eff7e88e2e46165e29f2bce41826bd4c7b3552f6b382a9e7d3af47c245f8"); - TestSHA256("As Bitcoin relies on 80 byte header hashes, we want to have an example for that.", + TestSHA256("As NYC3 relies on 80 byte header hashes, we want to have an example for that.", "7406e8de7d6e4fffc573daef05aefb8806e7790f55eab5576f31349743cca743"); TestSHA256(std::string(1000000, 'a'), "cdc76e5c9914fb9281a1c7e284d73e67f1809a48a497200e046d39ccc7112cd0"); diff --git a/src/test/cuckoocache_tests.cpp b/src/test/cuckoocache_tests.cpp index d8286520e..fa4299e2f 100644 --- a/src/test/cuckoocache_tests.cpp +++ b/src/test/cuckoocache_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2012-2018 The Bitcoin Core developers +// Copyright (c) 2012-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include diff --git a/src/test/data/README.md b/src/test/data/README.md index 2463daa42..347227966 100644 --- a/src/test/data/README.md +++ b/src/test/data/README.md @@ -1,7 +1,7 @@ Description ------------ -This directory contains data-driven tests for various aspects of Bitcoin. +This directory contains data-driven tests for various aspects of NYC3. License -------- diff --git a/src/test/dbwrapper_tests.cpp b/src/test/dbwrapper_tests.cpp index 94e8c9534..49bebdaec 100644 --- a/src/test/dbwrapper_tests.cpp +++ b/src/test/dbwrapper_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2012-2018 The Bitcoin Core developers +// Copyright (c) 2012-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/denialofservice_tests.cpp b/src/test/denialofservice_tests.cpp index e5d62a3ab..7c3ff489e 100644 --- a/src/test/denialofservice_tests.cpp +++ b/src/test/denialofservice_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/descriptor_tests.cpp b/src/test/descriptor_tests.cpp index 826615cb5..ab6ed1b4f 100644 --- a/src/test/descriptor_tests.cpp +++ b/src/test/descriptor_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2018 The Bitcoin Core developers +// Copyright (c) 2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/fs_tests.cpp b/src/test/fs_tests.cpp index 93aee10bb..8a41f27dc 100644 --- a/src/test/fs_tests.cpp +++ b/src/test/fs_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. // diff --git a/src/test/fuzz/deserialize.cpp b/src/test/fuzz/deserialize.cpp index 859fba0bd..9c765221d 100644 --- a/src/test/fuzz/deserialize.cpp +++ b/src/test/fuzz/deserialize.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/fuzz/fuzz.cpp b/src/test/fuzz/fuzz.cpp index 0709da556..878814d59 100644 --- a/src/test/fuzz/fuzz.cpp +++ b/src/test/fuzz/fuzz.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2009-2019 The Bitcoin Core developers +// Copyright (c) 2009-2019 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/fuzz/fuzz.h b/src/test/fuzz/fuzz.h index ad62a5faf..0e73cd5ec 100644 --- a/src/test/fuzz/fuzz.h +++ b/src/test/fuzz/fuzz.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009-2019 The Bitcoin Core developers +// Copyright (c) 2009-2019 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/fuzz/script_flags.cpp b/src/test/fuzz/script_flags.cpp index 2c0bfa360..ce163b0a7 100644 --- a/src/test/fuzz/script_flags.cpp +++ b/src/test/fuzz/script_flags.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2009-2019 The Bitcoin Core developers +// Copyright (c) 2009-2019 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/gen/crypto_gen.cpp b/src/test/gen/crypto_gen.cpp index ca8c65806..efca1387a 100644 --- a/src/test/gen/crypto_gen.cpp +++ b/src/test/gen/crypto_gen.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2018 The Bitcoin Core developers +// Copyright (c) 2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include diff --git a/src/test/gen/crypto_gen.h b/src/test/gen/crypto_gen.h index 7c2fb0350..8b2884867 100644 --- a/src/test/gen/crypto_gen.h +++ b/src/test/gen/crypto_gen.h @@ -1,4 +1,4 @@ -// Copyright (c) 2018 The Bitcoin Core developers +// Copyright (c) 2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_TEST_GEN_CRYPTO_GEN_H diff --git a/src/test/getarg_tests.cpp b/src/test/getarg_tests.cpp index 804823802..1ca21f092 100644 --- a/src/test/getarg_tests.cpp +++ b/src/test/getarg_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2012-2018 The Bitcoin Core developers +// Copyright (c) 2012-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/hash_tests.cpp b/src/test/hash_tests.cpp index e8e504085..9f16aa784 100644 --- a/src/test/hash_tests.cpp +++ b/src/test/hash_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2013-2018 The Bitcoin Core developers +// Copyright (c) 2013-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -20,7 +20,7 @@ BOOST_AUTO_TEST_CASE(murmurhash3) // Test MurmurHash3 with various inputs. Of course this is retested in the // bloom filter tests - they would fail if MurmurHash3() had any problems - - // but is useful for those trying to implement Bitcoin libraries as a + // but is useful for those trying to implement NYC3 libraries as a // source of test data for their MurmurHash3() primitive during // development. // diff --git a/src/test/key_io_tests.cpp b/src/test/key_io_tests.cpp index bf295042d..45ba53a7e 100644 --- a/src/test/key_io_tests.cpp +++ b/src/test/key_io_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/key_properties.cpp b/src/test/key_properties.cpp index c564b4eab..3a4a1de5d 100644 --- a/src/test/key_properties.cpp +++ b/src/test/key_properties.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2018 The Bitcoin Core developers +// Copyright (c) 2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include diff --git a/src/test/key_tests.cpp b/src/test/key_tests.cpp index a768b4bcb..b08197aae 100644 --- a/src/test/key_tests.cpp +++ b/src/test/key_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2012-2018 The Bitcoin Core developers +// Copyright (c) 2012-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/limitedmap_tests.cpp b/src/test/limitedmap_tests.cpp index 0788f75b0..e7e6cd272 100644 --- a/src/test/limitedmap_tests.cpp +++ b/src/test/limitedmap_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2012-2018 The Bitcoin Core developers +// Copyright (c) 2012-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/main_tests.cpp b/src/test/main_tests.cpp index 5b3f2bc57..2614fad3b 100644 --- a/src/test/main_tests.cpp +++ b/src/test/main_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2018 The Bitcoin Core developers +// Copyright (c) 2014-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/mempool_tests.cpp b/src/test/mempool_tests.cpp index 23ca9d89a..8a0f2e7ce 100644 --- a/src/test/mempool_tests.cpp +++ b/src/test/mempool_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/merkle_tests.cpp b/src/test/merkle_tests.cpp index 4cdf0f003..e59a55e04 100644 --- a/src/test/merkle_tests.cpp +++ b/src/test/merkle_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2015-2018 The Bitcoin Core developers +// Copyright (c) 2015-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -81,7 +81,7 @@ static void MerkleComputation(const std::vector& leaves, uint256* proot bool matchh = matchlevel == level; while (count != (((uint32_t)1) << level)) { // If we reach this point, h is an inner value that is not the top. - // We combine it with itself (Bitcoin's special rule for odd levels in + // We combine it with itself (NYC3's special rule for odd levels in // the tree) to produce a higher level one. if (pbranch && matchh) { pbranch->push_back(h); diff --git a/src/test/merkleblock_tests.cpp b/src/test/merkleblock_tests.cpp index 497859328..6de33bf90 100644 --- a/src/test/merkleblock_tests.cpp +++ b/src/test/merkleblock_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2012-2018 The Bitcoin Core developers +// Copyright (c) 2012-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/miner_tests.cpp b/src/test/miner_tests.cpp index 5ba1df2ec..5f3637846 100644 --- a/src/test/miner_tests.cpp +++ b/src/test/miner_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/multisig_tests.cpp b/src/test/multisig_tests.cpp index 8afe4b8a5..e68324fd5 100644 --- a/src/test/multisig_tests.cpp +++ b/src/test/multisig_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/net_tests.cpp b/src/test/net_tests.cpp index b4ae8e976..a2dee692b 100644 --- a/src/test/net_tests.cpp +++ b/src/test/net_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2012-2018 The Bitcoin Core developers +// Copyright (c) 2012-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include diff --git a/src/test/netbase_tests.cpp b/src/test/netbase_tests.cpp index 0d557cff1..0d81518a2 100644 --- a/src/test/netbase_tests.cpp +++ b/src/test/netbase_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2012-2018 The Bitcoin Core developers +// Copyright (c) 2012-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/pmt_tests.cpp b/src/test/pmt_tests.cpp index 502019280..8454c3b8e 100644 --- a/src/test/pmt_tests.cpp +++ b/src/test/pmt_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2012-2018 The Bitcoin Core developers +// Copyright (c) 2012-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/policyestimator_tests.cpp b/src/test/policyestimator_tests.cpp index 7b274a165..7777a4ef5 100644 --- a/src/test/policyestimator_tests.cpp +++ b/src/test/policyestimator_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/pow_tests.cpp b/src/test/pow_tests.cpp index 26cdc9bc5..f4cceac13 100644 --- a/src/test/pow_tests.cpp +++ b/src/test/pow_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2015-2018 The Bitcoin Core developers +// Copyright (c) 2015-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/prevector_tests.cpp b/src/test/prevector_tests.cpp index 734138920..17f5070d4 100644 --- a/src/test/prevector_tests.cpp +++ b/src/test/prevector_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2015-2018 The Bitcoin Core developers +// Copyright (c) 2015-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/raii_event_tests.cpp b/src/test/raii_event_tests.cpp index bdb411d53..394e147e0 100644 --- a/src/test/raii_event_tests.cpp +++ b/src/test/raii_event_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2016-2018 The Bitcoin Core developers +// Copyright (c) 2016-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/random_tests.cpp b/src/test/random_tests.cpp index 8194070ab..e99f01389 100644 --- a/src/test/random_tests.cpp +++ b/src/test/random_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2018 The Bitcoin Core developers +// Copyright (c) 2017-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/reverselock_tests.cpp b/src/test/reverselock_tests.cpp index 91c76fda8..1d78ff434 100644 --- a/src/test/reverselock_tests.cpp +++ b/src/test/reverselock_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2015-2018 The Bitcoin Core developers +// Copyright (c) 2015-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/rpc_tests.cpp b/src/test/rpc_tests.cpp index ff4839892..2bb0c9b49 100644 --- a/src/test/rpc_tests.cpp +++ b/src/test/rpc_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2012-2018 The Bitcoin Core developers +// Copyright (c) 2012-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/sanity_tests.cpp b/src/test/sanity_tests.cpp index 8085a2192..d51310f33 100644 --- a/src/test/sanity_tests.cpp +++ b/src/test/sanity_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2012-2018 The Bitcoin Core developers +// Copyright (c) 2012-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/scheduler_tests.cpp b/src/test/scheduler_tests.cpp index 100d65b77..8f4f82695 100644 --- a/src/test/scheduler_tests.cpp +++ b/src/test/scheduler_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2012-2018 The Bitcoin Core developers +// Copyright (c) 2012-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/script_p2sh_tests.cpp b/src/test/script_p2sh_tests.cpp index 3a2a11ef9..1d221b49e 100644 --- a/src/test/script_p2sh_tests.cpp +++ b/src/test/script_p2sh_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2012-2018 The Bitcoin Core developers +// Copyright (c) 2012-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/script_standard_tests.cpp b/src/test/script_standard_tests.cpp index bde82018c..edcb9fb2b 100644 --- a/src/test/script_standard_tests.cpp +++ b/src/test/script_standard_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2018 The Bitcoin Core developers +// Copyright (c) 2017-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/script_tests.cpp b/src/test/script_tests.cpp index 87c3e74df..f52ccd85c 100644 --- a/src/test/script_tests.cpp +++ b/src/test/script_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/scriptnum10.h b/src/test/scriptnum10.h index 5052863c5..582b91af8 100644 --- a/src/test/scriptnum10.h +++ b/src/test/scriptnum10.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/scriptnum_tests.cpp b/src/test/scriptnum_tests.cpp index f9b407ce3..1ebc4ff3a 100644 --- a/src/test/scriptnum_tests.cpp +++ b/src/test/scriptnum_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2012-2018 The Bitcoin Core developers +// Copyright (c) 2012-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/serialize_tests.cpp b/src/test/serialize_tests.cpp index 002f61f6a..f151d2d20 100644 --- a/src/test/serialize_tests.cpp +++ b/src/test/serialize_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2012-2018 The Bitcoin Core developers +// Copyright (c) 2012-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/sighash_tests.cpp b/src/test/sighash_tests.cpp index 04d5462ac..f61f0b42a 100644 --- a/src/test/sighash_tests.cpp +++ b/src/test/sighash_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2013-2018 The Bitcoin Core developers +// Copyright (c) 2013-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/sigopcount_tests.cpp b/src/test/sigopcount_tests.cpp index 6a0349cd4..0c3a3af7a 100644 --- a/src/test/sigopcount_tests.cpp +++ b/src/test/sigopcount_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2012-2018 The Bitcoin Core developers +// Copyright (c) 2012-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/skiplist_tests.cpp b/src/test/skiplist_tests.cpp index 5c46976ac..6bdee46c9 100644 --- a/src/test/skiplist_tests.cpp +++ b/src/test/skiplist_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2018 The Bitcoin Core developers +// Copyright (c) 2014-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/streams_tests.cpp b/src/test/streams_tests.cpp index a1940eb80..061715826 100644 --- a/src/test/streams_tests.cpp +++ b/src/test/streams_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2012-2018 The Bitcoin Core developers +// Copyright (c) 2012-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/sync_tests.cpp b/src/test/sync_tests.cpp index df0380546..446c55a7a 100644 --- a/src/test/sync_tests.cpp +++ b/src/test/sync_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2012-2017 The Bitcoin Core developers +// Copyright (c) 2012-2017 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/test_bitcoin.cpp b/src/test/test_bitcoin.cpp index 0c3fb7c39..38e313929 100644 --- a/src/test/test_bitcoin.cpp +++ b/src/test/test_bitcoin.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/test_bitcoin.h b/src/test/test_bitcoin.h index 4a0684568..c8c84b804 100644 --- a/src/test/test_bitcoin.h +++ b/src/test/test_bitcoin.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015-2018 The Bitcoin Core developers +// Copyright (c) 2015-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/test_bitcoin_main.cpp b/src/test/test_bitcoin_main.cpp index 46b63b93b..201b9c6b7 100644 --- a/src/test/test_bitcoin_main.cpp +++ b/src/test/test_bitcoin_main.cpp @@ -1,8 +1,8 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#define BOOST_TEST_MODULE Bitcoin Test Suite +#define BOOST_TEST_MODULE NYC3 Test Suite #include #include diff --git a/src/test/timedata_tests.cpp b/src/test/timedata_tests.cpp index 474a67497..e87fcfdc8 100644 --- a/src/test/timedata_tests.cpp +++ b/src/test/timedata_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. // diff --git a/src/test/transaction_tests.cpp b/src/test/transaction_tests.cpp index 39cff3f46..b0685fa0c 100644 --- a/src/test/transaction_tests.cpp +++ b/src/test/transaction_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/txindex_tests.cpp b/src/test/txindex_tests.cpp index d667c26c3..99591c97c 100644 --- a/src/test/txindex_tests.cpp +++ b/src/test/txindex_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2018 The Bitcoin Core developers +// Copyright (c) 2017-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/txvalidation_tests.cpp b/src/test/txvalidation_tests.cpp index c2777cd6d..e6b7de2d3 100644 --- a/src/test/txvalidation_tests.cpp +++ b/src/test/txvalidation_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2018 The Bitcoin Core developers +// Copyright (c) 2017-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/txvalidationcache_tests.cpp b/src/test/txvalidationcache_tests.cpp index 4d04aae7e..86f9d88c3 100644 --- a/src/test/txvalidationcache_tests.cpp +++ b/src/test/txvalidationcache_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/uint256_tests.cpp b/src/test/uint256_tests.cpp index cca5e2029..c2977ae6c 100644 --- a/src/test/uint256_tests.cpp +++ b/src/test/uint256_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include diff --git a/src/test/util_tests.cpp b/src/test/util_tests.cpp index 71b6ec742..8377f23d4 100644 --- a/src/test/util_tests.cpp +++ b/src/test/util_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -1252,7 +1252,7 @@ BOOST_AUTO_TEST_CASE(test_ToUpper) BOOST_AUTO_TEST_CASE(test_Capitalize) { BOOST_CHECK_EQUAL(Capitalize(""), ""); - BOOST_CHECK_EQUAL(Capitalize("bitcoin"), "Bitcoin"); + BOOST_CHECK_EQUAL(Capitalize("bitcoin"), "NYC3"); BOOST_CHECK_EQUAL(Capitalize("\x00\xfe\xff"), "\x00\xfe\xff"); } diff --git a/src/test/validation_block_tests.cpp b/src/test/validation_block_tests.cpp index c1f9d60fb..d12bb9532 100644 --- a/src/test/validation_block_tests.cpp +++ b/src/test/validation_block_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2018 The Bitcoin Core developers +// Copyright (c) 2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/versionbits_tests.cpp b/src/test/versionbits_tests.cpp index ca3196454..59c3fea1d 100644 --- a/src/test/versionbits_tests.cpp +++ b/src/test/versionbits_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2018 The Bitcoin Core developers +// Copyright (c) 2014-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/threadinterrupt.cpp b/src/threadinterrupt.cpp index 340106ed9..043d0d37e 100644 --- a/src/threadinterrupt.cpp +++ b/src/threadinterrupt.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/threadinterrupt.h b/src/threadinterrupt.h index 274357137..0a2e59aff 100644 --- a/src/threadinterrupt.h +++ b/src/threadinterrupt.h @@ -1,4 +1,4 @@ -// Copyright (c) 2016-2018 The Bitcoin Core developers +// Copyright (c) 2016-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/threadsafety.h b/src/threadsafety.h index 33acddc65..577f8ddf7 100644 --- a/src/threadsafety.h +++ b/src/threadsafety.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/timedata.cpp b/src/timedata.cpp index 9c022c9ad..d561975c5 100644 --- a/src/timedata.cpp +++ b/src/timedata.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2018 The Bitcoin Core developers +// Copyright (c) 2014-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/timedata.h b/src/timedata.h index b165ecde2..9a95a4914 100644 --- a/src/timedata.h +++ b/src/timedata.h @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2018 The Bitcoin Core developers +// Copyright (c) 2014-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/torcontrol.cpp b/src/torcontrol.cpp index 550e23b22..4f61a9367 100644 --- a/src/torcontrol.cpp +++ b/src/torcontrol.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2015-2018 The Bitcoin Core developers +// Copyright (c) 2015-2018 The NYC3 Core developers // Copyright (c) 2017 The Zcash developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -401,7 +401,7 @@ static bool WriteBinaryFile(const fs::path &filename, const std::string &data) return true; } -/****** Bitcoin specific TorController implementation ********/ +/****** NYC3 specific TorController implementation ********/ /** Controller that connects to Tor control socket, authenticate, then create * and maintain an ephemeral hidden service. diff --git a/src/torcontrol.h b/src/torcontrol.h index 079146b54..c9e7990cf 100644 --- a/src/torcontrol.h +++ b/src/torcontrol.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015-2018 The Bitcoin Core developers +// Copyright (c) 2015-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/txdb.cpp b/src/txdb.cpp index b1655c008..6573dc684 100644 --- a/src/txdb.cpp +++ b/src/txdb.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/txdb.h b/src/txdb.h index d5a4bfaeb..59ca7f623 100644 --- a/src/txdb.h +++ b/src/txdb.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/txmempool.cpp b/src/txmempool.cpp index 68f47d5cc..94bd6889a 100644 --- a/src/txmempool.cpp +++ b/src/txmempool.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/txmempool.h b/src/txmempool.h index f7afaec8f..b99170fad 100644 --- a/src/txmempool.h +++ b/src/txmempool.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/ui_interface.cpp b/src/ui_interface.cpp index 947d7e230..8fdf48abe 100644 --- a/src/ui_interface.cpp +++ b/src/ui_interface.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2010-2018 The Bitcoin Core developers +// Copyright (c) 2010-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/ui_interface.h b/src/ui_interface.h index fe466b3ca..99a901ee1 100644 --- a/src/ui_interface.h +++ b/src/ui_interface.h @@ -1,5 +1,5 @@ // Copyright (c) 2010 Satoshi Nakamoto -// Copyright (c) 2012-2018 The Bitcoin Core developers +// Copyright (c) 2012-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/uint256.cpp b/src/uint256.cpp index e3bc9712e..3b7a37620 100644 --- a/src/uint256.cpp +++ b/src/uint256.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/uint256.h b/src/uint256.h index 8010a04c3..7dac11e40 100644 --- a/src/uint256.h +++ b/src/uint256.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/undo.h b/src/undo.h index 3f50f4caa..6471e71ba 100644 --- a/src/undo.h +++ b/src/undo.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/univalue/test/object.cpp b/src/univalue/test/object.cpp index 70ccc0d08..88ec0fafd 100644 --- a/src/univalue/test/object.cpp +++ b/src/univalue/test/object.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2014 BitPay Inc. -// Copyright (c) 2014-2016 The Bitcoin Core developers +// Copyright (c) 2014-2016 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/util/bip32.cpp b/src/util/bip32.cpp index 6f176dd5e..ad9a80564 100644 --- a/src/util/bip32.cpp +++ b/src/util/bip32.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2019 The Bitcoin Core developers +// Copyright (c) 2019 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/util/bip32.h b/src/util/bip32.h index 7e58b79f3..96d9f9c7f 100644 --- a/src/util/bip32.h +++ b/src/util/bip32.h @@ -1,4 +1,4 @@ -// Copyright (c) 2019 The Bitcoin Core developers +// Copyright (c) 2019 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/util/bytevectorhash.cpp b/src/util/bytevectorhash.cpp index f87d0e04b..099a42a0e 100644 --- a/src/util/bytevectorhash.cpp +++ b/src/util/bytevectorhash.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2018 The Bitcoin Core developers +// Copyright (c) 2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/util/bytevectorhash.h b/src/util/bytevectorhash.h index b88c17460..e9ebfe572 100644 --- a/src/util/bytevectorhash.h +++ b/src/util/bytevectorhash.h @@ -1,4 +1,4 @@ -// Copyright (c) 2018 The Bitcoin Core developers +// Copyright (c) 2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/util/memory.h b/src/util/memory.h index 15ecf8f80..3e2c8ecbe 100644 --- a/src/util/memory.h +++ b/src/util/memory.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/util/moneystr.cpp b/src/util/moneystr.cpp index f4e41eea4..a3b4fc0b6 100644 --- a/src/util/moneystr.cpp +++ b/src/util/moneystr.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/util/moneystr.h b/src/util/moneystr.h index b8e2812a9..b96c26bba 100644 --- a/src/util/moneystr.h +++ b/src/util/moneystr.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/util/strencodings.cpp b/src/util/strencodings.cpp index 0acbb4f11..cb7c44eaa 100644 --- a/src/util/strencodings.cpp +++ b/src/util/strencodings.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/util/strencodings.h b/src/util/strencodings.h index 0ca138589..d49038e0f 100644 --- a/src/util/strencodings.h +++ b/src/util/strencodings.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/util/system.cpp b/src/util/system.cpp index ccb803b35..0dc30c3e0 100644 --- a/src/util/system.cpp +++ b/src/util/system.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -680,13 +680,13 @@ void PrintExceptionContinue(const std::exception* pex, const char* pszThread) fs::path GetDefaultDataDir() { - // Windows < Vista: C:\Documents and Settings\Username\Application Data\Bitcoin - // Windows >= Vista: C:\Users\Username\AppData\Roaming\Bitcoin - // Mac: ~/Library/Application Support/Bitcoin + // Windows < Vista: C:\Documents and Settings\Username\Application Data\NYC3 + // Windows >= Vista: C:\Users\Username\AppData\Roaming\NYC3 + // Mac: ~/Library/Application Support/NYC3 // Unix: ~/.bitcoin #ifdef WIN32 // Windows - return GetSpecialFolderPath(CSIDL_APPDATA) / "Bitcoin"; + return GetSpecialFolderPath(CSIDL_APPDATA) / "NYC3"; #else fs::path pathRet; char* pszHome = getenv("HOME"); @@ -696,7 +696,7 @@ fs::path GetDefaultDataDir() pathRet = fs::path(pszHome); #ifdef MAC_OSX // Mac - return pathRet / "Library/Application Support/Bitcoin"; + return pathRet / "Library/Application Support/NYC3"; #else // Unix return pathRet / ".nyc3"; @@ -1222,7 +1222,7 @@ std::string CopyrightHolders(const std::string& strPrefix) // Check for untranslated substitution to make sure NYC3 copyright is not removed by accident if (strprintf(COPYRIGHT_HOLDERS, COPYRIGHT_HOLDERS_SUBSTITUTION).find("NYC3") == std::string::npos) { - strCopyrightHolders += "\n" + strPrefix + "The Bitcoin Core developers"; + strCopyrightHolders += "\n" + strPrefix + "The NYC3 Core developers"; } return strCopyrightHolders; } diff --git a/src/util/system.h b/src/util/system.h index ec48932a0..43a114ed7 100644 --- a/src/util/system.h +++ b/src/util/system.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/util/time.cpp b/src/util/time.cpp index 83a7937d8..db5ba015a 100644 --- a/src/util/time.cpp +++ b/src/util/time.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/util/time.h b/src/util/time.h index f2e274743..4e538e2d0 100644 --- a/src/util/time.h +++ b/src/util/time.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/validation.cpp b/src/validation.cpp index 4392b50cf..5e92dd90c 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -48,7 +48,7 @@ #include #if defined(NDEBUG) -# error "Bitcoin cannot be compiled without assertions." +# error "NYC3 cannot be compiled without assertions." #endif #define MICRO 0.000001 @@ -257,7 +257,7 @@ std::atomic_bool g_is_mempool_loaded{false}; /** Constant stuff for coinbase transactions we create: */ CScript COINBASE_FLAGS; -const std::string strMessageMagic = "Bitcoin Signed Message:\n"; +const std::string strMessageMagic = "NYC3 Signed Message:\n"; // Internal stuff namespace { diff --git a/src/validation.h b/src/validation.h index 65a378d8b..9bbe010dc 100644 --- a/src/validation.h +++ b/src/validation.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2019 The Bitcoin Core developers +// Copyright (c) 2009-2019 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/validationinterface.cpp b/src/validationinterface.cpp index 70c274d20..d49a2355a 100644 --- a/src/validationinterface.cpp +++ b/src/validationinterface.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/validationinterface.h b/src/validationinterface.h index f0374e8e7..8c8dbdcb0 100644 --- a/src/validationinterface.h +++ b/src/validationinterface.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/version.h b/src/version.h index d932b512d..0aa62e1ec 100644 --- a/src/version.h +++ b/src/version.h @@ -1,4 +1,4 @@ -// Copyright (c) 2012-2018 The Bitcoin Core developers +// Copyright (c) 2012-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/versionbits.cpp b/src/versionbits.cpp index 3f297c0eb..6f9b1c30c 100644 --- a/src/versionbits.cpp +++ b/src/versionbits.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2016-2018 The Bitcoin Core developers +// Copyright (c) 2016-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/versionbits.h b/src/versionbits.h index cdc947cd9..d20975399 100644 --- a/src/versionbits.h +++ b/src/versionbits.h @@ -1,4 +1,4 @@ -// Copyright (c) 2016-2018 The Bitcoin Core developers +// Copyright (c) 2016-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/versionbitsinfo.cpp b/src/versionbitsinfo.cpp index ecf348292..843d2cd9c 100644 --- a/src/versionbitsinfo.cpp +++ b/src/versionbitsinfo.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2016-2018 The Bitcoin Core developers +// Copyright (c) 2016-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/versionbitsinfo.h b/src/versionbitsinfo.h index a7822bc74..ed66d531e 100644 --- a/src/versionbitsinfo.h +++ b/src/versionbitsinfo.h @@ -1,4 +1,4 @@ -// Copyright (c) 2016-2018 The Bitcoin Core developers +// Copyright (c) 2016-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/wallet/coincontrol.cpp b/src/wallet/coincontrol.cpp index 87d2c4f06..80ac14d3a 100644 --- a/src/wallet/coincontrol.cpp +++ b/src/wallet/coincontrol.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2018 The Bitcoin Core developers +// Copyright (c) 2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/wallet/coincontrol.h b/src/wallet/coincontrol.h index 48a924abf..6b4174b6c 100644 --- a/src/wallet/coincontrol.h +++ b/src/wallet/coincontrol.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011-2018 The Bitcoin Core developers +// Copyright (c) 2011-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/wallet/coinselection.cpp b/src/wallet/coinselection.cpp index 8a37f374a..de4e93ca2 100644 --- a/src/wallet/coinselection.cpp +++ b/src/wallet/coinselection.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2018 The Bitcoin Core developers +// Copyright (c) 2017-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/wallet/coinselection.h b/src/wallet/coinselection.h index 5348401f4..341173081 100644 --- a/src/wallet/coinselection.h +++ b/src/wallet/coinselection.h @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2018 The Bitcoin Core developers +// Copyright (c) 2017-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/wallet/crypter.cpp b/src/wallet/crypter.cpp index a255177e3..360498b5d 100644 --- a/src/wallet/crypter.cpp +++ b/src/wallet/crypter.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/wallet/crypter.h b/src/wallet/crypter.h index 8e195ca8f..058da82ab 100644 --- a/src/wallet/crypter.h +++ b/src/wallet/crypter.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/wallet/db.cpp b/src/wallet/db.cpp index 99d880daa..44da00db7 100644 --- a/src/wallet/db.cpp +++ b/src/wallet/db.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/wallet/db.h b/src/wallet/db.h index 9df965305..827ad8f31 100644 --- a/src/wallet/db.h +++ b/src/wallet/db.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/wallet/feebumper.cpp b/src/wallet/feebumper.cpp index 7a71aea71..8b2c8ee8b 100644 --- a/src/wallet/feebumper.cpp +++ b/src/wallet/feebumper.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2018 The Bitcoin Core developers +// Copyright (c) 2017-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/wallet/feebumper.h b/src/wallet/feebumper.h index a1eb5d0e0..e0db92ee2 100644 --- a/src/wallet/feebumper.h +++ b/src/wallet/feebumper.h @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2018 The Bitcoin Core developers +// Copyright (c) 2017-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/wallet/fees.cpp b/src/wallet/fees.cpp index 9e2984ff0..879d2d0ca 100644 --- a/src/wallet/fees.cpp +++ b/src/wallet/fees.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/wallet/fees.h b/src/wallet/fees.h index 6bfee456c..5a6231dc6 100644 --- a/src/wallet/fees.h +++ b/src/wallet/fees.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/wallet/init.cpp b/src/wallet/init.cpp index 20d540c8d..d9bdba4d9 100644 --- a/src/wallet/init.cpp +++ b/src/wallet/init.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/wallet/psbtwallet.cpp b/src/wallet/psbtwallet.cpp index 1b17b0976..c5d4af2b1 100644 --- a/src/wallet/psbtwallet.cpp +++ b/src/wallet/psbtwallet.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/wallet/psbtwallet.h b/src/wallet/psbtwallet.h index a24a0967d..37b0dda13 100644 --- a/src/wallet/psbtwallet.h +++ b/src/wallet/psbtwallet.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009-2019 The Bitcoin Core developers +// Copyright (c) 2009-2019 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/wallet/rpcdump.cpp b/src/wallet/rpcdump.cpp index c63fdd80f..43e0ca27d 100644 --- a/src/wallet/rpcdump.cpp +++ b/src/wallet/rpcdump.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -821,7 +821,7 @@ UniValue dumpwallet(const JSONRPCRequest& request) std::sort(vKeyBirth.begin(), vKeyBirth.end()); // produce output - file << strprintf("# Wallet dump created by Bitcoin %s\n", CLIENT_BUILD); + file << strprintf("# Wallet dump created by NYC3 %s\n", CLIENT_BUILD); file << strprintf("# * Created on %s\n", FormatISO8601DateTime(GetTime())); const Optional tip_height = locked_chain->getHeight(); file << strprintf("# * Best block at time of backup was %i (%s),\n", tip_height.get_value_or(-1), tip_height ? locked_chain->getBlockHash(*tip_height).ToString() : "(missing block hash)"); diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 12c92a54d..c7665e52b 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/wallet/rpcwallet.h b/src/wallet/rpcwallet.h index 58053bde5..1503e9456 100644 --- a/src/wallet/rpcwallet.h +++ b/src/wallet/rpcwallet.h @@ -1,4 +1,4 @@ -// Copyright (c) 2016-2018 The Bitcoin Core developers +// Copyright (c) 2016-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/wallet/test/coinselector_tests.cpp b/src/wallet/test/coinselector_tests.cpp index 5c65acf60..babe7a5c5 100644 --- a/src/wallet/test/coinselector_tests.cpp +++ b/src/wallet/test/coinselector_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2018 The Bitcoin Core developers +// Copyright (c) 2017-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/wallet/test/db_tests.cpp b/src/wallet/test/db_tests.cpp index 2a6474937..886c5b362 100644 --- a/src/wallet/test/db_tests.cpp +++ b/src/wallet/test/db_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2018 The Bitcoin Core developers +// Copyright (c) 2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/wallet/test/init_test_fixture.cpp b/src/wallet/test/init_test_fixture.cpp index 3b828d57f..b8a72e432 100644 --- a/src/wallet/test/init_test_fixture.cpp +++ b/src/wallet/test/init_test_fixture.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2018 The Bitcoin Core developers +// Copyright (c) 2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/wallet/test/init_test_fixture.h b/src/wallet/test/init_test_fixture.h index cd47b31da..2c912a333 100644 --- a/src/wallet/test/init_test_fixture.h +++ b/src/wallet/test/init_test_fixture.h @@ -1,4 +1,4 @@ -// Copyright (c) 2018 The Bitcoin Core developers +// Copyright (c) 2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/wallet/test/init_tests.cpp b/src/wallet/test/init_tests.cpp index 5852d3ef8..d16eaed42 100644 --- a/src/wallet/test/init_tests.cpp +++ b/src/wallet/test/init_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2018 The Bitcoin Core developers +// Copyright (c) 2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/wallet/test/psbt_wallet_tests.cpp b/src/wallet/test/psbt_wallet_tests.cpp index 789e86e21..118af127b 100644 --- a/src/wallet/test/psbt_wallet_tests.cpp +++ b/src/wallet/test/psbt_wallet_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2018 The Bitcoin Core developers +// Copyright (c) 2017-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/wallet/test/wallet_crypto_tests.cpp b/src/wallet/test/wallet_crypto_tests.cpp index ae7092fa8..4975d0ec2 100644 --- a/src/wallet/test/wallet_crypto_tests.cpp +++ b/src/wallet/test/wallet_crypto_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2018 The Bitcoin Core developers +// Copyright (c) 2014-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/wallet/test/wallet_test_fixture.cpp b/src/wallet/test/wallet_test_fixture.cpp index a5fb1db86..5b0a65b2f 100644 --- a/src/wallet/test/wallet_test_fixture.cpp +++ b/src/wallet/test/wallet_test_fixture.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2016-2018 The Bitcoin Core developers +// Copyright (c) 2016-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/wallet/test/wallet_test_fixture.h b/src/wallet/test/wallet_test_fixture.h index e6fe8c947..75702b584 100644 --- a/src/wallet/test/wallet_test_fixture.h +++ b/src/wallet/test/wallet_test_fixture.h @@ -1,4 +1,4 @@ -// Copyright (c) 2016-2018 The Bitcoin Core developers +// Copyright (c) 2016-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/wallet/test/wallet_tests.cpp b/src/wallet/test/wallet_tests.cpp index e674b2fae..9e7d26cb7 100644 --- a/src/wallet/test/wallet_tests.cpp +++ b/src/wallet/test/wallet_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2012-2019 The Bitcoin Core developers +// Copyright (c) 2012-2019 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index b1b2a6316..0579667ca 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index 291176c33..e4132588e 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/wallet/walletdb.cpp b/src/wallet/walletdb.cpp index 2783f83fd..b9598b183 100644 --- a/src/wallet/walletdb.cpp +++ b/src/wallet/walletdb.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/wallet/walletdb.h b/src/wallet/walletdb.h index 0532a55ff..ae9860dda 100644 --- a/src/wallet/walletdb.h +++ b/src/wallet/walletdb.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/wallet/wallettool.cpp b/src/wallet/wallettool.cpp index 797f05118..bba004137 100644 --- a/src/wallet/wallettool.cpp +++ b/src/wallet/wallettool.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2016-2018 The Bitcoin Core developers +// Copyright (c) 2016-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/wallet/wallettool.h b/src/wallet/wallettool.h index 5b06fd179..2497c98e9 100644 --- a/src/wallet/wallettool.h +++ b/src/wallet/wallettool.h @@ -1,4 +1,4 @@ -// Copyright (c) 2016-2018 The Bitcoin Core developers +// Copyright (c) 2016-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/wallet/walletutil.cpp b/src/wallet/walletutil.cpp index 2d8adf8ba..49cb51c97 100644 --- a/src/wallet/walletutil.cpp +++ b/src/wallet/walletutil.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2018 The Bitcoin Core developers +// Copyright (c) 2017-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/wallet/walletutil.h b/src/wallet/walletutil.h index ba2f91384..4105e1270 100644 --- a/src/wallet/walletutil.h +++ b/src/wallet/walletutil.h @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2018 The Bitcoin Core developers +// Copyright (c) 2017-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/walletinitinterface.h b/src/walletinitinterface.h index 22aca6599..bc4e65b07 100644 --- a/src/walletinitinterface.h +++ b/src/walletinitinterface.h @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2018 The Bitcoin Core developers +// Copyright (c) 2017-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/warnings.cpp b/src/warnings.cpp index 1c6ba13f6..432bef37a 100644 --- a/src/warnings.cpp +++ b/src/warnings.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/warnings.h b/src/warnings.h index 16c8f7b52..c951c9dfa 100644 --- a/src/warnings.h +++ b/src/warnings.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2018 The Bitcoin Core developers +// Copyright (c) 2009-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/zmq/zmqabstractnotifier.cpp b/src/zmq/zmqabstractnotifier.cpp index 6a9661e3e..7609a4d61 100644 --- a/src/zmq/zmqabstractnotifier.cpp +++ b/src/zmq/zmqabstractnotifier.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2015-2018 The Bitcoin Core developers +// Copyright (c) 2015-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/zmq/zmqabstractnotifier.h b/src/zmq/zmqabstractnotifier.h index 887dde7b2..4d70d464a 100644 --- a/src/zmq/zmqabstractnotifier.h +++ b/src/zmq/zmqabstractnotifier.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015-2018 The Bitcoin Core developers +// Copyright (c) 2015-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/zmq/zmqconfig.h b/src/zmq/zmqconfig.h index 5219ffad4..4f705e90f 100644 --- a/src/zmq/zmqconfig.h +++ b/src/zmq/zmqconfig.h @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2018 The Bitcoin Core developers +// Copyright (c) 2014-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/zmq/zmqnotificationinterface.cpp b/src/zmq/zmqnotificationinterface.cpp index 6826cf62d..3937c10ee 100644 --- a/src/zmq/zmqnotificationinterface.cpp +++ b/src/zmq/zmqnotificationinterface.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2015-2018 The Bitcoin Core developers +// Copyright (c) 2015-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/zmq/zmqnotificationinterface.h b/src/zmq/zmqnotificationinterface.h index a0cc26a16..c3e94d307 100644 --- a/src/zmq/zmqnotificationinterface.h +++ b/src/zmq/zmqnotificationinterface.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015-2018 The Bitcoin Core developers +// Copyright (c) 2015-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/zmq/zmqpublishnotifier.cpp b/src/zmq/zmqpublishnotifier.cpp index ba89d1401..95730e3cb 100644 --- a/src/zmq/zmqpublishnotifier.cpp +++ b/src/zmq/zmqpublishnotifier.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2015-2018 The Bitcoin Core developers +// Copyright (c) 2015-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/zmq/zmqpublishnotifier.h b/src/zmq/zmqpublishnotifier.h index 278fdb94d..5dfff6c3c 100644 --- a/src/zmq/zmqpublishnotifier.h +++ b/src/zmq/zmqpublishnotifier.h @@ -1,4 +1,4 @@ -// Copyright (c) 2015-2018 The Bitcoin Core developers +// Copyright (c) 2015-2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/zmq/zmqrpc.cpp b/src/zmq/zmqrpc.cpp index a34968ef7..e84b9c31f 100644 --- a/src/zmq/zmqrpc.cpp +++ b/src/zmq/zmqrpc.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2018 The Bitcoin Core developers +// Copyright (c) 2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/zmq/zmqrpc.h b/src/zmq/zmqrpc.h index 5a810a16f..ea6ec6177 100644 --- a/src/zmq/zmqrpc.h +++ b/src/zmq/zmqrpc.h @@ -1,4 +1,4 @@ -// Copyright (c) 2018 The Bitcoin Core developers +// Copyright (c) 2018 The NYC3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/test/config.ini.in b/test/config.ini.in index 6b7ef7065..1b09ae5b2 100644 --- a/test/config.ini.in +++ b/test/config.ini.in @@ -1,4 +1,4 @@ -# Copyright (c) 2013-2016 The Bitcoin Core developers +# Copyright (c) 2013-2016 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/test/functional/README.md b/test/functional/README.md index 3f9074cfb..71b6fc48b 100644 --- a/test/functional/README.md +++ b/test/functional/README.md @@ -29,7 +29,7 @@ don't have test cases for. - Avoid wildcard imports - Use a module-level docstring to describe what the test is testing, and how it is testing it. -- When subclassing the BitcoinTestFramwork, place overrides for the +- When subclassing the NYC3TestFramwork, place overrides for the `set_test_params()`, `add_options()` and `setup_xxxx()` methods at the top of the subclass, then locally-defined helper methods, then the `run_test()` method. - Use `'{}'.format(x)` for string formatting, not `'%s' % x`. diff --git a/test/functional/create_cache.py b/test/functional/create_cache.py index edf16fa47..36d558080 100755 --- a/test/functional/create_cache.py +++ b/test/functional/create_cache.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2016-2018 The Bitcoin Core developers +# Copyright (c) 2016-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Create a blockchain cache. @@ -9,9 +9,9 @@ multiple functional tests. This helper script is executed by test_runner when mu tests are being run in parallel. """ -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework -class CreateCache(BitcoinTestFramework): +class CreateCache(NYC3TestFramework): # Test network and test nodes are not required: def set_test_params(self): diff --git a/test/functional/data/invalid_txs.py b/test/functional/data/invalid_txs.py index 02deae92f..06de3b8a9 100644 --- a/test/functional/data/invalid_txs.py +++ b/test/functional/data/invalid_txs.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2015-2018 The Bitcoin Core developers +# Copyright (c) 2015-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """ diff --git a/test/functional/example_test.py b/test/functional/example_test.py index f367e4fca..cd73452cd 100755 --- a/test/functional/example_test.py +++ b/test/functional/example_test.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2017-2018 The Bitcoin Core developers +# Copyright (c) 2017-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """An example functional test @@ -22,7 +22,7 @@ from test_framework.mininode import ( msg_block, msg_getdata, ) -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import ( assert_equal, connect_nodes, @@ -64,12 +64,12 @@ def custom_function(): If this function is more generally useful for other tests, consider moving it to a module in test_framework.""" - # self.log.info("running custom_function") # Oops! Can't run self.log outside the BitcoinTestFramework + # self.log.info("running custom_function") # Oops! Can't run self.log outside the NYC3TestFramework pass -class ExampleTest(BitcoinTestFramework): - # Each functional test is a subclass of the BitcoinTestFramework class. +class ExampleTest(NYC3TestFramework): + # Each functional test is a subclass of the NYC3TestFramework class. # Override the set_test_params(), skip_test_if_missing_module(), add_options(), setup_chain(), setup_network() # and setup_nodes() methods to customize the test setup as required. @@ -129,7 +129,7 @@ class ExampleTest(BitcoinTestFramework): Define it in a method here because you're going to use it repeatedly. If you think it's useful in general, consider moving it to the base - BitcoinTestFramework class so other tests can use it.""" + NYC3TestFramework class so other tests can use it.""" self.log.info("Running custom_method") diff --git a/test/functional/feature_assumevalid.py b/test/functional/feature_assumevalid.py index 0eb3dd440..f75d5a0d2 100755 --- a/test/functional/feature_assumevalid.py +++ b/test/functional/feature_assumevalid.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2014-2018 The Bitcoin Core developers +# Copyright (c) 2014-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test logic for skipping signature validation on old blocks. @@ -44,7 +44,7 @@ from test_framework.messages import ( ) from test_framework.mininode import P2PInterface from test_framework.script import (CScript, OP_TRUE) -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import assert_equal class BaseNode(P2PInterface): @@ -53,7 +53,7 @@ class BaseNode(P2PInterface): headers_message.headers = [CBlockHeader(b) for b in new_blocks] self.send_message(headers_message) -class AssumeValidTest(BitcoinTestFramework): +class AssumeValidTest(NYC3TestFramework): def set_test_params(self): self.setup_clean_chain = True self.num_nodes = 3 diff --git a/test/functional/feature_bip68_sequence.py b/test/functional/feature_bip68_sequence.py index 8466f851c..dfb8eacfa 100755 --- a/test/functional/feature_bip68_sequence.py +++ b/test/functional/feature_bip68_sequence.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2014-2018 The Bitcoin Core developers +# Copyright (c) 2014-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test BIP68 implementation.""" @@ -9,7 +9,7 @@ import time from test_framework.blocktools import create_block, create_coinbase, add_witness_commitment from test_framework.messages import COIN, COutPoint, CTransaction, CTxIn, CTxOut, FromHex, ToHex from test_framework.script import CScript -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import assert_equal, assert_greater_than, assert_raises_rpc_error, bytes_to_hex_str, get_bip9_status, satoshi_round, sync_blocks SEQUENCE_LOCKTIME_DISABLE_FLAG = (1<<31) @@ -20,7 +20,7 @@ SEQUENCE_LOCKTIME_MASK = 0x0000ffff # RPC error for non-BIP68 final transactions NOT_FINAL_ERROR = "non-BIP68-final (code 64)" -class BIP68Test(BitcoinTestFramework): +class BIP68Test(NYC3TestFramework): def set_test_params(self): self.num_nodes = 2 self.extra_args = [[], ["-acceptnonstdtxn=0"]] diff --git a/test/functional/feature_block.py b/test/functional/feature_block.py index 5253ff7aa..1f2029b62 100755 --- a/test/functional/feature_block.py +++ b/test/functional/feature_block.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2015-2019 The Bitcoin Core developers +# Copyright (c) 2015-2019 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test block processing.""" @@ -49,7 +49,7 @@ from test_framework.script import ( SignatureHash, hash160, ) -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import assert_equal from data import invalid_txs @@ -74,7 +74,7 @@ class CBrokenBlock(CBlock): def normal_serialize(self): return super().serialize() -class FullBlockTest(BitcoinTestFramework): +class FullBlockTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 1 self.setup_clean_chain = True diff --git a/test/functional/feature_blocksdir.py b/test/functional/feature_blocksdir.py index 3a4889bbe..f8ce8cf73 100755 --- a/test/functional/feature_blocksdir.py +++ b/test/functional/feature_blocksdir.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2018 The Bitcoin Core developers +# Copyright (c) 2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the blocksdir option. @@ -8,10 +8,10 @@ import os import shutil -from test_framework.test_framework import BitcoinTestFramework, initialize_datadir +from test_framework.test_framework import NYC3TestFramework, initialize_datadir -class BlocksdirTest(BitcoinTestFramework): +class BlocksdirTest(NYC3TestFramework): def set_test_params(self): self.setup_clean_chain = True self.num_nodes = 1 diff --git a/test/functional/feature_cltv.py b/test/functional/feature_cltv.py index 96c5e49b0..25bb22ccf 100755 --- a/test/functional/feature_cltv.py +++ b/test/functional/feature_cltv.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2015-2018 The Bitcoin Core developers +# Copyright (c) 2015-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test BIP65 (CHECKLOCKTIMEVERIFY). @@ -12,7 +12,7 @@ from test_framework.blocktools import create_coinbase, create_block, create_tran from test_framework.messages import CTransaction, msg_block, ToHex from test_framework.mininode import P2PInterface from test_framework.script import CScript, OP_1NEGATE, OP_CHECKLOCKTIMEVERIFY, OP_DROP, CScriptNum -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import ( assert_equal, bytes_to_hex_str, @@ -55,7 +55,7 @@ def cltv_validate(node, tx, height): return new_tx -class BIP65Test(BitcoinTestFramework): +class BIP65Test(NYC3TestFramework): def set_test_params(self): self.num_nodes = 1 self.extra_args = [['-whitelist=127.0.0.1', '-par=1']] # Use only one script thread to get the exact reject reason for testing diff --git a/test/functional/feature_config_args.py b/test/functional/feature_config_args.py index 4b3f6603a..d71633c59 100755 --- a/test/functional/feature_config_args.py +++ b/test/functional/feature_config_args.py @@ -1,15 +1,15 @@ #!/usr/bin/env python3 -# Copyright (c) 2017-2018 The Bitcoin Core developers +# Copyright (c) 2017-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test various command line arguments and configuration file parameters.""" import os -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework -class ConfArgsTest(BitcoinTestFramework): +class ConfArgsTest(NYC3TestFramework): def set_test_params(self): self.setup_clean_chain = True self.num_nodes = 1 diff --git a/test/functional/feature_csv_activation.py b/test/functional/feature_csv_activation.py index df79c4312..f37905fd2 100755 --- a/test/functional/feature_csv_activation.py +++ b/test/functional/feature_csv_activation.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2015-2018 The Bitcoin Core developers +# Copyright (c) 2015-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test activation of the first version bits soft fork. @@ -55,7 +55,7 @@ from test_framework.script import ( OP_CHECKSEQUENCEVERIFY, OP_DROP, ) -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import ( assert_equal, get_bip9_status, @@ -139,7 +139,7 @@ def create_bip112txs(node, bip112inputs, varyOP_CSV, txversion, address, locktim txs.append({'tx': signtx, 'sdf': sdf, 'stf': stf}) return txs -class BIP68_112_113Test(BitcoinTestFramework): +class BIP68_112_113Test(NYC3TestFramework): def set_test_params(self): self.num_nodes = 1 self.setup_clean_chain = True diff --git a/test/functional/feature_dbcrash.py b/test/functional/feature_dbcrash.py index 8b06cc737..68929a19e 100755 --- a/test/functional/feature_dbcrash.py +++ b/test/functional/feature_dbcrash.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2017-2018 The Bitcoin Core developers +# Copyright (c) 2017-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test recovery from a crash during chainstate writing. @@ -32,7 +32,7 @@ import sys import time from test_framework.messages import COIN, COutPoint, CTransaction, CTxIn, CTxOut, ToHex -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import assert_equal, create_confirmed_utxos, hex_str_to_bytes HTTP_DISCONNECT_ERRORS = [http.client.CannotSendRequest] @@ -41,7 +41,7 @@ try: except AttributeError: pass -class ChainstateWriteCrashTest(BitcoinTestFramework): +class ChainstateWriteCrashTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 4 self.setup_clean_chain = False diff --git a/test/functional/feature_dersig.py b/test/functional/feature_dersig.py index 8ff9498ef..4e0e7ac92 100755 --- a/test/functional/feature_dersig.py +++ b/test/functional/feature_dersig.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2015-2018 The Bitcoin Core developers +# Copyright (c) 2015-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test BIP66 (DER SIG). @@ -11,7 +11,7 @@ from test_framework.blocktools import create_coinbase, create_block, create_tran from test_framework.messages import msg_block from test_framework.mininode import mininode_lock, P2PInterface from test_framework.script import CScript -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import ( assert_equal, bytes_to_hex_str, @@ -42,7 +42,7 @@ def unDERify(tx): -class BIP66Test(BitcoinTestFramework): +class BIP66Test(NYC3TestFramework): def set_test_params(self): self.num_nodes = 1 self.extra_args = [['-whitelist=127.0.0.1', '-par=1', '-enablebip61']] # Use only one script thread to get the exact reject reason for testing diff --git a/test/functional/feature_fee_estimation.py b/test/functional/feature_fee_estimation.py index b68e46adb..f5a663f4e 100755 --- a/test/functional/feature_fee_estimation.py +++ b/test/functional/feature_fee_estimation.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2014-2018 The Bitcoin Core developers +# Copyright (c) 2014-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test fee estimation code.""" @@ -8,7 +8,7 @@ import random from test_framework.messages import CTransaction, CTxIn, CTxOut, COutPoint, ToHex, COIN from test_framework.script import CScript, OP_1, OP_DROP, OP_2, OP_HASH160, OP_EQUAL, hash160, OP_TRUE -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import ( assert_equal, assert_greater_than, @@ -122,7 +122,7 @@ def check_estimates(node, fees_seen): else: assert_greater_than_or_equal(i + 1, e["blocks"]) -class EstimateFeeTest(BitcoinTestFramework): +class EstimateFeeTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 3 diff --git a/test/functional/feature_filelock.py b/test/functional/feature_filelock.py index 22d3b2832..b62a18b2c 100755 --- a/test/functional/feature_filelock.py +++ b/test/functional/feature_filelock.py @@ -1,14 +1,14 @@ #!/usr/bin/env python3 -# Copyright (c) 2018 The Bitcoin Core developers +# Copyright (c) 2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Check that it's not possible to start a second bitcoind instance using the same datadir or wallet.""" import os -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.test_node import ErrorMatch -class FilelockTest(BitcoinTestFramework): +class FilelockTest(NYC3TestFramework): def set_test_params(self): self.setup_clean_chain = True self.num_nodes = 2 diff --git a/test/functional/feature_help.py b/test/functional/feature_help.py index ed1d25c0d..31df6d521 100755 --- a/test/functional/feature_help.py +++ b/test/functional/feature_help.py @@ -1,13 +1,13 @@ #!/usr/bin/env python3 -# Copyright (c) 2018 The Bitcoin Core developers +# Copyright (c) 2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Verify that starting bitcoin with -h works as expected.""" -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import assert_equal -class HelpTest(BitcoinTestFramework): +class HelpTest(NYC3TestFramework): def set_test_params(self): self.setup_clean_chain = True self.num_nodes = 1 diff --git a/test/functional/feature_includeconf.py b/test/functional/feature_includeconf.py index d06f6826f..9eb78fc40 100755 --- a/test/functional/feature_includeconf.py +++ b/test/functional/feature_includeconf.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2018 The Bitcoin Core developers +# Copyright (c) 2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Tests the includeconf argument @@ -16,9 +16,9 @@ Verify that: """ import os -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework -class IncludeConfTest(BitcoinTestFramework): +class IncludeConfTest(NYC3TestFramework): def set_test_params(self): self.setup_clean_chain = False self.num_nodes = 1 diff --git a/test/functional/feature_logging.py b/test/functional/feature_logging.py index 8bb7e0269..0eebdcdf9 100755 --- a/test/functional/feature_logging.py +++ b/test/functional/feature_logging.py @@ -1,16 +1,16 @@ #!/usr/bin/env python3 -# Copyright (c) 2017-2018 The Bitcoin Core developers +# Copyright (c) 2017-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test debug logging.""" import os -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.test_node import ErrorMatch -class LoggingTest(BitcoinTestFramework): +class LoggingTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 1 self.setup_clean_chain = True diff --git a/test/functional/feature_maxuploadtarget.py b/test/functional/feature_maxuploadtarget.py index 87c318de9..2a7d377bf 100755 --- a/test/functional/feature_maxuploadtarget.py +++ b/test/functional/feature_maxuploadtarget.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2015-2018 The Bitcoin Core developers +# Copyright (c) 2015-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test behavior of -maxuploadtarget. @@ -15,7 +15,7 @@ import time from test_framework.messages import CInv, msg_getdata from test_framework.mininode import P2PInterface -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import assert_equal, mine_large_block class TestP2PConn(P2PInterface): @@ -30,7 +30,7 @@ class TestP2PConn(P2PInterface): message.block.calc_sha256() self.block_receive_map[message.block.sha256] += 1 -class MaxUploadTest(BitcoinTestFramework): +class MaxUploadTest(NYC3TestFramework): def set_test_params(self): self.setup_clean_chain = True diff --git a/test/functional/feature_minchainwork.py b/test/functional/feature_minchainwork.py index dbff6f15f..3a7e8d2bf 100755 --- a/test/functional/feature_minchainwork.py +++ b/test/functional/feature_minchainwork.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2017-2018 The Bitcoin Core developers +# Copyright (c) 2017-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test logic for setting nMinimumChainWork on command line. @@ -17,13 +17,13 @@ only succeeds past a given node once its nMinimumChainWork has been exceeded. import time -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import connect_nodes, assert_equal # 2 hashes required per regtest block (with no difficulty adjustment) REGTEST_WORK_PER_BLOCK = 2 -class MinimumChainWorkTest(BitcoinTestFramework): +class MinimumChainWorkTest(NYC3TestFramework): def set_test_params(self): self.setup_clean_chain = True self.num_nodes = 3 diff --git a/test/functional/feature_notifications.py b/test/functional/feature_notifications.py index b98dd6d26..4c07046d4 100755 --- a/test/functional/feature_notifications.py +++ b/test/functional/feature_notifications.py @@ -1,16 +1,16 @@ #!/usr/bin/env python3 -# Copyright (c) 2014-2018 The Bitcoin Core developers +# Copyright (c) 2014-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the -alertnotify, -blocknotify and -walletnotify options.""" import os from test_framework.address import ADDRESS_BCRT1_UNSPENDABLE -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import assert_equal, wait_until, connect_nodes_bi -class NotificationsTest(BitcoinTestFramework): +class NotificationsTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 2 self.setup_clean_chain = True diff --git a/test/functional/feature_nulldummy.py b/test/functional/feature_nulldummy.py index eb76089d9..f1a07b325 100755 --- a/test/functional/feature_nulldummy.py +++ b/test/functional/feature_nulldummy.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2016-2018 The Bitcoin Core developers +# Copyright (c) 2016-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test NULLDUMMY softfork. @@ -17,7 +17,7 @@ import time from test_framework.blocktools import create_coinbase, create_block, create_transaction, add_witness_commitment from test_framework.messages import CTransaction from test_framework.script import CScript -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import assert_equal, assert_raises_rpc_error, bytes_to_hex_str NULLDUMMY_ERROR = "non-mandatory-script-verify-flag (Dummy CHECKMULTISIG argument must be zero) (code 64)" @@ -34,7 +34,7 @@ def trueDummy(tx): tx.vin[0].scriptSig = CScript(newscript) tx.rehash() -class NULLDUMMYTest(BitcoinTestFramework): +class NULLDUMMYTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 1 diff --git a/test/functional/feature_proxy.py b/test/functional/feature_proxy.py index f042adb7a..005ee52bb 100755 --- a/test/functional/feature_proxy.py +++ b/test/functional/feature_proxy.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2015-2018 The Bitcoin Core developers +# Copyright (c) 2015-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test bitcoind with different proxy configuration. @@ -31,7 +31,7 @@ import socket import os from test_framework.socks5 import Socks5Configuration, Socks5Command, Socks5Server, AddressType -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import ( PORT_MIN, PORT_RANGE, @@ -41,7 +41,7 @@ from test_framework.netutil import test_ipv6_local RANGE_BEGIN = PORT_MIN + 2 * PORT_RANGE # Start after p2p and rpc ports -class ProxyTest(BitcoinTestFramework): +class ProxyTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 4 self.setup_clean_chain = True diff --git a/test/functional/feature_pruning.py b/test/functional/feature_pruning.py index 3e1ba88f0..41c7092e4 100755 --- a/test/functional/feature_pruning.py +++ b/test/functional/feature_pruning.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2014-2018 The Bitcoin Core developers +# Copyright (c) 2014-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the pruning code. @@ -9,7 +9,7 @@ This test uses 4GB of disk space. This test takes 30 mins or more (up to 2 hours) """ -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import assert_equal, assert_greater_than, assert_raises_rpc_error, connect_nodes, mine_large_block, sync_blocks, wait_until import os @@ -25,7 +25,7 @@ TIMESTAMP_WINDOW = 2 * 60 * 60 def calc_usage(blockdir): return sum(os.path.getsize(blockdir+f) for f in os.listdir(blockdir) if os.path.isfile(os.path.join(blockdir, f))) / (1024. * 1024.) -class PruneTest(BitcoinTestFramework): +class PruneTest(NYC3TestFramework): def set_test_params(self): self.setup_clean_chain = True self.num_nodes = 6 diff --git a/test/functional/feature_rbf.py b/test/functional/feature_rbf.py index ff7c2b23b..fc96d347b 100755 --- a/test/functional/feature_rbf.py +++ b/test/functional/feature_rbf.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2014-2018 The Bitcoin Core developers +# Copyright (c) 2014-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the RBF code.""" @@ -8,7 +8,7 @@ from decimal import Decimal from test_framework.messages import COIN, COutPoint, CTransaction, CTxIn, CTxOut from test_framework.script import CScript, OP_DROP -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import assert_equal, assert_raises_rpc_error, bytes_to_hex_str, satoshi_round MAX_REPLACEMENT_LIMIT = 100 @@ -62,7 +62,7 @@ def make_utxo(node, amount, confirmed=True, scriptPubKey=CScript([1])): return COutPoint(int(txid, 16), 0) -class ReplaceByFeeTest(BitcoinTestFramework): +class ReplaceByFeeTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 2 self.extra_args = [ diff --git a/test/functional/feature_reindex.py b/test/functional/feature_reindex.py index 940b403f9..d8bbea009 100755 --- a/test/functional/feature_reindex.py +++ b/test/functional/feature_reindex.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2014-2018 The Bitcoin Core developers +# Copyright (c) 2014-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test running bitcoind with -reindex and -reindex-chainstate options. @@ -9,10 +9,10 @@ - Stop the node and restart it with -reindex-chainstate. Verify that the node has reindexed up to block 3. """ -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import wait_until -class ReindexTest(BitcoinTestFramework): +class ReindexTest(NYC3TestFramework): def set_test_params(self): self.setup_clean_chain = True diff --git a/test/functional/feature_segwit.py b/test/functional/feature_segwit.py index 658a8cd75..98792fb1e 100755 --- a/test/functional/feature_segwit.py +++ b/test/functional/feature_segwit.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2016-2018 The Bitcoin Core developers +# Copyright (c) 2016-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the SegWit changeover logic.""" @@ -17,7 +17,7 @@ from test_framework.address import ( from test_framework.blocktools import witness_script, send_to_witness from test_framework.messages import COIN, COutPoint, CTransaction, CTxIn, CTxOut, FromHex, sha256, ToHex from test_framework.script import CScript, OP_HASH160, OP_CHECKSIG, OP_0, hash160, OP_EQUAL, OP_DUP, OP_EQUALVERIFY, OP_1, OP_2, OP_CHECKMULTISIG, OP_TRUE, OP_DROP -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import assert_equal, assert_raises_rpc_error, bytes_to_hex_str, connect_nodes, hex_str_to_bytes, sync_blocks, try_rpc NODE_0 = 0 @@ -40,7 +40,7 @@ def find_spendable_utxo(node, min_value): txs_mined = {} # txindex from txid to blockhash -class SegWitTest(BitcoinTestFramework): +class SegWitTest(NYC3TestFramework): def set_test_params(self): self.setup_clean_chain = True self.num_nodes = 3 diff --git a/test/functional/feature_shutdown.py b/test/functional/feature_shutdown.py index 5084cb132..220a0e460 100755 --- a/test/functional/feature_shutdown.py +++ b/test/functional/feature_shutdown.py @@ -1,10 +1,10 @@ #!/usr/bin/env python3 -# Copyright (c) 2018 The Bitcoin Core developers +# Copyright (c) 2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test bitcoind shutdown.""" -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import assert_equal, get_rpc_proxy, wait_until from threading import Thread @@ -12,7 +12,7 @@ def test_long_call(node): block = node.waitfornewblock() assert_equal(block['height'], 0) -class ShutdownTest(BitcoinTestFramework): +class ShutdownTest(NYC3TestFramework): def set_test_params(self): self.setup_clean_chain = True diff --git a/test/functional/feature_uacomment.py b/test/functional/feature_uacomment.py index fb4ad2135..5055beca1 100755 --- a/test/functional/feature_uacomment.py +++ b/test/functional/feature_uacomment.py @@ -1,17 +1,17 @@ #!/usr/bin/env python3 -# Copyright (c) 2017-2018 The Bitcoin Core developers +# Copyright (c) 2017-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the -uacomment option.""" import re -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.test_node import ErrorMatch from test_framework.util import assert_equal -class UacommentTest(BitcoinTestFramework): +class UacommentTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 1 self.setup_clean_chain = True diff --git a/test/functional/feature_versionbits_warning.py b/test/functional/feature_versionbits_warning.py index 1ced618d4..01fb24aed 100755 --- a/test/functional/feature_versionbits_warning.py +++ b/test/functional/feature_versionbits_warning.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2016-2018 The Bitcoin Core developers +# Copyright (c) 2016-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test version bits warning system. @@ -13,7 +13,7 @@ import re from test_framework.blocktools import create_block, create_coinbase from test_framework.messages import msg_block from test_framework.mininode import P2PInterface, mininode_lock -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import wait_until VB_PERIOD = 144 # versionbits period length for regtest @@ -25,7 +25,7 @@ VB_UNKNOWN_VERSION = VB_TOP_BITS | (1 << VB_UNKNOWN_BIT) WARN_UNKNOWN_RULES_ACTIVE = "unknown new rules activated (versionbit {})".format(VB_UNKNOWN_BIT) VB_PATTERN = re.compile("Warning: unknown new rules activated.*versionbit") -class VersionBitsWarningTest(BitcoinTestFramework): +class VersionBitsWarningTest(NYC3TestFramework): def set_test_params(self): self.setup_clean_chain = True self.num_nodes = 1 diff --git a/test/functional/interface_bitcoin_cli.py b/test/functional/interface_bitcoin_cli.py index 69120b1f0..16889796d 100755 --- a/test/functional/interface_bitcoin_cli.py +++ b/test/functional/interface_bitcoin_cli.py @@ -1,12 +1,12 @@ #!/usr/bin/env python3 -# Copyright (c) 2017-2018 The Bitcoin Core developers +# Copyright (c) 2017-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test bitcoin-cli""" -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import assert_equal, assert_raises_process_error, get_auth_cookie -class TestBitcoinCli(BitcoinTestFramework): +class TestNYC3Cli(NYC3TestFramework): def set_test_params(self): self.setup_clean_chain = True @@ -76,4 +76,4 @@ class TestBitcoinCli(BitcoinTestFramework): if __name__ == '__main__': - TestBitcoinCli().main() + TestNYC3Cli().main() diff --git a/test/functional/interface_http.py b/test/functional/interface_http.py index 20889366e..a8b9329bd 100755 --- a/test/functional/interface_http.py +++ b/test/functional/interface_http.py @@ -1,16 +1,16 @@ #!/usr/bin/env python3 -# Copyright (c) 2014-2018 The Bitcoin Core developers +# Copyright (c) 2014-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the RPC HTTP basics.""" -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import assert_equal, str_to_b64str import http.client import urllib.parse -class HTTPBasicsTest (BitcoinTestFramework): +class HTTPBasicsTest (NYC3TestFramework): def set_test_params(self): self.num_nodes = 3 diff --git a/test/functional/interface_rest.py b/test/functional/interface_rest.py index f33040242..08230e4a9 100755 --- a/test/functional/interface_rest.py +++ b/test/functional/interface_rest.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2014-2018 The Bitcoin Core developers +# Copyright (c) 2014-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the REST API.""" @@ -14,7 +14,7 @@ from struct import pack, unpack import http.client import urllib.parse -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import ( assert_equal, assert_greater_than, @@ -39,7 +39,7 @@ def filter_output_indices_by_value(vouts, value): if vout['value'] == value: yield vout['n'] -class RESTTest (BitcoinTestFramework): +class RESTTest (NYC3TestFramework): def set_test_params(self): self.setup_clean_chain = True self.num_nodes = 2 @@ -76,7 +76,7 @@ class RESTTest (BitcoinTestFramework): def run_test(self): self.url = urllib.parse.urlparse(self.nodes[0].url) - self.log.info("Mine blocks and send Bitcoin to node 1") + self.log.info("Mine blocks and send NYC3 to node 1") # Random address so node1's balance doesn't increase not_related_address = "2MxqoHEdNQTyYeX1mHcbrrpzgojbosTpCvJ" diff --git a/test/functional/interface_rpc.py b/test/functional/interface_rpc.py index b6955d449..1aab46510 100755 --- a/test/functional/interface_rpc.py +++ b/test/functional/interface_rpc.py @@ -1,13 +1,13 @@ #!/usr/bin/env python3 -# Copyright (c) 2018 The Bitcoin Core developers +# Copyright (c) 2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Tests some generic aspects of the RPC interface.""" -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import assert_equal, assert_greater_than_or_equal -class RPCInterfaceTest(BitcoinTestFramework): +class RPCInterfaceTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 1 self.setup_clean_chain = True diff --git a/test/functional/interface_zmq.py b/test/functional/interface_zmq.py index 94fea3709..ab9f65ec7 100755 --- a/test/functional/interface_zmq.py +++ b/test/functional/interface_zmq.py @@ -1,12 +1,12 @@ #!/usr/bin/env python3 -# Copyright (c) 2015-2018 The Bitcoin Core developers +# Copyright (c) 2015-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the ZMQ notification interface.""" import struct from test_framework.address import ADDRESS_BCRT1_UNSPENDABLE -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.messages import CTransaction from test_framework.util import ( assert_equal, @@ -36,7 +36,7 @@ class ZMQSubscriber: return body -class ZMQTest (BitcoinTestFramework): +class ZMQTest (NYC3TestFramework): def set_test_params(self): self.num_nodes = 2 diff --git a/test/functional/mempool_accept.py b/test/functional/mempool_accept.py index efe720b9b..b932d6d85 100755 --- a/test/functional/mempool_accept.py +++ b/test/functional/mempool_accept.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2017-2018 The Bitcoin Core developers +# Copyright (c) 2017-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test mempool acceptance of raw transactions.""" @@ -7,7 +7,7 @@ from io import BytesIO import math -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.messages import ( BIP125_SEQUENCE_NUMBER, COIN, @@ -32,7 +32,7 @@ from test_framework.util import ( ) -class MempoolAcceptanceTest(BitcoinTestFramework): +class MempoolAcceptanceTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 1 self.extra_args = [[ diff --git a/test/functional/mempool_limit.py b/test/functional/mempool_limit.py index c0918893c..22f2bc89c 100755 --- a/test/functional/mempool_limit.py +++ b/test/functional/mempool_limit.py @@ -1,15 +1,15 @@ #!/usr/bin/env python3 -# Copyright (c) 2014-2018 The Bitcoin Core developers +# Copyright (c) 2014-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test mempool limiting together/eviction with the wallet.""" from decimal import Decimal -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import assert_equal, assert_greater_than, assert_raises_rpc_error, create_confirmed_utxos, create_lots_of_big_transactions, gen_return_txouts -class MempoolLimitTest(BitcoinTestFramework): +class MempoolLimitTest(NYC3TestFramework): def set_test_params(self): self.setup_clean_chain = True self.num_nodes = 1 diff --git a/test/functional/mempool_packages.py b/test/functional/mempool_packages.py index 9336547a6..87b3fc288 100755 --- a/test/functional/mempool_packages.py +++ b/test/functional/mempool_packages.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2014-2018 The Bitcoin Core developers +# Copyright (c) 2014-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test descendant package tracking code.""" @@ -7,13 +7,13 @@ from decimal import Decimal from test_framework.messages import COIN -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import assert_equal, assert_raises_rpc_error, satoshi_round, sync_blocks, sync_mempools MAX_ANCESTORS = 25 MAX_DESCENDANTS = 25 -class MempoolPackagesTest(BitcoinTestFramework): +class MempoolPackagesTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 2 self.extra_args = [["-maxorphantx=1000"], ["-maxorphantx=1000", "-limitancestorcount=5"]] diff --git a/test/functional/mempool_persist.py b/test/functional/mempool_persist.py index d74d4eaaf..d330eefd5 100755 --- a/test/functional/mempool_persist.py +++ b/test/functional/mempool_persist.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2014-2018 The Bitcoin Core developers +# Copyright (c) 2014-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test mempool persistence. @@ -39,11 +39,11 @@ from decimal import Decimal import os import time -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import assert_equal, assert_raises_rpc_error, wait_until -class MempoolPersistTest(BitcoinTestFramework): +class MempoolPersistTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 3 self.extra_args = [[], ["-persistmempool=0"], []] diff --git a/test/functional/mempool_reorg.py b/test/functional/mempool_reorg.py index 123f0b4c2..5e16ed21b 100755 --- a/test/functional/mempool_reorg.py +++ b/test/functional/mempool_reorg.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2014-2018 The Bitcoin Core developers +# Copyright (c) 2014-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test mempool re-org scenarios. @@ -9,11 +9,11 @@ that spend (directly or indirectly) coinbase transactions. """ from test_framework.blocktools import create_raw_transaction -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import assert_equal, assert_raises_rpc_error -class MempoolCoinbaseTest(BitcoinTestFramework): +class MempoolCoinbaseTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 2 diff --git a/test/functional/mempool_resurrect.py b/test/functional/mempool_resurrect.py index 845beb551..eed2e4ff8 100755 --- a/test/functional/mempool_resurrect.py +++ b/test/functional/mempool_resurrect.py @@ -1,15 +1,15 @@ #!/usr/bin/env python3 -# Copyright (c) 2014-2018 The Bitcoin Core developers +# Copyright (c) 2014-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test resurrection of mined transactions when the blockchain is re-organized.""" from test_framework.blocktools import create_raw_transaction -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import assert_equal -class MempoolCoinbaseTest(BitcoinTestFramework): +class MempoolCoinbaseTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 1 diff --git a/test/functional/mempool_spend_coinbase.py b/test/functional/mempool_spend_coinbase.py index 854d506f0..0d90c3149 100755 --- a/test/functional/mempool_spend_coinbase.py +++ b/test/functional/mempool_spend_coinbase.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2014-2018 The Bitcoin Core developers +# Copyright (c) 2014-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test spending coinbase transactions. @@ -12,12 +12,12 @@ in the next block are accepted into the memory pool, but less mature coinbase spends are NOT. """ -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.blocktools import create_raw_transaction from test_framework.util import assert_equal, assert_raises_rpc_error -class MempoolSpendCoinbaseTest(BitcoinTestFramework): +class MempoolSpendCoinbaseTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 1 diff --git a/test/functional/mining_basic.py b/test/functional/mining_basic.py index d0bef48cb..5d61f57be 100755 --- a/test/functional/mining_basic.py +++ b/test/functional/mining_basic.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2014-2019 The Bitcoin Core developers +# Copyright (c) 2014-2019 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test mining RPCs @@ -23,7 +23,7 @@ from test_framework.messages import ( from test_framework.mininode import ( P2PDataStore, ) -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import ( assert_equal, assert_raises_rpc_error, @@ -40,7 +40,7 @@ def assert_template(node, block, expect, rehash=True): assert_equal(rsp, expect) -class MiningTest(BitcoinTestFramework): +class MiningTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 2 self.setup_clean_chain = True diff --git a/test/functional/mining_getblocktemplate_longpoll.py b/test/functional/mining_getblocktemplate_longpoll.py index 72cde8e81..34f7ccafc 100755 --- a/test/functional/mining_getblocktemplate_longpoll.py +++ b/test/functional/mining_getblocktemplate_longpoll.py @@ -1,12 +1,12 @@ #!/usr/bin/env python3 -# Copyright (c) 2014-2018 The Bitcoin Core developers +# Copyright (c) 2014-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test longpolling with getblocktemplate.""" from decimal import Decimal -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import get_rpc_proxy, random_transaction import threading @@ -24,7 +24,7 @@ class LongpollThread(threading.Thread): def run(self): self.node.getblocktemplate({'longpollid': self.longpollid, 'rules': ['segwit']}) -class GetBlockTemplateLPTest(BitcoinTestFramework): +class GetBlockTemplateLPTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 2 diff --git a/test/functional/mining_prioritisetransaction.py b/test/functional/mining_prioritisetransaction.py index ca4b621a7..16b06a066 100755 --- a/test/functional/mining_prioritisetransaction.py +++ b/test/functional/mining_prioritisetransaction.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2015-2018 The Bitcoin Core developers +# Copyright (c) 2015-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the prioritisetransaction mining RPC.""" @@ -7,10 +7,10 @@ import time from test_framework.messages import COIN, MAX_BLOCK_BASE_SIZE -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import assert_equal, assert_raises_rpc_error, create_confirmed_utxos, create_lots_of_big_transactions, gen_return_txouts -class PrioritiseTransactionTest(BitcoinTestFramework): +class PrioritiseTransactionTest(NYC3TestFramework): def set_test_params(self): self.setup_clean_chain = True self.num_nodes = 2 diff --git a/test/functional/p2p_compactblocks.py b/test/functional/p2p_compactblocks.py index f0dee59b5..60b847023 100755 --- a/test/functional/p2p_compactblocks.py +++ b/test/functional/p2p_compactblocks.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2016-2018 The Bitcoin Core developers +# Copyright (c) 2016-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test compact blocks (BIP 152). @@ -14,7 +14,7 @@ from test_framework.blocktools import create_block, create_coinbase, add_witness from test_framework.messages import BlockTransactions, BlockTransactionsRequest, calculate_shortid, CBlock, CBlockHeader, CInv, COutPoint, CTransaction, CTxIn, CTxInWitness, CTxOut, FromHex, HeaderAndShortIDs, msg_block, msg_blocktxn, msg_cmpctblock, msg_getblocktxn, msg_getdata, msg_getheaders, msg_headers, msg_inv, msg_sendcmpct, msg_sendheaders, msg_tx, msg_witness_block, msg_witness_blocktxn, MSG_WITNESS_FLAG, NODE_NETWORK, NODE_WITNESS, P2PHeaderAndShortIDs, PrefilledTransaction, ser_uint256, ToHex from test_framework.mininode import mininode_lock, P2PInterface from test_framework.script import CScript, OP_TRUE, OP_DROP -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import assert_equal, get_bip9_status, satoshi_round, sync_blocks, wait_until # TestP2PConn: A peer we use to send messages to bitcoind, and store responses. @@ -91,7 +91,7 @@ class TestP2PConn(P2PInterface): self.send_message(message) wait_until(lambda: not self.is_connected, timeout=timeout, lock=mininode_lock) -class CompactBlocksTest(BitcoinTestFramework): +class CompactBlocksTest(NYC3TestFramework): def set_test_params(self): self.setup_clean_chain = True # Node0 = pre-segwit, node1 = segwit-aware diff --git a/test/functional/p2p_disconnect_ban.py b/test/functional/p2p_disconnect_ban.py index 1b11a2a29..cd31d6bef 100755 --- a/test/functional/p2p_disconnect_ban.py +++ b/test/functional/p2p_disconnect_ban.py @@ -1,11 +1,11 @@ #!/usr/bin/env python3 -# Copyright (c) 2014-2018 The Bitcoin Core developers +# Copyright (c) 2014-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test node disconnect and ban behavior""" import time -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import ( assert_equal, assert_raises_rpc_error, @@ -13,7 +13,7 @@ from test_framework.util import ( wait_until, ) -class DisconnectBanTest(BitcoinTestFramework): +class DisconnectBanTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 2 diff --git a/test/functional/p2p_feefilter.py b/test/functional/p2p_feefilter.py index d589519e4..80a21e91d 100755 --- a/test/functional/p2p_feefilter.py +++ b/test/functional/p2p_feefilter.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2016-2018 The Bitcoin Core developers +# Copyright (c) 2016-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test processing of feefilter messages.""" @@ -9,7 +9,7 @@ import time from test_framework.messages import msg_feefilter from test_framework.mininode import mininode_lock, P2PInterface -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import sync_blocks, sync_mempools def hashToHex(hash): @@ -38,7 +38,7 @@ class TestP2PConn(P2PInterface): with mininode_lock: self.txinvs = [] -class FeeFilterTest(BitcoinTestFramework): +class FeeFilterTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 2 diff --git a/test/functional/p2p_fingerprint.py b/test/functional/p2p_fingerprint.py index fab088719..4c64ce011 100755 --- a/test/functional/p2p_fingerprint.py +++ b/test/functional/p2p_fingerprint.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2017-2018 The Bitcoin Core developers +# Copyright (c) 2017-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test various fingerprinting protections. @@ -19,13 +19,13 @@ from test_framework.mininode import ( msg_getdata, msg_getheaders, ) -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import ( assert_equal, wait_until, ) -class P2PFingerprintTest(BitcoinTestFramework): +class P2PFingerprintTest(NYC3TestFramework): def set_test_params(self): self.setup_clean_chain = True self.num_nodes = 1 diff --git a/test/functional/p2p_invalid_block.py b/test/functional/p2p_invalid_block.py index 1e0b87659..43bcf64c2 100755 --- a/test/functional/p2p_invalid_block.py +++ b/test/functional/p2p_invalid_block.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2015-2018 The Bitcoin Core developers +# Copyright (c) 2015-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test node responses to invalid blocks. @@ -15,10 +15,10 @@ import copy from test_framework.blocktools import create_block, create_coinbase, create_tx_with_script from test_framework.messages import COIN from test_framework.mininode import P2PDataStore -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import assert_equal -class InvalidBlockRequestTest(BitcoinTestFramework): +class InvalidBlockRequestTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 1 self.setup_clean_chain = True diff --git a/test/functional/p2p_invalid_locator.py b/test/functional/p2p_invalid_locator.py index 33b706006..c62266e47 100755 --- a/test/functional/p2p_invalid_locator.py +++ b/test/functional/p2p_invalid_locator.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2015-2018 The Bitcoin Core developers +# Copyright (c) 2015-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test node responses to invalid locators. @@ -7,10 +7,10 @@ from test_framework.messages import msg_getheaders, msg_getblocks, MAX_LOCATOR_SZ from test_framework.mininode import P2PInterface -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework -class InvalidLocatorTest(BitcoinTestFramework): +class InvalidLocatorTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 1 self.setup_clean_chain = False diff --git a/test/functional/p2p_invalid_messages.py b/test/functional/p2p_invalid_messages.py index 700fdf6e0..6569dad72 100755 --- a/test/functional/p2p_invalid_messages.py +++ b/test/functional/p2p_invalid_messages.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2015-2019 The Bitcoin Core developers +# Copyright (c) 2015-2019 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test node responses to invalid network messages.""" @@ -8,7 +8,7 @@ import struct from test_framework import messages from test_framework.mininode import P2PDataStore -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework class msg_unrecognized: @@ -26,7 +26,7 @@ class msg_unrecognized: return "{}(data={})".format(self.command, self.str_data) -class InvalidMessagesTest(BitcoinTestFramework): +class InvalidMessagesTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 1 self.setup_clean_chain = True diff --git a/test/functional/p2p_invalid_tx.py b/test/functional/p2p_invalid_tx.py index 1b18dd3e5..6f3be76b0 100755 --- a/test/functional/p2p_invalid_tx.py +++ b/test/functional/p2p_invalid_tx.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2015-2018 The Bitcoin Core developers +# Copyright (c) 2015-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test node responses to invalid transactions. @@ -14,7 +14,7 @@ from test_framework.messages import ( CTxOut, ) from test_framework.mininode import P2PDataStore -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import ( assert_equal, wait_until, @@ -22,7 +22,7 @@ from test_framework.util import ( from data import invalid_txs -class InvalidTxRequestTest(BitcoinTestFramework): +class InvalidTxRequestTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 1 self.setup_clean_chain = True diff --git a/test/functional/p2p_leak.py b/test/functional/p2p_leak.py index 336d34a81..a93fa8266 100755 --- a/test/functional/p2p_leak.py +++ b/test/functional/p2p_leak.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2017-2018 The Bitcoin Core developers +# Copyright (c) 2017-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test message sending before handshake completion. @@ -14,7 +14,7 @@ import time from test_framework.messages import msg_getaddr, msg_ping, msg_verack from test_framework.mininode import mininode_lock, P2PInterface -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import wait_until banscore = 10 @@ -88,7 +88,7 @@ class CNodeNoVerackIdle(CLazyNode): self.send_message(msg_ping()) self.send_message(msg_getaddr()) -class P2PLeakTest(BitcoinTestFramework): +class P2PLeakTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 1 self.extra_args = [['-banscore=' + str(banscore)]] diff --git a/test/functional/p2p_leak_tx.py b/test/functional/p2p_leak_tx.py index dc4d475b2..866d378ad 100755 --- a/test/functional/p2p_leak_tx.py +++ b/test/functional/p2p_leak_tx.py @@ -1,12 +1,12 @@ #!/usr/bin/env python3 -# Copyright (c) 2017-2018 The Bitcoin Core developers +# Copyright (c) 2017-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test that we don't leak txs to inbound peers that we haven't yet announced to""" from test_framework.messages import msg_getdata, CInv from test_framework.mininode import P2PDataStore -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import ( assert_equal, ) @@ -17,7 +17,7 @@ class P2PNode(P2PDataStore): pass -class P2PLeakTxTest(BitcoinTestFramework): +class P2PLeakTxTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 1 diff --git a/test/functional/p2p_mempool.py b/test/functional/p2p_mempool.py index a8fcb181e..9cb812a87 100755 --- a/test/functional/p2p_mempool.py +++ b/test/functional/p2p_mempool.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2015-2018 The Bitcoin Core developers +# Copyright (c) 2015-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test p2p mempool message. @@ -10,10 +10,10 @@ filters are not enabled. from test_framework.messages import msg_mempool from test_framework.mininode import P2PInterface -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import assert_equal -class P2PMempoolTests(BitcoinTestFramework): +class P2PMempoolTests(NYC3TestFramework): def set_test_params(self): self.setup_clean_chain = True self.num_nodes = 1 diff --git a/test/functional/p2p_node_network_limited.py b/test/functional/p2p_node_network_limited.py index 359880506..2120b5f91 100755 --- a/test/functional/p2p_node_network_limited.py +++ b/test/functional/p2p_node_network_limited.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2017-2018 The Bitcoin Core developers +# Copyright (c) 2017-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Tests NODE_NETWORK_LIMITED. @@ -10,7 +10,7 @@ and that it responds to getdata requests for blocks correctly: - disconnect peers who request blocks older than that.""" from test_framework.messages import CInv, msg_getdata, msg_verack, NODE_BLOOM, NODE_NETWORK_LIMITED, NODE_WITNESS from test_framework.mininode import P2PInterface, mininode_lock -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import assert_equal, disconnect_nodes, connect_nodes_bi, sync_blocks, wait_until class P2PIgnoreInv(P2PInterface): @@ -28,7 +28,7 @@ class P2PIgnoreInv(P2PInterface): getdata_request.inv.append(CInv(2, int(blockhash, 16))) self.send_message(getdata_request) -class NodeNetworkLimitedTest(BitcoinTestFramework): +class NodeNetworkLimitedTest(NYC3TestFramework): def set_test_params(self): self.setup_clean_chain = True self.num_nodes = 3 diff --git a/test/functional/p2p_segwit.py b/test/functional/p2p_segwit.py index 8f8e89cf1..d24deb077 100755 --- a/test/functional/p2p_segwit.py +++ b/test/functional/p2p_segwit.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2016-2018 The Bitcoin Core developers +# Copyright (c) 2016-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test segwit transactions and blocks on P2P network.""" @@ -71,7 +71,7 @@ from test_framework.script import ( SignatureHash, hash160, ) -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import ( assert_equal, bytes_to_hex_str, @@ -181,7 +181,7 @@ class TestP2PConn(P2PInterface): self.wait_for_block(blockhash, timeout) return self.last_message["block"].block -class SegWitTest(BitcoinTestFramework): +class SegWitTest(NYC3TestFramework): def set_test_params(self): self.setup_clean_chain = True self.num_nodes = 3 diff --git a/test/functional/p2p_sendheaders.py b/test/functional/p2p_sendheaders.py index 7d7d25176..cfbaf1328 100755 --- a/test/functional/p2p_sendheaders.py +++ b/test/functional/p2p_sendheaders.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2014-2018 The Bitcoin Core developers +# Copyright (c) 2014-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test behavior of headers messages to announce blocks. @@ -100,7 +100,7 @@ from test_framework.mininode import ( msg_inv, msg_sendheaders, ) -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import ( assert_equal, sync_blocks, @@ -203,7 +203,7 @@ class BaseNode(P2PInterface): self.block_announced = False self.last_message.pop("inv", None) -class SendHeadersTest(BitcoinTestFramework): +class SendHeadersTest(NYC3TestFramework): def set_test_params(self): self.setup_clean_chain = True self.num_nodes = 2 diff --git a/test/functional/p2p_timeouts.py b/test/functional/p2p_timeouts.py index 02ceec3dc..1eb0780c8 100755 --- a/test/functional/p2p_timeouts.py +++ b/test/functional/p2p_timeouts.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2016-2018 The Bitcoin Core developers +# Copyright (c) 2016-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test various net timeouts. @@ -25,14 +25,14 @@ from time import sleep from test_framework.messages import msg_ping from test_framework.mininode import P2PInterface -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework class TestP2PConn(P2PInterface): def on_version(self, message): # Don't send a verack in response pass -class TimeoutsTest(BitcoinTestFramework): +class TimeoutsTest(NYC3TestFramework): def set_test_params(self): self.setup_clean_chain = True self.num_nodes = 1 diff --git a/test/functional/p2p_unrequested_blocks.py b/test/functional/p2p_unrequested_blocks.py index 11299cbc0..d8304d0b8 100755 --- a/test/functional/p2p_unrequested_blocks.py +++ b/test/functional/p2p_unrequested_blocks.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2015-2018 The Bitcoin Core developers +# Copyright (c) 2015-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test processing of unrequested blocks. @@ -56,11 +56,11 @@ import time from test_framework.blocktools import create_block, create_coinbase, create_tx_with_script from test_framework.messages import CBlockHeader, CInv, msg_block, msg_headers, msg_inv from test_framework.mininode import mininode_lock, P2PInterface -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import assert_equal, assert_raises_rpc_error, connect_nodes, sync_blocks -class AcceptBlockTest(BitcoinTestFramework): +class AcceptBlockTest(NYC3TestFramework): def set_test_params(self): self.setup_clean_chain = True self.num_nodes = 2 diff --git a/test/functional/rpc_bind.py b/test/functional/rpc_bind.py index 3938ca98d..848273e5d 100755 --- a/test/functional/rpc_bind.py +++ b/test/functional/rpc_bind.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2014-2018 The Bitcoin Core developers +# Copyright (c) 2014-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test running bitcoind with the -rpcbind and -rpcallowip options.""" @@ -7,10 +7,10 @@ import sys from test_framework.netutil import all_interfaces, addr_to_hex, get_bind_addrs, test_ipv6_local -from test_framework.test_framework import BitcoinTestFramework, SkipTest +from test_framework.test_framework import NYC3TestFramework, SkipTest from test_framework.util import assert_equal, assert_raises_rpc_error, get_rpc_proxy, rpc_port, rpc_url -class RPCBindTest(BitcoinTestFramework): +class RPCBindTest(NYC3TestFramework): def set_test_params(self): self.setup_clean_chain = True self.bind_to_localhost_only = False diff --git a/test/functional/rpc_blockchain.py b/test/functional/rpc_blockchain.py index af150a09a..6ef9bdd91 100755 --- a/test/functional/rpc_blockchain.py +++ b/test/functional/rpc_blockchain.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2014-2018 The Bitcoin Core developers +# Copyright (c) 2014-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test RPCs related to blockchainstate. @@ -22,7 +22,7 @@ from decimal import Decimal import http.client import subprocess -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import ( assert_equal, assert_greater_than, @@ -45,7 +45,7 @@ from test_framework.mininode import ( ) -class BlockchainTest(BitcoinTestFramework): +class BlockchainTest(NYC3TestFramework): def set_test_params(self): self.setup_clean_chain = True self.num_nodes = 1 diff --git a/test/functional/rpc_createmultisig.py b/test/functional/rpc_createmultisig.py index 3cc35a7b9..57b427bfa 100755 --- a/test/functional/rpc_createmultisig.py +++ b/test/functional/rpc_createmultisig.py @@ -1,13 +1,13 @@ #!/usr/bin/env python3 -# Copyright (c) 2015-2018 The Bitcoin Core developers +# Copyright (c) 2015-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test transaction signing using the signrawtransaction* RPCs.""" -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework import decimal -class RpcCreateMultiSigTest(BitcoinTestFramework): +class RpcCreateMultiSigTest(NYC3TestFramework): def set_test_params(self): self.setup_clean_chain = True self.num_nodes = 3 diff --git a/test/functional/rpc_decodescript.py b/test/functional/rpc_decodescript.py index 940386eee..d65bae593 100755 --- a/test/functional/rpc_decodescript.py +++ b/test/functional/rpc_decodescript.py @@ -1,16 +1,16 @@ #!/usr/bin/env python3 -# Copyright (c) 2015-2018 The Bitcoin Core developers +# Copyright (c) 2015-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test decoding scripts via decodescript RPC command.""" from test_framework.messages import CTransaction, sha256 -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import assert_equal, bytes_to_hex_str, hex_str_to_bytes from io import BytesIO -class DecodeScriptTest(BitcoinTestFramework): +class DecodeScriptTest(NYC3TestFramework): def set_test_params(self): self.setup_clean_chain = True self.num_nodes = 1 diff --git a/test/functional/rpc_deprecated.py b/test/functional/rpc_deprecated.py index 588bfbe08..c25074224 100755 --- a/test/functional/rpc_deprecated.py +++ b/test/functional/rpc_deprecated.py @@ -1,12 +1,12 @@ #!/usr/bin/env python3 -# Copyright (c) 2017-2018 The Bitcoin Core developers +# Copyright (c) 2017-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test deprecation of RPC calls.""" -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import assert_raises_rpc_error -class DeprecatedRpcTest(BitcoinTestFramework): +class DeprecatedRpcTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 2 self.setup_clean_chain = True diff --git a/test/functional/rpc_deriveaddresses.py b/test/functional/rpc_deriveaddresses.py index 185dffd51..920baa820 100755 --- a/test/functional/rpc_deriveaddresses.py +++ b/test/functional/rpc_deriveaddresses.py @@ -1,13 +1,13 @@ #!/usr/bin/env python3 -# Copyright (c) 2018 The Bitcoin Core developers +# Copyright (c) 2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the deriveaddresses rpc call.""" -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.descriptors import descsum_create from test_framework.util import assert_equal, assert_raises_rpc_error -class DeriveaddressesTest(BitcoinTestFramework): +class DeriveaddressesTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 1 self.supports_cli = 1 diff --git a/test/functional/rpc_fundrawtransaction.py b/test/functional/rpc_fundrawtransaction.py index 4f350953b..812953c64 100755 --- a/test/functional/rpc_fundrawtransaction.py +++ b/test/functional/rpc_fundrawtransaction.py @@ -1,11 +1,11 @@ #!/usr/bin/env python3 -# Copyright (c) 2014-2018 The Bitcoin Core developers +# Copyright (c) 2014-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the fundrawtransaction RPC.""" from decimal import Decimal -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import ( assert_equal, assert_fee_amount, @@ -24,7 +24,7 @@ def get_unspent(listunspent, amount): return utx raise AssertionError('Could not find unspent with amount={}'.format(amount)) -class RawTransactionsTest(BitcoinTestFramework): +class RawTransactionsTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 4 self.setup_clean_chain = True diff --git a/test/functional/rpc_getblockstats.py b/test/functional/rpc_getblockstats.py index feba16f1b..f77718133 100755 --- a/test/functional/rpc_getblockstats.py +++ b/test/functional/rpc_getblockstats.py @@ -1,12 +1,12 @@ #!/usr/bin/env python3 -# Copyright (c) 2017-2018 The Bitcoin Core developers +# Copyright (c) 2017-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # # Test getblockstats rpc call # -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import ( assert_equal, assert_raises_rpc_error, @@ -17,7 +17,7 @@ import time TESTSDIR = os.path.dirname(os.path.realpath(__file__)) -class GetblockstatsTest(BitcoinTestFramework): +class GetblockstatsTest(NYC3TestFramework): start_height = 101 max_stat_pos = 2 diff --git a/test/functional/rpc_getchaintips.py b/test/functional/rpc_getchaintips.py index c869c7262..f1ebf4845 100755 --- a/test/functional/rpc_getchaintips.py +++ b/test/functional/rpc_getchaintips.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2014-2018 The Bitcoin Core developers +# Copyright (c) 2014-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the getchaintips RPC. @@ -10,10 +10,10 @@ - verify that getchaintips now returns two chain tips. """ -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import assert_equal -class GetChainTipsTest (BitcoinTestFramework): +class GetChainTipsTest (NYC3TestFramework): def set_test_params(self): self.num_nodes = 4 diff --git a/test/functional/rpc_help.py b/test/functional/rpc_help.py index 78d6e78ae..cebe3ab24 100755 --- a/test/functional/rpc_help.py +++ b/test/functional/rpc_help.py @@ -1,16 +1,16 @@ #!/usr/bin/env python3 -# Copyright (c) 2018 The Bitcoin Core developers +# Copyright (c) 2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test RPC help output.""" -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import assert_equal, assert_raises_rpc_error import os -class HelpRpcTest(BitcoinTestFramework): +class HelpRpcTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 1 diff --git a/test/functional/rpc_invalidateblock.py b/test/functional/rpc_invalidateblock.py index d8a1deb2a..8b1f801f9 100755 --- a/test/functional/rpc_invalidateblock.py +++ b/test/functional/rpc_invalidateblock.py @@ -1,10 +1,10 @@ #!/usr/bin/env python3 -# Copyright (c) 2014-2018 The Bitcoin Core developers +# Copyright (c) 2014-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the invalidateblock RPC.""" -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.address import ADDRESS_BCRT1_UNSPENDABLE from test_framework.util import ( assert_equal, @@ -14,7 +14,7 @@ from test_framework.util import ( ) -class InvalidateTest(BitcoinTestFramework): +class InvalidateTest(NYC3TestFramework): def set_test_params(self): self.setup_clean_chain = True self.num_nodes = 3 diff --git a/test/functional/rpc_misc.py b/test/functional/rpc_misc.py index 7bf8e6817..19d18287b 100755 --- a/test/functional/rpc_misc.py +++ b/test/functional/rpc_misc.py @@ -1,11 +1,11 @@ #!/usr/bin/env python3 -# Copyright (c) 2019 The Bitcoin Core developers +# Copyright (c) 2019 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test RPC misc output.""" import xml.etree.ElementTree as ET -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import ( assert_raises_rpc_error, assert_equal, @@ -16,7 +16,7 @@ from test_framework.util import ( from test_framework.authproxy import JSONRPCException -class RpcMiscTest(BitcoinTestFramework): +class RpcMiscTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 1 diff --git a/test/functional/rpc_named_arguments.py b/test/functional/rpc_named_arguments.py index 6c5c29dfd..674647344 100755 --- a/test/functional/rpc_named_arguments.py +++ b/test/functional/rpc_named_arguments.py @@ -1,16 +1,16 @@ #!/usr/bin/env python3 -# Copyright (c) 2016-2018 The Bitcoin Core developers +# Copyright (c) 2016-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test using named arguments for RPCs.""" -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import ( assert_equal, assert_raises_rpc_error, ) -class NamedArgumentTest(BitcoinTestFramework): +class NamedArgumentTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 1 diff --git a/test/functional/rpc_net.py b/test/functional/rpc_net.py index b12eb1d9e..d700cfc8a 100755 --- a/test/functional/rpc_net.py +++ b/test/functional/rpc_net.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2017-2018 The Bitcoin Core developers +# Copyright (c) 2017-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test RPC calls related to net. @@ -9,7 +9,7 @@ Tests correspond to code in rpc/net.cpp. from decimal import Decimal -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import ( assert_equal, assert_greater_than_or_equal, @@ -22,7 +22,7 @@ from test_framework.util import ( from test_framework.mininode import P2PInterface from test_framework.messages import CAddress, msg_addr, NODE_NETWORK, NODE_WITNESS -class NetTest(BitcoinTestFramework): +class NetTest(NYC3TestFramework): def set_test_params(self): self.setup_clean_chain = True self.num_nodes = 2 diff --git a/test/functional/rpc_preciousblock.py b/test/functional/rpc_preciousblock.py index 72e6e6329..b4fb32891 100755 --- a/test/functional/rpc_preciousblock.py +++ b/test/functional/rpc_preciousblock.py @@ -1,10 +1,10 @@ #!/usr/bin/env python3 -# Copyright (c) 2015-2018 The Bitcoin Core developers +# Copyright (c) 2015-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the preciousblock RPC.""" -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import ( assert_equal, connect_nodes_bi, @@ -33,7 +33,7 @@ def node_sync_via_rpc(nodes): continue unidirectional_node_sync_via_rpc(node_src, node_dest) -class PreciousTest(BitcoinTestFramework): +class PreciousTest(NYC3TestFramework): def set_test_params(self): self.setup_clean_chain = True self.num_nodes = 3 diff --git a/test/functional/rpc_psbt.py b/test/functional/rpc_psbt.py index 53f606f2e..e77611701 100755 --- a/test/functional/rpc_psbt.py +++ b/test/functional/rpc_psbt.py @@ -1,12 +1,12 @@ #!/usr/bin/env python3 -# Copyright (c) 2018 The Bitcoin Core developers +# Copyright (c) 2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the Partially Signed Transaction RPCs. """ from decimal import Decimal -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import assert_equal, assert_raises_rpc_error, connect_nodes_bi, disconnect_nodes, find_output, sync_blocks import json @@ -15,7 +15,7 @@ import os MAX_BIP125_RBF_SEQUENCE = 0xfffffffd # Create one-input, one-output, no-fee transaction: -class PSBTTest(BitcoinTestFramework): +class PSBTTest(NYC3TestFramework): def set_test_params(self): self.setup_clean_chain = False diff --git a/test/functional/rpc_rawtransaction.py b/test/functional/rpc_rawtransaction.py index c793cf00d..0b820d2d3 100755 --- a/test/functional/rpc_rawtransaction.py +++ b/test/functional/rpc_rawtransaction.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2014-2018 The Bitcoin Core developers +# Copyright (c) 2014-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the rawtransaction RPCs. @@ -16,7 +16,7 @@ from collections import OrderedDict from decimal import Decimal from io import BytesIO from test_framework.messages import CTransaction, ToHex -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import assert_equal, assert_raises_rpc_error, bytes_to_hex_str, connect_nodes_bi, hex_str_to_bytes class multidict(dict): @@ -38,7 +38,7 @@ class multidict(dict): # Create one-input, one-output, no-fee transaction: -class RawTransactionsTest(BitcoinTestFramework): +class RawTransactionsTest(NYC3TestFramework): def set_test_params(self): self.setup_clean_chain = True self.num_nodes = 3 @@ -95,7 +95,7 @@ class RawTransactionsTest(BitcoinTestFramework): self.nodes[0].createrawtransaction(inputs=[], outputs={}) # Should not throw for backwards compatibility self.nodes[0].createrawtransaction(inputs=[], outputs=[]) assert_raises_rpc_error(-8, "Data must be hexadecimal string", self.nodes[0].createrawtransaction, [], {'data': 'foo'}) - assert_raises_rpc_error(-5, "Invalid Bitcoin address", self.nodes[0].createrawtransaction, [], {'foo': 0}) + assert_raises_rpc_error(-5, "Invalid NYC3 address", self.nodes[0].createrawtransaction, [], {'foo': 0}) assert_raises_rpc_error(-3, "Invalid amount", self.nodes[0].createrawtransaction, [], {address: 'foo'}) assert_raises_rpc_error(-3, "Amount out of range", self.nodes[0].createrawtransaction, [], {address: -1}) assert_raises_rpc_error(-8, "Invalid parameter, duplicated address: %s" % address, self.nodes[0].createrawtransaction, [], multidict([(address, 1), (address, 1)])) diff --git a/test/functional/rpc_scantxoutset.py b/test/functional/rpc_scantxoutset.py index 18258f5df..92dd67fe2 100755 --- a/test/functional/rpc_scantxoutset.py +++ b/test/functional/rpc_scantxoutset.py @@ -1,9 +1,9 @@ #!/usr/bin/env python3 -# Copyright (c) 2018 The Bitcoin Core developers +# Copyright (c) 2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the scantxoutset rpc call.""" -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import assert_equal from decimal import Decimal @@ -13,7 +13,7 @@ import os def descriptors(out): return sorted(u['desc'] for u in out['unspents']) -class ScantxoutsetTest(BitcoinTestFramework): +class ScantxoutsetTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 1 self.setup_clean_chain = True diff --git a/test/functional/rpc_signmessage.py b/test/functional/rpc_signmessage.py index ad0e29b45..3755e78c4 100755 --- a/test/functional/rpc_signmessage.py +++ b/test/functional/rpc_signmessage.py @@ -1,13 +1,13 @@ #!/usr/bin/env python3 -# Copyright (c) 2016-2018 The Bitcoin Core developers +# Copyright (c) 2016-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test RPC commands for signing and verifying messages.""" -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import assert_equal -class SignMessagesTest(BitcoinTestFramework): +class SignMessagesTest(NYC3TestFramework): def set_test_params(self): self.setup_clean_chain = True self.num_nodes = 1 diff --git a/test/functional/rpc_signrawtransaction.py b/test/functional/rpc_signrawtransaction.py index 56e2c73a9..9064ce432 100755 --- a/test/functional/rpc_signrawtransaction.py +++ b/test/functional/rpc_signrawtransaction.py @@ -1,17 +1,17 @@ #!/usr/bin/env python3 -# Copyright (c) 2015-2018 The Bitcoin Core developers +# Copyright (c) 2015-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test transaction signing using the signrawtransaction* RPCs.""" -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import assert_equal, assert_raises_rpc_error, bytes_to_hex_str, hex_str_to_bytes from test_framework.messages import sha256 from test_framework.script import CScript, OP_0 from decimal import Decimal -class SignRawTransactionsTest(BitcoinTestFramework): +class SignRawTransactionsTest(NYC3TestFramework): def set_test_params(self): self.setup_clean_chain = True self.num_nodes = 2 diff --git a/test/functional/rpc_txoutproof.py b/test/functional/rpc_txoutproof.py index 8913b8698..66ab4416c 100755 --- a/test/functional/rpc_txoutproof.py +++ b/test/functional/rpc_txoutproof.py @@ -1,14 +1,14 @@ #!/usr/bin/env python3 -# Copyright (c) 2014-2018 The Bitcoin Core developers +# Copyright (c) 2014-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test gettxoutproof and verifytxoutproof RPCs.""" from test_framework.messages import CMerkleBlock, FromHex, ToHex -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import assert_equal, assert_raises_rpc_error, connect_nodes -class MerkleBlockTest(BitcoinTestFramework): +class MerkleBlockTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 4 self.setup_clean_chain = True diff --git a/test/functional/rpc_uptime.py b/test/functional/rpc_uptime.py index 20b634155..f07d7e1f2 100755 --- a/test/functional/rpc_uptime.py +++ b/test/functional/rpc_uptime.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2017-2018 The Bitcoin Core developers +# Copyright (c) 2017-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the RPC call related to the uptime command. @@ -9,10 +9,10 @@ Test corresponds to code in rpc/server.cpp. import time -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework -class UptimeTest(BitcoinTestFramework): +class UptimeTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 1 self.setup_clean_chain = True diff --git a/test/functional/rpc_users.py b/test/functional/rpc_users.py index 102dd2259..776fd706a 100755 --- a/test/functional/rpc_users.py +++ b/test/functional/rpc_users.py @@ -1,10 +1,10 @@ #!/usr/bin/env python3 -# Copyright (c) 2015-2018 The Bitcoin Core developers +# Copyright (c) 2015-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test multiple RPC users.""" -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import ( assert_equal, get_datadir_path, @@ -21,7 +21,7 @@ import configparser import sys -class HTTPBasicsTest(BitcoinTestFramework): +class HTTPBasicsTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 2 diff --git a/test/functional/test_framework/address.py b/test/functional/test_framework/address.py index 456d43aa2..a061a675d 100644 --- a/test/functional/test_framework/address.py +++ b/test/functional/test_framework/address.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2016-2018 The Bitcoin Core developers +# Copyright (c) 2016-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Encode and decode BASE58, P2PKH and P2SH addresses.""" diff --git a/test/functional/test_framework/authproxy.py b/test/functional/test_framework/authproxy.py index 1140fe9b3..949ab10a0 100644 --- a/test/functional/test_framework/authproxy.py +++ b/test/functional/test_framework/authproxy.py @@ -46,7 +46,7 @@ import urllib.parse HTTP_TIMEOUT = 30 USER_AGENT = "AuthServiceProxy/0.1" -log = logging.getLogger("BitcoinRPC") +log = logging.getLogger("NYC3RPC") class JSONRPCException(Exception): def __init__(self, rpc_error): diff --git a/test/functional/test_framework/blocktools.py b/test/functional/test_framework/blocktools.py index 15f450299..e8e3fad9b 100644 --- a/test/functional/test_framework/blocktools.py +++ b/test/functional/test_framework/blocktools.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2015-2019 The Bitcoin Core developers +# Copyright (c) 2015-2019 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Utilities for manipulating blocks and transactions.""" diff --git a/test/functional/test_framework/coverage.py b/test/functional/test_framework/coverage.py index 7705dd3e4..74d08ebb0 100644 --- a/test/functional/test_framework/coverage.py +++ b/test/functional/test_framework/coverage.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2015-2018 The Bitcoin Core developers +# Copyright (c) 2015-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Utilities for doing coverage analysis on the RPC interface. diff --git a/test/functional/test_framework/messages.py b/test/functional/test_framework/messages.py index 4bd58519c..ba0e18557 100755 --- a/test/functional/test_framework/messages.py +++ b/test/functional/test_framework/messages.py @@ -1,10 +1,10 @@ #!/usr/bin/env python3 # Copyright (c) 2010 ArtForz -- public domain half-a-node # Copyright (c) 2012 Jeff Garzik -# Copyright (c) 2010-2018 The Bitcoin Core developers +# Copyright (c) 2010-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. -"""Bitcoin test framework primitive and message structures +"""NYC3 test framework primitive and message structures CBlock, CTransaction, CBlockHeader, CTxIn, CTxOut, etc....: data structures that should map to corresponding structures in diff --git a/test/functional/test_framework/mininode.py b/test/functional/test_framework/mininode.py index 53e53fbfe..5e430c0f9 100755 --- a/test/functional/test_framework/mininode.py +++ b/test/functional/test_framework/mininode.py @@ -1,10 +1,10 @@ #!/usr/bin/env python3 # Copyright (c) 2010 ArtForz -- public domain half-a-node # Copyright (c) 2012 Jeff Garzik -# Copyright (c) 2010-2018 The Bitcoin Core developers +# Copyright (c) 2010-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. -"""Bitcoin P2P network half-a-node. +"""NYC3 P2P network half-a-node. This python code was modified from ArtForz' public domain half-a-node, as found in the mini-node branch of http://github.com/jgarzik/pynode. @@ -119,7 +119,7 @@ class P2PConnection(asyncio.Protocol): self.on_connection_send_msg = None self.recvbuf = b"" self.magic_bytes = MAGIC_BYTES[net] - logger.debug('Connecting to Bitcoin Node: %s:%d' % (self.dstaddr, self.dstport)) + logger.debug('Connecting to NYC3 Node: %s:%d' % (self.dstaddr, self.dstport)) loop = NetworkThread.network_event_loop conn_gen_unsafe = loop.create_connection(lambda: self, host=self.dstaddr, port=self.dstport) @@ -255,7 +255,7 @@ class P2PConnection(asyncio.Protocol): class P2PInterface(P2PConnection): - """A high-level P2P interface class for communicating with a Bitcoin node. + """A high-level P2P interface class for communicating with a NYC3 node. This class provides high-level callbacks for processing P2P message payloads, as well as convenience methods for interacting with the diff --git a/test/functional/test_framework/netutil.py b/test/functional/test_framework/netutil.py index 45c182f63..ee6c02a2b 100644 --- a/test/functional/test_framework/netutil.py +++ b/test/functional/test_framework/netutil.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2014-2018 The Bitcoin Core developers +# Copyright (c) 2014-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Linux network utilities. diff --git a/test/functional/test_framework/script.py b/test/functional/test_framework/script.py index 012c80a1b..e5097692e 100644 --- a/test/functional/test_framework/script.py +++ b/test/functional/test_framework/script.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2015-2018 The Bitcoin Core developers +# Copyright (c) 2015-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Functionality to build scripts, as well as SignatureHash(). diff --git a/test/functional/test_framework/siphash.py b/test/functional/test_framework/siphash.py index 85836845d..a83aaea8f 100644 --- a/test/functional/test_framework/siphash.py +++ b/test/functional/test_framework/siphash.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2016-2018 The Bitcoin Core developers +# Copyright (c) 2016-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Specialized SipHash-2-4 implementations. diff --git a/test/functional/test_framework/socks5.py b/test/functional/test_framework/socks5.py index a21c864e7..8a8b8d282 100644 --- a/test/functional/test_framework/socks5.py +++ b/test/functional/test_framework/socks5.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2015-2018 The Bitcoin Core developers +# Copyright (c) 2015-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Dummy Socks5 server for testing.""" diff --git a/test/functional/test_framework/test_framework.py b/test/functional/test_framework/test_framework.py index 09d7d877a..29935dc63 100755 --- a/test/functional/test_framework/test_framework.py +++ b/test/functional/test_framework/test_framework.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2014-2018 The Bitcoin Core developers +# Copyright (c) 2014-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Base class for RPC testing.""" @@ -53,27 +53,27 @@ class SkipTest(Exception): self.message = message -class BitcoinTestMetaClass(type): - """Metaclass for BitcoinTestFramework. +class NYC3TestMetaClass(type): + """Metaclass for NYC3TestFramework. - Ensures that any attempt to register a subclass of `BitcoinTestFramework` + Ensures that any attempt to register a subclass of `NYC3TestFramework` adheres to a standard whereby the subclass overrides `set_test_params` and `run_test` but DOES NOT override either `__init__` or `main`. If any of those standards are violated, a ``TypeError`` is raised.""" def __new__(cls, clsname, bases, dct): - if not clsname == 'BitcoinTestFramework': + if not clsname == 'NYC3TestFramework': if not ('run_test' in dct and 'set_test_params' in dct): - raise TypeError("BitcoinTestFramework subclasses must override " + raise TypeError("NYC3TestFramework subclasses must override " "'run_test' and 'set_test_params'") if '__init__' in dct or 'main' in dct: - raise TypeError("BitcoinTestFramework subclasses may not override " + raise TypeError("NYC3TestFramework subclasses may not override " "'__init__' or 'main'") return super().__new__(cls, clsname, bases, dct) -class BitcoinTestFramework(metaclass=BitcoinTestMetaClass): +class NYC3TestFramework(metaclass=NYC3TestMetaClass): """Base class for a bitcoin test script. Individual bitcoin test scripts should subclass this class and override the set_test_params() and run_test() methods. @@ -437,7 +437,7 @@ class BitcoinTestFramework(metaclass=BitcoinTestMetaClass): self.log.addHandler(ch) if self.options.trace_rpc: - rpc_logger = logging.getLogger("BitcoinRPC") + rpc_logger = logging.getLogger("NYC3RPC") rpc_logger.setLevel(logging.DEBUG) rpc_handler = logging.StreamHandler(sys.stdout) rpc_handler.setLevel(logging.DEBUG) diff --git a/test/functional/test_framework/test_node.py b/test/functional/test_framework/test_node.py index 37fd2a874..653121589 100755 --- a/test/functional/test_framework/test_node.py +++ b/test/functional/test_framework/test_node.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2017-2018 The Bitcoin Core developers +# Copyright (c) 2017-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Class for bitcoind node under test""" diff --git a/test/functional/test_framework/util.py b/test/functional/test_framework/util.py index fef998241..73b6929fd 100644 --- a/test/functional/test_framework/util.py +++ b/test/functional/test_framework/util.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2014-2018 The Bitcoin Core developers +# Copyright (c) 2014-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Helpful routines for regression testing.""" diff --git a/test/functional/test_framework/wallet_util.py b/test/functional/test_framework/wallet_util.py index c0dfa4c3f..b5be28006 100755 --- a/test/functional/test_framework/wallet_util.py +++ b/test/functional/test_framework/wallet_util.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2018 The Bitcoin Core developers +# Copyright (c) 2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Useful util functions for testing the wallet""" diff --git a/test/functional/test_runner.py b/test/functional/test_runner.py index bb9ac58e4..6075e600b 100755 --- a/test/functional/test_runner.py +++ b/test/functional/test_runner.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2014-2018 The Bitcoin Core developers +# Copyright (c) 2014-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Run regression test suite. @@ -8,7 +8,7 @@ This module calls down into individual test cases via subprocess. It will forward all unrecognized arguments onto the individual test scripts. For a description of arguments recognized by test scripts, see -`test/functional/test_framework/test_framework.py:BitcoinTestFramework.main`. +`test/functional/test_framework/test_framework.py:NYC3TestFramework.main`. """ diff --git a/test/functional/tool_wallet.py b/test/functional/tool_wallet.py index fbcf21e72..d73946fa8 100755 --- a/test/functional/tool_wallet.py +++ b/test/functional/tool_wallet.py @@ -1,15 +1,15 @@ #!/usr/bin/env python3 -# Copyright (c) 2018 The Bitcoin Core developers +# Copyright (c) 2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test bitcoin-wallet.""" import subprocess import textwrap -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import assert_equal -class ToolWalletTest(BitcoinTestFramework): +class ToolWalletTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 1 self.setup_clean_chain = True diff --git a/test/functional/wallet_abandonconflict.py b/test/functional/wallet_abandonconflict.py index b0b151d2d..c35a74c9f 100755 --- a/test/functional/wallet_abandonconflict.py +++ b/test/functional/wallet_abandonconflict.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2014-2019 The Bitcoin Core developers +# Copyright (c) 2014-2019 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the abandontransaction RPC. @@ -12,7 +12,7 @@ """ from decimal import Decimal -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import ( assert_equal, assert_raises_rpc_error, @@ -23,7 +23,7 @@ from test_framework.util import ( ) -class AbandonConflictTest(BitcoinTestFramework): +class AbandonConflictTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 2 self.extra_args = [["-minrelaytxfee=0.00001"], []] diff --git a/test/functional/wallet_address_types.py b/test/functional/wallet_address_types.py index 380dd9c0a..fdd3bbd96 100755 --- a/test/functional/wallet_address_types.py +++ b/test/functional/wallet_address_types.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2017-2018 The Bitcoin Core developers +# Copyright (c) 2017-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test that the wallet can send and receive using all combinations of address types. @@ -53,7 +53,7 @@ Test that the nodes generate the correct change address type: from decimal import Decimal import itertools -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.descriptors import ( descsum_create, descsum_check, @@ -68,7 +68,7 @@ from test_framework.util import ( ) -class AddressTypeTest(BitcoinTestFramework): +class AddressTypeTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 6 self.extra_args = [ diff --git a/test/functional/wallet_backup.py b/test/functional/wallet_backup.py index dd3750203..d984984f1 100755 --- a/test/functional/wallet_backup.py +++ b/test/functional/wallet_backup.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2014-2018 The Bitcoin Core developers +# Copyright (c) 2014-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the wallet backup features. @@ -35,10 +35,10 @@ import os from random import randint import shutil -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import assert_equal, assert_raises_rpc_error, connect_nodes, sync_blocks, sync_mempools -class WalletBackupTest(BitcoinTestFramework): +class WalletBackupTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 4 self.setup_clean_chain = True diff --git a/test/functional/wallet_balance.py b/test/functional/wallet_balance.py index 3a65b684c..ca1191fca 100755 --- a/test/functional/wallet_balance.py +++ b/test/functional/wallet_balance.py @@ -1,11 +1,11 @@ #!/usr/bin/env python3 -# Copyright (c) 2018 The Bitcoin Core developers +# Copyright (c) 2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the wallet balance RPC methods.""" from decimal import Decimal -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import ( assert_equal, assert_raises_rpc_error, @@ -37,7 +37,7 @@ def create_transactions(node, address, amt, fees): return txs -class WalletTest(BitcoinTestFramework): +class WalletTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 2 self.setup_clean_chain = True diff --git a/test/functional/wallet_basic.py b/test/functional/wallet_basic.py index 0477164b6..06a73d31e 100755 --- a/test/functional/wallet_basic.py +++ b/test/functional/wallet_basic.py @@ -1,12 +1,12 @@ #!/usr/bin/env python3 -# Copyright (c) 2014-2019 The Bitcoin Core developers +# Copyright (c) 2014-2019 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the wallet.""" from decimal import Decimal import time -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import ( assert_array_result, assert_equal, @@ -19,7 +19,7 @@ from test_framework.util import ( ) -class WalletTest(BitcoinTestFramework): +class WalletTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 4 self.setup_clean_chain = True @@ -336,14 +336,14 @@ class WalletTest(BitcoinTestFramework): # This will raise an exception for attempting to dump the private key of an address you do not own assert_raises_rpc_error(-3, "Address does not refer to a key", self.nodes[0].dumpprivkey, temp_address) - # This will raise an exception for attempting to get the private key of an invalid Bitcoin address - assert_raises_rpc_error(-5, "Invalid Bitcoin address", self.nodes[0].dumpprivkey, "invalid") + # This will raise an exception for attempting to get the private key of an invalid NYC3 address + assert_raises_rpc_error(-5, "Invalid NYC3 address", self.nodes[0].dumpprivkey, "invalid") - # This will raise an exception for attempting to set a label for an invalid Bitcoin address - assert_raises_rpc_error(-5, "Invalid Bitcoin address", self.nodes[0].setlabel, "invalid address", "label") + # This will raise an exception for attempting to set a label for an invalid NYC3 address + assert_raises_rpc_error(-5, "Invalid NYC3 address", self.nodes[0].setlabel, "invalid address", "label") # This will raise an exception for importing an invalid address - assert_raises_rpc_error(-5, "Invalid Bitcoin address or script", self.nodes[0].importaddress, "invalid") + assert_raises_rpc_error(-5, "Invalid NYC3 address or script", self.nodes[0].importaddress, "invalid") # This will raise an exception for attempting to import a pubkey that isn't in hex assert_raises_rpc_error(-5, "Pubkey must be a hex string", self.nodes[0].importpubkey, "not hex") diff --git a/test/functional/wallet_bumpfee.py b/test/functional/wallet_bumpfee.py index 7d3d9b61e..b89c4acd7 100755 --- a/test/functional/wallet_bumpfee.py +++ b/test/functional/wallet_bumpfee.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2016-2018 The Bitcoin Core developers +# Copyright (c) 2016-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the bumpfee RPC. @@ -18,13 +18,13 @@ import io from test_framework.blocktools import add_witness_commitment, create_block, create_coinbase, send_to_witness from test_framework.messages import BIP125_SEQUENCE_NUMBER, CTransaction -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import assert_equal, assert_greater_than, assert_raises_rpc_error, bytes_to_hex_str, connect_nodes_bi, hex_str_to_bytes, sync_mempools WALLET_PASSPHRASE = "test" WALLET_PASSPHRASE_TIMEOUT = 3600 -class BumpFeeTest(BitcoinTestFramework): +class BumpFeeTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 2 self.setup_clean_chain = True diff --git a/test/functional/wallet_coinbase_category.py b/test/functional/wallet_coinbase_category.py index 7aa8b44eb..ee39971c5 100755 --- a/test/functional/wallet_coinbase_category.py +++ b/test/functional/wallet_coinbase_category.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2014-2018 The Bitcoin Core developers +# Copyright (c) 2014-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test coinbase transactions return the correct categories. @@ -7,12 +7,12 @@ Tests listtransactions, listsinceblock, and gettransaction. """ -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import ( assert_array_result ) -class CoinbaseCategoryTest(BitcoinTestFramework): +class CoinbaseCategoryTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 1 diff --git a/test/functional/wallet_create_tx.py b/test/functional/wallet_create_tx.py index 7b749235e..154266dc8 100755 --- a/test/functional/wallet_create_tx.py +++ b/test/functional/wallet_create_tx.py @@ -1,9 +1,9 @@ #!/usr/bin/env python3 -# Copyright (c) 2018 The Bitcoin Core developers +# Copyright (c) 2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import ( assert_equal, ) @@ -12,7 +12,7 @@ from test_framework.blocktools import ( ) -class CreateTxWalletTest(BitcoinTestFramework): +class CreateTxWalletTest(NYC3TestFramework): def set_test_params(self): self.setup_clean_chain = True self.num_nodes = 1 diff --git a/test/functional/wallet_createwallet.py b/test/functional/wallet_createwallet.py index 7ec72b864..ce65c1909 100755 --- a/test/functional/wallet_createwallet.py +++ b/test/functional/wallet_createwallet.py @@ -1,17 +1,17 @@ #!/usr/bin/env python3 -# Copyright (c) 2018 The Bitcoin Core developers +# Copyright (c) 2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test createwallet arguments. """ -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import ( assert_equal, assert_raises_rpc_error, ) -class CreateWalletTest(BitcoinTestFramework): +class CreateWalletTest(NYC3TestFramework): def set_test_params(self): self.setup_clean_chain = False self.num_nodes = 1 diff --git a/test/functional/wallet_disable.py b/test/functional/wallet_disable.py index 6530c58c7..298998a86 100755 --- a/test/functional/wallet_disable.py +++ b/test/functional/wallet_disable.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2015-2018 The Bitcoin Core developers +# Copyright (c) 2015-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test a node with the -disablewallet option. @@ -8,10 +8,10 @@ - Test that it is not possible to mine to an invalid address. """ -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import assert_raises_rpc_error -class DisableWalletTest (BitcoinTestFramework): +class DisableWalletTest (NYC3TestFramework): def set_test_params(self): self.setup_clean_chain = True self.num_nodes = 1 diff --git a/test/functional/wallet_dump.py b/test/functional/wallet_dump.py index 3f39654bb..cd637ba22 100755 --- a/test/functional/wallet_dump.py +++ b/test/functional/wallet_dump.py @@ -1,11 +1,11 @@ #!/usr/bin/env python3 -# Copyright (c) 2016-2018 The Bitcoin Core developers +# Copyright (c) 2016-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the dumpwallet RPC.""" import os -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import ( assert_equal, assert_raises_rpc_error, @@ -85,7 +85,7 @@ def read_dump(file_name, addrs, script_addrs, hd_master_addr_old): return found_legacy_addr, found_p2sh_segwit_addr, found_bech32_addr, found_script_addr, found_addr_chg, found_addr_rsv, hd_master_addr_ret -class WalletDumpTest(BitcoinTestFramework): +class WalletDumpTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 1 self.extra_args = [["-keypool=90", "-addresstype=legacy"]] diff --git a/test/functional/wallet_encryption.py b/test/functional/wallet_encryption.py index c514b7e0b..3e926abb6 100755 --- a/test/functional/wallet_encryption.py +++ b/test/functional/wallet_encryption.py @@ -1,12 +1,12 @@ #!/usr/bin/env python3 -# Copyright (c) 2016-2018 The Bitcoin Core developers +# Copyright (c) 2016-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test Wallet encryption""" import time -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import ( assert_equal, assert_raises_rpc_error, @@ -14,7 +14,7 @@ from test_framework.util import ( assert_greater_than_or_equal, ) -class WalletEncryptionTest(BitcoinTestFramework): +class WalletEncryptionTest(NYC3TestFramework): def set_test_params(self): self.setup_clean_chain = True self.num_nodes = 1 diff --git a/test/functional/wallet_fallbackfee.py b/test/functional/wallet_fallbackfee.py index 0c67982bb..20f164409 100755 --- a/test/functional/wallet_fallbackfee.py +++ b/test/functional/wallet_fallbackfee.py @@ -1,12 +1,12 @@ #!/usr/bin/env python3 -# Copyright (c) 2017-2018 The Bitcoin Core developers +# Copyright (c) 2017-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test wallet replace-by-fee capabilities in conjunction with the fallbackfee.""" -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import assert_raises_rpc_error -class WalletRBFTest(BitcoinTestFramework): +class WalletRBFTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 1 self.setup_clean_chain = True diff --git a/test/functional/wallet_groups.py b/test/functional/wallet_groups.py index 5452433ac..396ccbe35 100755 --- a/test/functional/wallet_groups.py +++ b/test/functional/wallet_groups.py @@ -1,10 +1,10 @@ #!/usr/bin/env python3 -# Copyright (c) 2018 The Bitcoin Core developers +# Copyright (c) 2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test wallet group functionality.""" -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.messages import CTransaction, FromHex, ToHex from test_framework.util import ( assert_equal, @@ -16,7 +16,7 @@ def assert_approx(v, vexp, vspan=0.00001): if v > vexp + vspan: raise AssertionError("%s > [%s..%s]" % (str(v), str(vexp - vspan), str(vexp + vspan))) -class WalletGroupTest(BitcoinTestFramework): +class WalletGroupTest(NYC3TestFramework): def set_test_params(self): self.setup_clean_chain = True self.num_nodes = 3 diff --git a/test/functional/wallet_hd.py b/test/functional/wallet_hd.py index 61245e510..25e64faf4 100755 --- a/test/functional/wallet_hd.py +++ b/test/functional/wallet_hd.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2016-2018 The Bitcoin Core developers +# Copyright (c) 2016-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test Hierarchical Deterministic wallet function.""" @@ -7,7 +7,7 @@ import os import shutil -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import ( assert_equal, connect_nodes_bi, @@ -15,7 +15,7 @@ from test_framework.util import ( ) -class WalletHDTest(BitcoinTestFramework): +class WalletHDTest(NYC3TestFramework): def set_test_params(self): self.setup_clean_chain = True self.num_nodes = 2 diff --git a/test/functional/wallet_import_rescan.py b/test/functional/wallet_import_rescan.py index 46462a16f..6c4d6b673 100755 --- a/test/functional/wallet_import_rescan.py +++ b/test/functional/wallet_import_rescan.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2014-2018 The Bitcoin Core developers +# Copyright (c) 2014-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test wallet import RPCs. @@ -19,7 +19,7 @@ importing nodes pick up the new transactions regardless of whether rescans happened previously. """ -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import (assert_raises_rpc_error, connect_nodes, sync_blocks, assert_equal, set_node_times) import collections @@ -119,7 +119,7 @@ IMPORT_NODES = [ImportNode(*fields) for fields in itertools.product((False, True TIMESTAMP_WINDOW = 2 * 60 * 60 -class ImportRescanTest(BitcoinTestFramework): +class ImportRescanTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 2 + len(IMPORT_NODES) diff --git a/test/functional/wallet_import_with_label.py b/test/functional/wallet_import_with_label.py index a623b7560..f000c7368 100755 --- a/test/functional/wallet_import_with_label.py +++ b/test/functional/wallet_import_with_label.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2018 The Bitcoin Core developers +# Copyright (c) 2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the behavior of RPC importprivkey on set and unset labels of @@ -10,11 +10,11 @@ with or without a label and then its private key is imported with importprivkey with and without a label. """ -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.wallet_util import test_address -class ImportWithLabel(BitcoinTestFramework): +class ImportWithLabel(NYC3TestFramework): def set_test_params(self): self.num_nodes = 2 self.setup_clean_chain = True diff --git a/test/functional/wallet_importmulti.py b/test/functional/wallet_importmulti.py index bfee2fe4c..6d793651b 100755 --- a/test/functional/wallet_importmulti.py +++ b/test/functional/wallet_importmulti.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2014-2018 The Bitcoin Core developers +# Copyright (c) 2014-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the importmulti RPC. @@ -19,7 +19,7 @@ from test_framework.script import ( CScript, OP_NOP, ) -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.descriptors import descsum_create from test_framework.util import ( assert_equal, @@ -33,7 +33,7 @@ from test_framework.wallet_util import ( test_address, ) -class ImportMultiTest(BitcoinTestFramework): +class ImportMultiTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 2 self.extra_args = [["-addresstype=legacy"], ["-addresstype=legacy"]] @@ -78,7 +78,7 @@ class ImportMultiTest(BitcoinTestFramework): # RPC importmulti ----------------------------------------------- - # Bitcoin Address (implicit non-internal) + # NYC3 Address (implicit non-internal) self.log.info("Should import an address") key = get_key(self.nodes[0]) self.test_importmulti({"scriptPubKey": {"address": key.p2pkh_addr}, diff --git a/test/functional/wallet_importprunedfunds.py b/test/functional/wallet_importprunedfunds.py index 78426018e..2c43a51d2 100755 --- a/test/functional/wallet_importprunedfunds.py +++ b/test/functional/wallet_importprunedfunds.py @@ -1,17 +1,17 @@ #!/usr/bin/env python3 -# Copyright (c) 2014-2018 The Bitcoin Core developers +# Copyright (c) 2014-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the importprunedfunds and removeprunedfunds RPCs.""" from decimal import Decimal -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import ( assert_equal, assert_raises_rpc_error, ) -class ImportPrunedFundsTest(BitcoinTestFramework): +class ImportPrunedFundsTest(NYC3TestFramework): def set_test_params(self): self.setup_clean_chain = True self.num_nodes = 2 diff --git a/test/functional/wallet_keypool.py b/test/functional/wallet_keypool.py index 111619626..f40783af6 100755 --- a/test/functional/wallet_keypool.py +++ b/test/functional/wallet_keypool.py @@ -1,15 +1,15 @@ #!/usr/bin/env python3 -# Copyright (c) 2014-2018 The Bitcoin Core developers +# Copyright (c) 2014-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the wallet keypool and interaction with wallet encryption/locking.""" import time -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import assert_equal, assert_raises_rpc_error -class KeyPoolTest(BitcoinTestFramework): +class KeyPoolTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 1 diff --git a/test/functional/wallet_keypool_topup.py b/test/functional/wallet_keypool_topup.py index b7c8d3098..674ad7140 100755 --- a/test/functional/wallet_keypool_topup.py +++ b/test/functional/wallet_keypool_topup.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2017-2018 The Bitcoin Core developers +# Copyright (c) 2017-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test HD Wallet keypool restore function. @@ -13,7 +13,7 @@ Two nodes. Node1 is under test. Node0 is providing transactions and generating b import os import shutil -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import ( assert_equal, connect_nodes_bi, @@ -21,7 +21,7 @@ from test_framework.util import ( ) -class KeypoolRestoreTest(BitcoinTestFramework): +class KeypoolRestoreTest(NYC3TestFramework): def set_test_params(self): self.setup_clean_chain = True self.num_nodes = 4 diff --git a/test/functional/wallet_labels.py b/test/functional/wallet_labels.py index b71dae9f4..8a8b97fb4 100755 --- a/test/functional/wallet_labels.py +++ b/test/functional/wallet_labels.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2016-2018 The Bitcoin Core developers +# Copyright (c) 2016-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test label RPCs. @@ -11,10 +11,10 @@ RPCs tested are: """ from collections import defaultdict -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import assert_equal, assert_raises_rpc_error -class WalletLabelsTest(BitcoinTestFramework): +class WalletLabelsTest(NYC3TestFramework): def set_test_params(self): self.setup_clean_chain = True self.num_nodes = 1 @@ -34,7 +34,7 @@ class WalletLabelsTest(BitcoinTestFramework): assert_equal(node.getbalance(), 100) # there should be 2 address groups - # each with 1 address with a balance of 50 Bitcoins + # each with 1 address with a balance of 50 NYC3s address_groups = node.listaddressgroupings() assert_equal(len(address_groups), 2) # the addresses aren't linked now, but will be after we send to the diff --git a/test/functional/wallet_listreceivedby.py b/test/functional/wallet_listreceivedby.py index 011975e37..00e79e0dc 100755 --- a/test/functional/wallet_listreceivedby.py +++ b/test/functional/wallet_listreceivedby.py @@ -1,11 +1,11 @@ #!/usr/bin/env python3 -# Copyright (c) 2014-2018 The Bitcoin Core developers +# Copyright (c) 2014-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the listreceivedbyaddress RPC.""" from decimal import Decimal -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import ( assert_array_result, assert_equal, @@ -14,7 +14,7 @@ from test_framework.util import ( ) -class ReceivedByTest(BitcoinTestFramework): +class ReceivedByTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 2 diff --git a/test/functional/wallet_listsinceblock.py b/test/functional/wallet_listsinceblock.py index 25ab22237..1fed1f5cf 100755 --- a/test/functional/wallet_listsinceblock.py +++ b/test/functional/wallet_listsinceblock.py @@ -1,13 +1,13 @@ #!/usr/bin/env python3 -# Copyright (c) 2017-2018 The Bitcoin Core developers +# Copyright (c) 2017-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the listsincelast RPC.""" -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import assert_equal, assert_array_result, assert_raises_rpc_error -class ListSinceBlockTest (BitcoinTestFramework): +class ListSinceBlockTest (NYC3TestFramework): def set_test_params(self): self.num_nodes = 4 self.setup_clean_chain = True diff --git a/test/functional/wallet_listtransactions.py b/test/functional/wallet_listtransactions.py index 17f044bf6..669b5c6e5 100755 --- a/test/functional/wallet_listtransactions.py +++ b/test/functional/wallet_listtransactions.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2014-2018 The Bitcoin Core developers +# Copyright (c) 2014-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the listtransactions API.""" @@ -7,7 +7,7 @@ from decimal import Decimal from io import BytesIO from test_framework.messages import COIN, CTransaction -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import ( assert_array_result, assert_equal, @@ -22,7 +22,7 @@ def tx_from_hex(hexstring): tx.deserialize(f) return tx -class ListTransactionsTest(BitcoinTestFramework): +class ListTransactionsTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 2 diff --git a/test/functional/wallet_multiwallet.py b/test/functional/wallet_multiwallet.py index df778f57d..8324110fd 100755 --- a/test/functional/wallet_multiwallet.py +++ b/test/functional/wallet_multiwallet.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2017-2018 The Bitcoin Core developers +# Copyright (c) 2017-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test multiwallet. @@ -10,7 +10,7 @@ import os import shutil import time -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.test_node import ErrorMatch from test_framework.util import ( assert_equal, @@ -18,7 +18,7 @@ from test_framework.util import ( ) -class MultiWalletTest(BitcoinTestFramework): +class MultiWalletTest(NYC3TestFramework): def set_test_params(self): self.setup_clean_chain = True self.num_nodes = 2 diff --git a/test/functional/wallet_resendwallettransactions.py b/test/functional/wallet_resendwallettransactions.py index 8aafa94c2..4f5036478 100755 --- a/test/functional/wallet_resendwallettransactions.py +++ b/test/functional/wallet_resendwallettransactions.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2017-2018 The Bitcoin Core developers +# Copyright (c) 2017-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test that the wallet resends transactions periodically.""" @@ -9,7 +9,7 @@ import time from test_framework.blocktools import create_block, create_coinbase from test_framework.messages import ToHex from test_framework.mininode import P2PInterface, mininode_lock -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import assert_equal, wait_until class P2PStoreTxInvs(P2PInterface): @@ -24,7 +24,7 @@ class P2PStoreTxInvs(P2PInterface): # save txid self.tx_invs_received[i.hash] += 1 -class ResendWalletTransactionsTest(BitcoinTestFramework): +class ResendWalletTransactionsTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 1 diff --git a/test/functional/wallet_txn_clone.py b/test/functional/wallet_txn_clone.py index a0a35bf43..071de2c0f 100755 --- a/test/functional/wallet_txn_clone.py +++ b/test/functional/wallet_txn_clone.py @@ -1,11 +1,11 @@ #!/usr/bin/env python3 -# Copyright (c) 2014-2018 The Bitcoin Core developers +# Copyright (c) 2014-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the wallet accounts properly when there are cloned transactions with malleated scriptsigs.""" import io -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import ( assert_equal, bytes_to_hex_str as b2x, @@ -15,7 +15,7 @@ from test_framework.util import ( ) from test_framework.messages import CTransaction, COIN -class TxnMallTest(BitcoinTestFramework): +class TxnMallTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 4 diff --git a/test/functional/wallet_txn_doublespend.py b/test/functional/wallet_txn_doublespend.py index 9050e2124..17e5e9c27 100755 --- a/test/functional/wallet_txn_doublespend.py +++ b/test/functional/wallet_txn_doublespend.py @@ -1,11 +1,11 @@ #!/usr/bin/env python3 -# Copyright (c) 2014-2018 The Bitcoin Core developers +# Copyright (c) 2014-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the wallet accounts properly when there is a double-spend conflict.""" from decimal import Decimal -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import ( assert_equal, connect_nodes, @@ -14,7 +14,7 @@ from test_framework.util import ( sync_blocks, ) -class TxnMallTest(BitcoinTestFramework): +class TxnMallTest(NYC3TestFramework): def set_test_params(self): self.num_nodes = 4 diff --git a/test/functional/wallet_zapwallettxes.py b/test/functional/wallet_zapwallettxes.py index adebff360..b00117fe4 100755 --- a/test/functional/wallet_zapwallettxes.py +++ b/test/functional/wallet_zapwallettxes.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2014-2018 The Bitcoin Core developers +# Copyright (c) 2014-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the zapwallettxes functionality. @@ -14,14 +14,14 @@ transactions are still available, but that the unconfirmed transaction has been zapped. """ -from test_framework.test_framework import BitcoinTestFramework +from test_framework.test_framework import NYC3TestFramework from test_framework.util import ( assert_equal, assert_raises_rpc_error, wait_until, ) -class ZapWalletTXesTest (BitcoinTestFramework): +class ZapWalletTXesTest (NYC3TestFramework): def set_test_params(self): self.setup_clean_chain = True self.num_nodes = 2 diff --git a/test/fuzz/test_runner.py b/test/fuzz/test_runner.py index 1869f7175..33e9ee6b4 100755 --- a/test/fuzz/test_runner.py +++ b/test/fuzz/test_runner.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2019 The Bitcoin Core developers +# Copyright (c) 2019 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Run fuzz test targets. diff --git a/test/lint/check-doc.py b/test/lint/check-doc.py index c370ce0c0..5122cdba0 100755 --- a/test/lint/check-doc.py +++ b/test/lint/check-doc.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2015-2018 The Bitcoin Core developers +# Copyright (c) 2015-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/test/lint/check-rpc-mappings.py b/test/lint/check-rpc-mappings.py index 137cc82b5..a2b17465d 100755 --- a/test/lint/check-rpc-mappings.py +++ b/test/lint/check-rpc-mappings.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2017-2018 The Bitcoin Core developers +# Copyright (c) 2017-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Check RPC argument consistency.""" diff --git a/test/lint/commit-script-check.sh b/test/lint/commit-script-check.sh index 4267f9fa0..70d39009c 100755 --- a/test/lint/commit-script-check.sh +++ b/test/lint/commit-script-check.sh @@ -1,5 +1,5 @@ #!/bin/sh -# Copyright (c) 2017 The Bitcoin Core developers +# Copyright (c) 2017 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/test/lint/git-subtree-check.sh b/test/lint/git-subtree-check.sh index 85e8b841b..52eef3fba 100755 --- a/test/lint/git-subtree-check.sh +++ b/test/lint/git-subtree-check.sh @@ -1,5 +1,5 @@ #!/bin/sh -# Copyright (c) 2015 The Bitcoin Core developers +# Copyright (c) 2015 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/test/lint/lint-all.sh b/test/lint/lint-all.sh index 7c4f96cb3..a5a6e2a1c 100755 --- a/test/lint/lint-all.sh +++ b/test/lint/lint-all.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # -# Copyright (c) 2017 The Bitcoin Core developers +# Copyright (c) 2017 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # diff --git a/test/lint/lint-assertions.sh b/test/lint/lint-assertions.sh index 5bbcae79e..3c43326ed 100755 --- a/test/lint/lint-assertions.sh +++ b/test/lint/lint-assertions.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # -# Copyright (c) 2018 The Bitcoin Core developers +# Copyright (c) 2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # diff --git a/test/lint/lint-circular-dependencies.sh b/test/lint/lint-circular-dependencies.sh index be67cbed3..ed0dc122b 100755 --- a/test/lint/lint-circular-dependencies.sh +++ b/test/lint/lint-circular-dependencies.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # -# Copyright (c) 2018 The Bitcoin Core developers +# Copyright (c) 2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # diff --git a/test/lint/lint-filenames.sh b/test/lint/lint-filenames.sh index 5391e43d9..cd3d25a39 100755 --- a/test/lint/lint-filenames.sh +++ b/test/lint/lint-filenames.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # -# Copyright (c) 2018 The Bitcoin Core developers +# Copyright (c) 2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # diff --git a/test/lint/lint-format-strings.py b/test/lint/lint-format-strings.py index f5d4780b6..80fdb8f36 100755 --- a/test/lint/lint-format-strings.py +++ b/test/lint/lint-format-strings.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -# Copyright (c) 2018 The Bitcoin Core developers +# Copyright (c) 2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # diff --git a/test/lint/lint-format-strings.sh b/test/lint/lint-format-strings.sh index c994ae3f4..9a447820c 100755 --- a/test/lint/lint-format-strings.sh +++ b/test/lint/lint-format-strings.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # -# Copyright (c) 2018 The Bitcoin Core developers +# Copyright (c) 2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # diff --git a/test/lint/lint-include-guards.sh b/test/lint/lint-include-guards.sh index 464969794..930c8122a 100755 --- a/test/lint/lint-include-guards.sh +++ b/test/lint/lint-include-guards.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # -# Copyright (c) 2018 The Bitcoin Core developers +# Copyright (c) 2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # diff --git a/test/lint/lint-includes.sh b/test/lint/lint-includes.sh index 4b9e2615b..54e09f586 100755 --- a/test/lint/lint-includes.sh +++ b/test/lint/lint-includes.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # -# Copyright (c) 2018 The Bitcoin Core developers +# Copyright (c) 2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # diff --git a/test/lint/lint-logs.sh b/test/lint/lint-logs.sh index 1afd4cfc1..e3a3364ee 100755 --- a/test/lint/lint-logs.sh +++ b/test/lint/lint-logs.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # -# Copyright (c) 2018 The Bitcoin Core developers +# Copyright (c) 2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # diff --git a/test/lint/lint-python-dead-code.sh b/test/lint/lint-python-dead-code.sh index 863caa9d5..2bfea5531 100755 --- a/test/lint/lint-python-dead-code.sh +++ b/test/lint/lint-python-dead-code.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # -# Copyright (c) 2018 The Bitcoin Core developers +# Copyright (c) 2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # diff --git a/test/lint/lint-python-utf8-encoding.sh b/test/lint/lint-python-utf8-encoding.sh index d03c20205..9d5891295 100755 --- a/test/lint/lint-python-utf8-encoding.sh +++ b/test/lint/lint-python-utf8-encoding.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # -# Copyright (c) 2018 The Bitcoin Core developers +# Copyright (c) 2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # diff --git a/test/lint/lint-python.sh b/test/lint/lint-python.sh index f5b851aea..d54970f92 100755 --- a/test/lint/lint-python.sh +++ b/test/lint/lint-python.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # -# Copyright (c) 2017 The Bitcoin Core developers +# Copyright (c) 2017 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # diff --git a/test/lint/lint-qt.sh b/test/lint/lint-qt.sh index 2e77682aa..f03ed6344 100755 --- a/test/lint/lint-qt.sh +++ b/test/lint/lint-qt.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # -# Copyright (c) 2018 The Bitcoin Core developers +# Copyright (c) 2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # diff --git a/test/lint/lint-rpc-help.sh b/test/lint/lint-rpc-help.sh index faac5d43e..8325953ae 100755 --- a/test/lint/lint-rpc-help.sh +++ b/test/lint/lint-rpc-help.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # -# Copyright (c) 2018 The Bitcoin Core developers +# Copyright (c) 2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # diff --git a/test/lint/lint-shell-locale.sh b/test/lint/lint-shell-locale.sh index 084dc93f7..144fd12af 100755 --- a/test/lint/lint-shell-locale.sh +++ b/test/lint/lint-shell-locale.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # -# Copyright (c) 2018 The Bitcoin Core developers +# Copyright (c) 2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # diff --git a/test/lint/lint-shell.sh b/test/lint/lint-shell.sh index 6f5e6546c..3c83b5730 100755 --- a/test/lint/lint-shell.sh +++ b/test/lint/lint-shell.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # -# Copyright (c) 2018 The Bitcoin Core developers +# Copyright (c) 2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # diff --git a/test/lint/lint-spelling.sh b/test/lint/lint-spelling.sh index 5d672698a..02252babb 100755 --- a/test/lint/lint-spelling.sh +++ b/test/lint/lint-spelling.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # -# Copyright (c) 2018 The Bitcoin Core developers +# Copyright (c) 2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # diff --git a/test/lint/lint-tests.sh b/test/lint/lint-tests.sh index 35d11023e..596a3fa58 100755 --- a/test/lint/lint-tests.sh +++ b/test/lint/lint-tests.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # -# Copyright (c) 2018 The Bitcoin Core developers +# Copyright (c) 2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # diff --git a/test/lint/lint-whitespace.sh b/test/lint/lint-whitespace.sh index d5c1dee42..a8d25f91c 100755 --- a/test/lint/lint-whitespace.sh +++ b/test/lint/lint-whitespace.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # -# Copyright (c) 2017-2019 The Bitcoin Core developers +# Copyright (c) 2017-2019 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # diff --git a/test/util/bitcoin-util-test.py b/test/util/bitcoin-util-test.py index 7b1cc2b03..eb3f0c44e 100755 --- a/test/util/bitcoin-util-test.py +++ b/test/util/bitcoin-util-test.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # Copyright 2014 BitPay Inc. -# Copyright 2016-2017 The Bitcoin Core developers +# Copyright 2016-2017 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test framework for bitcoin utils. diff --git a/test/util/rpcauth-test.py b/test/util/rpcauth-test.py index 53058dc39..cea6e12dc 100755 --- a/test/util/rpcauth-test.py +++ b/test/util/rpcauth-test.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2015-2018 The Bitcoin Core developers +# Copyright (c) 2015-2018 The NYC3 Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test share/rpcauth/rpcauth.py