Coder Social home page Coder Social logo

worldwide-asset-exchange / wax-blockchain-legacy Goto Github PK

View Code? Open in Web Editor NEW
126.0 126.0 47.0 145.92 MB

Worldwide Asset eXchange (WAX/wax.io) is an eos compatible blockchain and protocol token designed to make e-commerce transactions faster, easier, and safer.

Home Page: https://developer.wax.io/

License: MIT License

CMake 0.78% Shell 1.64% C++ 50.59% C 0.22% WebAssembly 43.05% Objective-C 0.01% Python 3.37% Makefile 0.01% JavaScript 0.13% Dockerfile 0.22%

wax-blockchain-legacy's People

Contributors

arhag avatar asiniscalchi avatar b1bart avatar brianjohnson5972 avatar bytemaster avatar cj-oci avatar conr2d avatar dskvr avatar elmato avatar heifner avatar jgiszczak avatar johndebord avatar kesar avatar kj4ezj avatar larryk85 avatar lparisc avatar moskvanaft avatar nathanielhourt avatar norsegaud avatar paulcalabrese avatar pmesnier avatar scottarnette avatar sergmetelin avatar spoonincode avatar taokayan avatar tbfleming avatar thomasbcox avatar wanderingbort avatar zorba80 avatar zreyn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wax-blockchain-legacy's Issues

How to run it with Ubuntu 20.04?

======================= Starting EOSIO Dependency Install ===========================
Architecture: Linux
OS name: Ubuntu
OS Version: 20.04
CPU cores: 1
Physical Memory: 30G
Disk space total: 98G
Disk space available: 66G

  • You must be running 16.04.x or 18.04.x to install EOSIO.

I have 20.04 installed on my system. How to proceed?

WAX is slow to sync blocks after a while

WAX happens every 10 days or so that only a few peers can be connected, causing the chain to generate blocks faster than synchronizing blocks, resulting in nodes being unavailable all the time
Command:nodeos --data-dir data --config-dir conf
Endpoints:https://wax.eosio.online/endpoints

Currently my temporary workaround is to run from snapshot every 10 days, Can someone help me? thank you

Transaction net usage is too high

Anyone can point me on how much should we stake fo CPU and Net in order for us to make transaction? So far we already staked 140 wax for CPU and 60 for Net and we are still unable to make a transaction by calling a smart contract function.

Compilation error on macOS Monterey

Getting below error on macOS Monterery and BigSur, I got below error on develop and v2.0.12wax02 branch, but I'm able to compile eosio branch v2.2.0-rc1 with any error.

Architecture: Darwin
OS name: macOS
OS Version: 12.1 1
Boost: 1.71.0
Clang: Apple clang version 13.0.0 (clang-1300.0.29.30), Target: x86_64-apple-darwin21.2.0

Dependencies

- cmake ok
 - graphviz ok
 - libtool ok
 - automake ok
 - wget ok
 - gmp ok
 - pkgconfig ok
 - python ok
 - doxygen ok
 - libusb ok
 - [email protected] ok

Error Trace

