Git Product home page Git Product logo

cpp-play2's People

Contributors

abitmore avatar alexchien avatar bytemaster avatar chronoscrypto avatar clar avatar clayop avatar emfrias avatar hackfisher avatar maqifrnswa avatar matzfan avatar nathanielhourt avatar pmconrad avatar theoreticalbts avatar troglodactyl avatar vikramrajkumar avatar vor0220 avatar wackou avatar xeroc avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cpp-play2's Issues

witness running error.

—resync-blockchain

[10:41]  
message transmission failed 13 NSt8ios_base7failureE: basic_ios::clear
basic_ios::clear: 
   {"id":{"item_type":1001,"item_hash":"00000001f7b648496fb407b6787621524b7e88e9"},"what":"basic_ios::clear"}
   th_a  application.cpp:449 has_item            message_oriented_connection.cpp:188
2016-10-17T14:41:29 p2p:message read_loop            read_loop ] disconnected 13 NSt8ios_base7failureE: basic_ios::clear
basic_ios::clear: 
   {"id":{"item_type":1001,"item_hash":"00000001f7b648496fb407b6787621524b7e88e9"},"what":"basic_ios::clear"}
   th_a  application.cpp:449 has_item            message_oriented_connection.cpp:205

Issue when generating new block

324000ms th_a       witness.cpp:206               block_production_loo ] Not producing block because node didn't wake up within 500ms of the slot time.
335079ms th_a       db_block.cpp:201              _push_block          ] Failed to push new block:
10 assert_exception: Assert Exception
itr != parameters.end():
    {}
    th_a  fee_schedule.hpp:71 get

    {"next_block.block_num()":1}
    th_a  db_block.cpp:534 _apply_block
335081ms th_a       witness.cpp:181               block_production_loo ] Got exception while generating block:
10 assert_exception: Assert Exception
itr != parameters.end():
    {}
    th_a  fee_schedule.hpp:71 get

    {"next_block.block_num()":1}
    th_a  db_block.cpp:534 _apply_block

    {"new_block":{"previous":"0000000000000000000000000000000000000000","timestamp":"2016-08-11T03:05:35","witness":"1.6.2","transaction_merkle_root":"0000000000000000000000000000000000000000","extensions":[],"witness_signature":"1f6b2bc2de1d8c13431ea100188b5a96ef5c88e3b6586cbf1c56b3d5b88889092c62382ebae594c5a6f592c804183729aa210d0335099b348021b5da550cb3361a","transactions":[]}}
    th_a  db_block.cpp:207 _push_block

    {"witness_id":"1.6.2"}
    th_a  db_block.cpp:400 _generate_block

    {}
    th_a  db_block.cpp:298 generate_block

Error when generating blocks

2420158ms th_a       witness.cpp:181               block_production_loo ] Got exception while generating block:
10 assert_exception: Assert Exception
hi == 0:
    {}
    th_a  uint128.hpp:97 to_uint64

    {}
    th_a  db_maint.cpp:346 process_budget

    {"next_block.block_num()":6867}
    th_a  db_block.cpp:534 _apply_block

crash when another node connecting to witness node

********************************
*                              *
*   ------- NEW CHAIN ------   *
*   - Welcome to Graphene! -   *
*   ------------------------   *
*                              *
********************************

Your genesis seems to have an old timestamp
Please consider using the --genesis-timestamp option to give your genesis a recent timestamp

377535ms th_a       witness.cpp:140               plugin_startup       ] witness plugin:  plugin_startup() end
377535ms th_a       main.cpp:179                  main                 ] Started witness node on a chain with 0 blocks.
377535ms th_a       main.cpp:180                  main                 ] Chain ID is fcd00d6ac1c395b7bf2604fb30369adbe0410de5766950ecfd5b4decc4ff0eb3
391490ms th_a       witness.cpp:188               block_production_loo ] Generated block #1 with timestamp 2016-10-01T07:06:30 at time 2016-10-01T07:06:30
410001ms th_a       witness.cpp:188               block_production_loo ] Generated block #2 with timestamp 2016-10-01T07:06:50 at time 2016-10-01T07:06:50
415002ms th_a       witness.cpp:188               block_production_loo ] Generated block #3 with timestamp 2016-10-01T07:06:55 at time 2016-10-01T07:06:55
420001ms th_a       witness.cpp:188               block_production_loo ] Generated block #4 with timestamp 2016-10-01T07:07:00 at time 2016-10-01T07:07:00

