Giter Club home page Giter Club logo

waykichain / waykichain Goto Github PK

View Code? Open in Web Editor NEW
1.0K 1.0K 226.0 24.77 MB

Public Blockchain as a Decentralized Finance Infrastructure Service Platform

Home Page: https://www.waykichain.com/

License: MIT License

Makefile 0.70% Shell 0.40% Batchfile 0.01% M4 1.64% QMake 0.02% Python 0.81% Roff 0.09% C++ 80.92% C 14.25% Dockerfile 0.01% Assembly 0.28% HTML 0.50% CSS 0.01% Lua 0.01% CMake 0.04% Sage 0.30%
blockchain c-plus-plus cdp contract cryptography defi dex dpos p2p smart stablecoin wasm

waykichain's Issues

Community ?

I tried on telegram but after 10 days it looks like this is not your channel anymore https://t.me/waykichaindevs , where can I join the group to learn more about wykichain (beside docs)

Build WaykiChain !

What is zhe java pom version ? 1.0.0 is faild

com.waykichain.wallet
wicc-wallet-utils
1.0.0

makefile failed

Makefile:83: *** 遗漏分隔符 (null)

from 18.04.1-Ubuntu

节点不同步

{
    "version" : "v3.0.0.1-63440bf2-release-linux (2020-07-18 19:20:17 +0800)",
    "protocol_version" : 10001,
    "net_type" : "MAIN_NET",
    "proxy" : "",
    "public_ip" : "",
    "conf_dir" : "/data/wicc.conf",
    "data_dir" : "/data/db/main",
    "block_interval" : 10,
    "genblock" : 0,
    "time_offset" : 0,
    "WICC_balance" : 0,
    "WUSD_balance" : 0,
    "WGRT_balance" : 0,
    "relay_fee_perkb" : 1000,
    "tipblock_tx_count" : 3,
    "tipblock_fuel_rate" : 100,
    "tipblock_fuel" : 0,
    "tipblock_time" : 1525404897,
    "tipblock_hash" : "a00d5d179450975237482f20f5cd688cac689eb83bc2151d561bfe720185dc13",
    "tipblock_height" : 0,
    "synblock_height" : 0,
    "finblock_height" : 0,
    "finblock_hash" : "0000000000000000000000000000000000000000000000000000000000000000",
    "connections" : 0,
    "errors" : "",
    "state" : "InSync"
}

日志

2020-07-21T08:04:29Z [INFO]          [./commons/util/util.h:396 TraceThread]                          msghand thread start
2020-07-21T08:04:29Z [INFO]          [./commons/util/util.h:396 TraceThread]                          net thread start
2020-07-21T08:04:29Z [INFO]          [net.cpp:341 GetMyPublicIP]                                      My Public IP is: 
2020-07-21T08:04:29Z [INFO]          [net.cpp:178 AddLocal]                                           AddLocal(8920,4)
2020-07-21T08:04:29Z [INFO]          [./commons/util/util.h:398 TraceThread]                          ext-ip thread exit
2020-07-21T08:04:40Z [INFO]          [net.cpp:903 ThreadDNSAddressSeed]                               Loading addresses from DNS seeds (could take a while)
2020-07-21T08:04:40Z [INFO]          [net.cpp:925 ThreadDNSAddressSeed]                               11 addresses found from DNS seeds
2020-07-21T08:04:40Z [INFO]          [./commons/util/util.h:398 TraceThread]                          dnsseed thread exit
2020-07-21T08:09:52Z [INFO]          [net.cpp:538 ThreadSocketHandler]                                Connections number changed, 1 -> 1
2020-07-21T08:09:52Z [INFO]          [net.cpp:538 ThreadSocketHandler]                                Connections number changed, 0 -> 0

我是要等一段时间吗

Makefile:509: recipe for target 'all-recursive' failed

I ran make in the ubuntu16.04 system and found the following error.

Making all in src
make[1]: Entering directory '/mnt/WaykiChain-master/src'
Makefile:1330: *** missing separator. Stop.
make[1]: Leaving directory '/mnt/WaykiChain-master/src'
Makefile:509: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

Do anyone know what's the reason,help me

Cannot install wallet

Cannot install wallet
On command make i have error :
"Makefile:1329: *** missing separator. Stop."

ubuntu16编译3.0.0报错