Undefined symbols for architecture x86_64:
  "boost::filesystem::detail::absolute(boost::filesystem::path const&, boost::filesystem::path const&, boost::system::error_code*)", referenced from:
      chainbase::pinnable_mapped_file::pinnable_mapped_file(boost::filesystem::path const&, bool, unsigned long long, bool, chainbase::pinnable_mapped_file::map_mode, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >) in libchainbase.a(pinnable_mapped_file.cpp.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [libraries/chainbase/test/chainbase_test] Error 1
make[1]: *** [libraries/chainbase/test/CMakeFiles/chainbase_test.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

Upgrade WAX release to eosio v1.8.9

The latest WAX release is forked from eosio v1.8.4, there has been a lot of stability fixes up to v1.8.9 that would be good to have on WAX. Can we get a new release with the WAX code merged for v1.8.9?

Upgrade to 1.8.6

Hello,

EOSIO version 1.8.5 and 1.8.6 have been released. Meanwhile wax is still based on 1.8.4. Are there any plans to upgraded to latest?

How is the nonce calculated?

I tried to look in the whitepaper and in the code but I really can't find how is the nonce calculated/how it works

I can't build the latest tag

Trying to build the latest tag but I am getting this:


clang: error: linker command failed with exit code 1 (use -v to see invocation)
libraries/fc/test/crypto/CMakeFiles/test_cypher_suites.dir/build.make:113: recipe for target 'libraries/fc/test/crypto/test_cypher_suites' failed
make[2]: *** [libraries/fc/test/crypto/test_cypher_suites] Error 1
CMakeFiles/Makefile2:783: recipe for target 'libraries/fc/test/crypto/CMakeFiles/test_cypher_suites.dir/all' failed
make[1]: *** [libraries/fc/test/crypto/CMakeFiles/test_cypher_suites.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....


Tag :  wax-1.6.1-1.1.0 
commit: d32c9e4b88cc22be323f116cdb5a42e02d6d6067) 
System: ubuntu 18.04 x64 

cloud wallet redirecting doesn't work with webkit of LINE app

Screenshot (Oct 3, 2021 13_00_21)

hello I tried to create new wallet from webkit of LINE app but count down and redirecting doesn't work.
is it available to put a link "click here if redirecting doesn't work" on this page?

also it would be great if you have multi-language on this page, thanks!

Plugins deprecated?

Hello! Wallet_plugin and wallet_api_plugin deprecated? If yes, how create many wallets, accounts, generate keys, import keys to wallets?

LLVM Error at build in Ubuntu 18.04

I get this error when I run ./wax_build.sh

`
Environment variable LLVM_ROOT is set to:

/root/eosio/1.8/opt/llvm

For compatibility, CMake is ignoring the variable.
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Error at libraries/wasm-jit/Source/Runtime/CMakeLists.txt:26 (find_package):
Could not find a package configuration file provided by "LLVM" (requested
version 4.0) with any of the following names:

LLVMConfig.cmake
llvm-config.cmake

Add the installation prefix of "LLVM" to CMAKE_PREFIX_PATH or set
"LLVM_DIR" to a directory containing one of the above files. If "LLVM"
provides a separate development package or SDK, be sure it has been
installed.

-- Configuring incomplete, errors occurred!
`

how to fix error: invalid suffix 'x' on integer constant

i got this when i run ./eosio_install.sh

[ 86%] Building CXX object programs/nodeos/CMakeFiles/nodeos.dir/main.cpp.o
cd /home/wax-server/wax/wax-blockchain/build/programs/nodeos && /home/wax-server/eosio/2.0/opt/clang8/bin/clang++ -DBOOST_ALL_NO_LIB -DEOSIO_EOS_VM_JIT_RUNTIME_ENABLED -DEOSIO_EOS_VM_OC_RUNTIME_ENABLED -DEOSIO_EOS_VM_RUNTIME_ENABLED -DEOSIO_WABT_RUNTIME_ENABLED -DEOS_VM_SOFTFLOAT -DEOS_VM_USE_EXTERNAL_OUTCOME -I/home/wax-server/wax/wax-blockchain/build/programs/nodeos -I/home/wax-server/wax/wax-blockchain/libraries/appbase/include -isystem /home/wax-server/eosio/2.0/src/boost_1_71_0/include -I/home/wax-server/wax/wax-blockchain/libraries/version/include -I/home/wax-server/wax/wax-blockchain/plugins/login_plugin/include -I/home/wax-server/wax/wax-blockchain/plugins/chain_plugin/include -I/home/wax-server/wax/wax-blockchain/plugins/chain_plugin/../chain_interface/include -I/home/wax-server/wax/wax-blockchain/plugins/chain_plugin/../../libraries/appbase/include -I/home/wax-server/wax/wax-blockchain/plugins/chain_plugin/../producer_plugin/include -I/home/wax-server/wax/wax-blockchain/plugins/producer_plugin/include -I/home/wax-server/wax/wax-blockchain/plugins/producer_plugin/../chain_interface/include -I/home/wax-server/wax/wax-blockchain/plugins/http_client_plugin/include -I/home/wax-server/wax/wax-blockchain/libraries/chain/include -I/home/wax-server/wax/wax-blockchain/build/libraries/chain/include -I/home/wax-server/wax/wax-blockchain/libraries/chain/../wasm-jit/Include -I/home/wax-server/wax/wax-blockchain/libraries/chain/libraries/eos-vm/include -I/home/wax-server/wax/wax-blockchain/libraries/wabt -I/home/wax-server/wax/wax-blockchain/build/libraries/wabt -I/home/wax-server/wax/wax-blockchain/libraries/fc/include -I/home/wax-server/wax/wax-blockchain/libraries/fc/vendor/websocketpp -I/home/wax-server/wax/wax-blockchain/libraries/fc/secp256k1/upstream -I/home/wax-server/wax/wax-blockchain/libraries/fc/secp256k1/upstream/include -I/home/wax-server/wax/wax-blockchain/libraries/chainbase/include -I/home/wax-server/wax/wax-blockchain/libraries/wasm-jit/Source/Runtime/../../../chain/include -I/home/wax-server/wax/wax-blockchain/libraries/softfloat/source/include -I/home/wax-server/wax/wax-blockchain/libraries/softfloat/source/8086-SSE -I/home/wax-server/wax/wax-blockchain/libraries/softfloat/build/Linux-x86_64-GCC -I/home/wax-server/wax/wax-blockchain/libraries/builtins -I/home/wax-server/wax/wax-blockchain/libraries/builtins../softfloat/source/include -I/home/wax-server/wax/wax-blockchain/libraries/eos-vm/include -I/home/wax-server/wax/wax-blockchain/libraries/eos-vm/external/softfloat/source/include -I/home/wax-server/wax/wax-blockchain/libraries/eos-vm/external/outcome/single-header -I/home/wax-server/wax/wax-blockchain/plugins/http_plugin/include -I/home/wax-server/wax/wax-blockchain/plugins/history_plugin/include -I/home/wax-server/wax/wax-blockchain/plugins/state_history_plugin/include -I/home/wax-server/wax/wax-blockchain/plugins/trace_api_plugin/include -I/home/wax-server/wax/wax-blockchain/plugins/history_api_plugin/include -I/home/wax-server/wax/wax-blockchain/plugins/chain_api_plugin/include -I/home/wax-server/wax/wax-blockchain/plugins/net_plugin/include -I/home/wax-server/wax/wax-blockchain/plugins/net_plugin/../chain_interface/include -I/home/wax-server/wax/wax-blockchain/plugins/net_plugin/../../libraries/appbase/include -I/home/wax-server/wax/wax-blockchain/plugins/net_api_plugin/include -I/home/wax-server/wax/wax-blockchain/plugins/txn_test_gen_plugin/include -I/home/wax-server/wax/wax-blockchain/plugins/txn_test_gen_plugin/txn_test_gen_plugin -I/home/wax-server/wax/wax-blockchain/libraries/testing/include -I/home/wax-server/wax/wax-blockchain/build/unittests/include -I/home/wax-server/wax/wax-blockchain/build/libraries/testing/include/testing_contracts -I/home/wax-server/wax/wax-blockchain/plugins/db_size_api_plugin/include -I/home/wax-server/wax/wax-blockchain/plugins/producer_api_plugin/include -I/home/wax-server/wax/wax-blockchain/plugins/test_control_plugin/include -I/home/wax-server/wax/wax-blockchain/plugins/test_control_api_plugin/include -isystem /home/wax-server/eosio/2.0/opt/clang8/include/c++/v1 -isystem /usr/local/include -isystem /usr/include -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fpie -nostdinc++ -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fpie -Wall -Wno-invalid-partial-specialization -O3 -DNDEBUG -pthread -std=gnu++1z -o CMakeFiles/nodeos.dir/main.cpp.o -c /home/wax-server/wax/wax-blockchain/programs/nodeos/main.cpp
In file included from /home/wax-server/wax/wax-blockchain/programs/nodeos/main.cpp:16:
/home/wax-server/wax/wax-blockchain/build/programs/nodeos/config.hpp:10:33: error: invalid suffix 'x' on integer constant
constexpr uint64_t version = 0x;
^
1 error generated.
programs/nodeos/CMakeFiles/nodeos.dir/build.make:62: recipe for target 'programs/nodeos/CMakeFiles/nodeos.dir/main.cpp.o' failed
make[2]: *** [programs/nodeos/CMakeFiles/nodeos.dir/main.cpp.o] Error 1
make[2]: Leaving directory '/home/wax-server/wax/wax-blockchain/build'
CMakeFiles/Makefile2:5801: recipe for target 'programs/nodeos/CMakeFiles/nodeos.dir/all' failed
make[1]: *** [programs/nodeos/CMakeFiles/nodeos.dir/all] Error 2
make[1]: Leaving directory '/home/wax-server/wax/wax-blockchain/build'
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2

v1/history not supported?

Heyo,

  1. i added following plugin:

Screenshot 2021-04-10 at 15 10 20

  1. restarted the docker

  2. do following command: curl -X POST "http://127.0.0.1:8888/v1/history/get_actions"

  3. get following error:
    {"code":404,"message":"Not Found","error":{"code":0,"name":"exception","what":"unspecified","details":[{"message":"Unknown Endpoint","file":"http_plugin.cpp","line_number":570,"method":"handle_http_request"}]}}

anyone got an idea where i made a mistake?

Cannot install wax-blockchain on macOS

First of all, required packages are not available in homebrew ( llvm@4 and python@2 )
I've installed those manually, but the install wont proceed...

./wax_build.sh -i ~/wax
EOSIO Version: 1.8.4
Tue Apr  7 16:25:16 UTC 2020
User: USER
Current branch: develop
EOSIO will be installed to: /Users/USER/wax
EOSIO has already been installed into /Users/USER/wax... It's suggested that you eosio_uninstall.sh before re-running this script.
Do you wish to proceed anyway? (y/n) y

=====================================================================================
======================= Starting EOSIO Dependency Install ===========================
Architecture: Darwin
OS name: Mac OS X
OS Version: 10.15.4
CPU cores: 16
Physical Memory: 33G
Disk install: /dev/disk1s2
Disk space total: 931G
Disk space available: 789G

[Ensuring xcode-select installation]
 - xcode-select installation found @ /usr/bin/xcode-select
[Ensuring Ruby installation]
 - Ruby installation found @ /usr/bin/ruby
[Ensuring HomeBrew installation]
 - HomeBrew installation found @ /usr/local/bin/brew

[Ensuring HomeBrew dependencies]
 - cmake ok
 - graphviz ok
 - libtool ok
 - automake ok
 - wget ok
 - gmp ok
 - llvm@4 ok
 - pkgconfig ok
 - python ok
 - python@2 NOT found!
 - doxygen ok
 - libusb ok
 - openssl ok

Do you wish to install missing dependencies? (y/n) y

Do you wish to update HomeBrew packages first? (y/n) y
[Updating HomeBrew]
Updated 1 tap (homebrew/core).
==> Updated Formulae
autopep8                       awscli                         botan                          minetest                       nano                           omniorb                        openimageio                    par
[Installing HomeBrew Dependencies]
Warning: python@2 2.7.17_1 is already installed and up-to-date
To reinstall 2.7.17_1, run `brew reinstall python@2`
[Ensuring LLVM 4 support]
 - LLVM found @ /Users/USER/wax/opt/llvm.

[Ensuring Boost 1.70.0 library installation]
 - Boost library found with correct version @ /Users/USER/wax/src/boost_1_70_0


========================================================================
======================= Starting EOSIO Build ===========================
Re-run cmake no build system arguments
-- The C compiler identification is AppleClang 11.0.3.11030032
-- The CXX compiler identification is AppleClang 11.0.3.11030032
-- Check for working C compiler: /usr/bin/clang
-- Check for working C compiler: /usr/bin/clang - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/clang++
-- Check for working CXX compiler: /usr/bin/clang++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using custom FindBoost.cmake
CMake Error at libraries/fc/CMakeModules/FindBoost.cmake:1129 (message):
  Unable to find the requested Boost libraries.

  Boost version: 1.70.0

  Boost include path: /Users/USER/wax/src/boost_1_70_0

  The following Boost libraries could not be found:

          boost_date_time
          boost_filesystem
          boost_system
          boost_program_options
          boost_chrono
          boost_unit_test_framework
          boost_iostreams

  No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the
  directory containing Boost libraries or BOOST_ROOT to the location of
  Boost.
Call Stack (most recent call first):
  CMakeLists.txt:105 (find_package)


-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Configuring EOSIO on OS X
-- Using 'WAX' as CORE symbol name
-- Using 'EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV' as public key for 'eosio' account
-- Found GMP: /usr/local/lib/libgmp.a
-- Configuring fc to build on Unix/Apple
-- Found OpenSSL: /usr/local/opt/openssl/lib/libcrypto.dylib (found version "1.1.1f")
-- Found ZLIB: /usr/lib/libz.dylib (found version "1.2.11")
-- zlib found
-- Configuring Builtins
-- Configuring SoftFloat
-- Using custom FindBoost.cmake
CMake Error at libraries/fc/CMakeModules/FindBoost.cmake:1129 (message):
  Unable to find the requested Boost libraries.

  Boost version: 1.70.0

  Boost include path: /Users/USER/wax/src/boost_1_70_0

  The following Boost libraries could not be found:

          boost_date_time
          boost_filesystem
          boost_system
          boost_chrono
          boost_unit_test_framework

  No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the
  directory containing Boost libraries or BOOST_ROOT to the location of
  Boost.
Call Stack (most recent call first):
  libraries/chainbase/CMakeLists.txt:24 (FIND_PACKAGE)


-- Configuring ChainBase on OS X
CMake Warning (dev) at libraries/wasm-jit/Source/Runtime/CMakeLists.txt:26 (find_package):
  Policy CMP0074 is not set: find_package uses <PackageName>_ROOT variables.
  Run "cmake --help-policy CMP0074" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  Environment variable LLVM_ROOT is set to:

    /Users/USER/wax/opt/llvm

  For compatibility, CMake is ignoring the variable.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Using custom FindBoost.cmake
CMake Error at libraries/fc/CMakeModules/FindBoost.cmake:1129 (message):
  Unable to find the requested Boost libraries.

  Boost version: 1.70.0

  Boost include path: /Users/USER/wax/src/boost_1_70_0

  The following Boost libraries could not be found:

          boost_date_time
          boost_filesystem
          boost_system
          boost_chrono
          boost_program_options
          boost_unit_test_framework

  No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the
  directory containing Boost libraries or BOOST_ROOT to the location of
  Boost.
Call Stack (most recent call first):
  libraries/appbase/CMakeLists.txt:20 (find_package)


-- Configuring AppBase on OS X
-- Found Git: /usr/bin/git (found version "2.24.1 (Apple Git-126)")
-- Looking for alloca.h
-- Looking for alloca.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for snprintf
-- Looking for snprintf - found
-- Looking for sysconf
-- Looking for sysconf - found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of ssize_t
-- Check size of ssize_t - done
-- Check size of size_t
-- Check size of size_t - done
-- Using prebuilt re2c lexer
-- Found PythonInterp: /usr/local/bin/python2.7 (found suitable version "2.7.17", minimum required is "2.7")
-- Starting yubihsm configuration...
Install targets
Libraries /Users/USER/wax/lib
Includes /Users/USER/wax/include
Binaries /Users/USER/wax/bin
Manuals /Users/USER/wax/share/man
Pkg-config /Users/USER/wax/share/pkgconfig
not win32
-- Looking for memset_s
-- Looking for memset_s - found
-- Looking for explicit_bzero
-- Looking for explicit_bzero - not found
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.29.2")
-- Checking for one of the modules 'libcrypto'
-- Checking for one of the modules 'libcurl'
-- Checking for one of the modules 'libusb-1.0'
-- yubihsm configuration complete
mongo_db_plugin not selected and will be omitted.
-- Git commit revision: 1beac853
-- Git commit revision: 1beac853
-- Found Intl: /usr/local/opt/gettext/include
-- Git commit revision: 1beac853
-- Not building contracts in directory `eos/unittests/test-contracts/`
CMake Warning (dev) at unittests/CMakeLists.txt:32 (find_package):
  Policy CMP0074 is not set: find_package uses <PackageName>_ROOT variables.
  Run "cmake --help-policy CMP0074" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  Environment variable LLVM_ROOT is set to:

    /Users/USER/wax/opt/llvm

  For compatibility, CMake is ignoring the variable.
This warning is for project developers.  Use -Wno-dev to suppress it.

grep: wax/signature_tests.cpp: No such file or directory
CMake Warning (dev) at tests/CMakeLists.txt:8 (find_package):
  Policy CMP0074 is not set: find_package uses <PackageName>_ROOT variables.
  Run "cmake --help-policy CMP0074" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  Environment variable LLVM_ROOT is set to:

    /Users/USER/wax/opt/llvm

  For compatibility, CMake is ignoring the variable.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found Doxygen: /usr/local/bin/doxygen (found version "1.8.17") found components: doxygen dot
-- Configuring incomplete, errors occurred!
See also "/Users/USER/git/2_WAX/wax-blockchain/build/CMakeFiles/CMakeOutput.log".
See also "/Users/USER/git/2_WAX/wax-blockchain/build/CMakeFiles/CMakeError.log".

[Question] curl: (7) Failed to connect to 127.0.0.1 port 8888: Connection refused

Inside docker wavdev:

top
1 root 20 0 18604 3484 2984 S 0.0 0.0 0:00.17 bash
19 root 20 0 221836 10532 9228 S 0.0 0.1 0:02.20 keosd
86 root 20 0 1586412 27976 25188 S 0.0 0.3 0:01.09 nodeos
93 root 20 0 36632 3144 2684 R 0.0 0.0 0:00.00 top

so keosd is already running:

root@4d34bf6cd380:/wax/wax-blockchain# nodeos -e -p eosio \

--plugin eosio::producer_plugin
--plugin eosio::chain_api_plugin
--plugin eosio::http_plugin
--access-control-allow-origin='*'
--contracts-console
--http-validate-host=false
--verbose-http-errors >> nodeos.log 2>&1 &
[2] 57

Then accessing API:

root@4d34bf6cd380:/wax/wax-blockchain# curl --request POST \

--url http://127.0.0.1:8888/v1/chain/get_info
--header 'content-type: application/x-www-form-urlencoded; charset=UTF-8'
curl: (7) Failed to connect to 127.0.0.1 port 8888: Connection refused

But expecting:

{
   "server_version":"448287d5",
   "chain_id":"cf057bbfb72640471fd910bcb67639c22df9f92470936cddc1ade0e2f2e7dc4f",
   "head_block_num":1937,
   "last_irreversible_block_num":1936,
   "last_irreversible_block_id":"000007905e94a4406ef34a227cf815154ac6886bf54deaa2d35db606cb4b667d",
   "head_block_id":"00000791a899e1751e60a13b77817f7243496cdd68010cd84505023200fd9e8a",
   "head_block_time":"2019-07-16T21:43:19.500",
   "head_block_producer":"eosio",
   "virtual_block_cpu_limit":1384557,
   "virtual_block_net_limit":7271761,
   "block_cpu_limit":199900,
   "block_net_limit":1048576,
   "server_version_string":"v1.7.3"
}

Doc says:

nodeos must be running to call this endpoint. If not, you’ll receive the following message:

But nodeos is running correct as top command shows?

I buy ram or cpu, got this error.

nternal Service Error: eosio_assert_message assertion failure: assertion failure with message: comparison of assets with different symbols is not allowed: pending console output

"could not insert object, most likely a uniqueness constraint was violated" for nodes started with "state_history_plugin"

My nodes were / are using
v2.0.5wax01 / v2.0.13wax01sc image on docker hub

after loading some snapshots to start , it does have the snapshot blocks but never accept new blocks from network

warn  2022-02-17T03:14:05.519 net-1     net_plugin.cpp:1812           rejected_block       ] block 167055006 not accepted from 0.0.0.0:21976 - f2dea68, closing connection                                           [21/1872]info  2022-02-17T03:14:05.519 net-1     net_plugin.cpp:982            _close               ] closing 'waxp2p.ledgerwise.io:21877', waxp2p.ledgerwise.io:21877
info  2022-02-17T03:14:05.619 net-1     net_plugin.cpp:3166           connection_monitor   ] p2p client connections: 0/25, peer connections: 26/26
info  2022-02-17T03:14:05.619 net-0     net_plugin.cpp:2209           operator()           ] host: waxp2p.ledgerwise.io port: 21877
info  2022-02-17T03:14:05.775 net-1     net_plugin.cpp:1109           operator()           ] Sending handshake generation 1 to waxp2p.ledgerwise.io:21877, lib 167054992, head 167054992, id 8bbc02fc4772b4b4
info  2022-02-17T03:14:05.931 net-0     net_plugin.cpp:1610           start_sync           ] Catching up with chain, our last req is 0, theirs is 167221843 peer waxp2p.ledgerwise.io:21877
info  2022-02-17T03:14:05.932 net-0     net_plugin.cpp:1556           operator()           ] requesting range 167054993 to 167055492, from waxp2p.ledgerwise.io:21877
info  2022-02-17T03:14:05.932 net-0     net_plugin.cpp:1670           recv_handshake       ] handshake from 0.0.0.0:21976 - 9718097, lib 167221843, head 167222179, head id 0839c6b01b06b13c.. sync 1
warn  2022-02-17T03:14:06.735 nodeos    controller.cpp:2030           push_block           ] 13 St9exception: could not insert object, most likely a uniqueness constraint was violated
could not insert object, most likely a uniqueness constraint was violated:

Public key

I cannot set the public key on an account created with https://wallet.wax.io/.

When calling eosio->updateauth contract ForbiddenTransactionException occurs.

Fields:

account: MyAccount
permission: active
parent: owner
auth: {"threshold":2,"keys":[{"key":"PUB_K1_5WLnppvJz2dCHUAXfv7TbdJDnoAyAKNnktA7XShbscriaHqJAU","weight":1},{"key":"PUB_K1_6j4UPPVPzndi4CHTsUAQ5Yjc4BXarBhoNC2T12uaBKsvoA5sU4","weight":1},{"key":"PUB_K1_7DaLBULzPXKmV6V7aJrawgn2rwmK82o33k3KiAc8GBCWsTughN","weight":1}],"accounts":[],"waits":[]}

env.verify_rsa_sha256_sig unresolveable

Some servers under "wax-1.8.1-1.0.0-rc2-19-ge2187f190" cannot get past the block 9135392, with the error as follows:

Aug 18 08:32:43 wax nodeos[18746]: error 2019-08-18T08:32:43.883 nodeos    producer_plugin.cpp:400       on_incoming_block    ] 3070000 wasm_exception: WASM Exception
Aug 18 08:32:43 wax nodeos[18746]: env.verify_rsa_sha256_sig unresolveable
Aug 18 08:32:43 wax nodeos[18746]:     {"module":"env","export":"verify_rsa_sha256_sig"}
Aug 18 08:32:43 wax nodeos[18746]:     nodeos  wasm_interface.hpp:59 resolve
Aug 18 08:32:43 wax nodeos[18746]:     {"mod_name":"env","export_name":"verify_rsa_sha256_sig"}
Aug 18 08:32:43 wax nodeos[18746]:     nodeos  wasm_interface.hpp:61 resolve
Aug 18 08:32:43 wax nodeos[18746]: pending console output:
Aug 18 08:32:43 wax nodeos[18746]:     {"console":""}
Aug 18 08:32:43 wax nodeos[18746]:     nodeos  apply_context.cpp:113 exec_one
Aug 18 08:32:43 wax nodeos[18746]:     {}
Aug 18 08:32:43 wax nodeos[18746]:     nodeos  controller.cpp:1765 apply_block
Aug 18 08:32:43 wax nodeos[18746]: rethrow
Aug 18 08:32:43 wax nodeos[18746]:     {}
Aug 18 08:32:43 wax nodeos[18746]:     nodeos  controller.cpp:1821 push_block

Other servers with the same software version work fine. This failing server has only one peer that is on a server that made it through. Michael at EOS USA has also a machine that fails in the same way, but another machine in the same environment works fine.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.