Program received signal SIGSEGV, Segmentation fault.
0x000000000247d68d in void __gnu_cxx::new_allocator<fc::ripemd160>::construct<fc::ripemd160, fc::ripemd160 const&>(fc::ripemd160*, fc::ripemd160 const&) ()
(gdb) up
#1  0x000000000246d5b7 in std::enable_if<std::allocator_traits<std::allocator<fc::ripemd160> >::__construct_helper<fc::ripemd160, fc::ripemd160 const&>::value, void>::type std::allocator_traits<std::allocator<fc::ripemd160> >::_S_construct<fc::ripemd160, fc::ripemd160 const&>(std::allocator<fc::ripemd160>&, fc::ripemd160*, fc::ripemd160 const&) ()
(gdb) up
#2  0x0000000002460ca1 in decltype (_S_construct({parm#1}, {parm#2}, (forward<fc::ripemd160 const&>)({parm#3}))) std::allocator_traits<std::allocator<fc::ripemd160> >::construct<fc::ripemd160, fc::ripemd160 const&>(std::allocator<fc::ripemd160>&, fc::ripemd160*, fc::ripemd160 const&) ()
(gdb) up
#3  0x00000000024584b2 in std::vector<fc::ripemd160, std::allocator<fc::ripemd160> >::push_back(fc::ripemd160 const&) ()
(gdb) up
#4  0x000000000244fdfc in graphene::app::detail::application_impl::get_blockchain_synopsis(fc::ripemd160 const&, unsigned int) ()
(gdb) up
#5  0x0000000002e0a217 in graphene::net::detail::statistics_gathering_node_delegate_wrapper::get_blockchain_synopsis(fc::ripemd160 const&, unsigned int)::{lambda()#1}::operator()() const ()
(gdb) up
#6  0x0000000002e1ae00 in fc::detail::functor_run<graphene::net::detail::statistics_gathering_node_delegate_wrapper::get_blockchain_synopsis(fc::ripemd160 const&, unsigned int)::{lambda()#1}>::run(void*, fc::detail::functor_run<graphene::net::detail::statistics_gathering_node_delegate_wrapper::get_blockchain_synopsis(fc::ripemd160 const&, unsigned int)::{lambda()#1}>) ()
(gdb) up
#7  0x0000000002b53577 in fc::task_base::run_impl() ()
(gdb) up
#8  0x0000000002b53508 in fc::task_base::run() ()
(gdb) up
#9  0x0000000002b47b76 in fc::thread_d::run_next_task() ()
(gdb) up
#10 0x0000000002b4801a in fc::thread_d::process_tasks() ()
(gdb) up
#11 0x0000000002b4768d in fc::thread_d::start_process_tasks(long) ()
(gdb) up
#12 0x0000000002f38001 in make_fcontext ()
(gdb) up
#13 0x0000000000000000 in ?? ()
(gdb) up
Initial frame selected; you cannot go up.

[v8] build error: fiber build errors

[ 37%] Building CXX object vendor/v8-fibjs/v8/CMakeFiles/v8.dir/src/base/platform/platform-fiber.cc.o
/Users/fisher/superlab/cpp-play2/vendor/v8-fibjs/v8/src/base/platform/platform-fiber.cc:85:12: error: no member named 'tlsAlloc' in 'fc::thread'; did you mean 'exlib::Fiber::tlsAlloc'?
    return fc::thread::tlsAlloc();
           ^~~~~~~~~~~~~~~~~~~~
           exlib::Fiber::tlsAlloc
/Users/fisher/superlab/cpp-play2/vendor/v8-fibjs/v8/../exlib/include/fiber.h:71:20: note: 'exlib::Fiber::tlsAlloc' declared here
    static int32_t tlsAlloc();
                   ^
/Users/fisher/superlab/cpp-play2/vendor/v8-fibjs/v8/src/base/platform/platform-fiber.cc:90:5: error: no member named 'tlsFree' in 'fc::thread'; did you mean 'exlib::Fiber::tlsFree'?
    fc::thread::tlsFree(static_cast<int>(key));
    ^~~~~~~~~~~~~~~~~~~
    exlib::Fiber::tlsFree
/Users/fisher/superlab/cpp-play2/vendor/v8-fibjs/v8/../exlib/include/fiber.h:74:17: note: 'exlib::Fiber::tlsFree' declared here
    static void tlsFree(int32_t idx);
                ^
/Users/fisher/superlab/cpp-play2/vendor/v8-fibjs/v8/src/base/platform/platform-fiber.cc:95:12: error: no member named 'tlsGet' in 'fc::thread'; did you mean 'tzset'?
    return fc::thread::tlsGet(static_cast<int>(key));
           ^~~~~~~~~~~~~~~~~~
           tzset