环境没问题,最后一步make报错如下:
CXX entities/libcoin_server_a-key.o CXX entities/libcoin_server_a-keystore.o CXX entities/libcoin_server_a-proposal.o CXX libcoin_server_a-alert.o CXX config/libcoin_server_a-configuration.o CXX crypto/libcoin_server_a-sha256.o CXX libcoin_server_a-init.o In file included from ./vm/wasm/datastream.hpp:17:0, from ./vm/wasm/wasm_serialize_reflect.hpp:9, from ./vm/wasm/types/inline_transaction.hpp:10, from ./tx/universaltx.h:9, from ./vm/wasm/wasm_context.hpp:10, from ./vm/wasm/modules/wasm_native_dispatch.hpp:4, from init.cpp:61: ./vm/wasm/types/symbol.hpp: In constructor ‘constexpr wasm::symbol_code::symbol_code(std::string_view)’: ./vm/wasm/types/symbol.hpp:123:9: error: call to non-constexpr function ‘std::basic_string_view<_CharT, _Traits>::const_reverse_iterator std::basic_string_view<_CharT, _Traits>::rbegin() const [with _CharT = char; _Traits = std::char_traits<char>; std::basic_string_view<_CharT, _Traits>::const_reverse_iterator = std::reverse_iterator<const char*>]’ } ^ Makefile:9328: recipe for target 'libcoin_server_a-init.o' failed make[2]: *** [libcoin_server_a-init.o] Error 1 make[2]: Leaving directory '/root/wicc/WaykiChain-3.0.0/src' Makefile:10684: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/root/wicc/WaykiChain-3.0.0/src' Makefile:560: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1

节点使用docker怎么从2.0升级到3.0

之前使用的是docker的wicc/waykicoind:latest版本,现在想升级到3.0,但是发现latest没更新,就使用了wicc/waykicoind:v3.0.
然后之前的和现在的数据挂载目录都是/root/.WaykiChain/main.
运行wicc/waykicoind:v3.0后报错
coind: db/version_set.cc:789: leveldb::VersionSet::~VersionSet(): Assertion dummy_versions_.next_ == &dummy_versions_' failed.`

出块人列表的问题

代码中获取出块人列表的vDelegatesAcctList有根据投票数做排序吗 ?在哪里做的排序?

V3.5.1 节点无法同步

本地节点高度:25044800 后无法继续同步。
请问是需要升级节点吗?release里边 只有3.5.1

rpc gettransaction 方法,返回结果中的发送方地址写成了接收方地址

coind gettransaction 7b61bdf6c97bfeeda2de00c6dd437c76089d9d0e7f89952149c94009e7b1848d
{
    "amount" : 0.00010000,
    "confirmations" : 35,
    "blockhash" : "719d19ccd9da355655c5c665f23abb4ba1b22c01be31598b337c2097fb4cbbd8",
    "blocktime" : 1528358300,
    "txid" : "7b61bdf6c97bfeeda2de00c6dd437c76089d9d0e7f89952149c94009e7b1848d",
    "details" : [
        {
            "txtype" : "COMMON_TX",
            "address" : "Wmmw8AGYcHvLtFrpv8FSsHrS3UrZejVHcN",
            "category" : "send",
            "amount" : -0.00010000
        },
        {
            "txtype" : "COMMON_TX",
            "address" : "Wmmw8AGYcHvLtFrpv8FSsHrS3UrZejVHcN",
            "category" : "receive",
            "amount" : 0.00010000
        }
    ],
    "hex" : "03018dab1c048ce57505048ca16203cd10cd10004630440220609a1a3a642073ac91e2df5b954d744b6e4f3df70f9bc94bfdf0fee407652f410220226a1680e9b95d1fe8897ba6afd1dcbbfbba417146c3811bcf6f813b686eb577"
}

The node height does not increase at 27509451

The node height does not increase at 27509451 ,Check the node log and there are the following error outputs.

[main.cpp:2114 ProcessBlock] [27528452] (orphan) block(99f264a8d0824983ee31619556c6b997c4d4641c69bf5b7713afb8e41397ca21) exists
2022-02-11T02:04:43Z [INFO] [net.cpp:538 ThreadSocketHandler] Connections number changed, 5 -> 5
2022-02-11T02:06:01Z [INFO] [tx/txmempool.cpp:103 CheckTxInMemPool] valid_height(27528477) of txid d961ca961cab2e28a8fc1b127fba5c537ff8892fa3e46ef4f296f47700965784 is invalid! new_height=27509452

