@neuraiproject/neurai-rpc 0.4.2 → 0.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Neurai/.gitattributes +1 -0
- package/Neurai/.github/ISSUE_TEMPLATE.md +37 -0
- package/Neurai/.github/scripts/00-install-deps.sh +133 -0
- package/Neurai/.github/scripts/02-copy-build-dependencies.sh +36 -0
- package/Neurai/.github/scripts/03-export-path.sh +26 -0
- package/Neurai/.github/scripts/04-configure-build.sh +39 -0
- package/Neurai/.github/scripts/05-binary-checks.sh +41 -0
- package/Neurai/.github/scripts/06-package.sh +256 -0
- package/Neurai/.github/workflows/build-neurai.yml +112 -0
- package/Neurai/.pydevproject +5 -0
- package/Neurai/.travis.yml +80 -0
- package/Neurai/.tx/config +10 -0
- package/Neurai/CONTRIBUTING.md +286 -0
- package/Neurai/COPYING +22 -0
- package/Neurai/INSTALL.md +5 -0
- package/Neurai/Makefile.am +313 -0
- package/Neurai/README.md +110 -0
- package/Neurai/about +35 -0
- package/Neurai/assets/asset_metadata_spec.md +99 -0
- package/Neurai/assets/tools/README.md +53 -0
- package/Neurai/assets/tools/asset_audit.py +179 -0
- package/Neurai/assets/tools/blockfacts.py +45 -0
- package/Neurai/assets/tools/ipfs_pinner.py +448 -0
- package/Neurai/assets/tools/issuebulk.py +162 -0
- package/Neurai/assets/tools/signed_promises.py +197 -0
- package/Neurai/assets/tools/txfacts.py +120 -0
- package/Neurai/autogen.sh +17 -0
- package/Neurai/build-aux/m4/ax_boost_base.m4 +291 -0
- package/Neurai/build-aux/m4/ax_boost_chrono.m4 +119 -0
- package/Neurai/build-aux/m4/ax_boost_filesystem.m4 +119 -0
- package/Neurai/build-aux/m4/ax_boost_program_options.m4 +108 -0
- package/Neurai/build-aux/m4/ax_boost_system.m4 +122 -0
- package/Neurai/build-aux/m4/ax_boost_thread.m4 +150 -0
- package/Neurai/build-aux/m4/ax_boost_unit_test_framework.m4 +138 -0
- package/Neurai/build-aux/m4/ax_check_compile_flag.m4 +74 -0
- package/Neurai/build-aux/m4/ax_check_link_flag.m4 +74 -0
- package/Neurai/build-aux/m4/ax_check_preproc_flag.m4 +74 -0
- package/Neurai/build-aux/m4/ax_cxx_compile_stdcxx.m4 +951 -0
- package/Neurai/build-aux/m4/ax_gcc_func_attribute.m4 +223 -0
- package/Neurai/build-aux/m4/ax_pthread.m4 +485 -0
- package/Neurai/build-aux/m4/l_atomic.m4 +46 -0
- package/Neurai/build-aux/m4/neurai_find_bdb48.m4 +80 -0
- package/Neurai/build-aux/m4/neurai_qt.m4 +387 -0
- package/Neurai/build-aux/m4/neurai_subdir_to_include.m4 +20 -0
- package/Neurai/configure.ac +1359 -0
- package/Neurai/contrib/Dockerfile +60 -0
- package/Neurai/contrib/README.md +50 -0
- package/Neurai/contrib/debian/README.md +21 -0
- package/Neurai/contrib/debian/changelog +578 -0
- package/Neurai/contrib/debian/compat +1 -0
- package/Neurai/contrib/debian/control +70 -0
- package/Neurai/contrib/debian/copyright +137 -0
- package/Neurai/contrib/debian/examples/neurai.conf +147 -0
- package/Neurai/contrib/debian/gbp.conf +5 -0
- package/Neurai/contrib/debian/neurai-qt.desktop +13 -0
- package/Neurai/contrib/debian/neurai-qt.install +6 -0
- package/Neurai/contrib/debian/neurai-qt.lintian-overrides +2 -0
- package/Neurai/contrib/debian/neurai-qt.manpages +1 -0
- package/Neurai/contrib/debian/neurai-qt.protocol +11 -0
- package/Neurai/contrib/debian/neurai-tx.bash-completion +1 -0
- package/Neurai/contrib/debian/neurai-tx.install +1 -0
- package/Neurai/contrib/debian/neurai-tx.manpages +1 -0
- package/Neurai/contrib/debian/neuraid.bash-completion +2 -0
- package/Neurai/contrib/debian/neuraid.examples +1 -0
- package/Neurai/contrib/debian/neuraid.install +2 -0
- package/Neurai/contrib/debian/neuraid.lintian-overrides +2 -0
- package/Neurai/contrib/debian/neuraid.manpages +2 -0
- package/Neurai/contrib/debian/patches/README +3 -0
- package/Neurai/contrib/debian/patches/series +1 -0
- package/Neurai/contrib/debian/rules +23 -0
- package/Neurai/contrib/debian/source/format +1 -0
- package/Neurai/contrib/debian/watch +5 -0
- package/Neurai/contrib/devtools/README.md +188 -0
- package/Neurai/contrib/devtools/check-doc.py +47 -0
- package/Neurai/contrib/devtools/check-rpc-mappings.py +159 -0
- package/Neurai/contrib/devtools/clang-format-diff.py +164 -0
- package/Neurai/contrib/devtools/commit-script-check.sh +48 -0
- package/Neurai/contrib/devtools/copyright_header.py +617 -0
- package/Neurai/contrib/devtools/gen-manpages.sh +29 -0
- package/Neurai/contrib/devtools/git-subtree-check.sh +79 -0
- package/Neurai/contrib/devtools/github-merge.py +330 -0
- package/Neurai/contrib/devtools/lint-all.sh +24 -0
- package/Neurai/contrib/devtools/lint-whitespace.sh +90 -0
- package/Neurai/contrib/devtools/optimize-pngs.py +79 -0
- package/Neurai/contrib/devtools/security-check.py +217 -0
- package/Neurai/contrib/devtools/split-debug.sh.in +10 -0
- package/Neurai/contrib/devtools/symbol-check.py +162 -0
- package/Neurai/contrib/devtools/test-security-check.py +63 -0
- package/Neurai/contrib/devtools/update-translations.py +208 -0
- package/Neurai/contrib/filter-lcov.py +25 -0
- package/Neurai/contrib/init/README.md +12 -0
- package/Neurai/contrib/init/neuraid.conf +65 -0
- package/Neurai/contrib/init/neuraid.init +67 -0
- package/Neurai/contrib/init/neuraid.openrc +92 -0
- package/Neurai/contrib/init/neuraid.openrcconf +33 -0
- package/Neurai/contrib/init/neuraid.service +22 -0
- package/Neurai/contrib/init/org.neurai.neuraid.plist +14 -0
- package/Neurai/contrib/install_cli.sh +13 -0
- package/Neurai/contrib/install_db4.sh +251 -0
- package/Neurai/contrib/linearize/README.md +55 -0
- package/Neurai/contrib/linearize/example-linearize.cfg +50 -0
- package/Neurai/contrib/linearize/linearize-data.py +310 -0
- package/Neurai/contrib/linearize/linearize-hashes.py +158 -0
- package/Neurai/contrib/macdeploy/LICENSE +674 -0
- package/Neurai/contrib/macdeploy/README.md +15 -0
- package/Neurai/contrib/macdeploy/background.svg +35 -0
- package/Neurai/contrib/macdeploy/custom_dsstore.py +61 -0
- package/Neurai/contrib/macdeploy/detached-sig-apply.sh +58 -0
- package/Neurai/contrib/macdeploy/detached-sig-create.sh +53 -0
- package/Neurai/contrib/macdeploy/extract-osx-sdk.sh +35 -0
- package/Neurai/contrib/macdeploy/fancy.plist +32 -0
- package/Neurai/contrib/macdeploy/macdeployqtplus +872 -0
- package/Neurai/contrib/neurai-cli.bash-completion +156 -0
- package/Neurai/contrib/neurai-tx.bash-completion +59 -0
- package/Neurai/contrib/neuraid.bash-completion +58 -0
- package/Neurai/contrib/qos/README.md +5 -0
- package/Neurai/contrib/qos/tc.sh +61 -0
- package/Neurai/contrib/rpm/README.md +185 -0
- package/Neurai/contrib/rpm/neurai.fc +8 -0
- package/Neurai/contrib/rpm/neurai.if +157 -0
- package/Neurai/contrib/rpm/neurai.spec +442 -0
- package/Neurai/contrib/rpm/neurai.te +81 -0
- package/Neurai/contrib/seeds/README.md +19 -0
- package/Neurai/contrib/seeds/generate-seeds.py +138 -0
- package/Neurai/contrib/seeds/makeseeds.py +173 -0
- package/Neurai/contrib/seeds/nodes_main.txt +1 -0
- package/Neurai/contrib/seeds/nodes_test.txt +6 -0
- package/Neurai/contrib/static-builds/README.md +219 -0
- package/Neurai/contrib/static-builds/script.sh +323 -0
- package/Neurai/contrib/static-builds/staticbuild.md +483 -0
- package/Neurai/contrib/testgen/README.md +8 -0
- package/Neurai/contrib/testgen/base58.py +107 -0
- package/Neurai/contrib/testgen/gen_base58_test_vectors.py +129 -0
- package/Neurai/contrib/tidy_datadir.sh +64 -0
- package/Neurai/contrib/verifybinaries/README.md +3 -0
- package/Neurai/contrib/verifybinaries/verify.sh +3 -0
- package/Neurai/contrib/windeploy/detached-sig-create.sh +36 -0
- package/Neurai/contrib/windeploy/win-codesign.cert +99 -0
- package/Neurai/contrib/zmq/zmq_sub.py +90 -0
- package/Neurai/contrib/zmq/zmq_sub3.4.py +90 -0
- package/Neurai/contrib/zmq/zmq_test.py +75 -0
- package/Neurai/depends/README.md +84 -0
- package/Neurai/depends/builders/darwin.mk +22 -0
- package/Neurai/depends/builders/default.mk +20 -0
- package/Neurai/depends/builders/linux.mk +2 -0
- package/Neurai/depends/config.guess +1466 -0
- package/Neurai/depends/config.site.in +119 -0
- package/Neurai/depends/config.sub +1836 -0
- package/Neurai/depends/description.md +53 -0
- package/Neurai/depends/funcs.mk +262 -0
- package/Neurai/depends/hosts/darwin.mk +126 -0
- package/Neurai/depends/hosts/default.mk +39 -0
- package/Neurai/depends/hosts/linux.mk +32 -0
- package/Neurai/depends/hosts/mingw32.mk +12 -0
- package/Neurai/depends/packages/bdb.mk +31 -0
- package/Neurai/depends/packages/boost.mk +45 -0
- package/Neurai/depends/packages/dbus.mk +23 -0
- package/Neurai/depends/packages/expat.mk +21 -0
- package/Neurai/depends/packages/fontconfig.mk +28 -0
- package/Neurai/depends/packages/freetype.mk +22 -0
- package/Neurai/depends/packages/libICE.mk +23 -0
- package/Neurai/depends/packages/libSM.mk +23 -0
- package/Neurai/depends/packages/libX11.mk +23 -0
- package/Neurai/depends/packages/libXau.mk +23 -0
- package/Neurai/depends/packages/libXext.mk +22 -0
- package/Neurai/depends/packages/libevent.mk +33 -0
- package/Neurai/depends/packages/libxcb.mk +35 -0
- package/Neurai/depends/packages/libxkbcommon.mk +32 -0
- package/Neurai/depends/packages/miniupnpc.mk +28 -0
- package/Neurai/depends/packages/native_b2.mk +20 -0
- package/Neurai/depends/packages/native_biplist.mk +20 -0
- package/Neurai/depends/packages/native_capnp.mk +18 -0
- package/Neurai/depends/packages/native_ccache.mk +25 -0
- package/Neurai/depends/packages/native_cctools.mk +38 -0
- package/Neurai/depends/packages/native_cdrkit.mk +26 -0
- package/Neurai/depends/packages/native_clang.mk +27 -0
- package/Neurai/depends/packages/native_ds_store.mk +15 -0
- package/Neurai/depends/packages/native_libdmg-hfsplus.mk +24 -0
- package/Neurai/depends/packages/native_libtapi.mk +20 -0
- package/Neurai/depends/packages/native_mac_alias.mk +18 -0
- package/Neurai/depends/packages/native_protobuf.mk +25 -0
- package/Neurai/depends/packages/openssl.mk +80 -0
- package/Neurai/depends/packages/packages.mk +23 -0
- package/Neurai/depends/packages/protobuf.mk +29 -0
- package/Neurai/depends/packages/qrencode.mk +22 -0
- package/Neurai/depends/packages/qt.mk +285 -0
- package/Neurai/depends/packages/xcb_proto.mk +27 -0
- package/Neurai/depends/packages/xextproto.mk +21 -0
- package/Neurai/depends/packages/xproto.mk +21 -0
- package/Neurai/depends/packages/xtrans.mk +22 -0
- package/Neurai/depends/packages/zeromq.mk +37 -0
- package/Neurai/depends/packages/zlib.mk +27 -0
- package/Neurai/depends/packages.md +194 -0
- package/Neurai/depends/patches/qt/mac-qmake.conf +26 -0
- package/Neurai/doc/Doxyfile.in +2460 -0
- package/Neurai/doc/JSON-RPC-interface.md +129 -0
- package/Neurai/doc/README.md +594 -0
- package/Neurai/doc/README_osx.md +97 -0
- package/Neurai/doc/README_windows.txt +23 -0
- package/Neurai/doc/REST-interface.md +112 -0
- package/Neurai/doc/adr/0001-record-architecture-decisions.md +19 -0
- package/Neurai/doc/assets-attribution.md +1 -0
- package/Neurai/doc/atomicswaps.md +125 -0
- package/Neurai/doc/benchmarking.md +30 -0
- package/Neurai/doc/bips.md +35 -0
- package/Neurai/doc/bitcoin_logo_doxygen.png +0 -0
- package/Neurai/doc/build-docker.md +110 -0
- package/Neurai/doc/build-freebsd.md +85 -0
- package/Neurai/doc/build-openbsd.md +190 -0
- package/Neurai/doc/build-osx.md +136 -0
- package/Neurai/doc/build-rasberrypi.md +44 -0
- package/Neurai/doc/build-ubuntu.md +287 -0
- package/Neurai/doc/build-unix.md +248 -0
- package/Neurai/doc/build-windows.md +119 -0
- package/Neurai/doc/dependencies.md +43 -0
- package/Neurai/doc/developer-notes.md +708 -0
- package/Neurai/doc/dnsseed-policy.md +54 -0
- package/Neurai/doc/docker/Dockerfile-Linux64-bin +41 -0
- package/Neurai/doc/docker/Dockerfile-Node-Linux +53 -0
- package/Neurai/doc/docker/Dockerfile-Win64-bin +41 -0
- package/Neurai/doc/docker/README.md +5 -0
- package/Neurai/doc/files.md +18 -0
- package/Neurai/doc/fuzzing.md +72 -0
- package/Neurai/doc/init.md +141 -0
- package/Neurai/doc/man/Makefile.am +17 -0
- package/Neurai/doc/man/neurai-cli.1 +104 -0
- package/Neurai/doc/man/neurai-qt.1 +558 -0
- package/Neurai/doc/man/neurai-tx.1 +128 -0
- package/Neurai/doc/man/neuraid.1 +537 -0
- package/Neurai/doc/neurai-conf.md +61 -0
- package/Neurai/doc/neurai_logo_doxygen.png +0 -0
- package/Neurai/doc/reduce-memory.md +50 -0
- package/Neurai/doc/reduce-traffic.md +54 -0
- package/Neurai/doc/release-notes/release-notes-0.15.0.1.md +87 -0
- package/Neurai/doc/release-notes/release-notes-0.15.0.md +878 -0
- package/Neurai/doc/release-notes/release-notes-1.0.0.md +80 -0
- package/Neurai/doc/release-notes/release-notes-1.0.2.md +80 -0
- package/Neurai/doc/release-notes/release-notes-2.0.4.md +87 -0
- package/Neurai/doc/release-notes/release-notes-2.1.0.md +94 -0
- package/Neurai/doc/release-notes/release-notes-2.2.2.md +98 -0
- package/Neurai/doc/release-notes/release-notes-2.4.0.md +80 -0
- package/Neurai/doc/release-notes.md +95 -0
- package/Neurai/doc/release-process.md +113 -0
- package/Neurai/doc/release_checklist.md +30 -0
- package/Neurai/doc/shared-libraries.md +49 -0
- package/Neurai/doc/tor.md +125 -0
- package/Neurai/doc/translation_process.md +109 -0
- package/Neurai/doc/translation_strings_policy.md +109 -0
- package/Neurai/doc/zmq.md +114 -0
- package/Neurai/img/neurai-title.jpg +0 -0
- package/Neurai/libneuraiconsensus.pc.in +11 -0
- package/Neurai/scripts/00-install-deps.sh +130 -0
- package/Neurai/scripts/02-copy-build-dependencies.sh +68 -0
- package/Neurai/scripts/03-export-path.sh +26 -0
- package/Neurai/scripts/04-configure-build.sh +39 -0
- package/Neurai/scripts/05-binary-checks.sh +41 -0
- package/Neurai/scripts/06-package.sh +256 -0
- package/Neurai/share/genbuild.sh +54 -0
- package/Neurai/share/pixmaps/neurai.BMP +0 -0
- package/Neurai/share/pixmaps/neurai.ico +0 -0
- package/Neurai/share/pixmaps/neurai.svg +107 -0
- package/Neurai/share/pixmaps/neurai128.png +0 -0
- package/Neurai/share/pixmaps/neurai128.xpm +818 -0
- package/Neurai/share/pixmaps/neurai16.png +0 -0
- package/Neurai/share/pixmaps/neurai16.xpm +100 -0
- package/Neurai/share/pixmaps/neurai256.png +0 -0
- package/Neurai/share/pixmaps/neurai256.xpm +1584 -0
- package/Neurai/share/pixmaps/neurai32.png +0 -0
- package/Neurai/share/pixmaps/neurai32.xpm +200 -0
- package/Neurai/share/pixmaps/neurai64.png +0 -0
- package/Neurai/share/pixmaps/neurai64.xpm +301 -0
- package/Neurai/share/pixmaps/nsis-header.bmp +0 -0
- package/Neurai/share/pixmaps/nsis-wizard.bmp +0 -0
- package/Neurai/share/qt/Info.plist.in +109 -0
- package/Neurai/share/qt/extract_strings_qt.py +90 -0
- package/Neurai/share/rpcuser/README.md +10 -0
- package/Neurai/share/rpcuser/rpcuser.py +42 -0
- package/Neurai/share/setup.nsi.in +177 -0
- package/Neurai/src/.clang-format +51 -0
- package/Neurai/src/LibBoolEE.cpp +177 -0
- package/Neurai/src/LibBoolEE.h +70 -0
- package/Neurai/src/Makefile.am +651 -0
- package/Neurai/src/Makefile.bench.include +83 -0
- package/Neurai/src/Makefile.leveldb.include +151 -0
- package/Neurai/src/Makefile.qt.include +579 -0
- package/Neurai/src/Makefile.qttest.include +79 -0
- package/Neurai/src/Makefile.test.include +198 -0
- package/Neurai/src/addrdb.cpp +148 -0
- package/Neurai/src/addrdb.h +104 -0
- package/Neurai/src/addressindex.h +409 -0
- package/Neurai/src/addrman.cpp +532 -0
- package/Neurai/src/addrman.h +607 -0
- package/Neurai/src/algo/Lyra2RE.c +110 -0
- package/Neurai/src/algo/Lyra2RE.h +15 -0
- package/Neurai/src/algo/aes_helper.c +392 -0
- package/Neurai/src/algo/blake.c +1120 -0
- package/Neurai/src/algo/bmw.c +965 -0
- package/Neurai/src/algo/cubehash.c +723 -0
- package/Neurai/src/algo/echo.c +1031 -0
- package/Neurai/src/algo/extra.c +35 -0
- package/Neurai/src/algo/extra.h +4 -0
- package/Neurai/src/algo/fugue.c +1208 -0
- package/Neurai/src/algo/gost_streebog.c +1023 -0
- package/Neurai/src/algo/gost_streebog.h +185 -0
- package/Neurai/src/algo/groestl.c +3119 -0
- package/Neurai/src/algo/hamsi.c +867 -0
- package/Neurai/src/algo/hamsi_helper.c +39648 -0
- package/Neurai/src/algo/haval.c +983 -0
- package/Neurai/src/algo/haval_helper.c +190 -0
- package/Neurai/src/algo/jh.c +1116 -0
- package/Neurai/src/algo/keccak.c +1824 -0
- package/Neurai/src/algo/luffa.c +1436 -0
- package/Neurai/src/algo/lyra2.cpp +382 -0
- package/Neurai/src/algo/lyra2.h +44 -0
- package/Neurai/src/algo/md_helper.c +347 -0
- package/Neurai/src/algo/sha2.c +550 -0
- package/Neurai/src/algo/shabal.c +806 -0
- package/Neurai/src/algo/shavite.c +1764 -0
- package/Neurai/src/algo/simd.c +1799 -0
- package/Neurai/src/algo/skein.c +1254 -0
- package/Neurai/src/algo/sph_blake.h +327 -0
- package/Neurai/src/algo/sph_bmw.h +328 -0
- package/Neurai/src/algo/sph_cubehash.h +292 -0
- package/Neurai/src/algo/sph_echo.h +320 -0
- package/Neurai/src/algo/sph_fugue.h +81 -0
- package/Neurai/src/algo/sph_groestl.h +329 -0
- package/Neurai/src/algo/sph_hamsi.h +321 -0
- package/Neurai/src/algo/sph_haval.h +976 -0
- package/Neurai/src/algo/sph_jh.h +298 -0
- package/Neurai/src/algo/sph_keccak.h +293 -0
- package/Neurai/src/algo/sph_luffa.h +296 -0
- package/Neurai/src/algo/sph_md_helper.c +352 -0
- package/Neurai/src/algo/sph_sha2.c +690 -0
- package/Neurai/src/algo/sph_sha2.h +379 -0
- package/Neurai/src/algo/sph_sha2big.c +255 -0
- package/Neurai/src/algo/sph_shabal.h +344 -0
- package/Neurai/src/algo/sph_shavite.h +314 -0
- package/Neurai/src/algo/sph_simd.h +309 -0
- package/Neurai/src/algo/sph_skein.h +298 -0
- package/Neurai/src/algo/sph_tiger.h +191 -0
- package/Neurai/src/algo/sph_types.h +1976 -0
- package/Neurai/src/algo/sph_whirlpool.h +218 -0
- package/Neurai/src/algo/sponge.cpp +745 -0
- package/Neurai/src/algo/sponge.h +108 -0
- package/Neurai/src/algo/tiger.cpp +697 -0
- package/Neurai/src/algo/whirlpool.c +3480 -0
- package/Neurai/src/amount.h +31 -0
- package/Neurai/src/arith_uint256.cpp +264 -0
- package/Neurai/src/arith_uint256.h +298 -0
- package/Neurai/src/assets/assetdb.cpp +395 -0
- package/Neurai/src/assets/assetdb.h +99 -0
- package/Neurai/src/assets/assets.cpp +5938 -0
- package/Neurai/src/assets/assets.h +620 -0
- package/Neurai/src/assets/assetsnapshotdb.cpp +151 -0
- package/Neurai/src/assets/assetsnapshotdb.h +78 -0
- package/Neurai/src/assets/assettypes.cpp +31 -0
- package/Neurai/src/assets/assettypes.h +689 -0
- package/Neurai/src/assets/messages.cpp +346 -0
- package/Neurai/src/assets/messages.h +143 -0
- package/Neurai/src/assets/myassetsdb.cpp +344 -0
- package/Neurai/src/assets/myassetsdb.h +82 -0
- package/Neurai/src/assets/restricteddb.cpp +257 -0
- package/Neurai/src/assets/restricteddb.h +64 -0
- package/Neurai/src/assets/rewards.cpp +395 -0
- package/Neurai/src/assets/rewards.h +171 -0
- package/Neurai/src/assets/snapshotrequestdb.cpp +236 -0
- package/Neurai/src/assets/snapshotrequestdb.h +117 -0
- package/Neurai/src/base58.cpp +347 -0
- package/Neurai/src/base58.h +174 -0
- package/Neurai/src/bench/Examples.cpp +36 -0
- package/Neurai/src/bench/base58.cpp +61 -0
- package/Neurai/src/bench/bench.cpp +106 -0
- package/Neurai/src/bench/bench.h +82 -0
- package/Neurai/src/bench/bench_neurai.cpp +29 -0
- package/Neurai/src/bench/ccoins_caching.cpp +88 -0
- package/Neurai/src/bench/checkblock.cpp +59 -0
- package/Neurai/src/bench/checkqueue.cpp +105 -0
- package/Neurai/src/bench/coin_selection.cpp +60 -0
- package/Neurai/src/bench/crypto_hash.cpp +105 -0
- package/Neurai/src/bench/data/block566553.raw +0 -0
- package/Neurai/src/bench/lockedpool.cpp +49 -0
- package/Neurai/src/bench/mempool_eviction.cpp +116 -0
- package/Neurai/src/bench/perf.cpp +55 -0
- package/Neurai/src/bench/perf.h +39 -0
- package/Neurai/src/bench/prevector_destructor.cpp +38 -0
- package/Neurai/src/bench/rollingbloom.cpp +45 -0
- package/Neurai/src/bench/verify_script.cpp +110 -0
- package/Neurai/src/blockencodings.cpp +231 -0
- package/Neurai/src/blockencodings.h +239 -0
- package/Neurai/src/bloom.cpp +313 -0
- package/Neurai/src/bloom.h +145 -0
- package/Neurai/src/chain.cpp +171 -0
- package/Neurai/src/chain.h +524 -0
- package/Neurai/src/chainparams.cpp +635 -0
- package/Neurai/src/chainparams.h +241 -0
- package/Neurai/src/chainparamsbase.cpp +104 -0
- package/Neurai/src/chainparamsbase.h +65 -0
- package/Neurai/src/chainparamsseeds.h +15 -0
- package/Neurai/src/checkpoints.cpp +34 -0
- package/Neurai/src/checkpoints.h +29 -0
- package/Neurai/src/checkqueue.h +219 -0
- package/Neurai/src/clientversion.cpp +104 -0
- package/Neurai/src/clientversion.h +55 -0
- package/Neurai/src/coins.cpp +539 -0
- package/Neurai/src/coins.h +322 -0
- package/Neurai/src/compat/byteswap.h +68 -0
- package/Neurai/src/compat/endian.h +198 -0
- package/Neurai/src/compat/glibc_compat.cpp +76 -0
- package/Neurai/src/compat/glibc_sanity.cpp +70 -0
- package/Neurai/src/compat/glibcxx_sanity.cpp +63 -0
- package/Neurai/src/compat/sanity.h +13 -0
- package/Neurai/src/compat/strnlen.cpp +20 -0
- package/Neurai/src/compat.h +105 -0
- package/Neurai/src/compressor.cpp +187 -0
- package/Neurai/src/compressor.h +123 -0
- package/Neurai/src/config/.empty +0 -0
- package/Neurai/src/consensus/consensus.cpp +29 -0
- package/Neurai/src/consensus/consensus.h +55 -0
- package/Neurai/src/consensus/merkle.cpp +189 -0
- package/Neurai/src/consensus/merkle.h +40 -0
- package/Neurai/src/consensus/params.h +84 -0
- package/Neurai/src/consensus/tx_verify.cpp +900 -0
- package/Neurai/src/consensus/tx_verify.h +93 -0
- package/Neurai/src/consensus/validation.h +121 -0
- package/Neurai/src/core_io.h +40 -0
- package/Neurai/src/core_memusage.h +73 -0
- package/Neurai/src/core_read.cpp +191 -0
- package/Neurai/src/core_write.cpp +331 -0
- package/Neurai/src/crypto/aes.cpp +218 -0
- package/Neurai/src/crypto/aes.h +120 -0
- package/Neurai/src/crypto/aes_helper.c +392 -0
- package/Neurai/src/crypto/blake.c +1120 -0
- package/Neurai/src/crypto/bmw.c +965 -0
- package/Neurai/src/crypto/chacha20.cpp +182 -0
- package/Neurai/src/crypto/chacha20.h +28 -0
- package/Neurai/src/crypto/common.h +105 -0
- package/Neurai/src/crypto/ctaes/COPYING +21 -0
- package/Neurai/src/crypto/ctaes/README.md +41 -0
- package/Neurai/src/crypto/ctaes/bench.c +170 -0
- package/Neurai/src/crypto/ctaes/ctaes.c +556 -0
- package/Neurai/src/crypto/ctaes/ctaes.h +41 -0
- package/Neurai/src/crypto/ctaes/test.c +110 -0
- package/Neurai/src/crypto/cubehash.c +723 -0
- package/Neurai/src/crypto/echo.c +1031 -0
- package/Neurai/src/crypto/ethash/helpers.hpp +54 -0
- package/Neurai/src/crypto/ethash/include/ethash/ethash.h +131 -0
- package/Neurai/src/crypto/ethash/include/ethash/ethash.hpp +172 -0
- package/Neurai/src/crypto/ethash/include/ethash/hash_types.h +50 -0
- package/Neurai/src/crypto/ethash/include/ethash/hash_types.hpp +15 -0
- package/Neurai/src/crypto/ethash/include/ethash/keccak.h +49 -0
- package/Neurai/src/crypto/ethash/include/ethash/keccak.hpp +35 -0
- package/Neurai/src/crypto/ethash/include/ethash/progpow.hpp +49 -0
- package/Neurai/src/crypto/ethash/include/ethash/version.h +18 -0
- package/Neurai/src/crypto/ethash/lib/ethash/bit_manipulation.h +81 -0
- package/Neurai/src/crypto/ethash/lib/ethash/builtins.h +43 -0
- package/Neurai/src/crypto/ethash/lib/ethash/endianness.hpp +106 -0
- package/Neurai/src/crypto/ethash/lib/ethash/ethash-internal.hpp +68 -0
- package/Neurai/src/crypto/ethash/lib/ethash/ethash.cpp +442 -0
- package/Neurai/src/crypto/ethash/lib/ethash/kiss99.hpp +64 -0
- package/Neurai/src/crypto/ethash/lib/ethash/managed.cpp +100 -0
- package/Neurai/src/crypto/ethash/lib/ethash/primes.c +43 -0
- package/Neurai/src/crypto/ethash/lib/ethash/primes.h +25 -0
- package/Neurai/src/crypto/ethash/lib/ethash/progpow.cpp +581 -0
- package/Neurai/src/crypto/ethash/lib/keccak/keccak.c +129 -0
- package/Neurai/src/crypto/ethash/lib/keccak/keccakf1600.c +255 -0
- package/Neurai/src/crypto/ethash/lib/keccak/keccakf800.c +253 -0
- package/Neurai/src/crypto/ethash/lib/support/attributes.h +33 -0
- package/Neurai/src/crypto/ethash/progpow_test_vectors.hpp +64 -0
- package/Neurai/src/crypto/groestl.c +3123 -0
- package/Neurai/src/crypto/hmac_sha256.cpp +36 -0
- package/Neurai/src/crypto/hmac_sha256.h +34 -0
- package/Neurai/src/crypto/hmac_sha512.cpp +36 -0
- package/Neurai/src/crypto/hmac_sha512.h +34 -0
- package/Neurai/src/crypto/jh.c +1116 -0
- package/Neurai/src/crypto/keccak.c +1824 -0
- package/Neurai/src/crypto/luffa.c +1426 -0
- package/Neurai/src/crypto/md_helper.c +346 -0
- package/Neurai/src/crypto/ripemd160.cpp +294 -0
- package/Neurai/src/crypto/ripemd160.h +30 -0
- package/Neurai/src/crypto/sha1.cpp +201 -0
- package/Neurai/src/crypto/sha1.h +30 -0
- package/Neurai/src/crypto/sha2.c +646 -0
- package/Neurai/src/crypto/sha256.cpp +251 -0
- package/Neurai/src/crypto/sha256.h +36 -0
- package/Neurai/src/crypto/sha256_sse4.cpp +1508 -0
- package/Neurai/src/crypto/sha512.cpp +209 -0
- package/Neurai/src/crypto/sha512.h +30 -0
- package/Neurai/src/crypto/shavite.c +1764 -0
- package/Neurai/src/crypto/simd.c +1799 -0
- package/Neurai/src/crypto/skein.c +1254 -0
- package/Neurai/src/crypto/sph_blake.h +327 -0
- package/Neurai/src/crypto/sph_bmw.h +328 -0
- package/Neurai/src/crypto/sph_cubehash.h +292 -0
- package/Neurai/src/crypto/sph_echo.h +320 -0
- package/Neurai/src/crypto/sph_fugue.c +1208 -0
- package/Neurai/src/crypto/sph_fugue.h +81 -0
- package/Neurai/src/crypto/sph_groestl.h +329 -0
- package/Neurai/src/crypto/sph_hamsi.c +867 -0
- package/Neurai/src/crypto/sph_hamsi.h +321 -0
- package/Neurai/src/crypto/sph_hamsi_helper.c +39648 -0
- package/Neurai/src/crypto/sph_jh.h +298 -0
- package/Neurai/src/crypto/sph_keccak.h +293 -0
- package/Neurai/src/crypto/sph_luffa.h +296 -0
- package/Neurai/src/crypto/sph_sha2.c +701 -0
- package/Neurai/src/crypto/sph_sha2.h +378 -0
- package/Neurai/src/crypto/sph_sha512.c +247 -0
- package/Neurai/src/crypto/sph_shabal.c +808 -0
- package/Neurai/src/crypto/sph_shabal.h +343 -0
- package/Neurai/src/crypto/sph_shavite.h +314 -0
- package/Neurai/src/crypto/sph_simd.h +309 -0
- package/Neurai/src/crypto/sph_skein.h +298 -0
- package/Neurai/src/crypto/sph_types.h +1976 -0
- package/Neurai/src/crypto/sph_whirlpool.c +3481 -0
- package/Neurai/src/crypto/sph_whirlpool.h +217 -0
- package/Neurai/src/crypto/whirlpool.c +104 -0
- package/Neurai/src/crypto/whirlpoolx.c +69 -0
- package/Neurai/src/cuckoocache.h +481 -0
- package/Neurai/src/dbwrapper.cpp +246 -0
- package/Neurai/src/dbwrapper.h +345 -0
- package/Neurai/src/depinecies.cpp +406 -0
- package/Neurai/src/depinecies.h +162 -0
- package/Neurai/src/depinmcpclient.cpp +380 -0
- package/Neurai/src/depinmcpclient.h +101 -0
- package/Neurai/src/depinmcpworker.cpp +654 -0
- package/Neurai/src/depinmcpworker.h +205 -0
- package/Neurai/src/depinmsgpool.cpp +908 -0
- package/Neurai/src/depinmsgpool.h +182 -0
- package/Neurai/src/depinmsgpoolnet.cpp +1149 -0
- package/Neurai/src/depinmsgpoolnet.h +148 -0
- package/Neurai/src/fs.cpp +15 -0
- package/Neurai/src/fs.h +29 -0
- package/Neurai/src/hash.cpp +294 -0
- package/Neurai/src/hash.h +613 -0
- package/Neurai/src/httprpc.cpp +262 -0
- package/Neurai/src/httprpc.h +37 -0
- package/Neurai/src/httpserver.cpp +685 -0
- package/Neurai/src/httpserver.h +155 -0
- package/Neurai/src/indirectmap.h +58 -0
- package/Neurai/src/init.cpp +2122 -0
- package/Neurai/src/init.h +85 -0
- package/Neurai/src/key.cpp +317 -0
- package/Neurai/src/key.h +188 -0
- package/Neurai/src/keystore.cpp +146 -0
- package/Neurai/src/keystore.h +120 -0
- package/Neurai/src/leveldb/.travis.yml +13 -0
- package/Neurai/src/leveldb/AUTHORS +12 -0
- package/Neurai/src/leveldb/CONTRIBUTING.md +36 -0
- package/Neurai/src/leveldb/LICENSE +27 -0
- package/Neurai/src/leveldb/Makefile +424 -0
- package/Neurai/src/leveldb/NEWS +17 -0
- package/Neurai/src/leveldb/README.md +174 -0
- package/Neurai/src/leveldb/TODO +14 -0
- package/Neurai/src/leveldb/WINDOWS.md +39 -0
- package/Neurai/src/leveldb/build_detect_platform +259 -0
- package/Neurai/src/leveldb/db/autocompact_test.cc +118 -0
- package/Neurai/src/leveldb/db/builder.cc +88 -0
- package/Neurai/src/leveldb/db/builder.h +34 -0
- package/Neurai/src/leveldb/db/c.cc +595 -0
- package/Neurai/src/leveldb/db/c_test.c +390 -0
- package/Neurai/src/leveldb/db/corruption_test.cc +374 -0
- package/Neurai/src/leveldb/db/db_bench.cc +1020 -0
- package/Neurai/src/leveldb/db/db_impl.cc +1568 -0
- package/Neurai/src/leveldb/db/db_impl.h +211 -0
- package/Neurai/src/leveldb/db/db_iter.cc +317 -0
- package/Neurai/src/leveldb/db/db_iter.h +28 -0
- package/Neurai/src/leveldb/db/db_test.cc +2158 -0
- package/Neurai/src/leveldb/db/dbformat.cc +140 -0
- package/Neurai/src/leveldb/db/dbformat.h +230 -0
- package/Neurai/src/leveldb/db/dbformat_test.cc +112 -0
- package/Neurai/src/leveldb/db/dumpfile.cc +225 -0
- package/Neurai/src/leveldb/db/fault_injection_test.cc +554 -0
- package/Neurai/src/leveldb/db/filename.cc +144 -0
- package/Neurai/src/leveldb/db/filename.h +85 -0
- package/Neurai/src/leveldb/db/filename_test.cc +123 -0
- package/Neurai/src/leveldb/db/leveldbutil.cc +64 -0
- package/Neurai/src/leveldb/db/log_format.h +35 -0
- package/Neurai/src/leveldb/db/log_reader.cc +284 -0
- package/Neurai/src/leveldb/db/log_reader.h +113 -0
- package/Neurai/src/leveldb/db/log_test.cc +591 -0
- package/Neurai/src/leveldb/db/log_writer.cc +112 -0
- package/Neurai/src/leveldb/db/log_writer.h +54 -0
- package/Neurai/src/leveldb/db/memtable.cc +145 -0
- package/Neurai/src/leveldb/db/memtable.h +88 -0
- package/Neurai/src/leveldb/db/recovery_test.cc +324 -0
- package/Neurai/src/leveldb/db/repair.cc +461 -0
- package/Neurai/src/leveldb/db/skiplist.h +384 -0
- package/Neurai/src/leveldb/db/skiplist_test.cc +378 -0
- package/Neurai/src/leveldb/db/snapshot.h +67 -0
- package/Neurai/src/leveldb/db/table_cache.cc +127 -0
- package/Neurai/src/leveldb/db/table_cache.h +61 -0
- package/Neurai/src/leveldb/db/version_edit.cc +266 -0
- package/Neurai/src/leveldb/db/version_edit.h +107 -0
- package/Neurai/src/leveldb/db/version_edit_test.cc +46 -0
- package/Neurai/src/leveldb/db/version_set.cc +1535 -0
- package/Neurai/src/leveldb/db/version_set.h +398 -0
- package/Neurai/src/leveldb/db/version_set_test.cc +179 -0
- package/Neurai/src/leveldb/db/write_batch.cc +147 -0
- package/Neurai/src/leveldb/db/write_batch_internal.h +50 -0
- package/Neurai/src/leveldb/db/write_batch_test.cc +120 -0
- package/Neurai/src/leveldb/doc/bench/db_bench_sqlite3.cc +718 -0
- package/Neurai/src/leveldb/doc/bench/db_bench_tree_db.cc +528 -0
- package/Neurai/src/leveldb/doc/benchmark.html +459 -0
- package/Neurai/src/leveldb/doc/impl.md +170 -0
- package/Neurai/src/leveldb/doc/index.md +523 -0
- package/Neurai/src/leveldb/doc/log_format.md +75 -0
- package/Neurai/src/leveldb/doc/table_format.md +107 -0
- package/Neurai/src/leveldb/helpers/memenv/memenv.cc +398 -0
- package/Neurai/src/leveldb/helpers/memenv/memenv.h +20 -0
- package/Neurai/src/leveldb/helpers/memenv/memenv_test.cc +241 -0
- package/Neurai/src/leveldb/include/leveldb/c.h +290 -0
- package/Neurai/src/leveldb/include/leveldb/cache.h +110 -0
- package/Neurai/src/leveldb/include/leveldb/comparator.h +63 -0
- package/Neurai/src/leveldb/include/leveldb/db.h +163 -0
- package/Neurai/src/leveldb/include/leveldb/dumpfile.h +25 -0
- package/Neurai/src/leveldb/include/leveldb/env.h +351 -0
- package/Neurai/src/leveldb/include/leveldb/filter_policy.h +70 -0
- package/Neurai/src/leveldb/include/leveldb/iterator.h +100 -0
- package/Neurai/src/leveldb/include/leveldb/options.h +213 -0
- package/Neurai/src/leveldb/include/leveldb/slice.h +109 -0
- package/Neurai/src/leveldb/include/leveldb/status.h +112 -0
- package/Neurai/src/leveldb/include/leveldb/table.h +85 -0
- package/Neurai/src/leveldb/include/leveldb/table_builder.h +92 -0
- package/Neurai/src/leveldb/include/leveldb/write_batch.h +64 -0
- package/Neurai/src/leveldb/issues/issue178_test.cc +92 -0
- package/Neurai/src/leveldb/issues/issue200_test.cc +59 -0
- package/Neurai/src/leveldb/port/README +10 -0
- package/Neurai/src/leveldb/port/atomic_pointer.h +245 -0
- package/Neurai/src/leveldb/port/port.h +21 -0
- package/Neurai/src/leveldb/port/port_example.h +145 -0
- package/Neurai/src/leveldb/port/port_posix.cc +68 -0
- package/Neurai/src/leveldb/port/port_posix.h +161 -0
- package/Neurai/src/leveldb/port/port_posix_sse.cc +110 -0
- package/Neurai/src/leveldb/port/port_win.cc +158 -0
- package/Neurai/src/leveldb/port/port_win.h +177 -0
- package/Neurai/src/leveldb/port/thread_annotations.h +60 -0
- package/Neurai/src/leveldb/port/win/stdint.h +24 -0
- package/Neurai/src/leveldb/table/block.cc +268 -0
- package/Neurai/src/leveldb/table/block.h +44 -0
- package/Neurai/src/leveldb/table/block_builder.cc +109 -0
- package/Neurai/src/leveldb/table/block_builder.h +57 -0
- package/Neurai/src/leveldb/table/filter_block.cc +111 -0
- package/Neurai/src/leveldb/table/filter_block.h +68 -0
- package/Neurai/src/leveldb/table/filter_block_test.cc +128 -0
- package/Neurai/src/leveldb/table/format.cc +144 -0
- package/Neurai/src/leveldb/table/format.h +108 -0
- package/Neurai/src/leveldb/table/iterator.cc +67 -0
- package/Neurai/src/leveldb/table/iterator_wrapper.h +66 -0
- package/Neurai/src/leveldb/table/merger.cc +197 -0
- package/Neurai/src/leveldb/table/merger.h +26 -0
- package/Neurai/src/leveldb/table/table.cc +285 -0
- package/Neurai/src/leveldb/table/table_builder.cc +270 -0
- package/Neurai/src/leveldb/table/table_test.cc +876 -0
- package/Neurai/src/leveldb/table/two_level_iterator.cc +182 -0
- package/Neurai/src/leveldb/table/two_level_iterator.h +34 -0
- package/Neurai/src/leveldb/util/arena.cc +68 -0
- package/Neurai/src/leveldb/util/arena.h +68 -0
- package/Neurai/src/leveldb/util/arena_test.cc +68 -0
- package/Neurai/src/leveldb/util/bloom.cc +95 -0
- package/Neurai/src/leveldb/util/bloom_test.cc +162 -0
- package/Neurai/src/leveldb/util/cache.cc +405 -0
- package/Neurai/src/leveldb/util/cache_test.cc +226 -0
- package/Neurai/src/leveldb/util/coding.cc +194 -0
- package/Neurai/src/leveldb/util/coding.h +104 -0
- package/Neurai/src/leveldb/util/coding_test.cc +196 -0
- package/Neurai/src/leveldb/util/comparator.cc +81 -0
- package/Neurai/src/leveldb/util/crc32c.cc +354 -0
- package/Neurai/src/leveldb/util/crc32c.h +45 -0
- package/Neurai/src/leveldb/util/crc32c_test.cc +72 -0
- package/Neurai/src/leveldb/util/env.cc +100 -0
- package/Neurai/src/leveldb/util/env_posix.cc +698 -0
- package/Neurai/src/leveldb/util/env_posix_test.cc +66 -0
- package/Neurai/src/leveldb/util/env_posix_test_helper.h +28 -0
- package/Neurai/src/leveldb/util/env_test.cc +106 -0
- package/Neurai/src/leveldb/util/env_win.cc +898 -0
- package/Neurai/src/leveldb/util/filter_policy.cc +11 -0
- package/Neurai/src/leveldb/util/hash.cc +52 -0
- package/Neurai/src/leveldb/util/hash.h +19 -0
- package/Neurai/src/leveldb/util/hash_test.cc +54 -0
- package/Neurai/src/leveldb/util/histogram.cc +139 -0
- package/Neurai/src/leveldb/util/histogram.h +42 -0
- package/Neurai/src/leveldb/util/logging.cc +72 -0
- package/Neurai/src/leveldb/util/logging.h +43 -0
- package/Neurai/src/leveldb/util/mutexlock.h +41 -0
- package/Neurai/src/leveldb/util/options.cc +30 -0
- package/Neurai/src/leveldb/util/posix_logger.h +98 -0
- package/Neurai/src/leveldb/util/random.h +64 -0
- package/Neurai/src/leveldb/util/status.cc +75 -0
- package/Neurai/src/leveldb/util/testharness.cc +77 -0
- package/Neurai/src/leveldb/util/testharness.h +138 -0
- package/Neurai/src/leveldb/util/testutil.cc +51 -0
- package/Neurai/src/leveldb/util/testutil.h +63 -0
- package/Neurai/src/limitedmap.h +102 -0
- package/Neurai/src/memusage.h +171 -0
- package/Neurai/src/merkleblock.cpp +166 -0
- package/Neurai/src/merkleblock.h +169 -0
- package/Neurai/src/miner.cpp +731 -0
- package/Neurai/src/miner.h +211 -0
- package/Neurai/src/net.cpp +2944 -0
- package/Neurai/src/net.h +888 -0
- package/Neurai/src/net_processing.cpp +3803 -0
- package/Neurai/src/net_processing.h +86 -0
- package/Neurai/src/netaddress.cpp +740 -0
- package/Neurai/src/netaddress.h +179 -0
- package/Neurai/src/netbase.cpp +738 -0
- package/Neurai/src/netbase.h +72 -0
- package/Neurai/src/netmessagemaker.h +38 -0
- package/Neurai/src/neurai-cli-res.rc +35 -0
- package/Neurai/src/neurai-cli.cpp +518 -0
- package/Neurai/src/neurai-tx-res.rc +35 -0
- package/Neurai/src/neurai-tx.cpp +875 -0
- package/Neurai/src/neuraid-res.rc +35 -0
- package/Neurai/src/neuraid.cpp +204 -0
- package/Neurai/src/noui.cpp +60 -0
- package/Neurai/src/noui.h +12 -0
- package/Neurai/src/policy/feerate.cpp +45 -0
- package/Neurai/src/policy/feerate.h +61 -0
- package/Neurai/src/policy/fees.cpp +1074 -0
- package/Neurai/src/policy/fees.h +305 -0
- package/Neurai/src/policy/policy.cpp +274 -0
- package/Neurai/src/policy/policy.h +108 -0
- package/Neurai/src/policy/rbf.cpp +49 -0
- package/Neurai/src/policy/rbf.h +30 -0
- package/Neurai/src/pow.cpp +199 -0
- package/Neurai/src/pow.h +25 -0
- package/Neurai/src/prevector.h +519 -0
- package/Neurai/src/primitives/block.cpp +161 -0
- package/Neurai/src/primitives/block.h +235 -0
- package/Neurai/src/primitives/transaction.cpp +134 -0
- package/Neurai/src/primitives/transaction.h +440 -0
- package/Neurai/src/protocol.cpp +216 -0
- package/Neurai/src/protocol.h +446 -0
- package/Neurai/src/pubkey.cpp +301 -0
- package/Neurai/src/pubkey.h +252 -0
- package/Neurai/src/pubkeyindex.h +76 -0
- package/Neurai/src/qt/addressbookpage.cpp +315 -0
- package/Neurai/src/qt/addressbookpage.h +88 -0
- package/Neurai/src/qt/addresstablemodel.cpp +443 -0
- package/Neurai/src/qt/addresstablemodel.h +97 -0
- package/Neurai/src/qt/askpassphrasedialog.cpp +277 -0
- package/Neurai/src/qt/askpassphrasedialog.h +54 -0
- package/Neurai/src/qt/assetcontroldialog.cpp +827 -0
- package/Neurai/src/qt/assetcontroldialog.h +129 -0
- package/Neurai/src/qt/assetcontroltreewidget.cpp +36 -0
- package/Neurai/src/qt/assetcontroltreewidget.h +24 -0
- package/Neurai/src/qt/assetfilterproxy.cpp +43 -0
- package/Neurai/src/qt/assetfilterproxy.h +30 -0
- package/Neurai/src/qt/assetrecord.h +56 -0
- package/Neurai/src/qt/assetsdialog.cpp +1068 -0
- package/Neurai/src/qt/assetsdialog.h +122 -0
- package/Neurai/src/qt/assettablemodel.cpp +274 -0
- package/Neurai/src/qt/assettablemodel.h +73 -0
- package/Neurai/src/qt/bantablemodel.cpp +184 -0
- package/Neurai/src/qt/bantablemodel.h +75 -0
- package/Neurai/src/qt/callback.h +30 -0
- package/Neurai/src/qt/clientmodel.cpp +342 -0
- package/Neurai/src/qt/clientmodel.h +121 -0
- package/Neurai/src/qt/coincontroldialog.cpp +738 -0
- package/Neurai/src/qt/coincontroldialog.h +114 -0
- package/Neurai/src/qt/coincontroltreewidget.cpp +36 -0
- package/Neurai/src/qt/coincontroltreewidget.h +24 -0
- package/Neurai/src/qt/createassetdialog.cpp +1600 -0
- package/Neurai/src/qt/createassetdialog.h +158 -0
- package/Neurai/src/qt/csvmodelwriter.cpp +93 -0
- package/Neurai/src/qt/csvmodelwriter.h +48 -0
- package/Neurai/src/qt/currencyunits.h +33 -0
- package/Neurai/src/qt/darkstyle.cpp +90 -0
- package/Neurai/src/qt/darkstyle.h +40 -0
- package/Neurai/src/qt/editaddressdialog.cpp +146 -0
- package/Neurai/src/qt/editaddressdialog.h +59 -0
- package/Neurai/src/qt/forms/addressbookpage.ui +159 -0
- package/Neurai/src/qt/forms/askpassphrasedialog.ui +160 -0
- package/Neurai/src/qt/forms/assetcontroldialog.ui +517 -0
- package/Neurai/src/qt/forms/assetsdialog.ui +1305 -0
- package/Neurai/src/qt/forms/coincontroldialog.ui +495 -0
- package/Neurai/src/qt/forms/createassetdialog.ui +1466 -0
- package/Neurai/src/qt/forms/debugwindow.ui +1598 -0
- package/Neurai/src/qt/forms/editaddressdialog.ui +112 -0
- package/Neurai/src/qt/forms/helpmessagedialog.ui +189 -0
- package/Neurai/src/qt/forms/intro.ui +293 -0
- package/Neurai/src/qt/forms/mnemonicdialog1.ui +156 -0
- package/Neurai/src/qt/forms/mnemonicdialog2.ui +353 -0
- package/Neurai/src/qt/forms/mnemonicdialog3.ui +376 -0
- package/Neurai/src/qt/forms/modaloverlay.ui +383 -0
- package/Neurai/src/qt/forms/openuridialog.ui +118 -0
- package/Neurai/src/qt/forms/optionsdialog.ui +923 -0
- package/Neurai/src/qt/forms/overviewpage.ui +845 -0
- package/Neurai/src/qt/forms/receivecoinsdialog.ui +344 -0
- package/Neurai/src/qt/forms/receiverequestdialog.ui +168 -0
- package/Neurai/src/qt/forms/reissueassetdialog.ui +1747 -0
- package/Neurai/src/qt/forms/restrictedassetsdialog.ui +299 -0
- package/Neurai/src/qt/forms/restrictedassignqualifier.ui +165 -0
- package/Neurai/src/qt/forms/restrictedfreezeaddress.ui +232 -0
- package/Neurai/src/qt/forms/sendassetsentry.ui +1344 -0
- package/Neurai/src/qt/forms/sendcoinsdialog.ui +1305 -0
- package/Neurai/src/qt/forms/sendcoinsentry.ui +1269 -0
- package/Neurai/src/qt/forms/signverifymessagedialog.ui +390 -0
- package/Neurai/src/qt/forms/transactiondescdialog.ui +74 -0
- package/Neurai/src/qt/guiconstants.h +130 -0
- package/Neurai/src/qt/guiutil.cpp +1072 -0
- package/Neurai/src/qt/guiutil.h +273 -0
- package/Neurai/src/qt/intro.cpp +332 -0
- package/Neurai/src/qt/intro.h +80 -0
- package/Neurai/src/qt/locale/neurai_af.ts +1072 -0
- package/Neurai/src/qt/locale/neurai_af_ZA.ts +840 -0
- package/Neurai/src/qt/locale/neurai_ar.ts +2036 -0
- package/Neurai/src/qt/locale/neurai_be_BY.ts +1406 -0
- package/Neurai/src/qt/locale/neurai_bg.ts +3104 -0
- package/Neurai/src/qt/locale/neurai_bg_BG.ts +472 -0
- package/Neurai/src/qt/locale/neurai_ca.ts +3218 -0
- package/Neurai/src/qt/locale/neurai_ca@valencia.ts +2942 -0
- package/Neurai/src/qt/locale/neurai_ca_ES.ts +3242 -0
- package/Neurai/src/qt/locale/neurai_cs.ts +3726 -0
- package/Neurai/src/qt/locale/neurai_cy.ts +540 -0
- package/Neurai/src/qt/locale/neurai_da.ts +3731 -0
- package/Neurai/src/qt/locale/neurai_de.ts +5452 -0
- package/Neurai/src/qt/locale/neurai_el.ts +256 -0
- package/Neurai/src/qt/locale/neurai_el_GR.ts +2099 -0
- package/Neurai/src/qt/locale/neurai_en.ts +8344 -0
- package/Neurai/src/qt/locale/neurai_en_GB.ts +2522 -0
- package/Neurai/src/qt/locale/neurai_eo.ts +1482 -0
- package/Neurai/src/qt/locale/neurai_es.ts +4196 -0
- package/Neurai/src/qt/locale/neurai_es_AR.ts +220 -0
- package/Neurai/src/qt/locale/neurai_es_CL.ts +855 -0
- package/Neurai/src/qt/locale/neurai_es_CO.ts +356 -0
- package/Neurai/src/qt/locale/neurai_es_DO.ts +1285 -0
- package/Neurai/src/qt/locale/neurai_es_ES.ts +3579 -0
- package/Neurai/src/qt/locale/neurai_es_MX.ts +668 -0
- package/Neurai/src/qt/locale/neurai_es_UY.ts +487 -0
- package/Neurai/src/qt/locale/neurai_es_VE.ts +684 -0
- package/Neurai/src/qt/locale/neurai_et.ts +1874 -0
- package/Neurai/src/qt/locale/neurai_et_EE.ts +812 -0
- package/Neurai/src/qt/locale/neurai_eu_ES.ts +860 -0
- package/Neurai/src/qt/locale/neurai_fa.ts +1834 -0
- package/Neurai/src/qt/locale/neurai_fa_IR.ts +984 -0
- package/Neurai/src/qt/locale/neurai_fi.ts +2906 -0
- package/Neurai/src/qt/locale/neurai_fr.ts +4062 -0
- package/Neurai/src/qt/locale/neurai_fr_CA.ts +204 -0
- package/Neurai/src/qt/locale/neurai_fr_FR.ts +1819 -0
- package/Neurai/src/qt/locale/neurai_gl.ts +1180 -0
- package/Neurai/src/qt/locale/neurai_he.ts +3022 -0
- package/Neurai/src/qt/locale/neurai_hi_IN.ts +491 -0
- package/Neurai/src/qt/locale/neurai_hr.ts +1110 -0
- package/Neurai/src/qt/locale/neurai_hu.ts +1578 -0
- package/Neurai/src/qt/locale/neurai_id_ID.ts +2160 -0
- package/Neurai/src/qt/locale/neurai_it.ts +3519 -0
- package/Neurai/src/qt/locale/neurai_it_IT.ts +252 -0
- package/Neurai/src/qt/locale/neurai_ja.ts +3731 -0
- package/Neurai/src/qt/locale/neurai_ka.ts +1492 -0
- package/Neurai/src/qt/locale/neurai_kk_KZ.ts +368 -0
- package/Neurai/src/qt/locale/neurai_ko_KR.ts +5040 -0
- package/Neurai/src/qt/locale/neurai_ku_IQ.ts +428 -0
- package/Neurai/src/qt/locale/neurai_ky.ts +396 -0
- package/Neurai/src/qt/locale/neurai_la.ts +920 -0
- package/Neurai/src/qt/locale/neurai_lt.ts +1000 -0
- package/Neurai/src/qt/locale/neurai_lv_LV.ts +1232 -0
- package/Neurai/src/qt/locale/neurai_mk_MK.ts +614 -0
- package/Neurai/src/qt/locale/neurai_mn.ts +616 -0
- package/Neurai/src/qt/locale/neurai_ms_MY.ts +550 -0
- package/Neurai/src/qt/locale/neurai_nb.ts +4448 -0
- package/Neurai/src/qt/locale/neurai_ne.ts +644 -0
- package/Neurai/src/qt/locale/neurai_nl.ts +4264 -0
- package/Neurai/src/qt/locale/neurai_pl.ts +4802 -0
- package/Neurai/src/qt/locale/neurai_pt_BR.ts +4038 -0
- package/Neurai/src/qt/locale/neurai_pt_PT.ts +3507 -0
- package/Neurai/src/qt/locale/neurai_ro.ts +920 -0
- package/Neurai/src/qt/locale/neurai_ro_RO.ts +2414 -0
- package/Neurai/src/qt/locale/neurai_ru.ts +3726 -0
- package/Neurai/src/qt/locale/neurai_ru_RU.ts +852 -0
- package/Neurai/src/qt/locale/neurai_sk.ts +3539 -0
- package/Neurai/src/qt/locale/neurai_sl_SI.ts +1914 -0
- package/Neurai/src/qt/locale/neurai_sq.ts +832 -0
- package/Neurai/src/qt/locale/neurai_sr.ts +745 -0
- package/Neurai/src/qt/locale/neurai_sr@latin.ts +482 -0
- package/Neurai/src/qt/locale/neurai_sv.ts +3655 -0
- package/Neurai/src/qt/locale/neurai_ta.ts +744 -0
- package/Neurai/src/qt/locale/neurai_th_TH.ts +922 -0
- package/Neurai/src/qt/locale/neurai_tr.ts +6074 -0
- package/Neurai/src/qt/locale/neurai_tr_TR.ts +220 -0
- package/Neurai/src/qt/locale/neurai_uk.ts +3182 -0
- package/Neurai/src/qt/locale/neurai_ur_PK.ts +296 -0
- package/Neurai/src/qt/locale/neurai_uz@Cyrl.ts +1228 -0
- package/Neurai/src/qt/locale/neurai_vi.ts +212 -0
- package/Neurai/src/qt/locale/neurai_vi_VN.ts +1058 -0
- package/Neurai/src/qt/locale/neurai_zh.ts +244 -0
- package/Neurai/src/qt/locale/neurai_zh_CN.ts +3510 -0
- package/Neurai/src/qt/locale/neurai_zh_HK.ts +690 -0
- package/Neurai/src/qt/locale/neurai_zh_TW.ts +3731 -0
- package/Neurai/src/qt/macdockiconhandler.h +46 -0
- package/Neurai/src/qt/macdockiconhandler.mm +136 -0
- package/Neurai/src/qt/macnotificationhandler.h +29 -0
- package/Neurai/src/qt/macnotificationhandler.mm +79 -0
- package/Neurai/src/qt/mnemonicdialog.cpp +253 -0
- package/Neurai/src/qt/mnemonicdialog.h +105 -0
- package/Neurai/src/qt/modaloverlay.cpp +178 -0
- package/Neurai/src/qt/modaloverlay.h +52 -0
- package/Neurai/src/qt/myrestrictedassetrecord.cpp +85 -0
- package/Neurai/src/qt/myrestrictedassetrecord.h +79 -0
- package/Neurai/src/qt/myrestrictedassettablemodel.cpp +551 -0
- package/Neurai/src/qt/myrestrictedassettablemodel.h +99 -0
- package/Neurai/src/qt/networkstyle.cpp +99 -0
- package/Neurai/src/qt/networkstyle.h +37 -0
- package/Neurai/src/qt/neurai-qt.config +2 -0
- package/Neurai/src/qt/neurai-qt.creator +1 -0
- package/Neurai/src/qt/neurai-qt.creator.user +198 -0
- package/Neurai/src/qt/neurai-qt.files +118 -0
- package/Neurai/src/qt/neurai-qt.includes +2 -0
- package/Neurai/src/qt/neurai.cpp +785 -0
- package/Neurai/src/qt/neurai.qrc +156 -0
- package/Neurai/src/qt/neurai_locale.qrc +89 -0
- package/Neurai/src/qt/neuraiaddressvalidator.cpp +99 -0
- package/Neurai/src/qt/neuraiaddressvalidator.h +37 -0
- package/Neurai/src/qt/neuraiamountfield.cpp +431 -0
- package/Neurai/src/qt/neuraiamountfield.h +130 -0
- package/Neurai/src/qt/neuraigui.cpp +1958 -0
- package/Neurai/src/qt/neuraigui.h +364 -0
- package/Neurai/src/qt/neuraistrings.cpp +569 -0
- package/Neurai/src/qt/neuraiunits.cpp +288 -0
- package/Neurai/src/qt/neuraiunits.h +140 -0
- package/Neurai/src/qt/notificator.cpp +262 -0
- package/Neurai/src/qt/notificator.h +79 -0
- package/Neurai/src/qt/openuridialog.cpp +54 -0
- package/Neurai/src/qt/openuridialog.h +36 -0
- package/Neurai/src/qt/optionsdialog.cpp +373 -0
- package/Neurai/src/qt/optionsdialog.h +76 -0
- package/Neurai/src/qt/optionsmodel.cpp +558 -0
- package/Neurai/src/qt/optionsmodel.h +120 -0
- package/Neurai/src/qt/overviewpage.cpp +730 -0
- package/Neurai/src/qt/overviewpage.h +97 -0
- package/Neurai/src/qt/paymentrequest.proto +48 -0
- package/Neurai/src/qt/paymentrequestplus.cpp +219 -0
- package/Neurai/src/qt/paymentrequestplus.h +53 -0
- package/Neurai/src/qt/paymentserver.cpp +812 -0
- package/Neurai/src/qt/paymentserver.h +150 -0
- package/Neurai/src/qt/peertablemodel.cpp +254 -0
- package/Neurai/src/qt/peertablemodel.h +87 -0
- package/Neurai/src/qt/platformstyle.cpp +288 -0
- package/Neurai/src/qt/platformstyle.h +84 -0
- package/Neurai/src/qt/qvalidatedlineedit.cpp +129 -0
- package/Neurai/src/qt/qvalidatedlineedit.h +45 -0
- package/Neurai/src/qt/qvaluecombobox.cpp +33 -0
- package/Neurai/src/qt/qvaluecombobox.h +39 -0
- package/Neurai/src/qt/receivecoinsdialog.cpp +345 -0
- package/Neurai/src/qt/receivecoinsdialog.h +81 -0
- package/Neurai/src/qt/receiverequestdialog.cpp +215 -0
- package/Neurai/src/qt/receiverequestdialog.h +73 -0
- package/Neurai/src/qt/recentrequeststablemodel.cpp +242 -0
- package/Neurai/src/qt/recentrequeststablemodel.h +109 -0
- package/Neurai/src/qt/reissueassetdialog.cpp +1494 -0
- package/Neurai/src/qt/reissueassetdialog.h +145 -0
- package/Neurai/src/qt/res/darkstyle/darkstyle.qss +343 -0
- package/Neurai/src/qt/res/darkstyle/icon_branch_closed.png +0 -0
- package/Neurai/src/qt/res/darkstyle/icon_branch_end.png +0 -0
- package/Neurai/src/qt/res/darkstyle/icon_branch_more.png +0 -0
- package/Neurai/src/qt/res/darkstyle/icon_branch_open.png +0 -0
- package/Neurai/src/qt/res/darkstyle/icon_checkbox_checked.png +0 -0
- package/Neurai/src/qt/res/darkstyle/icon_checkbox_checked_disabled.png +0 -0
- package/Neurai/src/qt/res/darkstyle/icon_checkbox_checked_pressed.png +0 -0
- package/Neurai/src/qt/res/darkstyle/icon_checkbox_indeterminate.png +0 -0
- package/Neurai/src/qt/res/darkstyle/icon_checkbox_indeterminate_disabled.png +0 -0
- package/Neurai/src/qt/res/darkstyle/icon_checkbox_indeterminate_pressed.png +0 -0
- package/Neurai/src/qt/res/darkstyle/icon_checkbox_unchecked.png +0 -0
- package/Neurai/src/qt/res/darkstyle/icon_checkbox_unchecked_disabled.png +0 -0
- package/Neurai/src/qt/res/darkstyle/icon_checkbox_unchecked_pressed.png +0 -0
- package/Neurai/src/qt/res/darkstyle/icon_close.png +0 -0
- package/Neurai/src/qt/res/darkstyle/icon_radiobutton_checked.png +0 -0
- package/Neurai/src/qt/res/darkstyle/icon_radiobutton_checked_disabled.png +0 -0
- package/Neurai/src/qt/res/darkstyle/icon_radiobutton_checked_pressed.png +0 -0
- package/Neurai/src/qt/res/darkstyle/icon_radiobutton_unchecked.png +0 -0
- package/Neurai/src/qt/res/darkstyle/icon_radiobutton_unchecked_disabled.png +0 -0
- package/Neurai/src/qt/res/darkstyle/icon_radiobutton_unchecked_pressed.png +0 -0
- package/Neurai/src/qt/res/darkstyle/icon_restore.png +0 -0
- package/Neurai/src/qt/res/darkstyle/icon_undock.png +0 -0
- package/Neurai/src/qt/res/darkstyle/icon_vline.png +0 -0
- package/Neurai/src/qt/res/fonts/OpenSans-Bold.ttf +0 -0
- package/Neurai/src/qt/res/fonts/OpenSans-BoldItalic.ttf +0 -0
- package/Neurai/src/qt/res/fonts/OpenSans-ExtraBold.ttf +0 -0
- package/Neurai/src/qt/res/fonts/OpenSans-ExtraBoldItalic.ttf +0 -0
- package/Neurai/src/qt/res/fonts/OpenSans-Italic.ttf +0 -0
- package/Neurai/src/qt/res/fonts/OpenSans-Light.ttf +0 -0
- package/Neurai/src/qt/res/fonts/OpenSans-LightItalic.ttf +0 -0
- package/Neurai/src/qt/res/fonts/OpenSans-Regular.ttf +0 -0
- package/Neurai/src/qt/res/fonts/OpenSans-SemiBold.ttf +0 -0
- package/Neurai/src/qt/res/fonts/OpenSans-SemiBoldItalic.ttf +0 -0
- package/Neurai/src/qt/res/icons/about.png +0 -0
- package/Neurai/src/qt/res/icons/about_qt.png +0 -0
- package/Neurai/src/qt/res/icons/add.png +0 -0
- package/Neurai/src/qt/res/icons/address-book.png +0 -0
- package/Neurai/src/qt/res/icons/asset_administrator.png +0 -0
- package/Neurai/src/qt/res/icons/asset_administrator_dark.png +0 -0
- package/Neurai/src/qt/res/icons/asset_create.png +0 -0
- package/Neurai/src/qt/res/icons/asset_create_selected.png +0 -0
- package/Neurai/src/qt/res/icons/asset_manage.png +0 -0
- package/Neurai/src/qt/res/icons/asset_manage_selected.png +0 -0
- package/Neurai/src/qt/res/icons/asset_transfer.png +0 -0
- package/Neurai/src/qt/res/icons/asset_transfer_selected.png +0 -0
- package/Neurai/src/qt/res/icons/chevron.png +0 -0
- package/Neurai/src/qt/res/icons/clock1.png +0 -0
- package/Neurai/src/qt/res/icons/clock2.png +0 -0
- package/Neurai/src/qt/res/icons/clock3.png +0 -0
- package/Neurai/src/qt/res/icons/clock4.png +0 -0
- package/Neurai/src/qt/res/icons/clock5.png +0 -0
- package/Neurai/src/qt/res/icons/configure.png +0 -0
- package/Neurai/src/qt/res/icons/connect0.png +0 -0
- package/Neurai/src/qt/res/icons/connect1.png +0 -0
- package/Neurai/src/qt/res/icons/connect2.png +0 -0
- package/Neurai/src/qt/res/icons/connect3.png +0 -0
- package/Neurai/src/qt/res/icons/connect4.png +0 -0
- package/Neurai/src/qt/res/icons/debugwindow.png +0 -0
- package/Neurai/src/qt/res/icons/edit.png +0 -0
- package/Neurai/src/qt/res/icons/editcopy.png +0 -0
- package/Neurai/src/qt/res/icons/editpaste.png +0 -0
- package/Neurai/src/qt/res/icons/export.png +0 -0
- package/Neurai/src/qt/res/icons/external_link.png +0 -0
- package/Neurai/src/qt/res/icons/external_link_dark.png +0 -0
- package/Neurai/src/qt/res/icons/eye.png +0 -0
- package/Neurai/src/qt/res/icons/eye_minus.png +0 -0
- package/Neurai/src/qt/res/icons/eye_plus.png +0 -0
- package/Neurai/src/qt/res/icons/filesave.png +0 -0
- package/Neurai/src/qt/res/icons/fontbigger.png +0 -0
- package/Neurai/src/qt/res/icons/fontsmaller.png +0 -0
- package/Neurai/src/qt/res/icons/hd_disabled.png +0 -0
- package/Neurai/src/qt/res/icons/hd_enabled.png +0 -0
- package/Neurai/src/qt/res/icons/hd_enabled_44.png +0 -0
- package/Neurai/src/qt/res/icons/history.png +0 -0
- package/Neurai/src/qt/res/icons/history_selected.png +0 -0
- package/Neurai/src/qt/res/icons/info.png +0 -0
- package/Neurai/src/qt/res/icons/key.png +0 -0
- package/Neurai/src/qt/res/icons/lock_closed.png +0 -0
- package/Neurai/src/qt/res/icons/lock_open.png +0 -0
- package/Neurai/src/qt/res/icons/network_disabled.png +0 -0
- package/Neurai/src/qt/res/icons/neurai.icns +0 -0
- package/Neurai/src/qt/res/icons/neurai.ico +0 -0
- package/Neurai/src/qt/res/icons/neurai.png +0 -0
- package/Neurai/src/qt/res/icons/neurai_testnet.ico +0 -0
- package/Neurai/src/qt/res/icons/neuraitext.png +0 -0
- package/Neurai/src/qt/res/icons/open.png +0 -0
- package/Neurai/src/qt/res/icons/overview.png +0 -0
- package/Neurai/src/qt/res/icons/overview_selected.png +0 -0
- package/Neurai/src/qt/res/icons/quit.png +0 -0
- package/Neurai/src/qt/res/icons/receive.png +0 -0
- package/Neurai/src/qt/res/icons/receive_selected.png +0 -0
- package/Neurai/src/qt/res/icons/refresh.png +0 -0
- package/Neurai/src/qt/res/icons/remove.png +0 -0
- package/Neurai/src/qt/res/icons/restricted_asset.png +0 -0
- package/Neurai/src/qt/res/icons/restricted_asset_selected.png +0 -0
- package/Neurai/src/qt/res/icons/send.png +0 -0
- package/Neurai/src/qt/res/icons/send_selected.png +0 -0
- package/Neurai/src/qt/res/icons/synced.png +0 -0
- package/Neurai/src/qt/res/icons/transaction0.png +0 -0
- package/Neurai/src/qt/res/icons/transaction2.png +0 -0
- package/Neurai/src/qt/res/icons/transaction_abandoned.png +0 -0
- package/Neurai/src/qt/res/icons/transaction_conflicted.png +0 -0
- package/Neurai/src/qt/res/icons/tx_asset_input.png +0 -0
- package/Neurai/src/qt/res/icons/tx_asset_output.png +0 -0
- package/Neurai/src/qt/res/icons/tx_atomic_swap.png +0 -0
- package/Neurai/src/qt/res/icons/tx_inout.png +0 -0
- package/Neurai/src/qt/res/icons/tx_input.png +0 -0
- package/Neurai/src/qt/res/icons/tx_mined.png +0 -0
- package/Neurai/src/qt/res/icons/tx_output.png +0 -0
- package/Neurai/src/qt/res/icons/verify.png +0 -0
- package/Neurai/src/qt/res/icons/warning.png +0 -0
- package/Neurai/src/qt/res/icons/xnatext.png +0 -0
- package/Neurai/src/qt/res/movies/makespinner.sh +13 -0
- package/Neurai/src/qt/res/movies/spinner-000.png +0 -0
- package/Neurai/src/qt/res/movies/spinner-001.png +0 -0
- package/Neurai/src/qt/res/movies/spinner-002.png +0 -0
- package/Neurai/src/qt/res/movies/spinner-003.png +0 -0
- package/Neurai/src/qt/res/movies/spinner-004.png +0 -0
- package/Neurai/src/qt/res/movies/spinner-005.png +0 -0
- package/Neurai/src/qt/res/movies/spinner-006.png +0 -0
- package/Neurai/src/qt/res/movies/spinner-007.png +0 -0
- package/Neurai/src/qt/res/movies/spinner-008.png +0 -0
- package/Neurai/src/qt/res/movies/spinner-009.png +0 -0
- package/Neurai/src/qt/res/movies/spinner-010.png +0 -0
- package/Neurai/src/qt/res/movies/spinner-011.png +0 -0
- package/Neurai/src/qt/res/movies/spinner-012.png +0 -0
- package/Neurai/src/qt/res/movies/spinner-013.png +0 -0
- package/Neurai/src/qt/res/movies/spinner-014.png +0 -0
- package/Neurai/src/qt/res/movies/spinner-015.png +0 -0
- package/Neurai/src/qt/res/movies/spinner-016.png +0 -0
- package/Neurai/src/qt/res/movies/spinner-017.png +0 -0
- package/Neurai/src/qt/res/movies/spinner-018.png +0 -0
- package/Neurai/src/qt/res/movies/spinner-019.png +0 -0
- package/Neurai/src/qt/res/movies/spinner-020.png +0 -0
- package/Neurai/src/qt/res/movies/spinner-021.png +0 -0
- package/Neurai/src/qt/res/movies/spinner-022.png +0 -0
- package/Neurai/src/qt/res/movies/spinner-023.png +0 -0
- package/Neurai/src/qt/res/movies/spinner-024.png +0 -0
- package/Neurai/src/qt/res/movies/spinner-025.png +0 -0
- package/Neurai/src/qt/res/movies/spinner-026.png +0 -0
- package/Neurai/src/qt/res/movies/spinner-027.png +0 -0
- package/Neurai/src/qt/res/movies/spinner-028.png +0 -0
- package/Neurai/src/qt/res/movies/spinner-029.png +0 -0
- package/Neurai/src/qt/res/movies/spinner-030.png +0 -0
- package/Neurai/src/qt/res/movies/spinner-031.png +0 -0
- package/Neurai/src/qt/res/movies/spinner-032.png +0 -0
- package/Neurai/src/qt/res/movies/spinner-033.png +0 -0
- package/Neurai/src/qt/res/movies/spinner-034.png +0 -0
- package/Neurai/src/qt/res/movies/spinner-035.png +0 -0
- package/Neurai/src/qt/res/neurai-qt-res.rc +38 -0
- package/Neurai/src/qt/res/src/clock_0.svg +14 -0
- package/Neurai/src/qt/res/src/clock_1.svg +15 -0
- package/Neurai/src/qt/res/src/clock_2.svg +13 -0
- package/Neurai/src/qt/res/src/clock_3.svg +15 -0
- package/Neurai/src/qt/res/src/clock_4.svg +23 -0
- package/Neurai/src/qt/res/src/connect-0.svg +66 -0
- package/Neurai/src/qt/res/src/connect-1.svg +69 -0
- package/Neurai/src/qt/res/src/connect-2.svg +59 -0
- package/Neurai/src/qt/res/src/connect-3.svg +72 -0
- package/Neurai/src/qt/res/src/connect-4.svg +65 -0
- package/Neurai/src/qt/res/src/hd_disabled.svg +26 -0
- package/Neurai/src/qt/res/src/hd_enabled.svg +13 -0
- package/Neurai/src/qt/res/src/mine.svg +12 -0
- package/Neurai/src/qt/res/src/network_disabled.svg +49 -0
- package/Neurai/src/qt/res/src/neurai.svg +37 -0
- package/Neurai/src/qt/res/src/qt.svg +26 -0
- package/Neurai/src/qt/res/src/spinner.png +0 -0
- package/Neurai/src/qt/res/src/transaction0.svg +35 -0
- package/Neurai/src/qt/res/src/tx_in.svg +9 -0
- package/Neurai/src/qt/res/src/tx_inout.svg +11 -0
- package/Neurai/src/qt/res/src/verify.svg +14 -0
- package/Neurai/src/qt/restrictedassetsdialog.cpp +468 -0
- package/Neurai/src/qt/restrictedassetsdialog.h +77 -0
- package/Neurai/src/qt/restrictedassignqualifier.cpp +221 -0
- package/Neurai/src/qt/restrictedassignqualifier.h +67 -0
- package/Neurai/src/qt/restrictedfreezeaddress.cpp +240 -0
- package/Neurai/src/qt/restrictedfreezeaddress.h +68 -0
- package/Neurai/src/qt/rpcconsole.cpp +1287 -0
- package/Neurai/src/qt/rpcconsole.h +174 -0
- package/Neurai/src/qt/sendassetsentry.cpp +571 -0
- package/Neurai/src/qt/sendassetsentry.h +96 -0
- package/Neurai/src/qt/sendcoinsdialog.cpp +1015 -0
- package/Neurai/src/qt/sendcoinsdialog.h +128 -0
- package/Neurai/src/qt/sendcoinsentry.cpp +293 -0
- package/Neurai/src/qt/sendcoinsentry.h +75 -0
- package/Neurai/src/qt/signverifymessagedialog.cpp +280 -0
- package/Neurai/src/qt/signverifymessagedialog.h +55 -0
- package/Neurai/src/qt/splashscreen.cpp +258 -0
- package/Neurai/src/qt/splashscreen.h +59 -0
- package/Neurai/src/qt/test/compattests.cpp +25 -0
- package/Neurai/src/qt/test/compattests.h +21 -0
- package/Neurai/src/qt/test/paymentrequestdata.h +462 -0
- package/Neurai/src/qt/test/paymentservertests.cpp +213 -0
- package/Neurai/src/qt/test/paymentservertests.h +37 -0
- package/Neurai/src/qt/test/rpcnestedtests.cpp +135 -0
- package/Neurai/src/qt/test/rpcnestedtests.h +27 -0
- package/Neurai/src/qt/test/test_main.cpp +116 -0
- package/Neurai/src/qt/test/uritests.cpp +68 -0
- package/Neurai/src/qt/test/uritests.h +21 -0
- package/Neurai/src/qt/test/wallettests.cpp +265 -0
- package/Neurai/src/qt/test/wallettests.h +15 -0
- package/Neurai/src/qt/trafficgraphwidget.cpp +178 -0
- package/Neurai/src/qt/trafficgraphwidget.h +50 -0
- package/Neurai/src/qt/transactiondesc.cpp +478 -0
- package/Neurai/src/qt/transactiondesc.h +35 -0
- package/Neurai/src/qt/transactiondescdialog.cpp +30 -0
- package/Neurai/src/qt/transactiondescdialog.h +33 -0
- package/Neurai/src/qt/transactionfilterproxy.cpp +126 -0
- package/Neurai/src/qt/transactionfilterproxy.h +71 -0
- package/Neurai/src/qt/transactionrecord.cpp +543 -0
- package/Neurai/src/qt/transactionrecord.h +151 -0
- package/Neurai/src/qt/transactiontablemodel.cpp +857 -0
- package/Neurai/src/qt/transactiontablemodel.h +125 -0
- package/Neurai/src/qt/transactionview.cpp +690 -0
- package/Neurai/src/qt/transactionview.h +126 -0
- package/Neurai/src/qt/utilitydialog.cpp +201 -0
- package/Neurai/src/qt/utilitydialog.h +53 -0
- package/Neurai/src/qt/walletframe.cpp +243 -0
- package/Neurai/src/qt/walletframe.h +109 -0
- package/Neurai/src/qt/walletmodel.cpp +924 -0
- package/Neurai/src/qt/walletmodel.h +372 -0
- package/Neurai/src/qt/walletmodeltransaction.cpp +100 -0
- package/Neurai/src/qt/walletmodeltransaction.h +50 -0
- package/Neurai/src/qt/walletview.cpp +454 -0
- package/Neurai/src/qt/walletview.h +160 -0
- package/Neurai/src/qt/winshutdownmonitor.cpp +72 -0
- package/Neurai/src/qt/winshutdownmonitor.h +31 -0
- package/Neurai/src/random.cpp +469 -0
- package/Neurai/src/random.h +170 -0
- package/Neurai/src/rest.cpp +597 -0
- package/Neurai/src/reverse_iterator.h +39 -0
- package/Neurai/src/reverselock.h +36 -0
- package/Neurai/src/rpc/assets.cpp +3404 -0
- package/Neurai/src/rpc/blockchain.cpp +1938 -0
- package/Neurai/src/rpc/blockchain.h +45 -0
- package/Neurai/src/rpc/client.cpp +307 -0
- package/Neurai/src/rpc/client.h +24 -0
- package/Neurai/src/rpc/messages.cpp +1653 -0
- package/Neurai/src/rpc/mining.cpp +1299 -0
- package/Neurai/src/rpc/mining.h +25 -0
- package/Neurai/src/rpc/misc.cpp +1414 -0
- package/Neurai/src/rpc/net.cpp +674 -0
- package/Neurai/src/rpc/protocol.cpp +158 -0
- package/Neurai/src/rpc/protocol.h +106 -0
- package/Neurai/src/rpc/rawtransaction.cpp +2220 -0
- package/Neurai/src/rpc/register.h +43 -0
- package/Neurai/src/rpc/rewards.cpp +503 -0
- package/Neurai/src/rpc/safemode.cpp +14 -0
- package/Neurai/src/rpc/safemode.h +14 -0
- package/Neurai/src/rpc/server.cpp +674 -0
- package/Neurai/src/rpc/server.h +205 -0
- package/Neurai/src/rpc/test.json +45 -0
- package/Neurai/src/scheduler.cpp +211 -0
- package/Neurai/src/scheduler.h +115 -0
- package/Neurai/src/script/interpreter.cpp +1756 -0
- package/Neurai/src/script/interpreter.h +193 -0
- package/Neurai/src/script/ismine.cpp +205 -0
- package/Neurai/src/script/ismine.h +43 -0
- package/Neurai/src/script/neuraiconsensus.cpp +131 -0
- package/Neurai/src/script/neuraiconsensus.h +85 -0
- package/Neurai/src/script/script.cpp +601 -0
- package/Neurai/src/script/script.h +742 -0
- package/Neurai/src/script/script_error.cpp +99 -0
- package/Neurai/src/script/script_error.h +76 -0
- package/Neurai/src/script/sigcache.cpp +96 -0
- package/Neurai/src/script/sigcache.h +58 -0
- package/Neurai/src/script/sign.cpp +482 -0
- package/Neurai/src/script/sign.h +86 -0
- package/Neurai/src/script/standard.cpp +414 -0
- package/Neurai/src/script/standard.h +162 -0
- package/Neurai/src/secp256k1/.travis.yml +108 -0
- package/Neurai/src/secp256k1/COPYING +19 -0
- package/Neurai/src/secp256k1/Makefile.am +164 -0
- package/Neurai/src/secp256k1/README.md +104 -0
- package/Neurai/src/secp256k1/SECURITY.md +15 -0
- package/Neurai/src/secp256k1/autogen.sh +3 -0
- package/Neurai/src/secp256k1/build-aux/compile +351 -0
- package/Neurai/src/secp256k1/build-aux/config.guess +1815 -0
- package/Neurai/src/secp256k1/build-aux/config.sub +2354 -0
- package/Neurai/src/secp256k1/build-aux/depcomp +792 -0
- package/Neurai/src/secp256k1/build-aux/install-sh +541 -0
- package/Neurai/src/secp256k1/build-aux/ltmain.sh +11523 -0
- package/Neurai/src/secp256k1/build-aux/m4/ax_prog_cc_for_build.m4 +125 -0
- package/Neurai/src/secp256k1/build-aux/m4/bitcoin_secp.m4 +89 -0
- package/Neurai/src/secp256k1/build-aux/m4/libtool.m4 +8513 -0
- package/Neurai/src/secp256k1/build-aux/m4/ltoptions.m4 +467 -0
- package/Neurai/src/secp256k1/build-aux/m4/ltsugar.m4 +124 -0
- package/Neurai/src/secp256k1/build-aux/m4/ltversion.m4 +24 -0
- package/Neurai/src/secp256k1/build-aux/m4/lt~obsolete.m4 +99 -0
- package/Neurai/src/secp256k1/build-aux/missing +236 -0
- package/Neurai/src/secp256k1/build-aux/test-driver +160 -0
- package/Neurai/src/secp256k1/configure.ac +529 -0
- package/Neurai/src/secp256k1/contrib/lax_der_parsing.c +149 -0
- package/Neurai/src/secp256k1/contrib/lax_der_parsing.h +91 -0
- package/Neurai/src/secp256k1/contrib/lax_der_privatekey_parsing.c +113 -0
- package/Neurai/src/secp256k1/contrib/lax_der_privatekey_parsing.h +90 -0
- package/Neurai/src/secp256k1/contrib/travis.sh +68 -0
- package/Neurai/src/secp256k1/include/secp256k1.h +764 -0
- package/Neurai/src/secp256k1/include/secp256k1_ecdh.h +62 -0
- package/Neurai/src/secp256k1/include/secp256k1_extrakeys.h +236 -0
- package/Neurai/src/secp256k1/include/secp256k1_preallocated.h +128 -0
- package/Neurai/src/secp256k1/include/secp256k1_recovery.h +110 -0
- package/Neurai/src/secp256k1/include/secp256k1_schnorrsig.h +111 -0
- package/Neurai/src/secp256k1/libsecp256k1.pc.in +13 -0
- package/Neurai/src/secp256k1/sage/gen_exhaustive_groups.sage +129 -0
- package/Neurai/src/secp256k1/sage/group_prover.sage +322 -0
- package/Neurai/src/secp256k1/sage/secp256k1.sage +306 -0
- package/Neurai/src/secp256k1/sage/weierstrass_prover.sage +264 -0
- package/Neurai/src/secp256k1/src/asm/field_10x26_arm.s +913 -0
- package/Neurai/src/secp256k1/src/assumptions.h +80 -0
- package/Neurai/src/secp256k1/src/basic-config.h +34 -0
- package/Neurai/src/secp256k1/src/bench.h +133 -0
- package/Neurai/src/secp256k1/src/bench_ecdh.c +59 -0
- package/Neurai/src/secp256k1/src/bench_ecmult.c +214 -0
- package/Neurai/src/secp256k1/src/bench_internal.c +431 -0
- package/Neurai/src/secp256k1/src/bench_recover.c +62 -0
- package/Neurai/src/secp256k1/src/bench_schnorrsig.c +102 -0
- package/Neurai/src/secp256k1/src/bench_sign.c +58 -0
- package/Neurai/src/secp256k1/src/bench_verify.c +115 -0
- package/Neurai/src/secp256k1/src/ecdsa.h +21 -0
- package/Neurai/src/secp256k1/src/ecdsa_impl.h +315 -0
- package/Neurai/src/secp256k1/src/eckey.h +25 -0
- package/Neurai/src/secp256k1/src/eckey_impl.h +96 -0
- package/Neurai/src/secp256k1/src/ecmult.h +46 -0
- package/Neurai/src/secp256k1/src/ecmult_const.h +20 -0
- package/Neurai/src/secp256k1/src/ecmult_const_impl.h +254 -0
- package/Neurai/src/secp256k1/src/ecmult_gen.h +50 -0
- package/Neurai/src/secp256k1/src/ecmult_gen_impl.h +208 -0
- package/Neurai/src/secp256k1/src/ecmult_impl.h +1083 -0
- package/Neurai/src/secp256k1/src/field.h +134 -0
- package/Neurai/src/secp256k1/src/field_10x26.h +50 -0
- package/Neurai/src/secp256k1/src/field_10x26_impl.h +1167 -0
- package/Neurai/src/secp256k1/src/field_5x52.h +55 -0
- package/Neurai/src/secp256k1/src/field_5x52_asm_impl.h +502 -0
- package/Neurai/src/secp256k1/src/field_5x52_impl.h +501 -0
- package/Neurai/src/secp256k1/src/field_5x52_int128_impl.h +279 -0
- package/Neurai/src/secp256k1/src/field_impl.h +320 -0
- package/Neurai/src/secp256k1/src/gen_context.c +88 -0
- package/Neurai/src/secp256k1/src/group.h +151 -0
- package/Neurai/src/secp256k1/src/group_impl.h +693 -0
- package/Neurai/src/secp256k1/src/hash.h +41 -0
- package/Neurai/src/secp256k1/src/hash_impl.h +297 -0
- package/Neurai/src/secp256k1/src/libsecp256k1-config.h.in +139 -0
- package/Neurai/src/secp256k1/src/modules/ecdh/Makefile.am.include +8 -0
- package/Neurai/src/secp256k1/src/modules/ecdh/main_impl.h +71 -0
- package/Neurai/src/secp256k1/src/modules/ecdh/tests_impl.h +132 -0
- package/Neurai/src/secp256k1/src/modules/extrakeys/Makefile.am.include +4 -0
- package/Neurai/src/secp256k1/src/modules/extrakeys/main_impl.h +251 -0
- package/Neurai/src/secp256k1/src/modules/extrakeys/tests_exhaustive_impl.h +68 -0
- package/Neurai/src/secp256k1/src/modules/extrakeys/tests_impl.h +524 -0
- package/Neurai/src/secp256k1/src/modules/recovery/Makefile.am.include +9 -0
- package/Neurai/src/secp256k1/src/modules/recovery/main_impl.h +160 -0
- package/Neurai/src/secp256k1/src/modules/recovery/tests_exhaustive_impl.h +149 -0
- package/Neurai/src/secp256k1/src/modules/recovery/tests_impl.h +393 -0
- package/Neurai/src/secp256k1/src/modules/schnorrsig/Makefile.am.include +9 -0
- package/Neurai/src/secp256k1/src/modules/schnorrsig/main_impl.h +239 -0
- package/Neurai/src/secp256k1/src/modules/schnorrsig/tests_exhaustive_impl.h +206 -0
- package/Neurai/src/secp256k1/src/modules/schnorrsig/tests_impl.h +806 -0
- package/Neurai/src/secp256k1/src/num.h +74 -0
- package/Neurai/src/secp256k1/src/num_gmp.h +20 -0
- package/Neurai/src/secp256k1/src/num_gmp_impl.h +288 -0
- package/Neurai/src/secp256k1/src/num_impl.h +24 -0
- package/Neurai/src/secp256k1/src/scalar.h +117 -0
- package/Neurai/src/secp256k1/src/scalar_4x64.h +19 -0
- package/Neurai/src/secp256k1/src/scalar_4x64_impl.h +958 -0
- package/Neurai/src/secp256k1/src/scalar_8x32.h +19 -0
- package/Neurai/src/secp256k1/src/scalar_8x32_impl.h +734 -0
- package/Neurai/src/secp256k1/src/scalar_impl.h +516 -0
- package/Neurai/src/secp256k1/src/scalar_low.h +17 -0
- package/Neurai/src/secp256k1/src/scalar_low_impl.h +128 -0
- package/Neurai/src/secp256k1/src/scratch.h +42 -0
- package/Neurai/src/secp256k1/src/scratch_impl.h +99 -0
- package/Neurai/src/secp256k1/src/secp256k1.c +774 -0
- package/Neurai/src/secp256k1/src/selftest.h +32 -0
- package/Neurai/src/secp256k1/src/testrand.h +47 -0
- package/Neurai/src/secp256k1/src/testrand_impl.h +158 -0
- package/Neurai/src/secp256k1/src/tests.c +5737 -0
- package/Neurai/src/secp256k1/src/tests_exhaustive.c +454 -0
- package/Neurai/src/secp256k1/src/util.h +273 -0
- package/Neurai/src/secp256k1/src/valgrind_ctime_test.c +157 -0
- package/Neurai/src/serialize.h +979 -0
- package/Neurai/src/spentindex.h +98 -0
- package/Neurai/src/streams.h +711 -0
- package/Neurai/src/support/allocators/secure.h +61 -0
- package/Neurai/src/support/allocators/zeroafterfree.h +50 -0
- package/Neurai/src/support/cleanse.cpp +41 -0
- package/Neurai/src/support/cleanse.h +16 -0
- package/Neurai/src/support/events.h +58 -0
- package/Neurai/src/support/lockedpool.cpp +392 -0
- package/Neurai/src/support/lockedpool.h +233 -0
- package/Neurai/src/sync.cpp +182 -0
- package/Neurai/src/sync.h +291 -0
- package/Neurai/src/test/DoS_tests.cpp +286 -0
- package/Neurai/src/test/README.md +84 -0
- package/Neurai/src/test/addrman_tests.cpp +560 -0
- package/Neurai/src/test/allocator_tests.cpp +255 -0
- package/Neurai/src/test/amount_tests.cpp +118 -0
- package/Neurai/src/test/arith_uint256_tests.cpp +629 -0
- package/Neurai/src/test/assets/asset_reissue_tests.cpp +207 -0
- package/Neurai/src/test/assets/asset_tests.cpp +735 -0
- package/Neurai/src/test/assets/asset_tx_tests.cpp +610 -0
- package/Neurai/src/test/assets/cache_tests.cpp +41 -0
- package/Neurai/src/test/assets/messaging_tests.cpp +82 -0
- package/Neurai/src/test/assets/null_asset_data_tests.cpp +77 -0
- package/Neurai/src/test/assets/qualifier_tests.cpp +122 -0
- package/Neurai/src/test/assets/restricted_tests.cpp +188 -0
- package/Neurai/src/test/assets/serialization_tests.cpp +179 -0
- package/Neurai/src/test/assets/unique_tests.cpp +65 -0
- package/Neurai/src/test/assets/verifier_string_tests.cpp +371 -0
- package/Neurai/src/test/base32_tests.cpp +29 -0
- package/Neurai/src/test/base58_tests.cpp +282 -0
- package/Neurai/src/test/base64_tests.cpp +29 -0
- package/Neurai/src/test/bech32_tests.cpp +75 -0
- package/Neurai/src/test/bip32_tests.cpp +179 -0
- package/Neurai/src/test/bip39_tests.cpp +67 -0
- package/Neurai/src/test/blockencodings_tests.cpp +360 -0
- package/Neurai/src/test/bloom_tests.cpp +574 -0
- package/Neurai/src/test/bswap_tests.cpp +30 -0
- package/Neurai/src/test/checkqueue_tests.cpp +554 -0
- package/Neurai/src/test/coins_tests.cpp +949 -0
- package/Neurai/src/test/compress_tests.cpp +72 -0
- package/Neurai/src/test/crypto_tests.cpp +599 -0
- package/Neurai/src/test/cuckoocache_tests.cpp +406 -0
- package/Neurai/src/test/data/README.md +12 -0
- package/Neurai/src/test/data/base58_encode_decode.json +14 -0
- package/Neurai/src/test/data/base58_keys_invalid.json +152 -0
- package/Neurai/src/test/data/base58_keys_valid.json +452 -0
- package/Neurai/src/test/data/bip39_vectors.json +146 -0
- package/Neurai/src/test/data/script_tests.json +2607 -0
- package/Neurai/src/test/data/sighash.json +503 -0
- package/Neurai/src/test/data/tx_invalid.json +344 -0
- package/Neurai/src/test/data/tx_valid.json +514 -0
- package/Neurai/src/test/dbwrapper_tests.cpp +365 -0
- package/Neurai/src/test/getarg_tests.cpp +173 -0
- package/Neurai/src/test/hash_tests.cpp +185 -0
- package/Neurai/src/test/kawpow_tests.cpp +142 -0
- package/Neurai/src/test/key_tests.cpp +169 -0
- package/Neurai/src/test/limitedmap_tests.cpp +112 -0
- package/Neurai/src/test/main_tests.cpp +91 -0
- package/Neurai/src/test/mempool_tests.cpp +601 -0
- package/Neurai/src/test/merkle_tests.cpp +152 -0
- package/Neurai/src/test/merkleblock_tests.cpp +84 -0
- package/Neurai/src/test/miner_tests.cpp +661 -0
- package/Neurai/src/test/multisig_tests.cpp +240 -0
- package/Neurai/src/test/net_tests.cpp +202 -0
- package/Neurai/src/test/netbase_tests.cpp +318 -0
- package/Neurai/src/test/pmt_tests.cpp +139 -0
- package/Neurai/src/test/policyestimator_tests.cpp +209 -0
- package/Neurai/src/test/pow_tests.cpp +100 -0
- package/Neurai/src/test/prevector_tests.cpp +321 -0
- package/Neurai/src/test/raii_event_tests.cpp +102 -0
- package/Neurai/src/test/random_tests.cpp +98 -0
- package/Neurai/src/test/reverselock_tests.cpp +68 -0
- package/Neurai/src/test/rpc_tests.cpp +393 -0
- package/Neurai/src/test/sanity_tests.cpp +24 -0
- package/Neurai/src/test/scheduler_tests.cpp +127 -0
- package/Neurai/src/test/script_P2PKH_tests.cpp +65 -0
- package/Neurai/src/test/script_P2PK_tests.cpp +52 -0
- package/Neurai/src/test/script_P2SH_tests.cpp +392 -0
- package/Neurai/src/test/script_standard_tests.cpp +802 -0
- package/Neurai/src/test/script_tests.cpp +1650 -0
- package/Neurai/src/test/scriptnum10.h +222 -0
- package/Neurai/src/test/scriptnum_tests.cpp +207 -0
- package/Neurai/src/test/serialize_tests.cpp +439 -0
- package/Neurai/src/test/sighash_tests.cpp +225 -0
- package/Neurai/src/test/sigopcount_tests.cpp +242 -0
- package/Neurai/src/test/skiplist_tests.cpp +207 -0
- package/Neurai/src/test/streams_tests.cpp +129 -0
- package/Neurai/src/test/test_neurai.cpp +183 -0
- package/Neurai/src/test/test_neurai.h +164 -0
- package/Neurai/src/test/test_neurai_fuzzy.cpp +339 -0
- package/Neurai/src/test/test_neurai_hash.cpp +39 -0
- package/Neurai/src/test/test_neurai_main.cpp +28 -0
- package/Neurai/src/test/timedata_tests.cpp +41 -0
- package/Neurai/src/test/torcontrol_tests.cpp +204 -0
- package/Neurai/src/test/transaction_tests.cpp +867 -0
- package/Neurai/src/test/txvalidationcache_tests.cpp +398 -0
- package/Neurai/src/test/uint256_tests.cpp +279 -0
- package/Neurai/src/test/univalue_tests.cpp +347 -0
- package/Neurai/src/test/util_tests.cpp +674 -0
- package/Neurai/src/test/versionbits_tests.cpp +392 -0
- package/Neurai/src/threadinterrupt.cpp +43 -0
- package/Neurai/src/threadinterrupt.h +36 -0
- package/Neurai/src/threadsafety.h +57 -0
- package/Neurai/src/timedata.cpp +122 -0
- package/Neurai/src/timedata.h +80 -0
- package/Neurai/src/timestampindex.h +131 -0
- package/Neurai/src/tinyformat.h +1056 -0
- package/Neurai/src/torcontrol.cpp +779 -0
- package/Neurai/src/torcontrol.h +22 -0
- package/Neurai/src/txdb.cpp +654 -0
- package/Neurai/src/txdb.h +158 -0
- package/Neurai/src/txmempool.cpp +1520 -0
- package/Neurai/src/txmempool.h +850 -0
- package/Neurai/src/ui_interface.cpp +31 -0
- package/Neurai/src/ui_interface.h +130 -0
- package/Neurai/src/uint256.cpp +81 -0
- package/Neurai/src/uint256.h +180 -0
- package/Neurai/src/undo.h +124 -0
- package/Neurai/src/univalue/.travis.yml +52 -0
- package/Neurai/src/univalue/COPYING +19 -0
- package/Neurai/src/univalue/Makefile.am +116 -0
- package/Neurai/src/univalue/README.md +32 -0
- package/Neurai/src/univalue/TODO +10 -0
- package/Neurai/src/univalue/autogen.sh +9 -0
- package/Neurai/src/univalue/build-aux/compile +351 -0
- package/Neurai/src/univalue/build-aux/config.guess +1815 -0
- package/Neurai/src/univalue/build-aux/config.sub +2354 -0
- package/Neurai/src/univalue/build-aux/depcomp +792 -0
- package/Neurai/src/univalue/build-aux/install-sh +541 -0
- package/Neurai/src/univalue/build-aux/ltmain.sh +11523 -0
- package/Neurai/src/univalue/build-aux/m4/libtool.m4 +8513 -0
- package/Neurai/src/univalue/build-aux/m4/ltoptions.m4 +467 -0
- package/Neurai/src/univalue/build-aux/m4/ltsugar.m4 +124 -0
- package/Neurai/src/univalue/build-aux/m4/ltversion.m4 +24 -0
- package/Neurai/src/univalue/build-aux/m4/lt~obsolete.m4 +99 -0
- package/Neurai/src/univalue/build-aux/missing +236 -0
- package/Neurai/src/univalue/build-aux/test-driver +160 -0
- package/Neurai/src/univalue/configure.ac +69 -0
- package/Neurai/src/univalue/gen/gen.cpp +85 -0
- package/Neurai/src/univalue/include/univalue.h +305 -0
- package/Neurai/src/univalue/lib/univalue.cpp +244 -0
- package/Neurai/src/univalue/lib/univalue_escapes.h +262 -0
- package/Neurai/src/univalue/lib/univalue_get.cpp +198 -0
- package/Neurai/src/univalue/lib/univalue_read.cpp +451 -0
- package/Neurai/src/univalue/lib/univalue_utffilter.h +119 -0
- package/Neurai/src/univalue/lib/univalue_write.cpp +115 -0
- package/Neurai/src/univalue/pc/libunivalue-uninstalled.pc.in +9 -0
- package/Neurai/src/univalue/pc/libunivalue.pc.in +10 -0
- package/Neurai/src/univalue/test/fail1.json +1 -0
- package/Neurai/src/univalue/test/fail10.json +1 -0
- package/Neurai/src/univalue/test/fail11.json +1 -0
- package/Neurai/src/univalue/test/fail12.json +1 -0
- package/Neurai/src/univalue/test/fail13.json +1 -0
- package/Neurai/src/univalue/test/fail14.json +1 -0
- package/Neurai/src/univalue/test/fail15.json +1 -0
- package/Neurai/src/univalue/test/fail16.json +1 -0
- package/Neurai/src/univalue/test/fail17.json +1 -0
- package/Neurai/src/univalue/test/fail18.json +1 -0
- package/Neurai/src/univalue/test/fail19.json +1 -0
- package/Neurai/src/univalue/test/fail2.json +1 -0
- package/Neurai/src/univalue/test/fail20.json +1 -0
- package/Neurai/src/univalue/test/fail21.json +1 -0
- package/Neurai/src/univalue/test/fail22.json +1 -0
- package/Neurai/src/univalue/test/fail23.json +1 -0
- package/Neurai/src/univalue/test/fail24.json +1 -0
- package/Neurai/src/univalue/test/fail25.json +1 -0
- package/Neurai/src/univalue/test/fail26.json +1 -0
- package/Neurai/src/univalue/test/fail27.json +2 -0
- package/Neurai/src/univalue/test/fail28.json +2 -0
- package/Neurai/src/univalue/test/fail29.json +1 -0
- package/Neurai/src/univalue/test/fail3.json +1 -0
- package/Neurai/src/univalue/test/fail30.json +1 -0
- package/Neurai/src/univalue/test/fail31.json +1 -0
- package/Neurai/src/univalue/test/fail32.json +1 -0
- package/Neurai/src/univalue/test/fail33.json +1 -0
- package/Neurai/src/univalue/test/fail34.json +1 -0
- package/Neurai/src/univalue/test/fail35.json +1 -0
- package/Neurai/src/univalue/test/fail36.json +1 -0
- package/Neurai/src/univalue/test/fail37.json +1 -0
- package/Neurai/src/univalue/test/fail38.json +1 -0
- package/Neurai/src/univalue/test/fail39.json +1 -0
- package/Neurai/src/univalue/test/fail4.json +1 -0
- package/Neurai/src/univalue/test/fail40.json +1 -0
- package/Neurai/src/univalue/test/fail41.json +1 -0
- package/Neurai/src/univalue/test/fail42.json +0 -0
- package/Neurai/src/univalue/test/fail44.json +1 -0
- package/Neurai/src/univalue/test/fail5.json +1 -0
- package/Neurai/src/univalue/test/fail6.json +1 -0
- package/Neurai/src/univalue/test/fail7.json +1 -0
- package/Neurai/src/univalue/test/fail8.json +1 -0
- package/Neurai/src/univalue/test/fail9.json +1 -0
- package/Neurai/src/univalue/test/no_nul.cpp +8 -0
- package/Neurai/src/univalue/test/object.cpp +397 -0
- package/Neurai/src/univalue/test/pass1.json +58 -0
- package/Neurai/src/univalue/test/pass2.json +1 -0
- package/Neurai/src/univalue/test/pass3.json +6 -0
- package/Neurai/src/univalue/test/round1.json +1 -0
- package/Neurai/src/univalue/test/round2.json +1 -0
- package/Neurai/src/univalue/test/round3.json +1 -0
- package/Neurai/src/univalue/test/round4.json +1 -0
- package/Neurai/src/univalue/test/round5.json +1 -0
- package/Neurai/src/univalue/test/round6.json +1 -0
- package/Neurai/src/univalue/test/round7.json +1 -0
- package/Neurai/src/univalue/test/test_json.cpp +24 -0
- package/Neurai/src/univalue/test/unitester.cpp +170 -0
- package/Neurai/src/univalue/univalue-config.h.in +63 -0
- package/Neurai/src/util.cpp +955 -0
- package/Neurai/src/util.h +366 -0
- package/Neurai/src/utilmoneystr.cpp +79 -0
- package/Neurai/src/utilmoneystr.h +26 -0
- package/Neurai/src/utilstrencodings.cpp +736 -0
- package/Neurai/src/utilstrencodings.h +160 -0
- package/Neurai/src/utiltime.cpp +89 -0
- package/Neurai/src/utiltime.h +34 -0
- package/Neurai/src/validation.cpp +5949 -0
- package/Neurai/src/validation.h +620 -0
- package/Neurai/src/validationinterface.cpp +146 -0
- package/Neurai/src/validationinterface.h +115 -0
- package/Neurai/src/version.h +64 -0
- package/Neurai/src/versionbits.cpp +244 -0
- package/Neurai/src/versionbits.h +84 -0
- package/Neurai/src/wallet/bip39.cpp +236 -0
- package/Neurai/src/wallet/bip39.h +67 -0
- package/Neurai/src/wallet/bip39_chinese_simplified.h +2074 -0
- package/Neurai/src/wallet/bip39_chinese_traditional.h +2074 -0
- package/Neurai/src/wallet/bip39_english.h +2074 -0
- package/Neurai/src/wallet/bip39_french.h +2074 -0
- package/Neurai/src/wallet/bip39_italian.h +2074 -0
- package/Neurai/src/wallet/bip39_japanese.h +2074 -0
- package/Neurai/src/wallet/bip39_korean.h +2074 -0
- package/Neurai/src/wallet/bip39_spanish.h +2074 -0
- package/Neurai/src/wallet/coincontrol.h +134 -0
- package/Neurai/src/wallet/crypter.cpp +413 -0
- package/Neurai/src/wallet/crypter.h +208 -0
- package/Neurai/src/wallet/db.cpp +728 -0
- package/Neurai/src/wallet/db.h +373 -0
- package/Neurai/src/wallet/feebumper.cpp +292 -0
- package/Neurai/src/wallet/feebumper.h +63 -0
- package/Neurai/src/wallet/fees.cpp +91 -0
- package/Neurai/src/wallet/fees.h +36 -0
- package/Neurai/src/wallet/init.cpp +288 -0
- package/Neurai/src/wallet/init.h +45 -0
- package/Neurai/src/wallet/rpcdump.cpp +1363 -0
- package/Neurai/src/wallet/rpcwallet.cpp +3589 -0
- package/Neurai/src/wallet/rpcwallet.h +30 -0
- package/Neurai/src/wallet/test/accounting_tests.cpp +142 -0
- package/Neurai/src/wallet/test/crypto_tests.cpp +136 -0
- package/Neurai/src/wallet/test/wallet_test_fixture.cpp +37 -0
- package/Neurai/src/wallet/test/wallet_test_fixture.h +22 -0
- package/Neurai/src/wallet/test/wallet_tests.cpp +720 -0
- package/Neurai/src/wallet/wallet.cpp +4998 -0
- package/Neurai/src/wallet/wallet.h +1307 -0
- package/Neurai/src/wallet/walletdb.cpp +1049 -0
- package/Neurai/src/wallet/walletdb.h +292 -0
- package/Neurai/src/warnings.cpp +85 -0
- package/Neurai/src/warnings.h +29 -0
- package/Neurai/src/zmq/zmqabstractnotifier.cpp +29 -0
- package/Neurai/src/zmq/zmqabstractnotifier.h +48 -0
- package/Neurai/src/zmq/zmqconfig.h +26 -0
- package/Neurai/src/zmq/zmqnotificationinterface.cpp +202 -0
- package/Neurai/src/zmq/zmqnotificationinterface.h +43 -0
- package/Neurai/src/zmq/zmqpublishnotifier.cpp +209 -0
- package/Neurai/src/zmq/zmqpublishnotifier.h +64 -0
- package/Neurai/test/README.md +187 -0
- package/Neurai/test/config.ini.in +20 -0
- package/Neurai/test/functional/README.md +102 -0
- package/Neurai/test/functional/combine_logs.py +123 -0
- package/Neurai/test/functional/combined_log_template.html +40 -0
- package/Neurai/test/functional/create_cache.py +30 -0
- package/Neurai/test/functional/example_test.py +194 -0
- package/Neurai/test/functional/feature_assets.py +365 -0
- package/Neurai/test/functional/feature_assets_mempool.py +153 -0
- package/Neurai/test/functional/feature_assets_reorg.py +154 -0
- package/Neurai/test/functional/feature_assumevalid.py +199 -0
- package/Neurai/test/functional/feature_bip68_sequence.py +387 -0
- package/Neurai/test/functional/feature_cltv.py +164 -0
- package/Neurai/test/functional/feature_dbcrash.py +284 -0
- package/Neurai/test/functional/feature_dersig.py +155 -0
- package/Neurai/test/functional/feature_fee_estimation.py +265 -0
- package/Neurai/test/functional/feature_listmyassets.py +56 -0
- package/Neurai/test/functional/feature_loadblock.py +89 -0
- package/Neurai/test/functional/feature_maxreorgdepth.py +138 -0
- package/Neurai/test/functional/feature_maxuploadtarget.py +183 -0
- package/Neurai/test/functional/feature_messaging.py +139 -0
- package/Neurai/test/functional/feature_minchainwork.py +91 -0
- package/Neurai/test/functional/feature_notifications.py +90 -0
- package/Neurai/test/functional/feature_nulldummy.py +137 -0
- package/Neurai/test/functional/feature_proxy.py +200 -0
- package/Neurai/test/functional/feature_pruning.py +457 -0
- package/Neurai/test/functional/feature_raw_restricted_assets.py +568 -0
- package/Neurai/test/functional/feature_rawassettransactions.py +1845 -0
- package/Neurai/test/functional/feature_rbf.py +571 -0
- package/Neurai/test/functional/feature_reindex.py +43 -0
- package/Neurai/test/functional/feature_restricted_assets.py +591 -0
- package/Neurai/test/functional/feature_rewards.py +1270 -0
- package/Neurai/test/functional/feature_segwit.py +642 -0
- package/Neurai/test/functional/feature_shutdown.py +36 -0
- package/Neurai/test/functional/feature_uacomment.py +37 -0
- package/Neurai/test/functional/feature_unique_assets.py +144 -0
- package/Neurai/test/functional/feature_versionbits_warning.py +131 -0
- package/Neurai/test/functional/interface_http.py +110 -0
- package/Neurai/test/functional/interface_neurai_cli.py +59 -0
- package/Neurai/test/functional/interface_rest.py +329 -0
- package/Neurai/test/functional/interface_rpc.py +77 -0
- package/Neurai/test/functional/interface_zmq.py +125 -0
- package/Neurai/test/functional/mempool_limit.py +68 -0
- package/Neurai/test/functional/mempool_packages.py +245 -0
- package/Neurai/test/functional/mempool_persist.py +112 -0
- package/Neurai/test/functional/mempool_reorg.py +98 -0
- package/Neurai/test/functional/mempool_resurrect.py +70 -0
- package/Neurai/test/functional/mempool_spend_coinbase.py +54 -0
- package/Neurai/test/functional/mining_basic.py +136 -0
- package/Neurai/test/functional/mining_getblocktemplate_longpoll.py +72 -0
- package/Neurai/test/functional/mining_prioritisetransaction.py +130 -0
- package/Neurai/test/functional/p2p_compactblocks.py +939 -0
- package/Neurai/test/functional/p2p_disconnect_ban.py +104 -0
- package/Neurai/test/functional/p2p_feefilter.py +103 -0
- package/Neurai/test/functional/p2p_fingerprint.py +151 -0
- package/Neurai/test/functional/p2p_leak.py +149 -0
- package/Neurai/test/functional/p2p_leak_tx.py +58 -0
- package/Neurai/test/functional/p2p_mempool.py +40 -0
- package/Neurai/test/functional/p2p_segwit.py +1988 -0
- package/Neurai/test/functional/p2p_sendheaders.py +554 -0
- package/Neurai/test/functional/p2p_timeouts.py +85 -0
- package/Neurai/test/functional/p2p_unrequested_blocks.py +250 -0
- package/Neurai/test/functional/rpc_addressindex.py +349 -0
- package/Neurai/test/functional/rpc_assettransfer.py +138 -0
- package/Neurai/test/functional/rpc_bind.py +108 -0
- package/Neurai/test/functional/rpc_blockchain.py +220 -0
- package/Neurai/test/functional/rpc_decodescript.py +210 -0
- package/Neurai/test/functional/rpc_deprecated.py +26 -0
- package/Neurai/test/functional/rpc_fundrawtransaction.py +716 -0
- package/Neurai/test/functional/rpc_getchaintips.py +66 -0
- package/Neurai/test/functional/rpc_invalidateblock.py +67 -0
- package/Neurai/test/functional/rpc_misc.py +57 -0
- package/Neurai/test/functional/rpc_named_arguments.py +35 -0
- package/Neurai/test/functional/rpc_net.py +95 -0
- package/Neurai/test/functional/rpc_preciousblock.py +113 -0
- package/Neurai/test/functional/rpc_rawtransaction.py +225 -0
- package/Neurai/test/functional/rpc_setban.py +50 -0
- package/Neurai/test/functional/rpc_signmessage.py +40 -0
- package/Neurai/test/functional/rpc_signrawtransaction.py +144 -0
- package/Neurai/test/functional/rpc_spentindex.py +141 -0
- package/Neurai/test/functional/rpc_timestampindex.py +60 -0
- package/Neurai/test/functional/rpc_txindex.py +73 -0
- package/Neurai/test/functional/rpc_txoutproof.py +85 -0
- package/Neurai/test/functional/rpc_uptime.py +31 -0
- package/Neurai/test/functional/rpc_users.py +154 -0
- package/Neurai/test/functional/test_framework/__init__.py +0 -0
- package/Neurai/test/functional/test_framework/address.py +81 -0
- package/Neurai/test/functional/test_framework/authproxy.py +201 -0
- package/Neurai/test/functional/test_framework/bignum.py +58 -0
- package/Neurai/test/functional/test_framework/blocktools.py +116 -0
- package/Neurai/test/functional/test_framework/coverage.py +113 -0
- package/Neurai/test/functional/test_framework/key.py +389 -0
- package/Neurai/test/functional/test_framework/messages.py +1648 -0
- package/Neurai/test/functional/test_framework/mininode.py +481 -0
- package/Neurai/test/functional/test_framework/netutil.py +167 -0
- package/Neurai/test/functional/test_framework/script.py +707 -0
- package/Neurai/test/functional/test_framework/siphash.py +64 -0
- package/Neurai/test/functional/test_framework/socks5.py +161 -0
- package/Neurai/test/functional/test_framework/test_framework.py +448 -0
- package/Neurai/test/functional/test_framework/test_node.py +231 -0
- package/Neurai/test/functional/test_framework/util.py +737 -0
- package/Neurai/test/functional/test_framework/wallet_util.py +3563 -0
- package/Neurai/test/functional/test_runner.py +733 -0
- package/Neurai/test/functional/wallet_abandonconflict.py +153 -0
- package/Neurai/test/functional/wallet_backup.py +198 -0
- package/Neurai/test/functional/wallet_basic.py +426 -0
- package/Neurai/test/functional/wallet_bip44.py +148 -0
- package/Neurai/test/functional/wallet_bip44_multilanguage.py +195 -0
- package/Neurai/test/functional/wallet_bumpfee.py +302 -0
- package/Neurai/test/functional/wallet_coinbase_category.py +56 -0
- package/Neurai/test/functional/wallet_create_tx.py +76 -0
- package/Neurai/test/functional/wallet_disable.py +37 -0
- package/Neurai/test/functional/wallet_dump.py +110 -0
- package/Neurai/test/functional/wallet_encryption.py +59 -0
- package/Neurai/test/functional/wallet_groups.py +89 -0
- package/Neurai/test/functional/wallet_hd.py +122 -0
- package/Neurai/test/functional/wallet_import_rescan.py +193 -0
- package/Neurai/test/functional/wallet_import_with_label.py +86 -0
- package/Neurai/test/functional/wallet_importmulti.py +453 -0
- package/Neurai/test/functional/wallet_importprunedfunds.py +118 -0
- package/Neurai/test/functional/wallet_keypool.py +86 -0
- package/Neurai/test/functional/wallet_keypool_topup.py +75 -0
- package/Neurai/test/functional/wallet_labels.py +135 -0
- package/Neurai/test/functional/wallet_listreceivedby.py +146 -0
- package/Neurai/test/functional/wallet_listsinceblock.py +250 -0
- package/Neurai/test/functional/wallet_listtransactions.py +207 -0
- package/Neurai/test/functional/wallet_multiwallet.py +91 -0
- package/Neurai/test/functional/wallet_reorgsrestore.py +97 -0
- package/Neurai/test/functional/wallet_resendtransactions.py +31 -0
- package/Neurai/test/functional/wallet_txn_clone.py +159 -0
- package/Neurai/test/functional/wallet_txn_doublespend.py +140 -0
- package/Neurai/test/functional/wallet_zapwallettxes.py +78 -0
- package/Neurai/test/util/data/blanktxv1.hex +1 -0
- package/Neurai/test/util/data/blanktxv1.json +13 -0
- package/Neurai/test/util/data/blanktxv2.hex +1 -0
- package/Neurai/test/util/data/blanktxv2.json +13 -0
- package/Neurai/test/util/data/neurai-util-test.json +410 -0
- package/Neurai/test/util/data/tt-delin1-out.hex +1 -0
- package/Neurai/test/util/data/tt-delin1-out.json +219 -0
- package/Neurai/test/util/data/tt-delout1-out.hex +1 -0
- package/Neurai/test/util/data/tt-delout1-out.json +215 -0
- package/Neurai/test/util/data/tt-locktime317000-out.hex +1 -0
- package/Neurai/test/util/data/tt-locktime317000-out.json +228 -0
- package/Neurai/test/util/data/tx394b54bb.hex +1 -0
- package/Neurai/test/util/data/txcreate1.hex +1 -0
- package/Neurai/test/util/data/txcreate1.json +66 -0
- package/Neurai/test/util/data/txcreate2.hex +1 -0
- package/Neurai/test/util/data/txcreate2.json +22 -0
- package/Neurai/test/util/data/txcreatedata1.hex +1 -0
- package/Neurai/test/util/data/txcreatedata1.json +44 -0
- package/Neurai/test/util/data/txcreatedata2.hex +1 -0
- package/Neurai/test/util/data/txcreatedata2.json +44 -0
- package/Neurai/test/util/data/txcreatedata_seq0.hex +1 -0
- package/Neurai/test/util/data/txcreatedata_seq0.json +35 -0
- package/Neurai/test/util/data/txcreatedata_seq1.hex +1 -0
- package/Neurai/test/util/data/txcreatedata_seq1.json +44 -0
- package/Neurai/test/util/data/txcreatemultisig1.hex +1 -0
- package/Neurai/test/util/data/txcreatemultisig1.json +28 -0
- package/Neurai/test/util/data/txcreatemultisig2.hex +1 -0
- package/Neurai/test/util/data/txcreatemultisig2.json +26 -0
- package/Neurai/test/util/data/txcreatemultisig3.hex +1 -0
- package/Neurai/test/util/data/txcreatemultisig3.json +22 -0
- package/Neurai/test/util/data/txcreatemultisig4.hex +1 -0
- package/Neurai/test/util/data/txcreatemultisig4.json +26 -0
- package/Neurai/test/util/data/txcreatemultisig5.json +26 -0
- package/Neurai/test/util/data/txcreateoutpubkey1.hex +1 -0
- package/Neurai/test/util/data/txcreateoutpubkey1.json +26 -0
- package/Neurai/test/util/data/txcreateoutpubkey2.hex +1 -0
- package/Neurai/test/util/data/txcreateoutpubkey2.json +22 -0
- package/Neurai/test/util/data/txcreateoutpubkey3.hex +1 -0
- package/Neurai/test/util/data/txcreateoutpubkey3.json +26 -0
- package/Neurai/test/util/data/txcreatescript1.hex +1 -0
- package/Neurai/test/util/data/txcreatescript1.json +22 -0
- package/Neurai/test/util/data/txcreatescript2.hex +1 -0
- package/Neurai/test/util/data/txcreatescript2.json +26 -0
- package/Neurai/test/util/data/txcreatescript3.hex +1 -0
- package/Neurai/test/util/data/txcreatescript3.json +22 -0
- package/Neurai/test/util/data/txcreatescript4.hex +1 -0
- package/Neurai/test/util/data/txcreatescript4.json +26 -0
- package/Neurai/test/util/data/txcreatesignv1.hex +1 -0
- package/Neurai/test/util/data/txcreatesignv1.json +35 -0
- package/Neurai/test/util/data/txcreatesignv2.hex +1 -0
- package/Neurai/test/util/neurai-util-test.py +186 -0
- package/README.md +1 -0
- package/dist/index.cjs +500 -172
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +500 -172
- package/dist/index.mjs.map +1 -1
- package/dist/types.d.ts +14 -0
- package/dist/types.d.ts.map +1 -1
- package/docs.json +14 -0
- package/docs.ts +1629 -516
- package/neurai_methods.md +870 -514
- package/package.json +4 -4
- package/test-getpubkey.js +149 -0
package/docs.ts
CHANGED
|
@@ -1,179 +1,200 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
1
|
+
|
|
2
|
+
interface IMethods{
|
|
3
|
+
abandontransaction: string;
|
|
4
|
+
abortrescan: string;
|
|
5
|
+
addmultisigaddress: string;
|
|
6
|
+
addnode: string;
|
|
7
|
+
addtagtoaddress: string;
|
|
8
|
+
addwitnessaddress: string;
|
|
9
|
+
backupwallet: string;
|
|
10
|
+
bumpfee: string;
|
|
11
|
+
cancelsnapshotrequest: string;
|
|
12
|
+
checkaddressrestriction: string;
|
|
13
|
+
checkaddresstag: string;
|
|
14
|
+
checkdepinvalidity: string;
|
|
15
|
+
checkglobalrestriction: string;
|
|
16
|
+
clearbanned: string;
|
|
17
|
+
clearmempool: string;
|
|
18
|
+
clearmessages: string;
|
|
19
|
+
combinerawtransaction: string;
|
|
20
|
+
createmultisig: string;
|
|
21
|
+
createrawtransaction: string;
|
|
22
|
+
decodeblock: string;
|
|
23
|
+
decoderawtransaction: string;
|
|
24
|
+
decodescript: string;
|
|
25
|
+
depinclearmsg: string;
|
|
26
|
+
depingetmsg: string;
|
|
27
|
+
depingetmsginfo: string;
|
|
28
|
+
depingetpoolcontent: string;
|
|
29
|
+
depinmcpstatus: string;
|
|
30
|
+
depinpoolstats: string;
|
|
31
|
+
depinsendmsg: string;
|
|
32
|
+
depinsubmitmsg: string;
|
|
33
|
+
disconnectnode: string;
|
|
34
|
+
distributereward: string;
|
|
35
|
+
dumpprivkey: string;
|
|
36
|
+
dumpwallet: string;
|
|
37
|
+
encryptwallet: string;
|
|
38
|
+
estimatefee: string;
|
|
39
|
+
estimatesmartfee: string;
|
|
40
|
+
freezeaddress: string;
|
|
41
|
+
freezedepin: string;
|
|
42
|
+
freezerestrictedasset: string;
|
|
43
|
+
fundrawtransaction: string;
|
|
44
|
+
generate: string;
|
|
45
|
+
generatetoaddress: string;
|
|
46
|
+
getaccount: string;
|
|
47
|
+
getaccountaddress: string;
|
|
48
|
+
getaddednodeinfo: string;
|
|
49
|
+
getaddressbalance: string;
|
|
50
|
+
getaddressdeltas: string;
|
|
51
|
+
getaddressesbyaccount: string;
|
|
52
|
+
getaddressmempool: string;
|
|
53
|
+
getaddresstxids: string;
|
|
54
|
+
getaddressutxos: string;
|
|
55
|
+
getassetdata: string;
|
|
56
|
+
getbalance: string;
|
|
57
|
+
getbestblockhash: string;
|
|
58
|
+
getblock: string;
|
|
59
|
+
getblockchaininfo: string;
|
|
60
|
+
getblockcount: string;
|
|
61
|
+
getblockhash: string;
|
|
62
|
+
getblockhashes: string;
|
|
63
|
+
getblockheader: string;
|
|
64
|
+
getblocktemplate: string;
|
|
65
|
+
getcacheinfo: string;
|
|
66
|
+
getchaintips: string;
|
|
67
|
+
getchaintxstats: string;
|
|
68
|
+
getconnectioncount: string;
|
|
69
|
+
getdifficulty: string;
|
|
70
|
+
getdistributestatus: string;
|
|
71
|
+
getgenerate: string;
|
|
72
|
+
getinfo: string;
|
|
73
|
+
getkawpowhash: string;
|
|
74
|
+
getmasterkeyinfo: string;
|
|
75
|
+
getmemoryinfo: string;
|
|
76
|
+
getmempoolancestors: string;
|
|
77
|
+
getmempooldescendants: string;
|
|
78
|
+
getmempoolentry: string;
|
|
79
|
+
getmempoolinfo: string;
|
|
80
|
+
getmininginfo: string;
|
|
81
|
+
getmywords: string;
|
|
82
|
+
getnettotals: string;
|
|
83
|
+
getnetworkhashps: string;
|
|
84
|
+
getnetworkinfo: string;
|
|
85
|
+
getnewaddress: string;
|
|
86
|
+
getpeerinfo: string;
|
|
87
|
+
getpubkey: string;
|
|
88
|
+
getrawchangeaddress: string;
|
|
89
|
+
getrawmempool: string;
|
|
90
|
+
getrawtransaction: string;
|
|
91
|
+
getreceivedbyaccount: string;
|
|
92
|
+
getreceivedbyaddress: string;
|
|
93
|
+
getrpcinfo: string;
|
|
94
|
+
getsnapshot: string;
|
|
95
|
+
getsnapshotrequest: string;
|
|
96
|
+
getspentinfo: string;
|
|
97
|
+
gettransaction: string;
|
|
98
|
+
gettxout: string;
|
|
99
|
+
gettxoutproof: string;
|
|
100
|
+
gettxoutsetinfo: string;
|
|
101
|
+
getunconfirmedbalance: string;
|
|
102
|
+
getverifierstring: string;
|
|
103
|
+
getwalletinfo: string;
|
|
104
|
+
help: string;
|
|
105
|
+
importaddress: string;
|
|
106
|
+
importmulti: string;
|
|
107
|
+
importprivkey: string;
|
|
108
|
+
importprunedfunds: string;
|
|
109
|
+
importpubkey: string;
|
|
110
|
+
importwallet: string;
|
|
111
|
+
issue: string;
|
|
112
|
+
issuequalifierasset: string;
|
|
113
|
+
issuerestrictedasset: string;
|
|
114
|
+
issueunique: string;
|
|
115
|
+
isvalidverifierstring: string;
|
|
116
|
+
keypoolrefill: string;
|
|
117
|
+
listaccounts: string;
|
|
118
|
+
listaddressesbyasset: string;
|
|
119
|
+
listaddressesfortag: string;
|
|
120
|
+
listaddressgroupings: string;
|
|
121
|
+
listaddressrestrictions: string;
|
|
122
|
+
listassetbalancesbyaddress: string;
|
|
123
|
+
listassets: string;
|
|
124
|
+
listbanned: string;
|
|
125
|
+
listdepinholders: string;
|
|
126
|
+
listglobalrestrictions: string;
|
|
127
|
+
listlockunspent: string;
|
|
128
|
+
listmyassets: string;
|
|
129
|
+
listreceivedbyaccount: string;
|
|
130
|
+
listreceivedbyaddress: string;
|
|
131
|
+
listsinceblock: string;
|
|
132
|
+
listsnapshotrequests: string;
|
|
133
|
+
listtagsforaddress: string;
|
|
134
|
+
listtransactions: string;
|
|
135
|
+
listunspent: string;
|
|
136
|
+
listwallets: string;
|
|
137
|
+
lockunspent: string;
|
|
138
|
+
move: string;
|
|
139
|
+
ping: string;
|
|
140
|
+
pprpcsb: string;
|
|
141
|
+
preciousblock: string;
|
|
142
|
+
prioritisetransaction: string;
|
|
143
|
+
pruneblockchain: string;
|
|
144
|
+
purgesnapshot: string;
|
|
145
|
+
reissue: string;
|
|
146
|
+
reissuerestrictedasset: string;
|
|
147
|
+
removeprunedfunds: string;
|
|
148
|
+
removetagfromaddress: string;
|
|
149
|
+
requestsnapshot: string;
|
|
150
|
+
rescanblockchain: string;
|
|
151
|
+
savemempool: string;
|
|
152
|
+
selfrevokedepin: string;
|
|
153
|
+
sendfrom: string;
|
|
154
|
+
sendfromaddress: string;
|
|
155
|
+
sendmany: string;
|
|
156
|
+
sendmessage: string;
|
|
157
|
+
sendrawtransaction: string;
|
|
158
|
+
sendtoaddress: string;
|
|
159
|
+
setaccount: string;
|
|
160
|
+
setban: string;
|
|
161
|
+
setgenerate: string;
|
|
162
|
+
setnetworkactive: string;
|
|
163
|
+
settxfee: string;
|
|
164
|
+
signmessage: string;
|
|
165
|
+
signmessagewithprivkey: string;
|
|
166
|
+
signrawtransaction: string;
|
|
167
|
+
stop: string;
|
|
168
|
+
submitblock: string;
|
|
169
|
+
subscribetochannel: string;
|
|
170
|
+
testmempoolaccept: string;
|
|
171
|
+
transfer: string;
|
|
172
|
+
transferfromaddress: string;
|
|
173
|
+
transferfromaddresses: string;
|
|
174
|
+
transferqualifier: string;
|
|
175
|
+
unfreezeaddress: string;
|
|
176
|
+
unfreezedepin: string;
|
|
177
|
+
unfreezerestrictedasset: string;
|
|
178
|
+
unsubscribefromchannel: string;
|
|
179
|
+
uptime: string;
|
|
180
|
+
validateaddress: string;
|
|
181
|
+
verifychain: string;
|
|
182
|
+
verifymessage: string;
|
|
183
|
+
verifytxoutproof: string;
|
|
184
|
+
viewallmessagechannels: string;
|
|
185
|
+
viewallmessages: string;
|
|
186
|
+
viewmyrestrictedaddresses: string;
|
|
187
|
+
viewmytaggedaddresses: string;
|
|
173
188
|
}
|
|
174
189
|
|
|
175
|
-
export const methods:
|
|
176
|
-
|
|
190
|
+
export const methods:IMethods ={
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
/** abandontransaction "txid"
|
|
177
198
|
|
|
178
199
|
Mark in-wallet transaction <txid> as abandoned
|
|
179
200
|
This will mark this transaction and all its in-wallet descendants as abandoned which will allow
|
|
@@ -190,9 +211,13 @@ Examples:
|
|
|
190
211
|
> neurai-cli abandontransaction "1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d"
|
|
191
212
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "abandontransaction", "params": ["1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
192
213
|
**/
|
|
193
|
-
|
|
214
|
+
abandontransaction:'abandontransaction',
|
|
194
215
|
|
|
195
|
-
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
/** abortrescan
|
|
196
221
|
|
|
197
222
|
Stops current wallet rescan triggered e.g. by an importprivkey call.
|
|
198
223
|
|
|
@@ -207,9 +232,13 @@ Abort the running wallet rescan
|
|
|
207
232
|
As a JSON-RPC call
|
|
208
233
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "abortrescan", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
209
234
|
**/
|
|
210
|
-
|
|
235
|
+
abortrescan:'abortrescan',
|
|
236
|
+
|
|
237
|
+
|
|
211
238
|
|
|
212
|
-
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
/** addmultisigaddress nrequired ["key",...] ( "account" )
|
|
213
242
|
|
|
214
243
|
Add a nrequired-to-sign multisignature address to the wallet.
|
|
215
244
|
Each key is a Neurai address or hex-encoded public key.
|
|
@@ -235,9 +264,13 @@ Add a multisig address from 2 addresses
|
|
|
235
264
|
As json rpc call
|
|
236
265
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "addmultisigaddress", "params": [2, "[\"16sSauSf5pF2UkUwvKGq4qjNRzBZYqgEL5\",\"171sgjn4YtPu27adkKGrdDwzRTxnRkBfKV\"]"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
237
266
|
**/
|
|
238
|
-
|
|
267
|
+
addmultisigaddress:'addmultisigaddress',
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
|
|
239
272
|
|
|
240
|
-
|
|
273
|
+
/** addnode "node" "add|remove|onetry"
|
|
241
274
|
|
|
242
275
|
Attempts to add or remove a node from the addnode list.
|
|
243
276
|
Or try a connection to a node once.
|
|
@@ -252,9 +285,13 @@ Examples:
|
|
|
252
285
|
> neurai-cli addnode "192.168.0.6:8767" "onetry"
|
|
253
286
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "addnode", "params": ["192.168.0.6:8767", "onetry"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
254
287
|
**/
|
|
255
|
-
|
|
288
|
+
addnode:'addnode',
|
|
256
289
|
|
|
257
|
-
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
/** addtagtoaddress tag_name to_address (change_address) (asset_data)
|
|
258
295
|
|
|
259
296
|
Assign a tag to a address
|
|
260
297
|
|
|
@@ -273,9 +310,13 @@ Examples:
|
|
|
273
310
|
> neurai-cli addtagtoaddress "#TAG" "to_address" "change_address"
|
|
274
311
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "addtagtoaddress", "params": ["#TAG" "to_address" "change_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
275
312
|
**/
|
|
276
|
-
|
|
313
|
+
addtagtoaddress:'addtagtoaddress',
|
|
314
|
+
|
|
315
|
+
|
|
277
316
|
|
|
278
|
-
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
/** addwitnessaddress "address"
|
|
279
320
|
|
|
280
321
|
Add a witness address for a script (with pubkey or redeemscript known).
|
|
281
322
|
It returns the witness script.
|
|
@@ -287,9 +328,13 @@ Result:
|
|
|
287
328
|
"witnessaddress", (string) The value of the new address (P2SH of witness script).
|
|
288
329
|
}
|
|
289
330
|
**/
|
|
290
|
-
|
|
331
|
+
addwitnessaddress:'addwitnessaddress',
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
|
|
291
336
|
|
|
292
|
-
|
|
337
|
+
/** backupwallet "destination"
|
|
293
338
|
|
|
294
339
|
Safely copies current wallet file to destination, which can be a directory or a path with filename.
|
|
295
340
|
|
|
@@ -300,12 +345,20 @@ Examples:
|
|
|
300
345
|
> neurai-cli backupwallet "backup.dat"
|
|
301
346
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "backupwallet", "params": ["backup.dat"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
302
347
|
**/
|
|
303
|
-
|
|
348
|
+
backupwallet:'backupwallet',
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
/** bumpfee has been deprecated on the XNA Wallet.**/
|
|
355
|
+
bumpfee:'bumpfee',
|
|
356
|
+
|
|
304
357
|
|
|
305
|
-
/** bumpfee has been deprecated on the XNA Wallet.**/
|
|
306
|
-
bumpfee: "bumpfee",
|
|
307
358
|
|
|
308
|
-
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
/** cancelsnapshotrequest "asset_name" block_height
|
|
309
362
|
|
|
310
363
|
Cancels the specified snapshot request.
|
|
311
364
|
|
|
@@ -322,9 +375,13 @@ Examples:
|
|
|
322
375
|
> neurai-cli cancelsnapshotrequest "TRONCO" 12345
|
|
323
376
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "cancelsnapshotrequest", "params": ["PHATSTACKS" 34987] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
324
377
|
**/
|
|
325
|
-
|
|
378
|
+
cancelsnapshotrequest:'cancelsnapshotrequest',
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
|
|
326
383
|
|
|
327
|
-
|
|
384
|
+
/** checkaddressrestriction address restricted_name
|
|
328
385
|
|
|
329
386
|
Checks to see if an address has been frozen by the given restricted asset
|
|
330
387
|
|
|
@@ -339,9 +396,13 @@ Examples:
|
|
|
339
396
|
> neurai-cli checkaddressrestriction "address" "restricted_name"
|
|
340
397
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "checkaddressrestriction", "params": ["address" "restricted_name"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
341
398
|
**/
|
|
342
|
-
|
|
399
|
+
checkaddressrestriction:'checkaddressrestriction',
|
|
343
400
|
|
|
344
|
-
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
/** checkaddresstag address tag_name
|
|
345
406
|
|
|
346
407
|
Checks to see if an address has the given tag
|
|
347
408
|
|
|
@@ -356,9 +417,39 @@ Examples:
|
|
|
356
417
|
> neurai-cli checkaddresstag "address" "tag_name"
|
|
357
418
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "checkaddresstag", "params": ["address" "tag_name"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
358
419
|
**/
|
|
359
|
-
|
|
420
|
+
checkaddresstag:'checkaddresstag',
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
/** checkdepinvalidity "asset_name" "address"
|
|
427
|
+
|
|
428
|
+
Check if a DEPIN asset is valid/active for a specific address
|
|
429
|
+
|
|
430
|
+
Arguments:
|
|
431
|
+
1. "asset_name" (string, required) The DEPIN asset name (must start with &)
|
|
432
|
+
2. "address" (string, required) The address to check
|
|
433
|
+
|
|
434
|
+
Result:
|
|
435
|
+
{
|
|
436
|
+
"has_asset": true|false, (boolean) Whether the address holds the asset
|
|
437
|
+
"amount": n, (numeric) The amount (if has_asset is true)
|
|
438
|
+
"valid": 1|0, (numeric) 1 = active/valid, 0 = blocked/revoked (if has_asset is true)
|
|
439
|
+
"blocked": true|false (boolean) Whether the asset is blocked (if has_asset is true)
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
Examples:
|
|
443
|
+
> neurai-cli checkdepinvalidity "&FRANCE" "address"
|
|
444
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "checkdepinvalidity", "params": ["&FRANCE", "address"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
445
|
+
**/
|
|
446
|
+
checkdepinvalidity:'checkdepinvalidity',
|
|
360
447
|
|
|
361
|
-
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
|
|
451
|
+
|
|
452
|
+
/** checkglobalrestriction restricted_name
|
|
362
453
|
|
|
363
454
|
Checks to see if a restricted asset is globally frozen
|
|
364
455
|
|
|
@@ -372,9 +463,13 @@ Examples:
|
|
|
372
463
|
> neurai-cli checkglobalrestriction "restricted_name"
|
|
373
464
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "checkglobalrestriction", "params": ["restricted_name"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
374
465
|
**/
|
|
375
|
-
|
|
466
|
+
checkglobalrestriction:'checkglobalrestriction',
|
|
467
|
+
|
|
468
|
+
|
|
376
469
|
|
|
377
|
-
|
|
470
|
+
|
|
471
|
+
|
|
472
|
+
/** clearbanned
|
|
378
473
|
|
|
379
474
|
Clear all banned IPs.
|
|
380
475
|
|
|
@@ -382,9 +477,13 @@ Examples:
|
|
|
382
477
|
> neurai-cli clearbanned
|
|
383
478
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "clearbanned", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
384
479
|
**/
|
|
385
|
-
|
|
480
|
+
clearbanned:'clearbanned',
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
|
|
484
|
+
|
|
386
485
|
|
|
387
|
-
|
|
486
|
+
/** clearmempool
|
|
388
487
|
|
|
389
488
|
Removes all transaction from the mempool
|
|
390
489
|
|
|
@@ -392,9 +491,13 @@ Examples:
|
|
|
392
491
|
> neurai-cli clearmempool
|
|
393
492
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "clearmempool", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
394
493
|
**/
|
|
395
|
-
|
|
494
|
+
clearmempool:'clearmempool',
|
|
396
495
|
|
|
397
|
-
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
|
|
499
|
+
|
|
500
|
+
/** clearmessages
|
|
398
501
|
|
|
399
502
|
Delete current database of messages
|
|
400
503
|
|
|
@@ -406,9 +509,13 @@ Examples:
|
|
|
406
509
|
> neurai-cli clearmessages
|
|
407
510
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "clearmessages", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
408
511
|
**/
|
|
409
|
-
|
|
512
|
+
clearmessages:'clearmessages',
|
|
513
|
+
|
|
514
|
+
|
|
410
515
|
|
|
411
|
-
|
|
516
|
+
|
|
517
|
+
|
|
518
|
+
/** combinerawtransaction ["hexstring",...]
|
|
412
519
|
|
|
413
520
|
Combine multiple partially signed transactions into one transaction.
|
|
414
521
|
The combined transaction may be another partially signed transaction or a
|
|
@@ -426,9 +533,13 @@ Result:
|
|
|
426
533
|
Examples:
|
|
427
534
|
> neurai-cli combinerawtransaction ["myhex1", "myhex2", "myhex3"]
|
|
428
535
|
**/
|
|
429
|
-
|
|
536
|
+
combinerawtransaction:'combinerawtransaction',
|
|
537
|
+
|
|
538
|
+
|
|
539
|
+
|
|
540
|
+
|
|
430
541
|
|
|
431
|
-
|
|
542
|
+
/** createmultisig nrequired ["key",...]
|
|
432
543
|
|
|
433
544
|
Creates a multi-signature address with n signature of m keys required.
|
|
434
545
|
It returns a json object with the address and redeemScript.
|
|
@@ -455,9 +566,13 @@ Create a multisig address from 2 addresses
|
|
|
455
566
|
As a json rpc call
|
|
456
567
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "createmultisig", "params": [2, "[\"16sSauSf5pF2UkUwvKGq4qjNRzBZYqgEL5\",\"171sgjn4YtPu27adkKGrdDwzRTxnRkBfKV\"]"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
457
568
|
**/
|
|
458
|
-
|
|
569
|
+
createmultisig:'createmultisig',
|
|
459
570
|
|
|
460
|
-
|
|
571
|
+
|
|
572
|
+
|
|
573
|
+
|
|
574
|
+
|
|
575
|
+
/** createrawtransaction [{"txid":"id","vout":n},...] {"address":(amount or object),"data":"hex",...}
|
|
461
576
|
( locktime ) ( replaceable )
|
|
462
577
|
|
|
463
578
|
Create a transaction spending the given inputs and creating new outputs.
|
|
@@ -702,9 +817,13 @@ Examples:
|
|
|
702
817
|
> neurai-cli createrawtransaction "[{\"txid\":\"mycoin\",\"vout\":0},{\"txid\":\"myownership\",\"vout\":0}]" "{\"issuer_address\":{\"reissue\":{\"asset_name\":\"MYASSET\",\"asset_quantity\":2000000}}}"
|
|
703
818
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "createrawtransaction", "params": ["[{\"txid\":\"mycoin\",\"vout\":0}]", "{\"data\":\"00010203\"}"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
704
819
|
**/
|
|
705
|
-
|
|
820
|
+
createrawtransaction:'createrawtransaction',
|
|
821
|
+
|
|
822
|
+
|
|
706
823
|
|
|
707
|
-
|
|
824
|
+
|
|
825
|
+
|
|
826
|
+
/** decodeblock "blockhex"
|
|
708
827
|
|
|
709
828
|
Arguments:
|
|
710
829
|
1. "blockhex" (string, required) The block hex
|
|
@@ -732,9 +851,13 @@ Examples:
|
|
|
732
851
|
> neurai-cli decodeblock "xxxx"
|
|
733
852
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "decodeblock", "params": ["xxxx"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
734
853
|
**/
|
|
735
|
-
|
|
854
|
+
decodeblock:'decodeblock',
|
|
855
|
+
|
|
856
|
+
|
|
857
|
+
|
|
858
|
+
|
|
736
859
|
|
|
737
|
-
|
|
860
|
+
/** decoderawtransaction "hexstring"
|
|
738
861
|
|
|
739
862
|
Return a JSON object representing the serialized, hex-encoded transaction.
|
|
740
863
|
|
|
@@ -790,9 +913,13 @@ Examples:
|
|
|
790
913
|
> neurai-cli decoderawtransaction "hexstring"
|
|
791
914
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "decoderawtransaction", "params": ["hexstring"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
792
915
|
**/
|
|
793
|
-
|
|
916
|
+
decoderawtransaction:'decoderawtransaction',
|
|
794
917
|
|
|
795
|
-
|
|
918
|
+
|
|
919
|
+
|
|
920
|
+
|
|
921
|
+
|
|
922
|
+
/** decodescript "hexstring"
|
|
796
923
|
|
|
797
924
|
Decode a hex-encoded script.
|
|
798
925
|
|
|
@@ -829,9 +956,268 @@ Examples:
|
|
|
829
956
|
> neurai-cli decodescript "hexstring"
|
|
830
957
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "decodescript", "params": ["hexstring"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
831
958
|
**/
|
|
832
|
-
|
|
959
|
+
decodescript:'decodescript',
|
|
960
|
+
|
|
961
|
+
|
|
962
|
+
|
|
963
|
+
|
|
964
|
+
|
|
965
|
+
/** depinclearmsg ( "all" | hours )
|
|
966
|
+
|
|
967
|
+
Remove messages from DePIN messaging pool
|
|
968
|
+
|
|
969
|
+
Arguments:
|
|
970
|
+
1. mode (string or numeric, optional) Cleanup mode:
|
|
971
|
+
- omitted: Remove only expired messages (default)
|
|
972
|
+
- "all": Remove ALL messages from pool
|
|
973
|
+
- <hours>: Remove messages older than specified hours (numeric)
|
|
974
|
+
|
|
975
|
+
Result:
|
|
976
|
+
{
|
|
977
|
+
"removed": n, (numeric) Number of messages removed
|
|
978
|
+
"remaining": n (numeric) Number of messages remaining
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
Examples:
|
|
982
|
+
> neurai-cli depinclearmsg
|
|
983
|
+
> neurai-cli depinclearmsg "all"
|
|
984
|
+
> neurai-cli depinclearmsg 7
|
|
985
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinclearmsg", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
986
|
+
**/
|
|
987
|
+
depinclearmsg:'depinclearmsg',
|
|
988
|
+
|
|
989
|
+
|
|
990
|
+
|
|
991
|
+
|
|
992
|
+
|
|
993
|
+
/** depingetmsg "token" ("ip[:port]"|"fromaddress") ("fromaddress")
|
|
994
|
+
|
|
995
|
+
Retrieve and decrypt DePIN messages for your addresses
|
|
996
|
+
|
|
997
|
+
Arguments:
|
|
998
|
+
1. "token" (string, required) Token name
|
|
999
|
+
2. "ip[:port]" OR "fromaddress" (string, optional)
|
|
1000
|
+
- IP address with optional port (e.g., "192.168.1.31" or "192.168.1.31:19002")
|
|
1001
|
+
- OR Neurai address for local query with specific address
|
|
1002
|
+
- Omit for local query with all addresses
|
|
1003
|
+
3. "fromaddress" (string, optional) Specific address to decrypt with (only if arg 2 is an IP)
|
|
1004
|
+
|
|
1005
|
+
Result:
|
|
1006
|
+
[
|
|
1007
|
+
{
|
|
1008
|
+
"recipient": "address", (string) Recipient address (your address)
|
|
1009
|
+
"sender": "address", (string) Sender address
|
|
1010
|
+
"message": "text", (string) Decrypted message
|
|
1011
|
+
"timestamp": n, (numeric) Unix timestamp
|
|
1012
|
+
"date": "YYYY-MM-DD HH:MM:SS", (string) Formatted date
|
|
1013
|
+
"expires": "YYYY-MM-DD HH:MM:SS" (string) Expiration date
|
|
1014
|
+
},
|
|
1015
|
+
...
|
|
1016
|
+
]
|
|
1017
|
+
|
|
1018
|
+
Examples:
|
|
1019
|
+
> neurai-cli depingetmsg "MYTOKEN"
|
|
1020
|
+
> neurai-cli depingetmsg "MYTOKEN" "NXyouraddress..."
|
|
1021
|
+
> neurai-cli depingetmsg "MYTOKEN" "192.168.1.78"
|
|
1022
|
+
> neurai-cli depingetmsg "MYTOKEN" "192.168.1.78:19002" "NXyouraddress..."
|
|
1023
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depingetmsg", "params": ["MYTOKEN"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1024
|
+
**/
|
|
1025
|
+
depingetmsg:'depingetmsg',
|
|
1026
|
+
|
|
1027
|
+
|
|
1028
|
+
|
|
1029
|
+
|
|
1030
|
+
|
|
1031
|
+
/** depingetmsginfo
|
|
1032
|
+
|
|
1033
|
+
Returns information about the DePIN messaging system
|
|
1034
|
+
|
|
1035
|
+
Result:
|
|
1036
|
+
{
|
|
1037
|
+
"enabled": true|false, (boolean) Whether DePIN messaging is enabled
|
|
1038
|
+
"token": "name", (string) Active token name
|
|
1039
|
+
"port": n, (numeric) Listening port
|
|
1040
|
+
"maxrecipients": n, (numeric) Maximum recipients per message
|
|
1041
|
+
"maxmessagesize": n, (numeric) Maximum message size in bytes
|
|
1042
|
+
"messageexpiryhours": n, (numeric) Message expiry time in hours
|
|
1043
|
+
"maxpoolsizemb": n, (numeric) Maximum pool size in MB
|
|
1044
|
+
"messages": n, (numeric) Number of messages in mempool
|
|
1045
|
+
"memoryusage": n, (numeric) Memory usage in bytes
|
|
1046
|
+
"memoryusagemb": n, (numeric) Memory usage in MB
|
|
1047
|
+
"oldestmessage": "time", (string) Timestamp of oldest message
|
|
1048
|
+
"newestmessage": "time" (string) Timestamp of newest message
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
Examples:
|
|
1052
|
+
> neurai-cli depingetmsginfo
|
|
1053
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depingetmsginfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1054
|
+
**/
|
|
1055
|
+
depingetmsginfo:'depingetmsginfo',
|
|
1056
|
+
|
|
1057
|
+
|
|
1058
|
+
|
|
1059
|
+
|
|
1060
|
+
|
|
1061
|
+
/** depingetpoolcontent ( verbose sender_address recipient_address start_time end_time limit offset )
|
|
1062
|
+
|
|
1063
|
+
Inspect the contents of the DePIN message pool.
|
|
1064
|
+
|
|
1065
|
+
Arguments:
|
|
1066
|
+
1. verbose (boolean, "all", or "raw", optional, default=false) Show detailed message structure. Use "all" for all messages, "raw" to show encrypted hex data
|
|
1067
|
+
2. sender_address (string, optional) Filter by sender address
|
|
1068
|
+
3. recipient_address (string, optional) Filter by recipient address
|
|
1069
|
+
4. start_time (numeric, optional) Filter messages after timestamp
|
|
1070
|
+
5. end_time (numeric, optional) Filter messages before timestamp
|
|
1071
|
+
6. limit (numeric, optional, default=100) Maximum messages to return
|
|
1072
|
+
7. offset (numeric, optional, default=0) Skip first N messages
|
|
1073
|
+
|
|
1074
|
+
Result (verbose=false):
|
|
1075
|
+
[
|
|
1076
|
+
{
|
|
1077
|
+
"hash": "hex",
|
|
1078
|
+
"sender": "address",
|
|
1079
|
+
"timestamp": n,
|
|
1080
|
+
"date": "YYYY-MM-DD HH:MM:SS",
|
|
1081
|
+
"expires": "YYYY-MM-DD HH:MM:SS",
|
|
1082
|
+
"encryption_type": "ECIES_shared",
|
|
1083
|
+
"size": n
|
|
1084
|
+
},
|
|
1085
|
+
...
|
|
1086
|
+
]
|
|
1087
|
+
|
|
1088
|
+
Examples:
|
|
1089
|
+
> neurai-cli depingetpoolcontent
|
|
1090
|
+
> neurai-cli depingetpoolcontent true
|
|
1091
|
+
> neurai-cli depingetpoolcontent "all"
|
|
1092
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depingetpoolcontent", "params": [true] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1093
|
+
**/
|
|
1094
|
+
depingetpoolcontent:'depingetpoolcontent',
|
|
1095
|
+
|
|
1096
|
+
|
|
1097
|
+
|
|
1098
|
+
|
|
1099
|
+
|
|
1100
|
+
/** depinmcpstatus
|
|
1101
|
+
|
|
1102
|
+
Get status information about the DePIN MCP (AI) worker
|
|
1103
|
+
|
|
1104
|
+
Result:
|
|
1105
|
+
{
|
|
1106
|
+
"enabled": true|false, (boolean) Whether MCP worker is enabled
|
|
1107
|
+
"running": true|false, (boolean) Whether MCP worker is running
|
|
1108
|
+
"mcp_url": "url", (string) MCP server URL
|
|
1109
|
+
"model_name": "name", (string) Name of the loaded AI model
|
|
1110
|
+
"command_key": "key", (string) Command prefix (e.g. /ai)
|
|
1111
|
+
"depin_token": "token", (string) DePIN token being monitored
|
|
1112
|
+
"poll_interval": n, (numeric) Polling interval in seconds
|
|
1113
|
+
"commands_processed": n, (numeric) Total commands processed
|
|
1114
|
+
"total_errors": n, (numeric) Total errors encountered
|
|
1115
|
+
"last_poll_time": n (numeric) Unix timestamp of last poll
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
Examples:
|
|
1119
|
+
> neurai-cli depinmcpstatus
|
|
1120
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinmcpstatus", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1121
|
+
**/
|
|
1122
|
+
depinmcpstatus:'depinmcpstatus',
|
|
1123
|
+
|
|
1124
|
+
|
|
1125
|
+
|
|
1126
|
+
|
|
1127
|
+
|
|
1128
|
+
/** depinpoolstats
|
|
1129
|
+
|
|
1130
|
+
Get statistical analysis of the DePIN message pool.
|
|
1131
|
+
|
|
1132
|
+
Result:
|
|
1133
|
+
{
|
|
1134
|
+
"enabled": true|false,
|
|
1135
|
+
"token": "string",
|
|
1136
|
+
"total_messages": n,
|
|
1137
|
+
"total_size_bytes": n,
|
|
1138
|
+
"memory_usage_bytes": n,
|
|
1139
|
+
"oldest_message": "YYYY-MM-DD HH:MM:SS",
|
|
1140
|
+
"newest_message": "YYYY-MM-DD HH:MM:SS",
|
|
1141
|
+
"messages_by_age": {
|
|
1142
|
+
"last_hour": n,
|
|
1143
|
+
"last_day": n,
|
|
1144
|
+
"last_week": n
|
|
1145
|
+
},
|
|
1146
|
+
"unique_senders": n,
|
|
1147
|
+
"avg_message_size": n,
|
|
1148
|
+
"expiring_in_24h": n
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
Examples:
|
|
1152
|
+
> neurai-cli depinpoolstats
|
|
1153
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinpoolstats", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1154
|
+
**/
|
|
1155
|
+
depinpoolstats:'depinpoolstats',
|
|
1156
|
+
|
|
1157
|
+
|
|
1158
|
+
|
|
1159
|
+
|
|
1160
|
+
|
|
1161
|
+
/** depinsendmsg "token" "ip[:port]" "message" "fromaddress" (port)
|
|
1162
|
+
|
|
1163
|
+
Send an encrypted message through a remote DePIN gateway (challenge/response)
|
|
1164
|
+
|
|
1165
|
+
Arguments:
|
|
1166
|
+
1. "token" (string, required) Token name
|
|
1167
|
+
2. "ip[:port]" (string, required) Target node address (optional :port to contact remote gateway)
|
|
1168
|
+
3. "message" (string, required) Message to send (max 1KB)
|
|
1169
|
+
4. "fromaddress" (string, required) Wallet address used for signing/encryption
|
|
1170
|
+
5. port (numeric, optional) Destination message port (defaults to 19002). Only used when specified after fromaddress
|
|
1171
|
+
|
|
1172
|
+
Result:
|
|
1173
|
+
{
|
|
1174
|
+
"result": "success", (string) Status
|
|
1175
|
+
"hash": "hash", (string) Message hash
|
|
1176
|
+
"recipients": n, (numeric) Number of recipients
|
|
1177
|
+
"timestamp": n (numeric) Message timestamp
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1180
|
+
Examples:
|
|
1181
|
+
> neurai-cli depinsendmsg "MYTOKEN" "192.168.1.100" "Hello team!" "NXsender..."
|
|
1182
|
+
> neurai-cli depinsendmsg "MYTOKEN" "192.168.1.100:19005" "Hello team!" "NXsender..." 19005
|
|
1183
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinsendmsg", "params": ["MYTOKEN", "192.168.1.100", "Hello team!", "NXsender..."] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1184
|
+
**/
|
|
1185
|
+
depinsendmsg:'depinsendmsg',
|
|
1186
|
+
|
|
1187
|
+
|
|
1188
|
+
|
|
1189
|
+
|
|
1190
|
+
|
|
1191
|
+
/** depinsubmitmsg "hexmessage"
|
|
1192
|
+
|
|
1193
|
+
Submit a pre-encrypted and signed DePIN message to the pool
|
|
1194
|
+
|
|
1195
|
+
This is the secure protocol where the client prepares the complete message
|
|
1196
|
+
(encryption + signature) and the server only validates and stores it.
|
|
1197
|
+
|
|
1198
|
+
Arguments:
|
|
1199
|
+
1. "hexmessage" (string, required) Hex-encoded serialized CDepinMessage
|
|
1200
|
+
|
|
1201
|
+
Result:
|
|
1202
|
+
{
|
|
1203
|
+
"result": "success", (string) Status
|
|
1204
|
+
"hash": "hash", (string) Message hash
|
|
1205
|
+
"timestamp": n (numeric) Unix timestamp
|
|
1206
|
+
}
|
|
833
1207
|
|
|
834
|
-
|
|
1208
|
+
Note: This endpoint is typically called by remote nodes after challenge/response authentication.
|
|
1209
|
+
|
|
1210
|
+
Examples:
|
|
1211
|
+
> neurai-cli depinsubmitmsg "0a3f2e..."
|
|
1212
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "depinsubmitmsg", "params": ["0a3f2e..."] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1213
|
+
**/
|
|
1214
|
+
depinsubmitmsg:'depinsubmitmsg',
|
|
1215
|
+
|
|
1216
|
+
|
|
1217
|
+
|
|
1218
|
+
|
|
1219
|
+
|
|
1220
|
+
/** disconnectnode "[address]" [nodeid]
|
|
835
1221
|
|
|
836
1222
|
Immediately disconnects from the specified peer node.
|
|
837
1223
|
|
|
@@ -849,9 +1235,13 @@ Examples:
|
|
|
849
1235
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "disconnectnode", "params": ["192.168.0.6:8767"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
850
1236
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "disconnectnode", "params": ["", 1] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
851
1237
|
**/
|
|
852
|
-
|
|
1238
|
+
disconnectnode:'disconnectnode',
|
|
1239
|
+
|
|
1240
|
+
|
|
1241
|
+
|
|
1242
|
+
|
|
853
1243
|
|
|
854
|
-
|
|
1244
|
+
/** distributereward "asset_name" snapshot_height "distribution_asset_name" gross_distribution_amount ( "exception_addresses" ) ("change_address") ("dry_run")
|
|
855
1245
|
|
|
856
1246
|
Splits the specified amount of the distribution asset to all owners of asset_name that are not in the optional exclusion_addresses
|
|
857
1247
|
|
|
@@ -887,9 +1277,13 @@ Examples:
|
|
|
887
1277
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "distributereward", "params": ["TRONCO" 34987 "DIVIDENDS" 100000] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
888
1278
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "distributereward", "params": ["PHATSTACKS" 34987 "XNA" 100000 "mwN7xC3yomYdvJuVXkVC7ymY9wNBjWNduD,n4Rf18edydDaRBh7t6gHUbuByLbWEoWUTg"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
889
1279
|
**/
|
|
890
|
-
|
|
1280
|
+
distributereward:'distributereward',
|
|
891
1281
|
|
|
892
|
-
|
|
1282
|
+
|
|
1283
|
+
|
|
1284
|
+
|
|
1285
|
+
|
|
1286
|
+
/** dumpprivkey "address"
|
|
893
1287
|
|
|
894
1288
|
Reveals the private key corresponding to 'address'.
|
|
895
1289
|
Then the importprivkey can be used with this output
|
|
@@ -905,9 +1299,13 @@ Examples:
|
|
|
905
1299
|
> neurai-cli importprivkey "mykey"
|
|
906
1300
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "dumpprivkey", "params": ["myaddress"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
907
1301
|
**/
|
|
908
|
-
|
|
1302
|
+
dumpprivkey:'dumpprivkey',
|
|
1303
|
+
|
|
1304
|
+
|
|
909
1305
|
|
|
910
|
-
|
|
1306
|
+
|
|
1307
|
+
|
|
1308
|
+
/** dumpwallet "filename"
|
|
911
1309
|
|
|
912
1310
|
Dumps all wallet keys in a human-readable format to a server-side file. This does not allow overwriting existing files.
|
|
913
1311
|
|
|
@@ -923,9 +1321,13 @@ Examples:
|
|
|
923
1321
|
> neurai-cli dumpwallet "test"
|
|
924
1322
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "dumpwallet", "params": ["test"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
925
1323
|
**/
|
|
926
|
-
|
|
1324
|
+
dumpwallet:'dumpwallet',
|
|
1325
|
+
|
|
1326
|
+
|
|
1327
|
+
|
|
1328
|
+
|
|
927
1329
|
|
|
928
|
-
|
|
1330
|
+
/** encryptwallet "passphrase"
|
|
929
1331
|
|
|
930
1332
|
Encrypts the wallet with 'passphrase'. This is for first time encryption.
|
|
931
1333
|
After this, any calls that interact with private keys such as sending or signing
|
|
@@ -954,9 +1356,13 @@ Now lock the wallet again by removing the passphrase
|
|
|
954
1356
|
As a json rpc call
|
|
955
1357
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "encryptwallet", "params": ["my pass phrase"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
956
1358
|
**/
|
|
957
|
-
|
|
1359
|
+
encryptwallet:'encryptwallet',
|
|
958
1360
|
|
|
959
|
-
|
|
1361
|
+
|
|
1362
|
+
|
|
1363
|
+
|
|
1364
|
+
|
|
1365
|
+
/** estimatefee nblocks
|
|
960
1366
|
|
|
961
1367
|
DEPRECATED. Please use estimatesmartfee for more intelligent estimates.
|
|
962
1368
|
Estimates the approximate fee per kilobyte needed for a transaction to begin
|
|
@@ -977,9 +1383,13 @@ a fee that is high enough to get reliably included in the next block.
|
|
|
977
1383
|
Example:
|
|
978
1384
|
> neurai-cli estimatefee 6
|
|
979
1385
|
**/
|
|
980
|
-
|
|
1386
|
+
estimatefee:'estimatefee',
|
|
1387
|
+
|
|
1388
|
+
|
|
1389
|
+
|
|
981
1390
|
|
|
982
|
-
|
|
1391
|
+
|
|
1392
|
+
/** estimatesmartfee conf_target ("estimate_mode")
|
|
983
1393
|
|
|
984
1394
|
Estimates the approximate fee per kilobyte needed for a transaction to begin
|
|
985
1395
|
confirmation within conf_target blocks if possible and return the number of blocks
|
|
@@ -1013,9 +1423,13 @@ have been observed to make an estimate for any number of blocks.
|
|
|
1013
1423
|
Example:
|
|
1014
1424
|
> neurai-cli estimatesmartfee 6
|
|
1015
1425
|
**/
|
|
1016
|
-
|
|
1426
|
+
estimatesmartfee:'estimatesmartfee',
|
|
1427
|
+
|
|
1428
|
+
|
|
1017
1429
|
|
|
1018
|
-
|
|
1430
|
+
|
|
1431
|
+
|
|
1432
|
+
/** freezeaddress asset_name address (change_address) (asset_data)
|
|
1019
1433
|
|
|
1020
1434
|
Freeze an address from transferring a restricted asset
|
|
1021
1435
|
|
|
@@ -1034,9 +1448,39 @@ Examples:
|
|
|
1034
1448
|
> neurai-cli freezeaddress "$RESTRICTED_ASSET" "address" "change_address"
|
|
1035
1449
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "freezeaddress", "params": ["$RESTRICTED_ASSET" "address" "change_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1036
1450
|
**/
|
|
1037
|
-
|
|
1451
|
+
freezeaddress:'freezeaddress',
|
|
1452
|
+
|
|
1038
1453
|
|
|
1039
|
-
|
|
1454
|
+
|
|
1455
|
+
|
|
1456
|
+
|
|
1457
|
+
/** freezedepin "asset_name" "address" ("change_address")
|
|
1458
|
+
|
|
1459
|
+
Freeze a DEPIN asset for a specific address (owner only)
|
|
1460
|
+
|
|
1461
|
+
The address will still hold the asset but it will be marked as invalid
|
|
1462
|
+
|
|
1463
|
+
Requires the owner token (&ASSET!) in the wallet
|
|
1464
|
+
|
|
1465
|
+
Arguments:
|
|
1466
|
+
1. "asset_name" (string, required) The DEPIN asset name (must start with &)
|
|
1467
|
+
2. "address" (string, required) The address to freeze
|
|
1468
|
+
3. "change_address" (string, optional) The change address for the owner token
|
|
1469
|
+
|
|
1470
|
+
Result:
|
|
1471
|
+
"txid" (string) The transaction id
|
|
1472
|
+
|
|
1473
|
+
Examples:
|
|
1474
|
+
> neurai-cli freezedepin "&FRANCE" "address"
|
|
1475
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "freezedepin", "params": ["&FRANCE", "address"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1476
|
+
**/
|
|
1477
|
+
freezedepin:'freezedepin',
|
|
1478
|
+
|
|
1479
|
+
|
|
1480
|
+
|
|
1481
|
+
|
|
1482
|
+
|
|
1483
|
+
/** freezerestrictedasset asset_name (change_address) (asset_data)
|
|
1040
1484
|
|
|
1041
1485
|
Freeze all trading for a specific restricted asset
|
|
1042
1486
|
|
|
@@ -1054,9 +1498,13 @@ Examples:
|
|
|
1054
1498
|
> neurai-cli freezerestrictedasset "$RESTRICTED_ASSET" "change_address"
|
|
1055
1499
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "freezerestrictedasset", "params": ["$RESTRICTED_ASSET" "change_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1056
1500
|
**/
|
|
1057
|
-
|
|
1501
|
+
freezerestrictedasset:'freezerestrictedasset',
|
|
1058
1502
|
|
|
1059
|
-
|
|
1503
|
+
|
|
1504
|
+
|
|
1505
|
+
|
|
1506
|
+
|
|
1507
|
+
/** fundrawtransaction "hexstring" ( options )
|
|
1060
1508
|
|
|
1061
1509
|
Add inputs to a transaction until it has enough in value to meet its out value.
|
|
1062
1510
|
This will not modify existing inputs, and will add at most one change output to the outputs.
|
|
@@ -1114,9 +1562,13 @@ Sign the transaction
|
|
|
1114
1562
|
Send the transaction
|
|
1115
1563
|
> neurai-cli sendrawtransaction "signedtransactionhex"
|
|
1116
1564
|
**/
|
|
1117
|
-
|
|
1565
|
+
fundrawtransaction:'fundrawtransaction',
|
|
1566
|
+
|
|
1567
|
+
|
|
1118
1568
|
|
|
1119
|
-
|
|
1569
|
+
|
|
1570
|
+
|
|
1571
|
+
/** generate nblocks ( maxtries )
|
|
1120
1572
|
|
|
1121
1573
|
Mine up to nblocks blocks immediately (before the RPC call returns) to an address in the wallet.
|
|
1122
1574
|
|
|
@@ -1132,9 +1584,13 @@ Examples:
|
|
|
1132
1584
|
Generate 11 blocks
|
|
1133
1585
|
> neurai-cli generate 11
|
|
1134
1586
|
**/
|
|
1135
|
-
|
|
1587
|
+
generate:'generate',
|
|
1588
|
+
|
|
1589
|
+
|
|
1590
|
+
|
|
1591
|
+
|
|
1136
1592
|
|
|
1137
|
-
|
|
1593
|
+
/** generatetoaddress nblocks address (maxtries)
|
|
1138
1594
|
|
|
1139
1595
|
Mine blocks immediately to a specified address (before the RPC call returns)
|
|
1140
1596
|
|
|
@@ -1151,9 +1607,13 @@ Examples:
|
|
|
1151
1607
|
Generate 11 blocks to myaddress
|
|
1152
1608
|
> neurai-cli generatetoaddress 11 "myaddress"
|
|
1153
1609
|
**/
|
|
1154
|
-
|
|
1610
|
+
generatetoaddress:'generatetoaddress',
|
|
1155
1611
|
|
|
1156
|
-
|
|
1612
|
+
|
|
1613
|
+
|
|
1614
|
+
|
|
1615
|
+
|
|
1616
|
+
/** getaccount "address"
|
|
1157
1617
|
|
|
1158
1618
|
DEPRECATED. Returns the account associated with the given address.
|
|
1159
1619
|
|
|
@@ -1167,9 +1627,13 @@ Examples:
|
|
|
1167
1627
|
> neurai-cli getaccount "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX"
|
|
1168
1628
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaccount", "params": ["1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1169
1629
|
**/
|
|
1170
|
-
|
|
1630
|
+
getaccount:'getaccount',
|
|
1631
|
+
|
|
1632
|
+
|
|
1171
1633
|
|
|
1172
|
-
|
|
1634
|
+
|
|
1635
|
+
|
|
1636
|
+
/** getaccountaddress "account"
|
|
1173
1637
|
|
|
1174
1638
|
DEPRECATED. Returns the current Neurai address for receiving payments to this account.
|
|
1175
1639
|
|
|
@@ -1185,9 +1649,13 @@ Examples:
|
|
|
1185
1649
|
> neurai-cli getaccountaddress "myaccount"
|
|
1186
1650
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaccountaddress", "params": ["myaccount"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1187
1651
|
**/
|
|
1188
|
-
|
|
1652
|
+
getaccountaddress:'getaccountaddress',
|
|
1653
|
+
|
|
1654
|
+
|
|
1189
1655
|
|
|
1190
|
-
|
|
1656
|
+
|
|
1657
|
+
|
|
1658
|
+
/** getaddednodeinfo ( "node" )
|
|
1191
1659
|
|
|
1192
1660
|
Returns information about the given added node, or all added nodes
|
|
1193
1661
|
(note that onetry addnodes are not listed here)
|
|
@@ -1214,9 +1682,13 @@ Examples:
|
|
|
1214
1682
|
> neurai-cli getaddednodeinfo "192.168.0.201"
|
|
1215
1683
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddednodeinfo", "params": ["192.168.0.201"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1216
1684
|
**/
|
|
1217
|
-
|
|
1685
|
+
getaddednodeinfo:'getaddednodeinfo',
|
|
1686
|
+
|
|
1218
1687
|
|
|
1219
|
-
|
|
1688
|
+
|
|
1689
|
+
|
|
1690
|
+
|
|
1691
|
+
/** getaddressbalance
|
|
1220
1692
|
|
|
1221
1693
|
Returns the balance for an address(es) (requires addressindex to be enabled).
|
|
1222
1694
|
|
|
@@ -1251,9 +1723,13 @@ Examples:
|
|
|
1251
1723
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressbalance", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1252
1724
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressbalance", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}, true] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1253
1725
|
**/
|
|
1254
|
-
|
|
1726
|
+
getaddressbalance:'getaddressbalance',
|
|
1727
|
+
|
|
1728
|
+
|
|
1729
|
+
|
|
1255
1730
|
|
|
1256
|
-
|
|
1731
|
+
|
|
1732
|
+
/** getaddressdeltas
|
|
1257
1733
|
|
|
1258
1734
|
Returns all changes for an address (requires addressindex to be enabled).
|
|
1259
1735
|
|
|
@@ -1288,9 +1764,13 @@ Examples:
|
|
|
1288
1764
|
> neurai-cli getaddressdeltas '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"],"assetName":"MY_ASSET"}'
|
|
1289
1765
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressdeltas", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"],"assetName":"MY_ASSET"}] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1290
1766
|
**/
|
|
1291
|
-
|
|
1767
|
+
getaddressdeltas:'getaddressdeltas',
|
|
1768
|
+
|
|
1769
|
+
|
|
1292
1770
|
|
|
1293
|
-
|
|
1771
|
+
|
|
1772
|
+
|
|
1773
|
+
/** getaddressesbyaccount "account"
|
|
1294
1774
|
|
|
1295
1775
|
DEPRECATED. Returns the list of addresses for the given account.
|
|
1296
1776
|
|
|
@@ -1307,9 +1787,13 @@ Examples:
|
|
|
1307
1787
|
> neurai-cli getaddressesbyaccount "tabby"
|
|
1308
1788
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressesbyaccount", "params": ["tabby"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1309
1789
|
**/
|
|
1310
|
-
|
|
1790
|
+
getaddressesbyaccount:'getaddressesbyaccount',
|
|
1791
|
+
|
|
1311
1792
|
|
|
1312
|
-
|
|
1793
|
+
|
|
1794
|
+
|
|
1795
|
+
|
|
1796
|
+
/** getaddressmempool
|
|
1313
1797
|
|
|
1314
1798
|
Returns all mempool deltas for an address (requires addressindex to be enabled).
|
|
1315
1799
|
|
|
@@ -1343,9 +1827,13 @@ Examples:
|
|
|
1343
1827
|
> neurai-cli getaddressmempool '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}', true
|
|
1344
1828
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressmempool", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}, true] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1345
1829
|
**/
|
|
1346
|
-
|
|
1830
|
+
getaddressmempool:'getaddressmempool',
|
|
1831
|
+
|
|
1832
|
+
|
|
1833
|
+
|
|
1347
1834
|
|
|
1348
|
-
|
|
1835
|
+
|
|
1836
|
+
/** getaddresstxids
|
|
1349
1837
|
|
|
1350
1838
|
Returns the txids for an address(es) (requires addressindex to be enabled).
|
|
1351
1839
|
|
|
@@ -1373,9 +1861,13 @@ Examples:
|
|
|
1373
1861
|
> neurai-cli getaddresstxids '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}', true
|
|
1374
1862
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddresstxids", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"]}, true] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1375
1863
|
**/
|
|
1376
|
-
|
|
1864
|
+
getaddresstxids:'getaddresstxids',
|
|
1865
|
+
|
|
1866
|
+
|
|
1377
1867
|
|
|
1378
|
-
|
|
1868
|
+
|
|
1869
|
+
|
|
1870
|
+
/** getaddressutxos
|
|
1379
1871
|
|
|
1380
1872
|
Returns all unspent outputs for an address (requires addressindex to be enabled).
|
|
1381
1873
|
|
|
@@ -1409,9 +1901,13 @@ Examples:
|
|
|
1409
1901
|
> neurai-cli getaddressutxos '{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"],"assetName":"MY_ASSET"}'
|
|
1410
1902
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddressutxos", "params": [{"addresses": ["12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"],"assetName":"MY_ASSET"}] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1411
1903
|
**/
|
|
1412
|
-
|
|
1904
|
+
getaddressutxos:'getaddressutxos',
|
|
1905
|
+
|
|
1413
1906
|
|
|
1414
|
-
|
|
1907
|
+
|
|
1908
|
+
|
|
1909
|
+
|
|
1910
|
+
/** getassetdata "asset_name"
|
|
1415
1911
|
|
|
1416
1912
|
Returns assets metadata if that asset exists
|
|
1417
1913
|
|
|
@@ -1434,9 +1930,13 @@ Examples:
|
|
|
1434
1930
|
> neurai-cli getassetdata "ASSET_NAME"
|
|
1435
1931
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getassetdata", "params": ["ASSET_NAME"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1436
1932
|
**/
|
|
1437
|
-
|
|
1933
|
+
getassetdata:'getassetdata',
|
|
1934
|
+
|
|
1935
|
+
|
|
1936
|
+
|
|
1438
1937
|
|
|
1439
|
-
|
|
1938
|
+
|
|
1939
|
+
/** getbalance ( "account" minconf include_watchonly )
|
|
1440
1940
|
|
|
1441
1941
|
If account is not specified, returns the server's total available balance.
|
|
1442
1942
|
If account is specified (DEPRECATED), returns the balance in the account.
|
|
@@ -1473,9 +1973,13 @@ The total amount in the wallet at least 6 blocks confirmed
|
|
|
1473
1973
|
As a json rpc call
|
|
1474
1974
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getbalance", "params": ["*", 6] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1475
1975
|
**/
|
|
1476
|
-
|
|
1976
|
+
getbalance:'getbalance',
|
|
1977
|
+
|
|
1978
|
+
|
|
1477
1979
|
|
|
1478
|
-
|
|
1980
|
+
|
|
1981
|
+
|
|
1982
|
+
/** getbestblockhash
|
|
1479
1983
|
|
|
1480
1984
|
Returns the hash of the best (tip) block in the longest blockchain.
|
|
1481
1985
|
|
|
@@ -1486,9 +1990,13 @@ Examples:
|
|
|
1486
1990
|
> neurai-cli getbestblockhash
|
|
1487
1991
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getbestblockhash", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1488
1992
|
**/
|
|
1489
|
-
|
|
1993
|
+
getbestblockhash:'getbestblockhash',
|
|
1994
|
+
|
|
1490
1995
|
|
|
1491
|
-
|
|
1996
|
+
|
|
1997
|
+
|
|
1998
|
+
|
|
1999
|
+
/** getblock "blockhash" ( verbosity )
|
|
1492
2000
|
|
|
1493
2001
|
If verbosity is 0, returns a string that is serialized, hex-encoded data for block 'hash'.
|
|
1494
2002
|
If verbosity is 1, returns an Object with information about block <hash>.
|
|
@@ -1539,9 +2047,13 @@ Examples:
|
|
|
1539
2047
|
> neurai-cli getblock "00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09"
|
|
1540
2048
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblock", "params": ["00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1541
2049
|
**/
|
|
1542
|
-
|
|
2050
|
+
getblock:'getblock',
|
|
2051
|
+
|
|
2052
|
+
|
|
2053
|
+
|
|
1543
2054
|
|
|
1544
|
-
|
|
2055
|
+
|
|
2056
|
+
/** getblockchaininfo
|
|
1545
2057
|
Returns an object containing various state info regarding blockchain processing.
|
|
1546
2058
|
|
|
1547
2059
|
Result:
|
|
@@ -1591,9 +2103,13 @@ Examples:
|
|
|
1591
2103
|
> neurai-cli getblockchaininfo
|
|
1592
2104
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockchaininfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1593
2105
|
**/
|
|
1594
|
-
|
|
2106
|
+
getblockchaininfo:'getblockchaininfo',
|
|
2107
|
+
|
|
2108
|
+
|
|
2109
|
+
|
|
1595
2110
|
|
|
1596
|
-
|
|
2111
|
+
|
|
2112
|
+
/** getblockcount
|
|
1597
2113
|
|
|
1598
2114
|
Returns the number of blocks in the longest blockchain.
|
|
1599
2115
|
|
|
@@ -1604,9 +2120,13 @@ Examples:
|
|
|
1604
2120
|
> neurai-cli getblockcount
|
|
1605
2121
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockcount", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1606
2122
|
**/
|
|
1607
|
-
|
|
2123
|
+
getblockcount:'getblockcount',
|
|
2124
|
+
|
|
2125
|
+
|
|
1608
2126
|
|
|
1609
|
-
|
|
2127
|
+
|
|
2128
|
+
|
|
2129
|
+
/** getblockhash height
|
|
1610
2130
|
|
|
1611
2131
|
Returns hash of block in best-block-chain at height provided.
|
|
1612
2132
|
|
|
@@ -1620,9 +2140,13 @@ Examples:
|
|
|
1620
2140
|
> neurai-cli getblockhash 1000
|
|
1621
2141
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockhash", "params": [1000] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1622
2142
|
**/
|
|
1623
|
-
|
|
2143
|
+
getblockhash:'getblockhash',
|
|
2144
|
+
|
|
2145
|
+
|
|
2146
|
+
|
|
2147
|
+
|
|
1624
2148
|
|
|
1625
|
-
|
|
2149
|
+
/** getblockhashes timestamp
|
|
1626
2150
|
|
|
1627
2151
|
Returns array of hashes of blocks within the timestamp range provided.
|
|
1628
2152
|
|
|
@@ -1651,9 +2175,13 @@ Examples:
|
|
|
1651
2175
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockhashes", "params": [1231614698, 1231024505] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1652
2176
|
> neurai-cli getblockhashes 1231614698 1231024505 '{"noOrphans":false, "logicalTimes":true}'
|
|
1653
2177
|
**/
|
|
1654
|
-
|
|
2178
|
+
getblockhashes:'getblockhashes',
|
|
1655
2179
|
|
|
1656
|
-
|
|
2180
|
+
|
|
2181
|
+
|
|
2182
|
+
|
|
2183
|
+
|
|
2184
|
+
/** getblockheader "hash" ( verbose )
|
|
1657
2185
|
|
|
1658
2186
|
If verbose is false, returns a string that is serialized, hex-encoded data for blockheader 'hash'.
|
|
1659
2187
|
If verbose is true, returns an Object with information about blockheader <hash>.
|
|
@@ -1687,9 +2215,13 @@ Examples:
|
|
|
1687
2215
|
> neurai-cli getblockheader "00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09"
|
|
1688
2216
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockheader", "params": ["00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1689
2217
|
**/
|
|
1690
|
-
|
|
2218
|
+
getblockheader:'getblockheader',
|
|
2219
|
+
|
|
2220
|
+
|
|
1691
2221
|
|
|
1692
|
-
|
|
2222
|
+
|
|
2223
|
+
|
|
2224
|
+
/** getblocktemplate ( TemplateRequest )
|
|
1693
2225
|
|
|
1694
2226
|
If the request parameters include a 'mode' key, that is used to explicitly select between the default 'template' request or a 'proposal'.
|
|
1695
2227
|
It returns data needed to construct a block to work on.
|
|
@@ -1764,9 +2296,13 @@ Examples:
|
|
|
1764
2296
|
> neurai-cli getblocktemplate
|
|
1765
2297
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblocktemplate", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1766
2298
|
**/
|
|
1767
|
-
|
|
2299
|
+
getblocktemplate:'getblocktemplate',
|
|
2300
|
+
|
|
2301
|
+
|
|
2302
|
+
|
|
2303
|
+
|
|
1768
2304
|
|
|
1769
|
-
|
|
2305
|
+
/** getcacheinfo
|
|
1770
2306
|
|
|
1771
2307
|
Result:
|
|
1772
2308
|
[
|
|
@@ -1785,9 +2321,13 @@ Examples:
|
|
|
1785
2321
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getcacheinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1786
2322
|
> neurai-cli getcacheinfo
|
|
1787
2323
|
**/
|
|
1788
|
-
|
|
2324
|
+
getcacheinfo:'getcacheinfo',
|
|
1789
2325
|
|
|
1790
|
-
|
|
2326
|
+
|
|
2327
|
+
|
|
2328
|
+
|
|
2329
|
+
|
|
2330
|
+
/** getchaintips
|
|
1791
2331
|
Return information about all known tips in the block tree, including the main chain as well as orphaned branches.
|
|
1792
2332
|
|
|
1793
2333
|
Result:
|
|
@@ -1816,9 +2356,13 @@ Examples:
|
|
|
1816
2356
|
> neurai-cli getchaintips
|
|
1817
2357
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getchaintips", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1818
2358
|
**/
|
|
1819
|
-
|
|
2359
|
+
getchaintips:'getchaintips',
|
|
2360
|
+
|
|
2361
|
+
|
|
1820
2362
|
|
|
1821
|
-
|
|
2363
|
+
|
|
2364
|
+
|
|
2365
|
+
/** getchaintxstats ( nblocks blockhash )
|
|
1822
2366
|
|
|
1823
2367
|
Compute statistics about the total number and rate of transactions in the chain.
|
|
1824
2368
|
|
|
@@ -1840,9 +2384,13 @@ Examples:
|
|
|
1840
2384
|
> neurai-cli getchaintxstats
|
|
1841
2385
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getchaintxstats", "params": [2016] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1842
2386
|
**/
|
|
1843
|
-
|
|
2387
|
+
getchaintxstats:'getchaintxstats',
|
|
2388
|
+
|
|
2389
|
+
|
|
2390
|
+
|
|
2391
|
+
|
|
1844
2392
|
|
|
1845
|
-
|
|
2393
|
+
/** getconnectioncount
|
|
1846
2394
|
|
|
1847
2395
|
Returns the number of connections to other nodes.
|
|
1848
2396
|
|
|
@@ -1853,9 +2401,13 @@ Examples:
|
|
|
1853
2401
|
> neurai-cli getconnectioncount
|
|
1854
2402
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getconnectioncount", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1855
2403
|
**/
|
|
1856
|
-
|
|
2404
|
+
getconnectioncount:'getconnectioncount',
|
|
1857
2405
|
|
|
1858
|
-
|
|
2406
|
+
|
|
2407
|
+
|
|
2408
|
+
|
|
2409
|
+
|
|
2410
|
+
/** getdifficulty
|
|
1859
2411
|
|
|
1860
2412
|
Returns the proof-of-work difficulty as a multiple of the minimum difficulty.
|
|
1861
2413
|
|
|
@@ -1866,9 +2418,13 @@ Examples:
|
|
|
1866
2418
|
> neurai-cli getdifficulty
|
|
1867
2419
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getdifficulty", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1868
2420
|
**/
|
|
1869
|
-
|
|
2421
|
+
getdifficulty:'getdifficulty',
|
|
2422
|
+
|
|
2423
|
+
|
|
1870
2424
|
|
|
1871
|
-
|
|
2425
|
+
|
|
2426
|
+
|
|
2427
|
+
/** getdistributestatus "asset_name" snapshot_height "distribution_asset_name" gross_distribution_amount ( "exception_addresses" )
|
|
1872
2428
|
|
|
1873
2429
|
Give information about the status of the distribution
|
|
1874
2430
|
|
|
@@ -1885,9 +2441,13 @@ Examples:
|
|
|
1885
2441
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getdistributestatus", "params": ["TRONCO" 34987 "DIVIDENDS" 100000] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1886
2442
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getdistributestatus", "params": ["PHATSTACKS" 34987 "XNA" 100000 "mwN7xC3yomYdvJuVXkVC7ymY9wNBjWNduD,n4Rf18edydDaRBh7t6gHUbuByLbWEoWUTg"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1887
2443
|
**/
|
|
1888
|
-
|
|
2444
|
+
getdistributestatus:'getdistributestatus',
|
|
2445
|
+
|
|
2446
|
+
|
|
2447
|
+
|
|
2448
|
+
|
|
1889
2449
|
|
|
1890
|
-
|
|
2450
|
+
/** getgenerate
|
|
1891
2451
|
|
|
1892
2452
|
Return if the server is set to generate coins or not. The default is false.
|
|
1893
2453
|
It is set with the command line argument -gen (or neurai.conf setting gen)
|
|
@@ -1900,9 +2460,13 @@ Examples:
|
|
|
1900
2460
|
> neurai-cli getgenerate
|
|
1901
2461
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getgenerate", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1902
2462
|
**/
|
|
1903
|
-
|
|
2463
|
+
getgenerate:'getgenerate',
|
|
1904
2464
|
|
|
1905
|
-
|
|
2465
|
+
|
|
2466
|
+
|
|
2467
|
+
|
|
2468
|
+
|
|
2469
|
+
/** getinfo
|
|
1906
2470
|
|
|
1907
2471
|
DEPRECATED. Returns an object containing various state info.
|
|
1908
2472
|
|
|
@@ -1931,9 +2495,13 @@ Examples:
|
|
|
1931
2495
|
> neurai-cli getinfo
|
|
1932
2496
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1933
2497
|
**/
|
|
1934
|
-
|
|
2498
|
+
getinfo:'getinfo',
|
|
2499
|
+
|
|
2500
|
+
|
|
2501
|
+
|
|
2502
|
+
|
|
1935
2503
|
|
|
1936
|
-
|
|
2504
|
+
/** getkawpowhash "header_hash" "mix_hash" nonce, height, "target"
|
|
1937
2505
|
|
|
1938
2506
|
Get the kawpow hash for a block given its block data
|
|
1939
2507
|
|
|
@@ -1950,9 +2518,13 @@ Examples:
|
|
|
1950
2518
|
> neurai-cli getkawpowhash "header_hash" "mix_hash" "0x100000" 2456
|
|
1951
2519
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getkawpowhash", "params": ["header_hash" "mix_hash" "0x100000" 2456] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1952
2520
|
**/
|
|
1953
|
-
|
|
2521
|
+
getkawpowhash:'getkawpowhash',
|
|
1954
2522
|
|
|
1955
|
-
|
|
2523
|
+
|
|
2524
|
+
|
|
2525
|
+
|
|
2526
|
+
|
|
2527
|
+
/** getmasterkeyinfo
|
|
1956
2528
|
|
|
1957
2529
|
Fetches and displays the master private key and the master public key.
|
|
1958
2530
|
|
|
@@ -1969,9 +2541,13 @@ Examples:
|
|
|
1969
2541
|
> neurai-cli getmasterkeyinfo
|
|
1970
2542
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmasterkeyinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1971
2543
|
**/
|
|
1972
|
-
|
|
2544
|
+
getmasterkeyinfo:'getmasterkeyinfo',
|
|
2545
|
+
|
|
2546
|
+
|
|
2547
|
+
|
|
2548
|
+
|
|
1973
2549
|
|
|
1974
|
-
|
|
2550
|
+
/** getmemoryinfo ("mode")
|
|
1975
2551
|
Returns an object containing information about memory usage.
|
|
1976
2552
|
Arguments:
|
|
1977
2553
|
1. "mode" determines what kind of information is returned. This argument is optional, the default mode is "stats".
|
|
@@ -1997,9 +2573,13 @@ Examples:
|
|
|
1997
2573
|
> neurai-cli getmemoryinfo
|
|
1998
2574
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmemoryinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
1999
2575
|
**/
|
|
2000
|
-
|
|
2576
|
+
getmemoryinfo:'getmemoryinfo',
|
|
2001
2577
|
|
|
2002
|
-
|
|
2578
|
+
|
|
2579
|
+
|
|
2580
|
+
|
|
2581
|
+
|
|
2582
|
+
/** getmempoolancestors txid (verbose)
|
|
2003
2583
|
|
|
2004
2584
|
If txid is in the mempool, returns all in-mempool ancestors.
|
|
2005
2585
|
|
|
@@ -2038,9 +2618,13 @@ Examples:
|
|
|
2038
2618
|
> neurai-cli getmempoolancestors "mytxid"
|
|
2039
2619
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmempoolancestors", "params": ["mytxid"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2040
2620
|
**/
|
|
2041
|
-
|
|
2621
|
+
getmempoolancestors:'getmempoolancestors',
|
|
2622
|
+
|
|
2623
|
+
|
|
2624
|
+
|
|
2625
|
+
|
|
2042
2626
|
|
|
2043
|
-
|
|
2627
|
+
/** getmempooldescendants txid (verbose)
|
|
2044
2628
|
|
|
2045
2629
|
If txid is in the mempool, returns all in-mempool descendants.
|
|
2046
2630
|
|
|
@@ -2079,9 +2663,13 @@ Examples:
|
|
|
2079
2663
|
> neurai-cli getmempooldescendants "mytxid"
|
|
2080
2664
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmempooldescendants", "params": ["mytxid"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2081
2665
|
**/
|
|
2082
|
-
|
|
2666
|
+
getmempooldescendants:'getmempooldescendants',
|
|
2083
2667
|
|
|
2084
|
-
|
|
2668
|
+
|
|
2669
|
+
|
|
2670
|
+
|
|
2671
|
+
|
|
2672
|
+
/** getmempoolentry txid
|
|
2085
2673
|
|
|
2086
2674
|
Returns mempool data for given transaction
|
|
2087
2675
|
|
|
@@ -2111,9 +2699,13 @@ Examples:
|
|
|
2111
2699
|
> neurai-cli getmempoolentry "mytxid"
|
|
2112
2700
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmempoolentry", "params": ["mytxid"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2113
2701
|
**/
|
|
2114
|
-
|
|
2702
|
+
getmempoolentry:'getmempoolentry',
|
|
2703
|
+
|
|
2704
|
+
|
|
2705
|
+
|
|
2706
|
+
|
|
2115
2707
|
|
|
2116
|
-
|
|
2708
|
+
/** getmempoolinfo
|
|
2117
2709
|
|
|
2118
2710
|
Returns details on the active state of the TX memory pool.
|
|
2119
2711
|
|
|
@@ -2130,9 +2722,13 @@ Examples:
|
|
|
2130
2722
|
> neurai-cli getmempoolinfo
|
|
2131
2723
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmempoolinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2132
2724
|
**/
|
|
2133
|
-
|
|
2725
|
+
getmempoolinfo:'getmempoolinfo',
|
|
2134
2726
|
|
|
2135
|
-
|
|
2727
|
+
|
|
2728
|
+
|
|
2729
|
+
|
|
2730
|
+
|
|
2731
|
+
/** getmininginfo
|
|
2136
2732
|
|
|
2137
2733
|
Returns a json object containing mining-related information.
|
|
2138
2734
|
Result:
|
|
@@ -2153,9 +2749,13 @@ Examples:
|
|
|
2153
2749
|
> neurai-cli getmininginfo
|
|
2154
2750
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmininginfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2155
2751
|
**/
|
|
2156
|
-
|
|
2752
|
+
getmininginfo:'getmininginfo',
|
|
2753
|
+
|
|
2754
|
+
|
|
2755
|
+
|
|
2756
|
+
|
|
2157
2757
|
|
|
2158
|
-
|
|
2758
|
+
/** getmywords ( "account" )
|
|
2159
2759
|
|
|
2160
2760
|
Returns the 12 words and passphrase used by BIP39 to generate the wallets private keys
|
|
2161
2761
|
Only returns value if wallet was created by the 12 words import/generation
|
|
@@ -2168,9 +2768,13 @@ Examples:
|
|
|
2168
2768
|
> neurai-cli getmywords
|
|
2169
2769
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmywords", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2170
2770
|
**/
|
|
2171
|
-
|
|
2771
|
+
getmywords:'getmywords',
|
|
2172
2772
|
|
|
2173
|
-
|
|
2773
|
+
|
|
2774
|
+
|
|
2775
|
+
|
|
2776
|
+
|
|
2777
|
+
/** getnettotals
|
|
2174
2778
|
|
|
2175
2779
|
Returns information about network traffic, including bytes in, bytes out,
|
|
2176
2780
|
and current time.
|
|
@@ -2195,9 +2799,13 @@ Examples:
|
|
|
2195
2799
|
> neurai-cli getnettotals
|
|
2196
2800
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnettotals", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2197
2801
|
**/
|
|
2198
|
-
|
|
2802
|
+
getnettotals:'getnettotals',
|
|
2803
|
+
|
|
2804
|
+
|
|
2805
|
+
|
|
2806
|
+
|
|
2199
2807
|
|
|
2200
|
-
|
|
2808
|
+
/** getnetworkhashps ( nblocks height )
|
|
2201
2809
|
|
|
2202
2810
|
Returns the estimated network hashes per second based on the last n blocks.
|
|
2203
2811
|
Pass in [blocks] to override # of blocks, -1 specifies since last difficulty change.
|
|
@@ -2214,9 +2822,13 @@ Examples:
|
|
|
2214
2822
|
> neurai-cli getnetworkhashps
|
|
2215
2823
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnetworkhashps", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2216
2824
|
**/
|
|
2217
|
-
|
|
2825
|
+
getnetworkhashps:'getnetworkhashps',
|
|
2218
2826
|
|
|
2219
|
-
|
|
2827
|
+
|
|
2828
|
+
|
|
2829
|
+
|
|
2830
|
+
|
|
2831
|
+
/** getnetworkinfo
|
|
2220
2832
|
Returns an object containing various state info regarding P2P networking.
|
|
2221
2833
|
|
|
2222
2834
|
Result:
|
|
@@ -2256,9 +2868,13 @@ Examples:
|
|
|
2256
2868
|
> neurai-cli getnetworkinfo
|
|
2257
2869
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnetworkinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2258
2870
|
**/
|
|
2259
|
-
|
|
2871
|
+
getnetworkinfo:'getnetworkinfo',
|
|
2872
|
+
|
|
2873
|
+
|
|
2874
|
+
|
|
2875
|
+
|
|
2260
2876
|
|
|
2261
|
-
|
|
2877
|
+
/** getnewaddress ( "account" )
|
|
2262
2878
|
|
|
2263
2879
|
Returns a new Neurai address for receiving payments.
|
|
2264
2880
|
If 'account' is specified (DEPRECATED), it is added to the address book
|
|
@@ -2274,9 +2890,13 @@ Examples:
|
|
|
2274
2890
|
> neurai-cli getnewaddress
|
|
2275
2891
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnewaddress", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2276
2892
|
**/
|
|
2277
|
-
|
|
2893
|
+
getnewaddress:'getnewaddress',
|
|
2278
2894
|
|
|
2279
|
-
|
|
2895
|
+
|
|
2896
|
+
|
|
2897
|
+
|
|
2898
|
+
|
|
2899
|
+
/** getpeerinfo
|
|
2280
2900
|
|
|
2281
2901
|
Returns data about each connected network node as a json array of objects.
|
|
2282
2902
|
|
|
@@ -2327,9 +2947,39 @@ Examples:
|
|
|
2327
2947
|
> neurai-cli getpeerinfo
|
|
2328
2948
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getpeerinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2329
2949
|
**/
|
|
2330
|
-
|
|
2950
|
+
getpeerinfo:'getpeerinfo',
|
|
2951
|
+
|
|
2952
|
+
|
|
2953
|
+
|
|
2954
|
+
|
|
2955
|
+
|
|
2956
|
+
/** getpubkey "address"
|
|
2957
|
+
|
|
2958
|
+
Returns the public key for an address that has revealed it by spending (requires pubkeyindex to be enabled).
|
|
2959
|
+
|
|
2960
|
+
Arguments:
|
|
2961
|
+
1. "address" (string, required) The Neurai address
|
|
2962
|
+
|
|
2963
|
+
Result:
|
|
2964
|
+
{
|
|
2965
|
+
"address": "address", (string) The Neurai address
|
|
2966
|
+
"pubkey": "hex", (string) The public key in hex format
|
|
2967
|
+
"revealed": true|false, (boolean) Whether the public key has been revealed
|
|
2968
|
+
"height": n, (numeric) Block height where it was revealed
|
|
2969
|
+
"txid": "hash" (string) Transaction ID where it was revealed
|
|
2970
|
+
}
|
|
2971
|
+
|
|
2972
|
+
Examples:
|
|
2973
|
+
> neurai-cli getpubkey "NXa1b2c3d4e5f6..."
|
|
2974
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getpubkey", "params": ["NXa1b2c3d4e5f6..."] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2975
|
+
**/
|
|
2976
|
+
getpubkey:'getpubkey',
|
|
2977
|
+
|
|
2331
2978
|
|
|
2332
|
-
|
|
2979
|
+
|
|
2980
|
+
|
|
2981
|
+
|
|
2982
|
+
/** getrawchangeaddress
|
|
2333
2983
|
|
|
2334
2984
|
Returns a new Neurai address, for receiving change.
|
|
2335
2985
|
This is for use with raw transactions, NOT normal use.
|
|
@@ -2341,9 +2991,13 @@ Examples:
|
|
|
2341
2991
|
> neurai-cli getrawchangeaddress
|
|
2342
2992
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrawchangeaddress", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2343
2993
|
**/
|
|
2344
|
-
|
|
2994
|
+
getrawchangeaddress:'getrawchangeaddress',
|
|
2995
|
+
|
|
2345
2996
|
|
|
2346
|
-
|
|
2997
|
+
|
|
2998
|
+
|
|
2999
|
+
|
|
3000
|
+
/** getrawmempool ( verbose )
|
|
2347
3001
|
|
|
2348
3002
|
Returns all transaction ids in memory pool as a json array of string transaction ids.
|
|
2349
3003
|
|
|
@@ -2383,9 +3037,13 @@ Examples:
|
|
|
2383
3037
|
> neurai-cli getrawmempool true
|
|
2384
3038
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrawmempool", "params": [true] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2385
3039
|
**/
|
|
2386
|
-
|
|
3040
|
+
getrawmempool:'getrawmempool',
|
|
3041
|
+
|
|
2387
3042
|
|
|
2388
|
-
|
|
3043
|
+
|
|
3044
|
+
|
|
3045
|
+
|
|
3046
|
+
/** getrawtransaction "txid" ( verbose )
|
|
2389
3047
|
|
|
2390
3048
|
NOTE: By default this function only works for mempool transactions. If the -txindex option is
|
|
2391
3049
|
enabled, it also works for blockchain transactions.
|
|
@@ -2453,9 +3111,13 @@ Examples:
|
|
|
2453
3111
|
> neurai-cli getrawtransaction "mytxid" true
|
|
2454
3112
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrawtransaction", "params": ["mytxid", true] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2455
3113
|
**/
|
|
2456
|
-
|
|
3114
|
+
getrawtransaction:'getrawtransaction',
|
|
3115
|
+
|
|
2457
3116
|
|
|
2458
|
-
|
|
3117
|
+
|
|
3118
|
+
|
|
3119
|
+
|
|
3120
|
+
/** getreceivedbyaccount "account" ( minconf )
|
|
2459
3121
|
|
|
2460
3122
|
DEPRECATED. Returns the total amount received by addresses with <account> in transactions with at least [minconf] confirmations.
|
|
2461
3123
|
|
|
@@ -2480,9 +3142,13 @@ The amount with at least 6 confirmations
|
|
|
2480
3142
|
As a json rpc call
|
|
2481
3143
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getreceivedbyaccount", "params": ["tabby", 6] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2482
3144
|
**/
|
|
2483
|
-
|
|
3145
|
+
getreceivedbyaccount:'getreceivedbyaccount',
|
|
3146
|
+
|
|
2484
3147
|
|
|
2485
|
-
|
|
3148
|
+
|
|
3149
|
+
|
|
3150
|
+
|
|
3151
|
+
/** getreceivedbyaddress "address" ( minconf )
|
|
2486
3152
|
|
|
2487
3153
|
Returns the total amount received by the given address in transactions with at least minconf confirmations.
|
|
2488
3154
|
|
|
@@ -2507,9 +3173,13 @@ The amount with at least 6 confirmations
|
|
|
2507
3173
|
As a json rpc call
|
|
2508
3174
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getreceivedbyaddress", "params": ["1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX", 6] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2509
3175
|
**/
|
|
2510
|
-
|
|
3176
|
+
getreceivedbyaddress:'getreceivedbyaddress',
|
|
3177
|
+
|
|
2511
3178
|
|
|
2512
|
-
|
|
3179
|
+
|
|
3180
|
+
|
|
3181
|
+
|
|
3182
|
+
/** getrpcinfo
|
|
2513
3183
|
Returns details of the RPC server.
|
|
2514
3184
|
|
|
2515
3185
|
Result:
|
|
@@ -2525,9 +3195,13 @@ Result:
|
|
|
2525
3195
|
> neurai-cli getrpcinfo
|
|
2526
3196
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrpcinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2527
3197
|
**/
|
|
2528
|
-
|
|
3198
|
+
getrpcinfo:'getrpcinfo',
|
|
3199
|
+
|
|
2529
3200
|
|
|
2530
|
-
|
|
3201
|
+
|
|
3202
|
+
|
|
3203
|
+
|
|
3204
|
+
/** getsnapshot "asset_name" block_height
|
|
2531
3205
|
|
|
2532
3206
|
Returns details for the asset snapshot, at the specified height
|
|
2533
3207
|
|
|
@@ -2549,9 +3223,13 @@ Result:
|
|
|
2549
3223
|
Examples:
|
|
2550
3224
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getsnapshot", "params": ["ASSET_NAME" 28546] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2551
3225
|
**/
|
|
2552
|
-
|
|
3226
|
+
getsnapshot:'getsnapshot',
|
|
3227
|
+
|
|
2553
3228
|
|
|
2554
|
-
|
|
3229
|
+
|
|
3230
|
+
|
|
3231
|
+
|
|
3232
|
+
/** getsnapshotrequest "asset_name" block_height
|
|
2555
3233
|
|
|
2556
3234
|
Retrieves the specified snapshot request details.
|
|
2557
3235
|
|
|
@@ -2569,9 +3247,13 @@ Examples:
|
|
|
2569
3247
|
> neurai-cli getsnapshotrequest "TRONCO" 12345
|
|
2570
3248
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getsnapshotrequest", "params": ["PHATSTACKS" 34987] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2571
3249
|
**/
|
|
2572
|
-
|
|
3250
|
+
getsnapshotrequest:'getsnapshotrequest',
|
|
3251
|
+
|
|
2573
3252
|
|
|
2574
|
-
|
|
3253
|
+
|
|
3254
|
+
|
|
3255
|
+
|
|
3256
|
+
/** getspentinfo
|
|
2575
3257
|
|
|
2576
3258
|
Returns the txid and index where an output is spent.
|
|
2577
3259
|
|
|
@@ -2592,9 +3274,13 @@ Examples:
|
|
|
2592
3274
|
> neurai-cli getspentinfo '{"txid": "0437cd7f8525ceed2324359c2d0ba26006d92d856a9c20fa0241106ee5a597c9", "index": 0}'
|
|
2593
3275
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getspentinfo", "params": [{"txid": "0437cd7f8525ceed2324359c2d0ba26006d92d856a9c20fa0241106ee5a597c9", "index": 0}] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2594
3276
|
**/
|
|
2595
|
-
|
|
3277
|
+
getspentinfo:'getspentinfo',
|
|
3278
|
+
|
|
2596
3279
|
|
|
2597
|
-
|
|
3280
|
+
|
|
3281
|
+
|
|
3282
|
+
|
|
3283
|
+
/** gettransaction "txid" ( include_watchonly )
|
|
2598
3284
|
|
|
2599
3285
|
Get detailed information about in-wallet transaction <txid>
|
|
2600
3286
|
|
|
@@ -2650,9 +3336,13 @@ Examples:
|
|
|
2650
3336
|
> neurai-cli gettransaction "1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d" true
|
|
2651
3337
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "gettransaction", "params": ["1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2652
3338
|
**/
|
|
2653
|
-
|
|
3339
|
+
gettransaction:'gettransaction',
|
|
3340
|
+
|
|
2654
3341
|
|
|
2655
|
-
|
|
3342
|
+
|
|
3343
|
+
|
|
3344
|
+
|
|
3345
|
+
/** gettxout "txid" n ( include_mempool )
|
|
2656
3346
|
|
|
2657
3347
|
Returns details about an unspent transaction output.
|
|
2658
3348
|
|
|
@@ -2690,9 +3380,13 @@ View the details
|
|
|
2690
3380
|
As a json rpc call
|
|
2691
3381
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "gettxout", "params": ["txid", 1] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2692
3382
|
**/
|
|
2693
|
-
|
|
3383
|
+
gettxout:'gettxout',
|
|
3384
|
+
|
|
2694
3385
|
|
|
2695
|
-
|
|
3386
|
+
|
|
3387
|
+
|
|
3388
|
+
|
|
3389
|
+
/** gettxoutproof ["txid",...] ( blockhash )
|
|
2696
3390
|
|
|
2697
3391
|
Returns a hex-encoded proof that "txid" was included in a block.
|
|
2698
3392
|
|
|
@@ -2712,9 +3406,13 @@ Arguments:
|
|
|
2712
3406
|
Result:
|
|
2713
3407
|
"data" (string) A string that is a serialized, hex-encoded data for the proof.
|
|
2714
3408
|
**/
|
|
2715
|
-
|
|
3409
|
+
gettxoutproof:'gettxoutproof',
|
|
3410
|
+
|
|
2716
3411
|
|
|
2717
|
-
|
|
3412
|
+
|
|
3413
|
+
|
|
3414
|
+
|
|
3415
|
+
/** gettxoutsetinfo
|
|
2718
3416
|
|
|
2719
3417
|
Returns statistics about the unspent transaction output set.
|
|
2720
3418
|
Note this call may take some time.
|
|
@@ -2735,14 +3433,22 @@ Examples:
|
|
|
2735
3433
|
> neurai-cli gettxoutsetinfo
|
|
2736
3434
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "gettxoutsetinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2737
3435
|
**/
|
|
2738
|
-
|
|
3436
|
+
gettxoutsetinfo:'gettxoutsetinfo',
|
|
3437
|
+
|
|
2739
3438
|
|
|
2740
|
-
|
|
3439
|
+
|
|
3440
|
+
|
|
3441
|
+
|
|
3442
|
+
/** getunconfirmedbalance
|
|
2741
3443
|
Returns the server's total unconfirmed balance
|
|
2742
3444
|
**/
|
|
2743
|
-
|
|
3445
|
+
getunconfirmedbalance:'getunconfirmedbalance',
|
|
3446
|
+
|
|
2744
3447
|
|
|
2745
|
-
|
|
3448
|
+
|
|
3449
|
+
|
|
3450
|
+
|
|
3451
|
+
/** getverifierstring restricted_name
|
|
2746
3452
|
|
|
2747
3453
|
Retrieve the verifier string that belongs to the given restricted asset
|
|
2748
3454
|
|
|
@@ -2756,9 +3462,13 @@ Examples:
|
|
|
2756
3462
|
> neurai-cli getverifierstring "restricted_name"
|
|
2757
3463
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getverifierstring", "params": ["restricted_name"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2758
3464
|
**/
|
|
2759
|
-
|
|
3465
|
+
getverifierstring:'getverifierstring',
|
|
3466
|
+
|
|
2760
3467
|
|
|
2761
|
-
|
|
3468
|
+
|
|
3469
|
+
|
|
3470
|
+
|
|
3471
|
+
/** getwalletinfo
|
|
2762
3472
|
Returns an object containing various wallet state info.
|
|
2763
3473
|
|
|
2764
3474
|
Result:
|
|
@@ -2782,9 +3492,13 @@ Examples:
|
|
|
2782
3492
|
> neurai-cli getwalletinfo
|
|
2783
3493
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getwalletinfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2784
3494
|
**/
|
|
2785
|
-
|
|
3495
|
+
getwalletinfo:'getwalletinfo',
|
|
3496
|
+
|
|
2786
3497
|
|
|
2787
|
-
|
|
3498
|
+
|
|
3499
|
+
|
|
3500
|
+
|
|
3501
|
+
/** help ( "command" )
|
|
2788
3502
|
|
|
2789
3503
|
List all commands, or get help for a specified command.
|
|
2790
3504
|
|
|
@@ -2794,9 +3508,13 @@ Arguments:
|
|
|
2794
3508
|
Result:
|
|
2795
3509
|
"text" (string) The help text
|
|
2796
3510
|
**/
|
|
2797
|
-
|
|
3511
|
+
help:'help',
|
|
3512
|
+
|
|
2798
3513
|
|
|
2799
|
-
|
|
3514
|
+
|
|
3515
|
+
|
|
3516
|
+
|
|
3517
|
+
/** importaddress "address" ( "label" rescan p2sh )
|
|
2800
3518
|
|
|
2801
3519
|
Adds a script (in hex) or address that can be watched as if it were in your wallet but cannot be used to spend.
|
|
2802
3520
|
|
|
@@ -2823,9 +3541,13 @@ Import using a label without rescan
|
|
|
2823
3541
|
As a JSON-RPC call
|
|
2824
3542
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "importaddress", "params": ["myscript", "testing", false] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2825
3543
|
**/
|
|
2826
|
-
|
|
3544
|
+
importaddress:'importaddress',
|
|
3545
|
+
|
|
2827
3546
|
|
|
2828
|
-
|
|
3547
|
+
|
|
3548
|
+
|
|
3549
|
+
|
|
3550
|
+
/** importmulti "requests" ( "options" )
|
|
2829
3551
|
|
|
2830
3552
|
Import addresses/scripts (with private or public keys, redeem script (P2SH)), rescanning all addresses in one-shot-only (rescan can be disabled via options).
|
|
2831
3553
|
|
|
@@ -2861,9 +3583,13 @@ Examples:
|
|
|
2861
3583
|
Response is an array with the same size as the input that has the execution result :
|
|
2862
3584
|
[{ "success": true } , { "success": false, "error": { "code": -1, "message": "Internal Server Error"} }, ... ]
|
|
2863
3585
|
**/
|
|
2864
|
-
|
|
3586
|
+
importmulti:'importmulti',
|
|
3587
|
+
|
|
2865
3588
|
|
|
2866
|
-
|
|
3589
|
+
|
|
3590
|
+
|
|
3591
|
+
|
|
3592
|
+
/** importprivkey "privkey" ( "label" ) ( rescan )
|
|
2867
3593
|
|
|
2868
3594
|
Adds a private key (as returned by dumpprivkey) to your wallet.
|
|
2869
3595
|
|
|
@@ -2891,9 +3617,13 @@ Import using default blank label and without rescan
|
|
|
2891
3617
|
As a JSON-RPC call
|
|
2892
3618
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "importprivkey", "params": ["mykey", "testing", false] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2893
3619
|
**/
|
|
2894
|
-
|
|
3620
|
+
importprivkey:'importprivkey',
|
|
3621
|
+
|
|
2895
3622
|
|
|
2896
|
-
|
|
3623
|
+
|
|
3624
|
+
|
|
3625
|
+
|
|
3626
|
+
/** importprunedfunds
|
|
2897
3627
|
|
|
2898
3628
|
Imports funds without rescan. Corresponding address or script must previously be included in wallet. Aimed towards pruned wallets. The end-user is responsible to import additional transactions that subsequently spend the imported outputs or rescan after the point in the blockchain the transaction is included.
|
|
2899
3629
|
|
|
@@ -2901,9 +3631,13 @@ Arguments:
|
|
|
2901
3631
|
1. "rawtransaction" (string, required) A raw transaction in hex funding an already-existing address in wallet
|
|
2902
3632
|
2. "txoutproof" (string, required) The hex output from gettxoutproof that contains the transaction
|
|
2903
3633
|
**/
|
|
2904
|
-
|
|
3634
|
+
importprunedfunds:'importprunedfunds',
|
|
3635
|
+
|
|
2905
3636
|
|
|
2906
|
-
|
|
3637
|
+
|
|
3638
|
+
|
|
3639
|
+
|
|
3640
|
+
/** importpubkey "pubkey" ( "label" rescan )
|
|
2907
3641
|
|
|
2908
3642
|
Adds a public key (in hex) that can be watched as if it were in your wallet but cannot be used to spend.
|
|
2909
3643
|
|
|
@@ -2925,9 +3659,13 @@ Import using a label without rescan
|
|
|
2925
3659
|
As a JSON-RPC call
|
|
2926
3660
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "importpubkey", "params": ["mypubkey", "testing", false] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2927
3661
|
**/
|
|
2928
|
-
|
|
3662
|
+
importpubkey:'importpubkey',
|
|
3663
|
+
|
|
2929
3664
|
|
|
2930
|
-
|
|
3665
|
+
|
|
3666
|
+
|
|
3667
|
+
|
|
3668
|
+
/** importwallet "filename"
|
|
2931
3669
|
|
|
2932
3670
|
Imports keys from a wallet dump file (see dumpwallet).
|
|
2933
3671
|
|
|
@@ -2945,9 +3683,13 @@ Import the wallet
|
|
|
2945
3683
|
Import using the json rpc call
|
|
2946
3684
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "importwallet", "params": ["test"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
2947
3685
|
**/
|
|
2948
|
-
|
|
3686
|
+
importwallet:'importwallet',
|
|
3687
|
+
|
|
2949
3688
|
|
|
2950
|
-
|
|
3689
|
+
|
|
3690
|
+
|
|
3691
|
+
|
|
3692
|
+
/** issue "asset_name" qty "( to_address )" "( change_address )" ( units ) ( reissuable ) ( has_ipfs ) "( ipfs_hash )"
|
|
2951
3693
|
|
|
2952
3694
|
Issue an asset, subasset or unique asset.
|
|
2953
3695
|
Asset name must not conflict with any existing asset.
|
|
@@ -2977,9 +3719,13 @@ Examples:
|
|
|
2977
3719
|
> neurai-cli issue "ASSET_NAME/SUB_ASSET" 1000 "myaddress" "changeaddress" 2 true
|
|
2978
3720
|
> neurai-cli issue "ASSET_NAME#uniquetag"
|
|
2979
3721
|
**/
|
|
2980
|
-
|
|
3722
|
+
issue:'issue',
|
|
3723
|
+
|
|
2981
3724
|
|
|
2982
|
-
|
|
3725
|
+
|
|
3726
|
+
|
|
3727
|
+
|
|
3728
|
+
/** issuequalifierasset "asset_name" qty "( to_address )" "( change_address )" ( has_ipfs ) "( ipfs_hash )"
|
|
2983
3729
|
|
|
2984
3730
|
Issue an qualifier or sub qualifier asset
|
|
2985
3731
|
If the '#' character isn't added, it will be added automatically
|
|
@@ -3008,9 +3754,13 @@ Examples:
|
|
|
3008
3754
|
> neurai-cli issuequalifierasset "ASSET_NAME/SUB_QUALIFIER" 1000 "myaddress" "changeaddress"
|
|
3009
3755
|
> neurai-cli issuequalifierasset "#ASSET_NAME"
|
|
3010
3756
|
**/
|
|
3011
|
-
|
|
3757
|
+
issuequalifierasset:'issuequalifierasset',
|
|
3758
|
+
|
|
3012
3759
|
|
|
3013
|
-
|
|
3760
|
+
|
|
3761
|
+
|
|
3762
|
+
|
|
3763
|
+
/** issuerestrictedasset "asset_name" qty "verifier" "to_address" "( change_address )" (units) ( reissuable ) ( has_ipfs ) "( ipfs_hash )"
|
|
3014
3764
|
|
|
3015
3765
|
Issue a restricted asset.
|
|
3016
3766
|
Restricted asset names must not conflict with any existing restricted asset.
|
|
@@ -3038,9 +3788,13 @@ Examples:
|
|
|
3038
3788
|
> neurai-cli issuerestrictedasset "$ASSET_NAME" 1000 "#KYC & !#AML" "myaddress" "changeaddress" 8 true
|
|
3039
3789
|
> neurai-cli issuerestrictedasset "$ASSET_NAME" 1000 "#KYC & !#AML" "myaddress" "changeaddress" 0 false true QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E
|
|
3040
3790
|
**/
|
|
3041
|
-
|
|
3791
|
+
issuerestrictedasset:'issuerestrictedasset',
|
|
3792
|
+
|
|
3042
3793
|
|
|
3043
|
-
|
|
3794
|
+
|
|
3795
|
+
|
|
3796
|
+
|
|
3797
|
+
/** issueunique "root_name" [asset_tags] ( [ipfs_hashes] ) "( to_address )" "( change_address )"
|
|
3044
3798
|
|
|
3045
3799
|
Issue unique asset(s).
|
|
3046
3800
|
root_name must be an asset you own.
|
|
@@ -3062,9 +3816,13 @@ Examples:
|
|
|
3062
3816
|
> neurai-cli issueunique "MY_ASSET" '["primo","secundo"]'
|
|
3063
3817
|
> neurai-cli issueunique "MY_ASSET" '["primo","secundo"]' '["first_hash","second_hash"]'
|
|
3064
3818
|
**/
|
|
3065
|
-
|
|
3819
|
+
issueunique:'issueunique',
|
|
3820
|
+
|
|
3066
3821
|
|
|
3067
|
-
|
|
3822
|
+
|
|
3823
|
+
|
|
3824
|
+
|
|
3825
|
+
/** isvalidverifierstring verifier_string
|
|
3068
3826
|
|
|
3069
3827
|
Checks to see if the given verifier string is valid
|
|
3070
3828
|
|
|
@@ -3078,9 +3836,13 @@ Examples:
|
|
|
3078
3836
|
> neurai-cli isvalidverifierstring "verifier_string"
|
|
3079
3837
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "isvalidverifierstring", "params": ["verifier_string"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
3080
3838
|
**/
|
|
3081
|
-
|
|
3839
|
+
isvalidverifierstring:'isvalidverifierstring',
|
|
3840
|
+
|
|
3082
3841
|
|
|
3083
|
-
|
|
3842
|
+
|
|
3843
|
+
|
|
3844
|
+
|
|
3845
|
+
/** keypoolrefill ( newsize )
|
|
3084
3846
|
|
|
3085
3847
|
Fills the keypool.
|
|
3086
3848
|
|
|
@@ -3091,9 +3853,13 @@ Examples:
|
|
|
3091
3853
|
> neurai-cli keypoolrefill
|
|
3092
3854
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "keypoolrefill", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
3093
3855
|
**/
|
|
3094
|
-
|
|
3856
|
+
keypoolrefill:'keypoolrefill',
|
|
3857
|
+
|
|
3095
3858
|
|
|
3096
|
-
|
|
3859
|
+
|
|
3860
|
+
|
|
3861
|
+
|
|
3862
|
+
/** listaccounts ( minconf include_watchonly)
|
|
3097
3863
|
|
|
3098
3864
|
DEPRECATED. Returns Object that has account names as keys, account balances as values.
|
|
3099
3865
|
|
|
@@ -3121,9 +3887,13 @@ List account balances for 6 or more confirmations
|
|
|
3121
3887
|
As json rpc call
|
|
3122
3888
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listaccounts", "params": [6] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
3123
3889
|
**/
|
|
3124
|
-
|
|
3890
|
+
listaccounts:'listaccounts',
|
|
3891
|
+
|
|
3125
3892
|
|
|
3126
|
-
|
|
3893
|
+
|
|
3894
|
+
|
|
3895
|
+
|
|
3896
|
+
/** listaddressesbyasset "asset_name" (onlytotal) (count) (start)
|
|
3127
3897
|
|
|
3128
3898
|
Returns a list of all address that own the given asset (with balances)
|
|
3129
3899
|
Or returns the total size of how many address own the given asset
|
|
@@ -3143,9 +3913,13 @@ Examples:
|
|
|
3143
3913
|
> neurai-cli listaddressesbyasset "ASSET_NAME" true
|
|
3144
3914
|
> neurai-cli listaddressesbyasset "ASSET_NAME"
|
|
3145
3915
|
**/
|
|
3146
|
-
|
|
3916
|
+
listaddressesbyasset:'listaddressesbyasset',
|
|
3917
|
+
|
|
3147
3918
|
|
|
3148
|
-
|
|
3919
|
+
|
|
3920
|
+
|
|
3921
|
+
|
|
3922
|
+
/** listaddressesfortag tag_name
|
|
3149
3923
|
|
|
3150
3924
|
List all addresses that have been assigned a given tag
|
|
3151
3925
|
|
|
@@ -3161,9 +3935,13 @@ Examples:
|
|
|
3161
3935
|
> neurai-cli listaddressesfortag "#TAG"
|
|
3162
3936
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listaddressesfortag", "params": ["#TAG"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
3163
3937
|
**/
|
|
3164
|
-
|
|
3938
|
+
listaddressesfortag:'listaddressesfortag',
|
|
3939
|
+
|
|
3165
3940
|
|
|
3166
|
-
|
|
3941
|
+
|
|
3942
|
+
|
|
3943
|
+
|
|
3944
|
+
/** listaddressgroupings
|
|
3167
3945
|
|
|
3168
3946
|
Lists groups of addresses which have had their common ownership
|
|
3169
3947
|
made public by common use as inputs or as the resulting change
|
|
@@ -3186,9 +3964,13 @@ Examples:
|
|
|
3186
3964
|
> neurai-cli listaddressgroupings
|
|
3187
3965
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listaddressgroupings", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
3188
3966
|
**/
|
|
3189
|
-
|
|
3967
|
+
listaddressgroupings:'listaddressgroupings',
|
|
3968
|
+
|
|
3190
3969
|
|
|
3191
|
-
|
|
3970
|
+
|
|
3971
|
+
|
|
3972
|
+
|
|
3973
|
+
/** listaddressrestrictions address
|
|
3192
3974
|
|
|
3193
3975
|
List all assets that have frozen this address
|
|
3194
3976
|
|
|
@@ -3204,9 +3986,13 @@ Examples:
|
|
|
3204
3986
|
> neurai-cli listaddressrestrictions "address"
|
|
3205
3987
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listaddressrestrictions", "params": ["address"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
3206
3988
|
**/
|
|
3207
|
-
|
|
3989
|
+
listaddressrestrictions:'listaddressrestrictions',
|
|
3990
|
+
|
|
3208
3991
|
|
|
3209
|
-
|
|
3992
|
+
|
|
3993
|
+
|
|
3994
|
+
|
|
3995
|
+
/** listassetbalancesbyaddress "address" (onlytotal) (count) (start)
|
|
3210
3996
|
|
|
3211
3997
|
Returns a list of all asset balances for an address.
|
|
3212
3998
|
|
|
@@ -3227,9 +4013,13 @@ Examples:
|
|
|
3227
4013
|
> neurai-cli listassetbalancesbyaddress "myaddress" true
|
|
3228
4014
|
> neurai-cli listassetbalancesbyaddress "myaddress"
|
|
3229
4015
|
**/
|
|
3230
|
-
|
|
4016
|
+
listassetbalancesbyaddress:'listassetbalancesbyaddress',
|
|
4017
|
+
|
|
3231
4018
|
|
|
3232
|
-
|
|
4019
|
+
|
|
4020
|
+
|
|
4021
|
+
|
|
4022
|
+
/** listassets "( asset )" ( verbose ) ( count ) ( start )
|
|
3233
4023
|
|
|
3234
4024
|
Returns a list of all assets
|
|
3235
4025
|
|
|
@@ -3266,9 +4056,13 @@ Examples:
|
|
|
3266
4056
|
> neurai-cli listassets ASSET
|
|
3267
4057
|
> neurai-cli listassets "ASSET*" true 10 20
|
|
3268
4058
|
**/
|
|
3269
|
-
|
|
4059
|
+
listassets:'listassets',
|
|
4060
|
+
|
|
3270
4061
|
|
|
3271
|
-
|
|
4062
|
+
|
|
4063
|
+
|
|
4064
|
+
|
|
4065
|
+
/** listbanned
|
|
3272
4066
|
|
|
3273
4067
|
List all banned IPs/Subnets.
|
|
3274
4068
|
|
|
@@ -3276,9 +4070,42 @@ Examples:
|
|
|
3276
4070
|
> neurai-cli listbanned
|
|
3277
4071
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listbanned", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
3278
4072
|
**/
|
|
3279
|
-
|
|
4073
|
+
listbanned:'listbanned',
|
|
4074
|
+
|
|
4075
|
+
|
|
4076
|
+
|
|
4077
|
+
|
|
4078
|
+
|
|
4079
|
+
/** listdepinholders "asset_name"
|
|
4080
|
+
|
|
4081
|
+
Returns all addresses holding a DEPIN asset with validity status
|
|
4082
|
+
|
|
4083
|
+
DEPIN assets are soulbound (non-transferable except by owner) and can be frozen/revoked
|
|
4084
|
+
|
|
4085
|
+
Arguments:
|
|
4086
|
+
1. "asset_name" (string, required) The DEPIN asset name (must start with &)
|
|
4087
|
+
|
|
4088
|
+
Result:
|
|
4089
|
+
[
|
|
4090
|
+
{
|
|
4091
|
+
"address": "address", (string) The address
|
|
4092
|
+
"amount": n, (numeric) The amount (always 1 for DEPIN)
|
|
4093
|
+
"valid": 1|0 (numeric) 1 = active/valid, 0 = blocked/revoked
|
|
4094
|
+
},
|
|
4095
|
+
...
|
|
4096
|
+
]
|
|
4097
|
+
|
|
4098
|
+
Examples:
|
|
4099
|
+
> neurai-cli listdepinholders "&FRANCE"
|
|
4100
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listdepinholders", "params": ["&FRANCE"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
4101
|
+
**/
|
|
4102
|
+
listdepinholders:'listdepinholders',
|
|
4103
|
+
|
|
4104
|
+
|
|
3280
4105
|
|
|
3281
|
-
|
|
4106
|
+
|
|
4107
|
+
|
|
4108
|
+
/** listglobalrestrictions
|
|
3282
4109
|
|
|
3283
4110
|
List all global restricted assets
|
|
3284
4111
|
|
|
@@ -3291,9 +4118,13 @@ Examples:
|
|
|
3291
4118
|
> neurai-cli listglobalrestrictions
|
|
3292
4119
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listglobalrestrictions", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
3293
4120
|
**/
|
|
3294
|
-
|
|
4121
|
+
listglobalrestrictions:'listglobalrestrictions',
|
|
4122
|
+
|
|
4123
|
+
|
|
3295
4124
|
|
|
3296
|
-
|
|
4125
|
+
|
|
4126
|
+
|
|
4127
|
+
/** listlockunspent
|
|
3297
4128
|
|
|
3298
4129
|
Returns list of temporarily unspendable outputs.
|
|
3299
4130
|
See the lockunspent call to lock and unlock transactions for spending.
|
|
@@ -3324,9 +4155,13 @@ Unlock the transaction again
|
|
|
3324
4155
|
As a json rpc call
|
|
3325
4156
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listlockunspent", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
3326
4157
|
**/
|
|
3327
|
-
|
|
4158
|
+
listlockunspent:'listlockunspent',
|
|
4159
|
+
|
|
4160
|
+
|
|
3328
4161
|
|
|
3329
|
-
|
|
4162
|
+
|
|
4163
|
+
|
|
4164
|
+
/** listmyassets "( asset )" ( verbose ) ( count ) ( start ) (confs)
|
|
3330
4165
|
|
|
3331
4166
|
Returns a list of all asset that are owned by this wallet
|
|
3332
4167
|
|
|
@@ -3367,9 +4202,13 @@ Examples:
|
|
|
3367
4202
|
> neurai-cli listmyassets "ASSET*" true 10 20
|
|
3368
4203
|
> neurai-cli listmyassets "ASSET*" true 10 20 1
|
|
3369
4204
|
**/
|
|
3370
|
-
|
|
4205
|
+
listmyassets:'listmyassets',
|
|
4206
|
+
|
|
4207
|
+
|
|
3371
4208
|
|
|
3372
|
-
|
|
4209
|
+
|
|
4210
|
+
|
|
4211
|
+
/** listreceivedbyaccount ( minconf include_empty include_watchonly)
|
|
3373
4212
|
|
|
3374
4213
|
DEPRECATED. List balances by account.
|
|
3375
4214
|
|
|
@@ -3395,9 +4234,13 @@ Examples:
|
|
|
3395
4234
|
> neurai-cli listreceivedbyaccount 6 true
|
|
3396
4235
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listreceivedbyaccount", "params": [6, true, true] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
3397
4236
|
**/
|
|
3398
|
-
|
|
4237
|
+
listreceivedbyaccount:'listreceivedbyaccount',
|
|
4238
|
+
|
|
4239
|
+
|
|
3399
4240
|
|
|
3400
|
-
|
|
4241
|
+
|
|
4242
|
+
|
|
4243
|
+
/** listreceivedbyaddress ( minconf include_empty include_watchonly)
|
|
3401
4244
|
|
|
3402
4245
|
List balances by receiving address.
|
|
3403
4246
|
|
|
@@ -3428,9 +4271,13 @@ Examples:
|
|
|
3428
4271
|
> neurai-cli listreceivedbyaddress 6 true
|
|
3429
4272
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listreceivedbyaddress", "params": [6, true, true] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
3430
4273
|
**/
|
|
3431
|
-
|
|
4274
|
+
listreceivedbyaddress:'listreceivedbyaddress',
|
|
4275
|
+
|
|
4276
|
+
|
|
3432
4277
|
|
|
3433
|
-
|
|
4278
|
+
|
|
4279
|
+
|
|
4280
|
+
/** listsinceblock ( "blockhash" target_confirmations include_watchonly include_removed )
|
|
3434
4281
|
|
|
3435
4282
|
Get all transactions in blocks since block [blockhash], or all transactions if omitted.
|
|
3436
4283
|
If "blockhash" is no longer a part of the main chain, transactions from the fork point onward are included.
|
|
@@ -3480,9 +4327,13 @@ Examples:
|
|
|
3480
4327
|
> neurai-cli listsinceblock "000000000000000bacf66f7497b7dc45ef753ee9a7d38571037cdb1a57f663ad" 6
|
|
3481
4328
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listsinceblock", "params": ["000000000000000bacf66f7497b7dc45ef753ee9a7d38571037cdb1a57f663ad", 6] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
3482
4329
|
**/
|
|
3483
|
-
|
|
4330
|
+
listsinceblock:'listsinceblock',
|
|
4331
|
+
|
|
4332
|
+
|
|
3484
4333
|
|
|
3485
|
-
|
|
4334
|
+
|
|
4335
|
+
|
|
4336
|
+
/** listsnapshotrequests ["asset_name" [block_height]]
|
|
3486
4337
|
|
|
3487
4338
|
List snapshot request details.
|
|
3488
4339
|
|
|
@@ -3502,9 +4353,13 @@ Examples:
|
|
|
3502
4353
|
> neurai-cli listsnapshotrequests
|
|
3503
4354
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listsnapshotrequests", "params": ["TRONCO" 345333] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
3504
4355
|
**/
|
|
3505
|
-
|
|
4356
|
+
listsnapshotrequests:'listsnapshotrequests',
|
|
4357
|
+
|
|
4358
|
+
|
|
3506
4359
|
|
|
3507
|
-
|
|
4360
|
+
|
|
4361
|
+
|
|
4362
|
+
/** listtagsforaddress address
|
|
3508
4363
|
|
|
3509
4364
|
List all tags assigned to an address
|
|
3510
4365
|
|
|
@@ -3520,9 +4375,13 @@ Examples:
|
|
|
3520
4375
|
> neurai-cli listtagsforaddress "address"
|
|
3521
4376
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listtagsforaddress", "params": ["address"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
3522
4377
|
**/
|
|
3523
|
-
|
|
4378
|
+
listtagsforaddress:'listtagsforaddress',
|
|
4379
|
+
|
|
4380
|
+
|
|
3524
4381
|
|
|
3525
|
-
|
|
4382
|
+
|
|
4383
|
+
|
|
4384
|
+
/** listtransactions ( "account" count skip include_watchonly)
|
|
3526
4385
|
|
|
3527
4386
|
Returns up to 'count' most recent transactions skipping the first 'from' transactions for account 'account'.
|
|
3528
4387
|
|
|
@@ -3585,9 +4444,13 @@ List transactions 100 to 120
|
|
|
3585
4444
|
As a json rpc call
|
|
3586
4445
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listtransactions", "params": ["*", 20, 100] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
3587
4446
|
**/
|
|
3588
|
-
|
|
4447
|
+
listtransactions:'listtransactions',
|
|
4448
|
+
|
|
4449
|
+
|
|
3589
4450
|
|
|
3590
|
-
|
|
4451
|
+
|
|
4452
|
+
|
|
4453
|
+
/** listunspent ( minconf maxconf ["addresses",...] [include_unsafe] [query_options])
|
|
3591
4454
|
|
|
3592
4455
|
Returns array of unspent transaction outputs
|
|
3593
4456
|
with between minconf and maxconf (inclusive) confirmations.
|
|
@@ -3638,9 +4501,13 @@ Examples
|
|
|
3638
4501
|
> neurai-cli listunspent 6 9999999 '[]' true '{ "minimumAmount": 0.005 }'
|
|
3639
4502
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listunspent", "params": [6, 9999999, [] , true, { "minimumAmount": 0.005 } ] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
3640
4503
|
**/
|
|
3641
|
-
|
|
4504
|
+
listunspent:'listunspent',
|
|
4505
|
+
|
|
4506
|
+
|
|
3642
4507
|
|
|
3643
|
-
|
|
4508
|
+
|
|
4509
|
+
|
|
4510
|
+
/** listwallets
|
|
3644
4511
|
Returns a list of currently loaded wallets.
|
|
3645
4512
|
For full information on the wallet, use "getwalletinfo"
|
|
3646
4513
|
|
|
@@ -3654,9 +4521,13 @@ Examples:
|
|
|
3654
4521
|
> neurai-cli listwallets
|
|
3655
4522
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "listwallets", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
3656
4523
|
**/
|
|
3657
|
-
|
|
4524
|
+
listwallets:'listwallets',
|
|
4525
|
+
|
|
4526
|
+
|
|
3658
4527
|
|
|
3659
|
-
|
|
4528
|
+
|
|
4529
|
+
|
|
4530
|
+
/** lockunspent unlock ([{"txid":"txid","vout":n},...])
|
|
3660
4531
|
|
|
3661
4532
|
Updates list of temporarily unspendable outputs.
|
|
3662
4533
|
Temporarily lock (unlock=false) or unlock (unlock=true) specified transaction outputs.
|
|
@@ -3697,9 +4568,13 @@ Unlock the transaction again
|
|
|
3697
4568
|
As a json rpc call
|
|
3698
4569
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "lockunspent", "params": [false, "[{\"txid\":\"a08e6907dbbd3d809776dbfc5d82e371b764ed838b5655e72f463568df1aadf0\",\"vout\":1}]"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
3699
4570
|
**/
|
|
3700
|
-
|
|
4571
|
+
lockunspent:'lockunspent',
|
|
4572
|
+
|
|
4573
|
+
|
|
3701
4574
|
|
|
3702
|
-
|
|
4575
|
+
|
|
4576
|
+
|
|
4577
|
+
/** move "fromaccount" "toaccount" amount ( minconf "comment" )
|
|
3703
4578
|
|
|
3704
4579
|
DEPRECATED. Move a specified amount from one account in your wallet to another.
|
|
3705
4580
|
|
|
@@ -3724,9 +4599,13 @@ Move 0.01 XNA timotei to akiko with a comment and funds have 6 confirmations
|
|
|
3724
4599
|
As a json rpc call
|
|
3725
4600
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "move", "params": ["timotei", "akiko", 0.01, 6, "happy birthday!"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
3726
4601
|
**/
|
|
3727
|
-
|
|
4602
|
+
move:'move',
|
|
4603
|
+
|
|
4604
|
+
|
|
3728
4605
|
|
|
3729
|
-
|
|
4606
|
+
|
|
4607
|
+
|
|
4608
|
+
/** ping
|
|
3730
4609
|
|
|
3731
4610
|
Requests that a ping be sent to all other nodes, to measure ping time.
|
|
3732
4611
|
Results provided in getpeerinfo, pingtime and pingwait fields are decimal seconds.
|
|
@@ -3736,9 +4615,13 @@ Examples:
|
|
|
3736
4615
|
> neurai-cli ping
|
|
3737
4616
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "ping", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
3738
4617
|
**/
|
|
3739
|
-
|
|
4618
|
+
ping:'ping',
|
|
4619
|
+
|
|
4620
|
+
|
|
3740
4621
|
|
|
3741
|
-
|
|
4622
|
+
|
|
4623
|
+
|
|
4624
|
+
/** pprpcsb "header_hash" "mix_hash" "nonce"
|
|
3742
4625
|
|
|
3743
4626
|
Attempts to submit new block to network mined by kawpow gpu miner via rpc.
|
|
3744
4627
|
|
|
@@ -3753,9 +4636,13 @@ Examples:
|
|
|
3753
4636
|
> neurai-cli pprpcsb "header_hash" "mix_hash" 100000
|
|
3754
4637
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "pprpcsb", "params": ["header_hash" "mix_hash" 100000] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
3755
4638
|
**/
|
|
3756
|
-
|
|
4639
|
+
pprpcsb:'pprpcsb',
|
|
4640
|
+
|
|
4641
|
+
|
|
3757
4642
|
|
|
3758
|
-
|
|
4643
|
+
|
|
4644
|
+
|
|
4645
|
+
/** preciousblock "blockhash"
|
|
3759
4646
|
|
|
3760
4647
|
Treats a block as if it were received before others with the same work.
|
|
3761
4648
|
|
|
@@ -3772,9 +4659,13 @@ Examples:
|
|
|
3772
4659
|
> neurai-cli preciousblock "blockhash"
|
|
3773
4660
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "preciousblock", "params": ["blockhash"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
3774
4661
|
**/
|
|
3775
|
-
|
|
4662
|
+
preciousblock:'preciousblock',
|
|
4663
|
+
|
|
4664
|
+
|
|
3776
4665
|
|
|
3777
|
-
|
|
4666
|
+
|
|
4667
|
+
|
|
4668
|
+
/** prioritisetransaction <txid> <dummy value> <fee delta>
|
|
3778
4669
|
Accepts the transaction into mined blocks at a higher (or lower) priority
|
|
3779
4670
|
|
|
3780
4671
|
Arguments:
|
|
@@ -3792,9 +4683,13 @@ Examples:
|
|
|
3792
4683
|
> neurai-cli prioritisetransaction "txid" 0.0 10000
|
|
3793
4684
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "prioritisetransaction", "params": ["txid", 0.0, 10000] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
3794
4685
|
**/
|
|
3795
|
-
|
|
4686
|
+
prioritisetransaction:'prioritisetransaction',
|
|
4687
|
+
|
|
4688
|
+
|
|
3796
4689
|
|
|
3797
|
-
|
|
4690
|
+
|
|
4691
|
+
|
|
4692
|
+
/** pruneblockchain
|
|
3798
4693
|
|
|
3799
4694
|
Arguments:
|
|
3800
4695
|
1. "height" (numeric, required) The block height to prune up to. May be set to a discrete height, or a unix timestamp
|
|
@@ -3807,9 +4702,13 @@ Examples:
|
|
|
3807
4702
|
> neurai-cli pruneblockchain 1000
|
|
3808
4703
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "pruneblockchain", "params": [1000] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
3809
4704
|
**/
|
|
3810
|
-
|
|
4705
|
+
pruneblockchain:'pruneblockchain',
|
|
4706
|
+
|
|
4707
|
+
|
|
3811
4708
|
|
|
3812
|
-
|
|
4709
|
+
|
|
4710
|
+
|
|
4711
|
+
/** purgesnapshot "asset_name" block_height
|
|
3813
4712
|
|
|
3814
4713
|
Removes details for the asset snapshot, at the specified height
|
|
3815
4714
|
|
|
@@ -3827,9 +4726,13 @@ Examples:
|
|
|
3827
4726
|
> neurai-cli purgesnapshot "ASSET_NAME" 28546
|
|
3828
4727
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "purgesnapshot", "params": ["ASSET_NAME" 28546] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
3829
4728
|
**/
|
|
3830
|
-
|
|
4729
|
+
purgesnapshot:'purgesnapshot',
|
|
4730
|
+
|
|
4731
|
+
|
|
3831
4732
|
|
|
3832
|
-
|
|
4733
|
+
|
|
4734
|
+
|
|
4735
|
+
/** reissue "asset_name" qty "to_address" "change_address" ( reissuable ) ( new_units) "( new_ipfs )"
|
|
3833
4736
|
|
|
3834
4737
|
Reissues a quantity of an asset to an owned address if you own the Owner Token
|
|
3835
4738
|
Can change the reissuable flag during reissuance
|
|
@@ -3850,9 +4753,13 @@ Examples:
|
|
|
3850
4753
|
> neurai-cli reissue "ASSET_NAME" 20 "address"
|
|
3851
4754
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "reissue", "params": ["ASSET_NAME" 20 "address" "change_address" "true" 8 "Qmd286K6pohQcTKYqnS1YhWrCiS4gz7Xi34sdwMe9USZ7u"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
3852
4755
|
**/
|
|
3853
|
-
|
|
4756
|
+
reissue:'reissue',
|
|
4757
|
+
|
|
4758
|
+
|
|
3854
4759
|
|
|
3855
|
-
|
|
4760
|
+
|
|
4761
|
+
|
|
4762
|
+
/** reissuerestrictedasset "asset_name" qty to_address ( change_verifier ) ( "new_verifier" ) "( change_address )" ( new_units ) ( reissuable ) "( new_ipfs )"
|
|
3856
4763
|
|
|
3857
4764
|
Reissue an already created restricted asset
|
|
3858
4765
|
Reissuable is true/false for whether additional asset quantity can be created and if the verifier string can be changed
|
|
@@ -3878,9 +4785,13 @@ Examples:
|
|
|
3878
4785
|
> neurai-cli reissuerestrictedasset "$ASSET_NAME" 1000 "myaddress" true "KYC & !AML" "changeaddress" -1 true
|
|
3879
4786
|
> neurai-cli reissuerestrictedasset "$ASSET_NAME" 1000 "myaddress" false "" "changeaddress" -1 false QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E
|
|
3880
4787
|
**/
|
|
3881
|
-
|
|
4788
|
+
reissuerestrictedasset:'reissuerestrictedasset',
|
|
4789
|
+
|
|
4790
|
+
|
|
3882
4791
|
|
|
3883
|
-
|
|
4792
|
+
|
|
4793
|
+
|
|
4794
|
+
/** removeprunedfunds "txid"
|
|
3884
4795
|
|
|
3885
4796
|
Deletes the specified transaction from the wallet. Meant for use with pruned wallets and as a companion to importprunedfunds. This will affect wallet balances.
|
|
3886
4797
|
|
|
@@ -3893,9 +4804,13 @@ Examples:
|
|
|
3893
4804
|
As a JSON-RPC call
|
|
3894
4805
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "removeprunedfunds", "params": ["a8d0c0184dde994a09ec054286f1ce581bebf46446a512166eae7628734ea0a5"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
3895
4806
|
**/
|
|
3896
|
-
|
|
4807
|
+
removeprunedfunds:'removeprunedfunds',
|
|
4808
|
+
|
|
4809
|
+
|
|
3897
4810
|
|
|
3898
|
-
|
|
4811
|
+
|
|
4812
|
+
|
|
4813
|
+
/** removetagfromaddress tag_name to_address (change_address) (asset_data)
|
|
3899
4814
|
|
|
3900
4815
|
Remove a tag from a address
|
|
3901
4816
|
|
|
@@ -3914,9 +4829,13 @@ Examples:
|
|
|
3914
4829
|
> neurai-cli removetagfromaddress "#TAG" "to_address" "change_address"
|
|
3915
4830
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "removetagfromaddress", "params": ["#TAG" "to_address" "change_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
3916
4831
|
**/
|
|
3917
|
-
|
|
4832
|
+
removetagfromaddress:'removetagfromaddress',
|
|
4833
|
+
|
|
4834
|
+
|
|
3918
4835
|
|
|
3919
|
-
|
|
4836
|
+
|
|
4837
|
+
|
|
4838
|
+
/** requestsnapshot "asset_name" block_height
|
|
3920
4839
|
|
|
3921
4840
|
Schedules a snapshot of the specified asset at the specified block height.
|
|
3922
4841
|
|
|
@@ -3933,9 +4852,13 @@ Examples:
|
|
|
3933
4852
|
> neurai-cli requestsnapshot "TRONCO" 12345
|
|
3934
4853
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "requestsnapshot", "params": ["PHATSTACKS" 34987] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
3935
4854
|
**/
|
|
3936
|
-
|
|
4855
|
+
requestsnapshot:'requestsnapshot',
|
|
4856
|
+
|
|
4857
|
+
|
|
3937
4858
|
|
|
3938
|
-
|
|
4859
|
+
|
|
4860
|
+
|
|
4861
|
+
/** rescanblockchain ("start_height") ("stop_height")
|
|
3939
4862
|
|
|
3940
4863
|
Rescan the local blockchain for wallet related transactions.
|
|
3941
4864
|
|
|
@@ -3953,9 +4876,13 @@ Examples:
|
|
|
3953
4876
|
> neurai-cli rescanblockchain 100000 120000
|
|
3954
4877
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "rescanblockchain", "params": [100000, 120000] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
3955
4878
|
**/
|
|
3956
|
-
|
|
4879
|
+
rescanblockchain:'rescanblockchain',
|
|
4880
|
+
|
|
4881
|
+
|
|
3957
4882
|
|
|
3958
|
-
|
|
4883
|
+
|
|
4884
|
+
|
|
4885
|
+
/** savemempool
|
|
3959
4886
|
|
|
3960
4887
|
Dumps the mempool to disk.
|
|
3961
4888
|
|
|
@@ -3963,9 +4890,37 @@ Examples:
|
|
|
3963
4890
|
> neurai-cli savemempool
|
|
3964
4891
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "savemempool", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
3965
4892
|
**/
|
|
3966
|
-
|
|
4893
|
+
savemempool:'savemempool',
|
|
4894
|
+
|
|
4895
|
+
|
|
4896
|
+
|
|
4897
|
+
|
|
4898
|
+
|
|
4899
|
+
/** selfrevokedepin "asset_name"
|
|
4900
|
+
|
|
4901
|
+
Self-revoke a DEPIN asset held in this wallet
|
|
4902
|
+
|
|
4903
|
+
The asset will be marked as invalid but will remain in the address
|
|
4904
|
+
|
|
4905
|
+
This action can only be undone by the asset owner
|
|
4906
|
+
|
|
4907
|
+
Arguments:
|
|
4908
|
+
1. "asset_name" (string, required) The DEPIN asset name (must start with &)
|
|
4909
|
+
|
|
4910
|
+
Result:
|
|
4911
|
+
"txid" (string) The transaction id
|
|
4912
|
+
|
|
4913
|
+
Examples:
|
|
4914
|
+
> neurai-cli selfrevokedepin "&FRANCE"
|
|
4915
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "selfrevokedepin", "params": ["&FRANCE"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
4916
|
+
**/
|
|
4917
|
+
selfrevokedepin:'selfrevokedepin',
|
|
4918
|
+
|
|
4919
|
+
|
|
4920
|
+
|
|
3967
4921
|
|
|
3968
|
-
|
|
4922
|
+
|
|
4923
|
+
/** sendfrom "fromaccount" "toaddress" amount ( minconf "comment" "comment_to" )
|
|
3969
4924
|
|
|
3970
4925
|
DEPRECATED (use sendtoaddress). Sent an amount from an account to a neurai address.
|
|
3971
4926
|
|
|
@@ -3997,9 +4952,13 @@ Send 0.01 from the tabby account to the given address, funds must have at least
|
|
|
3997
4952
|
As a json rpc call
|
|
3998
4953
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "sendfrom", "params": ["tabby", "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd", 0.01, 6, "donation", "seans outpost"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
3999
4954
|
**/
|
|
4000
|
-
|
|
4955
|
+
sendfrom:'sendfrom',
|
|
4956
|
+
|
|
4957
|
+
|
|
4958
|
+
|
|
4001
4959
|
|
|
4002
|
-
|
|
4960
|
+
|
|
4961
|
+
/** sendfromaddress "from_address" "to_address" amount ( "comment" "comment_to" subtractfeefromamount replaceable conf_target "estimate_mode")
|
|
4003
4962
|
|
|
4004
4963
|
Send an amount from a specific address to a given address. All xna change will get sent back to the from_address
|
|
4005
4964
|
|
|
@@ -4029,9 +4988,13 @@ Examples:
|
|
|
4029
4988
|
> neurai-cli sendfromaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1 "" "" true
|
|
4030
4989
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "sendfromaddress", "params": ["1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd", 0.1, "donation", "seans outpost"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
4031
4990
|
**/
|
|
4032
|
-
|
|
4991
|
+
sendfromaddress:'sendfromaddress',
|
|
4992
|
+
|
|
4993
|
+
|
|
4994
|
+
|
|
4033
4995
|
|
|
4034
|
-
|
|
4996
|
+
|
|
4997
|
+
/** sendmany "fromaccount" {"address":amount,...} ( minconf "comment" ["address",...] replaceable conf_target "estimate_mode")
|
|
4035
4998
|
|
|
4036
4999
|
Send multiple times. Amounts are double-precision floating point numbers.
|
|
4037
5000
|
|
|
@@ -4076,9 +5039,13 @@ Send two amounts to two different addresses, subtract fee from amount:
|
|
|
4076
5039
|
As a json rpc call
|
|
4077
5040
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "sendmany", "params": ["", "{\"1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX\":0.01,\"1353tsE8YMTA4EuV7dgUXGjNFf9KpVvKHz\":0.02}", 6, "testing"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
4078
5041
|
**/
|
|
4079
|
-
|
|
5042
|
+
sendmany:'sendmany',
|
|
5043
|
+
|
|
5044
|
+
|
|
5045
|
+
|
|
4080
5046
|
|
|
4081
|
-
|
|
5047
|
+
|
|
5048
|
+
/** sendmessage "channel_name" "ipfs_hash" (expire_time)
|
|
4082
5049
|
|
|
4083
5050
|
Creates and broadcasts a message transaction to the network for a channel this wallet owns
|
|
4084
5051
|
Arguments:
|
|
@@ -4094,9 +5061,13 @@ Examples:
|
|
|
4094
5061
|
> neurai-cli sendmessage "ASSET_NAME!" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 15863654
|
|
4095
5062
|
> neurai-cli sendmessage "ASSET_NAME!" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 15863654
|
|
4096
5063
|
**/
|
|
4097
|
-
|
|
5064
|
+
sendmessage:'sendmessage',
|
|
5065
|
+
|
|
5066
|
+
|
|
5067
|
+
|
|
4098
5068
|
|
|
4099
|
-
|
|
5069
|
+
|
|
5070
|
+
/** sendrawtransaction "hexstring" ( allowhighfees )
|
|
4100
5071
|
|
|
4101
5072
|
Submits raw transaction (serialized, hex-encoded) to local node and network.
|
|
4102
5073
|
|
|
@@ -4122,9 +5093,13 @@ Send the transaction (signed hex)
|
|
|
4122
5093
|
As a json rpc call
|
|
4123
5094
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "sendrawtransaction", "params": ["signedhex"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
4124
5095
|
**/
|
|
4125
|
-
|
|
5096
|
+
sendrawtransaction:'sendrawtransaction',
|
|
5097
|
+
|
|
5098
|
+
|
|
5099
|
+
|
|
4126
5100
|
|
|
4127
|
-
|
|
5101
|
+
|
|
5102
|
+
/** sendtoaddress "address" amount ( "comment" "comment_to" subtractfeefromamount replaceable conf_target "estimate_mode")
|
|
4128
5103
|
|
|
4129
5104
|
Send an amount to a given address.
|
|
4130
5105
|
|
|
@@ -4153,9 +5128,13 @@ Examples:
|
|
|
4153
5128
|
> neurai-cli sendtoaddress "1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd" 0.1 "" "" true
|
|
4154
5129
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "sendtoaddress", "params": ["1M72Sfpbz1BPpXFHz9m3CdqATR44Jvaydd", 0.1, "donation", "seans outpost"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
4155
5130
|
**/
|
|
4156
|
-
|
|
5131
|
+
sendtoaddress:'sendtoaddress',
|
|
5132
|
+
|
|
5133
|
+
|
|
5134
|
+
|
|
4157
5135
|
|
|
4158
|
-
|
|
5136
|
+
|
|
5137
|
+
/** setaccount "address" "account"
|
|
4159
5138
|
|
|
4160
5139
|
DEPRECATED. Sets the account associated with the given address.
|
|
4161
5140
|
|
|
@@ -4167,9 +5146,13 @@ Examples:
|
|
|
4167
5146
|
> neurai-cli setaccount "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX" "tabby"
|
|
4168
5147
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "setaccount", "params": ["1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX", "tabby"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
4169
5148
|
**/
|
|
4170
|
-
|
|
5149
|
+
setaccount:'setaccount',
|
|
5150
|
+
|
|
5151
|
+
|
|
5152
|
+
|
|
4171
5153
|
|
|
4172
|
-
|
|
5154
|
+
|
|
5155
|
+
/** setban "subnet" "add|remove" (bantime) (absolute)
|
|
4173
5156
|
|
|
4174
5157
|
Attempts to add or remove an IP/Subnet from the banned list.
|
|
4175
5158
|
|
|
@@ -4184,9 +5167,13 @@ Examples:
|
|
|
4184
5167
|
> neurai-cli setban "192.168.0.0/24" "add"
|
|
4185
5168
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "setban", "params": ["192.168.0.6", "add", 86400] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
4186
5169
|
**/
|
|
4187
|
-
|
|
5170
|
+
setban:'setban',
|
|
5171
|
+
|
|
5172
|
+
|
|
5173
|
+
|
|
4188
5174
|
|
|
4189
|
-
|
|
5175
|
+
|
|
5176
|
+
/** setgenerate generate ( genproclimit )
|
|
4190
5177
|
|
|
4191
5178
|
Set 'generate' true or false to turn generation on or off.
|
|
4192
5179
|
Generation is limited to 'genproclimit' processors, -1 is unlimited.
|
|
@@ -4210,18 +5197,26 @@ Turn off generation
|
|
|
4210
5197
|
Using json rpc
|
|
4211
5198
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "setgenerate", "params": [true, 1] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
4212
5199
|
**/
|
|
4213
|
-
|
|
5200
|
+
setgenerate:'setgenerate',
|
|
5201
|
+
|
|
5202
|
+
|
|
5203
|
+
|
|
4214
5204
|
|
|
4215
|
-
|
|
5205
|
+
|
|
5206
|
+
/** setnetworkactive true|false
|
|
4216
5207
|
|
|
4217
5208
|
Disable/enable all p2p network activity.
|
|
4218
5209
|
|
|
4219
5210
|
Arguments:
|
|
4220
5211
|
1. "state" (boolean, required) true to enable networking, false to disable
|
|
4221
5212
|
**/
|
|
4222
|
-
|
|
5213
|
+
setnetworkactive:'setnetworkactive',
|
|
5214
|
+
|
|
5215
|
+
|
|
5216
|
+
|
|
4223
5217
|
|
|
4224
|
-
|
|
5218
|
+
|
|
5219
|
+
/** settxfee amount
|
|
4225
5220
|
|
|
4226
5221
|
Set the transaction fee per kB. Overwrites the paytxfee parameter.
|
|
4227
5222
|
|
|
@@ -4235,9 +5230,13 @@ Examples:
|
|
|
4235
5230
|
> neurai-cli settxfee 0.00001
|
|
4236
5231
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "settxfee", "params": [0.00001] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
4237
5232
|
**/
|
|
4238
|
-
|
|
5233
|
+
settxfee:'settxfee',
|
|
5234
|
+
|
|
5235
|
+
|
|
5236
|
+
|
|
4239
5237
|
|
|
4240
|
-
|
|
5238
|
+
|
|
5239
|
+
/** signmessage "address" "message"
|
|
4241
5240
|
|
|
4242
5241
|
Sign a message with the private key of an address
|
|
4243
5242
|
|
|
@@ -4262,9 +5261,13 @@ Verify the signature
|
|
|
4262
5261
|
As json rpc
|
|
4263
5262
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "signmessage", "params": ["1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX", "my message"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
4264
5263
|
**/
|
|
4265
|
-
|
|
5264
|
+
signmessage:'signmessage',
|
|
5265
|
+
|
|
5266
|
+
|
|
5267
|
+
|
|
4266
5268
|
|
|
4267
|
-
|
|
5269
|
+
|
|
5270
|
+
/** signmessagewithprivkey "privkey" "message"
|
|
4268
5271
|
|
|
4269
5272
|
Sign a message with the private key of an address
|
|
4270
5273
|
|
|
@@ -4286,9 +5289,13 @@ Verify the signature
|
|
|
4286
5289
|
As json rpc
|
|
4287
5290
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "signmessagewithprivkey", "params": ["privkey", "my message"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
4288
5291
|
**/
|
|
4289
|
-
|
|
5292
|
+
signmessagewithprivkey:'signmessagewithprivkey',
|
|
5293
|
+
|
|
5294
|
+
|
|
5295
|
+
|
|
4290
5296
|
|
|
4291
|
-
|
|
5297
|
+
|
|
5298
|
+
/** signrawtransaction "hexstring" ( [{"txid":"id","vout":n,"scriptPubKey":"hex","redeemScript":"hex"},...] ["privatekey1",...] sighashtype )
|
|
4292
5299
|
|
|
4293
5300
|
Sign inputs for raw transaction (serialized, hex-encoded).
|
|
4294
5301
|
The second optional argument (may be null) is an array of previous transaction outputs that
|
|
@@ -4343,14 +5350,22 @@ Examples:
|
|
|
4343
5350
|
> neurai-cli signrawtransaction "myhex"
|
|
4344
5351
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "signrawtransaction", "params": ["myhex"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
4345
5352
|
**/
|
|
4346
|
-
|
|
5353
|
+
signrawtransaction:'signrawtransaction',
|
|
5354
|
+
|
|
5355
|
+
|
|
5356
|
+
|
|
4347
5357
|
|
|
4348
|
-
|
|
5358
|
+
|
|
5359
|
+
/** stop
|
|
4349
5360
|
|
|
4350
5361
|
Stop Neurai server.**/
|
|
4351
|
-
|
|
5362
|
+
stop:'stop',
|
|
5363
|
+
|
|
5364
|
+
|
|
5365
|
+
|
|
4352
5366
|
|
|
4353
|
-
|
|
5367
|
+
|
|
5368
|
+
/** submitblock "hexdata" ( "dummy" )
|
|
4354
5369
|
|
|
4355
5370
|
Attempts to submit new block to network.
|
|
4356
5371
|
See https://en.neurai.it/wiki/BIP_0022 for full specification.
|
|
@@ -4365,9 +5380,13 @@ Examples:
|
|
|
4365
5380
|
> neurai-cli submitblock "mydata"
|
|
4366
5381
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "submitblock", "params": ["mydata"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
4367
5382
|
**/
|
|
4368
|
-
|
|
5383
|
+
submitblock:'submitblock',
|
|
5384
|
+
|
|
5385
|
+
|
|
5386
|
+
|
|
4369
5387
|
|
|
4370
|
-
|
|
5388
|
+
|
|
5389
|
+
/** subscribetochannel
|
|
4371
5390
|
|
|
4372
5391
|
Subscribe to a certain message channel
|
|
4373
5392
|
|
|
@@ -4382,9 +5401,13 @@ Examples:
|
|
|
4382
5401
|
> neurai-cli subscribetochannel "ASSET_NAME!"
|
|
4383
5402
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "subscribetochannel", "params": ["ASSET_NAME!"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
4384
5403
|
**/
|
|
4385
|
-
|
|
5404
|
+
subscribetochannel:'subscribetochannel',
|
|
5405
|
+
|
|
5406
|
+
|
|
5407
|
+
|
|
4386
5408
|
|
|
4387
|
-
|
|
5409
|
+
|
|
5410
|
+
/** testmempoolaccept ["rawtxs"] ( allowhighfees )
|
|
4388
5411
|
|
|
4389
5412
|
Returns if raw transaction (serialized, hex-encoded) would be accepted by mempool.
|
|
4390
5413
|
|
|
@@ -4420,9 +5443,13 @@ Test acceptance of the transaction (signed hex)
|
|
|
4420
5443
|
As a json rpc call
|
|
4421
5444
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "testmempoolaccept", "params": [["signedhex"]] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
4422
5445
|
**/
|
|
4423
|
-
|
|
5446
|
+
testmempoolaccept:'testmempoolaccept',
|
|
5447
|
+
|
|
5448
|
+
|
|
5449
|
+
|
|
4424
5450
|
|
|
4425
|
-
|
|
5451
|
+
|
|
5452
|
+
/** transfer "asset_name" qty "to_address" "message" expire_time "change_address" "asset_change_address"
|
|
4426
5453
|
|
|
4427
5454
|
Transfers a quantity of an owned asset to a given address
|
|
4428
5455
|
Arguments:
|
|
@@ -4443,9 +5470,13 @@ Examples:
|
|
|
4443
5470
|
> neurai-cli transfer "ASSET_NAME" 20 "address" "" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 15863654
|
|
4444
5471
|
> neurai-cli transfer "ASSET_NAME" 20 "address" "" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 15863654
|
|
4445
5472
|
**/
|
|
4446
|
-
|
|
5473
|
+
transfer:'transfer',
|
|
5474
|
+
|
|
5475
|
+
|
|
5476
|
+
|
|
4447
5477
|
|
|
4448
|
-
|
|
5478
|
+
|
|
5479
|
+
/** transferfromaddress "asset_name" "from_address" qty "to_address" "message" expire_time "xna_change_address" "asset_change_address"
|
|
4449
5480
|
|
|
4450
5481
|
Transfer a quantity of an owned asset in a specific address to a given address
|
|
4451
5482
|
Arguments:
|
|
@@ -4467,9 +5498,13 @@ Examples:
|
|
|
4467
5498
|
> neurai-cli transferfromaddress "ASSET_NAME" "fromaddress" 20 "address" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E", 156545652
|
|
4468
5499
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "transferfromaddress", "params": ["ASSET_NAME" "fromaddress" 20 "address" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E", 156545652] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
4469
5500
|
**/
|
|
4470
|
-
|
|
5501
|
+
transferfromaddress:'transferfromaddress',
|
|
5502
|
+
|
|
5503
|
+
|
|
5504
|
+
|
|
4471
5505
|
|
|
4472
|
-
|
|
5506
|
+
|
|
5507
|
+
/** transferfromaddresses "asset_name" ["from_addresses"] qty "to_address" "message" expire_time "xna_change_address" "asset_change_address"
|
|
4473
5508
|
|
|
4474
5509
|
Transfer a quantity of an owned asset in specific address(es) to a given address
|
|
4475
5510
|
Arguments:
|
|
@@ -4491,9 +5526,13 @@ Examples:
|
|
|
4491
5526
|
> neurai-cli transferfromaddresses "ASSET_NAME" '["fromaddress1", "fromaddress2"]' 20 "to_address" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 154652365
|
|
4492
5527
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "transferfromaddresses", "params": ["ASSET_NAME" '["fromaddress1", "fromaddress2"]' 20 "to_address" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 154652365] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
4493
5528
|
**/
|
|
4494
|
-
|
|
5529
|
+
transferfromaddresses:'transferfromaddresses',
|
|
5530
|
+
|
|
5531
|
+
|
|
5532
|
+
|
|
4495
5533
|
|
|
4496
|
-
|
|
5534
|
+
|
|
5535
|
+
/** transferqualifier "qualifier_name" qty "to_address" ("change_address") ("message") (expire_time)
|
|
4497
5536
|
|
|
4498
5537
|
Transfer a qualifier asset owned by this wallet to the given address
|
|
4499
5538
|
Arguments:
|
|
@@ -4513,9 +5552,13 @@ Examples:
|
|
|
4513
5552
|
> neurai-cli transferqualifier "#QUALIFIER" 20 "to_address" "" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 15863654
|
|
4514
5553
|
> neurai-cli transferqualifier "#QUALIFIER" 20 "to_address" "change_address" "QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E" 15863654
|
|
4515
5554
|
**/
|
|
4516
|
-
|
|
5555
|
+
transferqualifier:'transferqualifier',
|
|
5556
|
+
|
|
5557
|
+
|
|
5558
|
+
|
|
4517
5559
|
|
|
4518
|
-
|
|
5560
|
+
|
|
5561
|
+
/** unfreezeaddress asset_name address (change_address) (asset_data)
|
|
4519
5562
|
|
|
4520
5563
|
Unfreeze an address from transferring a restricted asset
|
|
4521
5564
|
|
|
@@ -4534,9 +5577,39 @@ Examples:
|
|
|
4534
5577
|
> neurai-cli unfreezeaddress "$RESTRICTED_ASSET" "address" "change_address"
|
|
4535
5578
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "unfreezeaddress", "params": ["$RESTRICTED_ASSET" "address" "change_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
4536
5579
|
**/
|
|
4537
|
-
|
|
5580
|
+
unfreezeaddress:'unfreezeaddress',
|
|
5581
|
+
|
|
5582
|
+
|
|
5583
|
+
|
|
5584
|
+
|
|
5585
|
+
|
|
5586
|
+
/** unfreezedepin "asset_name" "address" ("change_address")
|
|
5587
|
+
|
|
5588
|
+
Unfreeze a DEPIN asset for a specific address (owner only)
|
|
5589
|
+
|
|
5590
|
+
The asset will be marked as valid again
|
|
5591
|
+
|
|
5592
|
+
Requires the owner token (&ASSET!) in the wallet
|
|
5593
|
+
|
|
5594
|
+
Arguments:
|
|
5595
|
+
1. "asset_name" (string, required) The DEPIN asset name (must start with &)
|
|
5596
|
+
2. "address" (string, required) The address to unfreeze
|
|
5597
|
+
3. "change_address" (string, optional) The change address for the owner token
|
|
5598
|
+
|
|
5599
|
+
Result:
|
|
5600
|
+
"txid" (string) The transaction id
|
|
5601
|
+
|
|
5602
|
+
Examples:
|
|
5603
|
+
> neurai-cli unfreezedepin "&FRANCE" "address"
|
|
5604
|
+
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "unfreezedepin", "params": ["&FRANCE", "address"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
5605
|
+
**/
|
|
5606
|
+
unfreezedepin:'unfreezedepin',
|
|
5607
|
+
|
|
5608
|
+
|
|
5609
|
+
|
|
5610
|
+
|
|
4538
5611
|
|
|
4539
|
-
|
|
5612
|
+
/** unfreezerestrictedasset asset_name (change_address) (asset_data)
|
|
4540
5613
|
|
|
4541
5614
|
Unfreeze all trading for a specific restricted asset
|
|
4542
5615
|
|
|
@@ -4554,9 +5627,13 @@ Examples:
|
|
|
4554
5627
|
> neurai-cli unfreezerestrictedasset "$RESTRICTED_ASSET" "change_address"
|
|
4555
5628
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "unfreezerestrictedasset", "params": ["$RESTRICTED_ASSET" "change_address"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
4556
5629
|
**/
|
|
4557
|
-
|
|
5630
|
+
unfreezerestrictedasset:'unfreezerestrictedasset',
|
|
4558
5631
|
|
|
4559
|
-
|
|
5632
|
+
|
|
5633
|
+
|
|
5634
|
+
|
|
5635
|
+
|
|
5636
|
+
/** unsubscribefromchannel
|
|
4560
5637
|
|
|
4561
5638
|
Unsubscribe from a certain message channel
|
|
4562
5639
|
|
|
@@ -4571,9 +5648,13 @@ Examples:
|
|
|
4571
5648
|
> neurai-cli unsubscribefromchannel "ASSET_NAME!"
|
|
4572
5649
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "unsubscribefromchannel", "params": ["ASSET_NAME!"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
4573
5650
|
**/
|
|
4574
|
-
|
|
5651
|
+
unsubscribefromchannel:'unsubscribefromchannel',
|
|
5652
|
+
|
|
5653
|
+
|
|
5654
|
+
|
|
5655
|
+
|
|
4575
5656
|
|
|
4576
|
-
|
|
5657
|
+
/** uptime
|
|
4577
5658
|
|
|
4578
5659
|
Returns the total uptime of the server.
|
|
4579
5660
|
|
|
@@ -4584,9 +5665,13 @@ Examples:
|
|
|
4584
5665
|
> neurai-cli uptime
|
|
4585
5666
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "uptime", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
4586
5667
|
**/
|
|
4587
|
-
|
|
5668
|
+
uptime:'uptime',
|
|
4588
5669
|
|
|
4589
|
-
|
|
5670
|
+
|
|
5671
|
+
|
|
5672
|
+
|
|
5673
|
+
|
|
5674
|
+
/** validateaddress "address"
|
|
4590
5675
|
|
|
4591
5676
|
Return information about the given neurai address.
|
|
4592
5677
|
|
|
@@ -4621,9 +5706,13 @@ Examples:
|
|
|
4621
5706
|
> neurai-cli validateaddress "1PSSGeFHDnKNxiEyFrD1wcEaHr9hrQDDWc"
|
|
4622
5707
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "validateaddress", "params": ["1PSSGeFHDnKNxiEyFrD1wcEaHr9hrQDDWc"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
4623
5708
|
**/
|
|
4624
|
-
|
|
5709
|
+
validateaddress:'validateaddress',
|
|
5710
|
+
|
|
5711
|
+
|
|
5712
|
+
|
|
5713
|
+
|
|
4625
5714
|
|
|
4626
|
-
|
|
5715
|
+
/** verifychain ( checklevel nblocks )
|
|
4627
5716
|
|
|
4628
5717
|
Verifies blockchain database.
|
|
4629
5718
|
|
|
@@ -4638,9 +5727,13 @@ Examples:
|
|
|
4638
5727
|
> neurai-cli verifychain
|
|
4639
5728
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "verifychain", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
4640
5729
|
**/
|
|
4641
|
-
|
|
5730
|
+
verifychain:'verifychain',
|
|
4642
5731
|
|
|
4643
|
-
|
|
5732
|
+
|
|
5733
|
+
|
|
5734
|
+
|
|
5735
|
+
|
|
5736
|
+
/** verifymessage "address" "signature" "message"
|
|
4644
5737
|
|
|
4645
5738
|
Verify a signed message
|
|
4646
5739
|
|
|
@@ -4666,9 +5759,13 @@ Verify the signature
|
|
|
4666
5759
|
As json rpc
|
|
4667
5760
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "verifymessage", "params": ["1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX", "signature", "my message"] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
4668
5761
|
**/
|
|
4669
|
-
|
|
5762
|
+
verifymessage:'verifymessage',
|
|
5763
|
+
|
|
5764
|
+
|
|
5765
|
+
|
|
5766
|
+
|
|
4670
5767
|
|
|
4671
|
-
|
|
5768
|
+
/** verifytxoutproof "proof"
|
|
4672
5769
|
|
|
4673
5770
|
Verifies that a proof points to a transaction in a block, returning the transaction it commits to
|
|
4674
5771
|
and throwing an RPC error if the block is not in our best chain
|
|
@@ -4679,9 +5776,13 @@ Arguments:
|
|
|
4679
5776
|
Result:
|
|
4680
5777
|
["txid"] (array, strings) The txid(s) which the proof commits to, or empty array if the proof is invalid
|
|
4681
5778
|
**/
|
|
4682
|
-
|
|
5779
|
+
verifytxoutproof:'verifytxoutproof',
|
|
4683
5780
|
|
|
4684
|
-
|
|
5781
|
+
|
|
5782
|
+
|
|
5783
|
+
|
|
5784
|
+
|
|
5785
|
+
/** viewallmessagechannels
|
|
4685
5786
|
|
|
4686
5787
|
View all message channels the wallet is subscribed to
|
|
4687
5788
|
|
|
@@ -4694,9 +5795,13 @@ Examples:
|
|
|
4694
5795
|
> neurai-cli viewallmessagechannels
|
|
4695
5796
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewallmessagechannels", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
4696
5797
|
**/
|
|
4697
|
-
|
|
5798
|
+
viewallmessagechannels:'viewallmessagechannels',
|
|
5799
|
+
|
|
5800
|
+
|
|
5801
|
+
|
|
5802
|
+
|
|
4698
5803
|
|
|
4699
|
-
|
|
5804
|
+
/** viewallmessages
|
|
4700
5805
|
|
|
4701
5806
|
View all messages that the wallet contains
|
|
4702
5807
|
|
|
@@ -4713,9 +5818,13 @@ Examples:
|
|
|
4713
5818
|
> neurai-cli viewallmessages
|
|
4714
5819
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewallmessages", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
4715
5820
|
**/
|
|
4716
|
-
|
|
5821
|
+
viewallmessages:'viewallmessages',
|
|
4717
5822
|
|
|
4718
|
-
|
|
5823
|
+
|
|
5824
|
+
|
|
5825
|
+
|
|
5826
|
+
|
|
5827
|
+
/** viewmyrestrictedaddresses
|
|
4719
5828
|
|
|
4720
5829
|
View all addresses this wallet owns that have been restricted
|
|
4721
5830
|
|
|
@@ -4731,9 +5840,13 @@ Examples:
|
|
|
4731
5840
|
> neurai-cli viewmyrestrictedaddresses
|
|
4732
5841
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewmyrestrictedaddresses", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
4733
5842
|
**/
|
|
4734
|
-
|
|
5843
|
+
viewmyrestrictedaddresses:'viewmyrestrictedaddresses',
|
|
5844
|
+
|
|
5845
|
+
|
|
5846
|
+
|
|
5847
|
+
|
|
4735
5848
|
|
|
4736
|
-
|
|
5849
|
+
/** viewmytaggedaddresses
|
|
4737
5850
|
|
|
4738
5851
|
View all addresses this wallet owns that have been tagged
|
|
4739
5852
|
|
|
@@ -4749,5 +5862,5 @@ Examples:
|
|
|
4749
5862
|
> neurai-cli viewmytaggedaddresses
|
|
4750
5863
|
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "viewmytaggedaddresses", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8766/
|
|
4751
5864
|
**/
|
|
4752
|
-
|
|
4753
|
-
}
|
|
5865
|
+
viewmytaggedaddresses:'viewmytaggedaddresses',
|
|
5866
|
+
}
|