/usr/include/time.h:119:6: note: 'tzset' declared here
void tzset(void);
     ^
/Users/fisher/superlab/cpp-play2/vendor/v8-fibjs/v8/src/base/platform/platform-fiber.cc:95:31: error: too many arguments to function call, expected 0, have 1
    return fc::thread::tlsGet(static_cast<int>(key));
           ~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~
/usr/include/time.h:119:1: note: 'tzset' declared here
void tzset(void);
^
/Users/fisher/superlab/cpp-play2/vendor/v8-fibjs/v8/src/base/platform/platform-fiber.cc:100:5: error: no member named 'tlsPut' in 'fc::thread'; did you mean 'exlib::Fiber::tlsPut'?
    fc::thread::tlsPut(static_cast<int>(key), value);
    ^~~~~~~~~~~~~~~~~~
    exlib::Fiber::tlsPut
/Users/fisher/superlab/cpp-play2/vendor/v8-fibjs/v8/../exlib/include/fiber.h:73:17: note: 'exlib::Fiber::tlsPut' declared here
    static void tlsPut(int32_t idx, void *v);
                ^
5 errors generated.
make[2]: *** [vendor/v8-fibjs/v8/CMakeFiles/v8.dir/src/base/platform/platform-fiber.cc.o] Error 1
make[1]: *** [vendor/v8-fibjs/v8/CMakeFiles/v8.dir/all] Error 2
make: *** [all] Error 2

Getting more done in GitHub with ZenHub

Hola! @clar has created a ZenHub account for the bitsuperlab organization. ZenHub is the only project management tool integrated natively in GitHub – created specifically for fast-moving, software-driven teams.


How do I use ZenHub?

To get set up with ZenHub, all you have to do is download the browser extension and log in with your GitHub account. Once you do, you’ll get access to ZenHub’s complete feature-set immediately.

What can ZenHub do?

ZenHub adds a series of enhancements directly inside the GitHub UI:

  • Real-time, customizable task boards for GitHub issues;
  • Multi-Repository burndown charts, estimates, and velocity tracking based on GitHub Milestones;
  • Personal to-do lists and task prioritization;
  • Time-saving shortcuts – like a quick repo switcher, a “Move issue” button, and much more.

Add ZenHub to GitHub

Still curious? See more ZenHub features or read user reviews. This issue was written by your friendly ZenHub bot, posted by request from @clar.

ZenHub Board

Wrong Unique Index

migrate to same eth address more than once will trigger following error, violating unique index.

insert_result.second: Could not create object! Most likely a uniqueness constraint is violated.
    {}
    th_a  generic_index.hpp:63 create
Unable to migrate balance account 'chat.dacplay'
    {"a":"chat.dacplay"}
    th_a  account_evaluator.cpp:377 do_apply

    {}
    th_a  evaluator.cpp:51 start_evaluate

    {}
    th_a  db_block.cpp:651 apply_operation

    {"trx":{"ref_block_num":39581,"ref_block_prefix":537716331,"expiration":"2017-11-01T17:29:33","operations":[[44,{"fee":{"amount":0,"asset_id":"1.3.0"},"account":"1.2.257","eth_address":"0x5641519cc28DeF80D631BaA28b949F17A6A22AD1","extensions":[]}]],"extensions":[],"signatures":["2070ec02e4a059f9fab8f324960425545264870f5f6e1a5148e01f6fe54d9b6b9273dfc816b402fc8c3b17d8a566b1c6297a8159cd4443683c3c9985f2951c33db"]}}
    th_a  db_block.cpp:634 _apply_transaction

class template partial specialization is not more specialized than the primary

/Users/denny/github.com/bitsuperlab/cpp-play2/libraries/fc/include/fc/static_variant.hpp:385:34: error: class template partial specialization is not more specialized than the primary
      template [-Winvalid-partial-specialization]
  template<typename... T> struct get_typename<T...>  { static const char* name()   { return typeid(static_variant<T...>).name();   } };
                                 ^
/Users/denny/github.com/bitsuperlab/cpp-play2/libraries/fc/include/fc/reflect/typename.hpp:18:30: note: template is declared here
  template<typename T> class get_typename{};

`block_num != 0` error

witness_node: /root/play2/cpp-play2/libraries/chain/block_database.cpp:134: graphene::chain::block_id_type graphene::chain::block_database::fetch_block_id(uint32_t) const: Assertion `block_num != 0' failed.

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.