How to fix this problem?

when compile, this problem is show up. how to fix it?

make all-recursive
make[1]: Entering directory '/home/qiulb/blockchain/WaykiChain-release/src'
Making all in .
make[2]: Entering directory '/home/qiulb/blockchain/WaykiChain-release/src'
CXXLD coind
libcoin_server.a(init.o): In function void boost::call_once<void (*)()>(boost::once_flag&, void (*)())': /usr/local/include/boost/thread/pthread/once.hpp:84: undefined reference to boost::detail::get_once_per_thread_epoch()'
libcoin_server.a(init.o): In function boost::pthread::pthread_mutex_scoped_lock::pthread_mutex_scoped_lock(pthread_mutex_t*)': /usr/local/include/boost/thread/pthread/pthread_mutex_scoped_lock.hpp:26: undefined reference to boost::detail::once_epoch_mutex'
libcoin_server.a(init.o): In function void boost::call_once<void (*)()>(boost::once_flag&, void (*)())': /usr/local/include/boost/thread/pthread/once.hpp:114: undefined reference to boost::detail::once_epoch_mutex'
/usr/local/include/boost/thread/pthread/once.hpp:114: undefined reference to boost::detail::once_epoch_cv' libcoin_server.a(init.o): In function boost::pthread::pthread_mutex_scoped_unlock::pthread_mutex_scoped_unlock(pthread_mutex_t*)':
/usr/local/include/boost/thread/pthread/pthread_mutex_scoped_lock.hpp:51: undefined reference to boost::detail::once_epoch_mutex' libcoin_server.a(init.o): In function boost::pthread::pthread_mutex_scoped_unlock::~pthread_mutex_scoped_unlock()':
/usr/local/include/boost/thread/pthread/pthread_mutex_scoped_lock.hpp:55: undefined reference to boost::detail::once_epoch_mutex' libcoin_server.a(init.o): In function void boost::call_once<void ()()>(boost::once_flag&, void ()())':
/usr/local/include/boost/thread/pthread/once.hpp:107: undefined reference to boost::detail::once_global_epoch' /usr/local/include/boost/thread/pthread/once.hpp:108: undefined reference to boost::detail::once_epoch_cv'
/usr/local/include/boost/thread/pthread/once.hpp:107: undefined reference to boost::detail::once_global_epoch' /usr/local/include/boost/thread/pthread/once.hpp:118: undefined reference to boost::detail::once_global_epoch'
libcoin_server.a(init.o): In function boost::pthread::pthread_mutex_scoped_lock::unlock()': /usr/local/include/boost/thread/pthread/pthread_mutex_scoped_lock.hpp:30: undefined reference to boost::detail::once_epoch_mutex'
/usr/local/include/boost/thread/pthread/pthread_mutex_scoped_lock.hpp:30: undefined reference to boost::detail::once_epoch_mutex' libcoin_server.a(init.o): In function boost::pthread::pthread_mutex_scoped_unlock::~pthread_mutex_scoped_unlock()':
/usr/local/include/boost/thread/pthread/pthread_mutex_scoped_lock.hpp:55: undefined reference to boost::detail::once_epoch_mutex' libcoin_server.a(init.o): In function void boost::call_once<void ()()>(boost::once_flag&, void ()())':
/usr/local/include/boost/thread/pthread/once.hpp:103: undefined reference to boost::detail::once_epoch_cv' libcoin_wallet.a(walletdb.o): In function boost::filesystem::copy_file(boost::filesystem::path const&, boost::filesystem::path const&, boost::filesystem::copy_option::enum_type)':
/usr/local/include/boost/filesystem/operations.hpp:381: undefined reference to `boost::filesystem::detail::copy_file(boost::filesystem::path const&, boost::filesystem::path const&, boost::filesystem::copy_option::enum_type, boost::system::error_code*)'
collect2: error: ld returned 1 exit status
Makefile:1092: recipe for target 'coind' failed
make[2]: *** [coind] Error 1
make[2]: Leaving directory '/home/qiulb/blockchain/WaykiChain-release/src'
Makefile:1724: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/qiulb/blockchain/WaykiChain-release/src'
Makefile:811: recipe for target 'all' failed
make: *** [all] Error 2

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.