Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - abit

Pages: 1 ... 252 253 254 255 256 257 258 [259] 260 261 262 263 264 265 266 ... 309
3871
General Discussion / Re: October 5 Test Network
« on: October 05, 2015, 08:20:49 pm »
in.abit (1.6.29) is ready.
4 Cores 16G RAM Server.

Will publish price feeds once got voted in.

3872
General Discussion / Re: October 2nd Test Network
« on: October 04, 2015, 01:28:47 am »
Unable to connect to the seed node "104.236.51.238:2001". Any idea?

3873
General Discussion / Re: October 2nd Test Network
« on: October 04, 2015, 01:24:03 am »
My node died with assetion exception.
Code: [Select]
3133130ms th_a       witness.cpp:182               block_production_loo ] Not producing block because it isn't my turn
witness_node: /app/bts/graphene-test5.1/libraries/net/node.cpp:1594: void graphene::net::detail::node_impl::schedule_peer_for_deletion(const peer_connection_ptr&): Assertion `_closing_connections.find(peer_to_delete) == _closing_connections.end()' failed.

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7ffff4d02700 (LWP 16058)]
0x00007ffff6c01cc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56      ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) where
#0  0x00007ffff6c01cc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007ffff6c050d8 in __GI_abort () at abort.c:89
#2  0x00007ffff6bfab86 in __assert_fail_base (fmt=0x7ffff6d4b830 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
    assertion=assertion@entry=0x2c535c8 "_closing_connections.find(peer_to_delete) == _closing_connections.end()",
    file=file@entry=0x2c524b8 "/app/bts/graphene-test5.1/libraries/net/node.cpp", line=line@entry=1594,
    function=function@entry=0x2c5b520 <graphene::net::detail::node_impl::schedule_peer_for_deletion(std::shared_ptr<graphene::net::peer_connection> const&)::__PRETTY_FUNCTION__> "void graphene::net::detail::node_impl::schedule_peer_for_deletion(const peer_connection_ptr&)") at assert.c:92
#3  0x00007ffff6bfac32 in __GI___assert_fail (
    assertion=0x2c535c8 "_closing_connections.find(peer_to_delete) == _closing_connections.end()",
    file=0x2c524b8 "/app/bts/graphene-test5.1/libraries/net/node.cpp", line=1594,
    function=0x2c5b520 <graphene::net::detail::node_impl::schedule_peer_for_deletion(std::shared_ptr<graphene::net::peer_connection> const&)::__PRETTY_FUNCTION__> "void graphene::net::detail::node_impl::schedule_peer_for_deletion(const peer_connection_ptr&)")
    at assert.c:101
#4  0x00000000028ab435 in graphene::net::detail::node_impl::schedule_peer_for_deletion (this=0xb3b7e10, peer_to_delete=...)
    at /app/bts/graphene-test5.1/libraries/net/node.cpp:1594
#5  0x00000000028c36e0 in graphene::net::detail::node_impl::on_connection_closed (this=0xb3b7e10, originating_peer=0x7fffe014f340)
    at /app/bts/graphene-test5.1/libraries/net/node.cpp:2976
#6  0x00000000029a4368 in graphene::net::peer_connection::on_connection_closed (this=0x7fffe014f340,
    originating_connection=0x7fffe014f370) at /app/bts/graphene-test5.1/libraries/net/peer_connection.cpp:269
#7  0x00000000029aa037 in graphene::net::detail::message_oriented_connection_impl::read_loop (this=0x7fffe0375d20)
    at /app/bts/graphene-test5.1/libraries/net/message_oriented_connection.cpp:217
#8  0x00000000029a9917 in graphene::net::detail::message_oriented_connection_impl::__lambda0::operator() (__closure=0x7fffe052e778)
    at /app/bts/graphene-test5.1/libraries/net/message_oriented_connection.cpp:117
#9  0x00000000029aebb0 in fc::detail::void_functor_run<graphene::net::detail::message_oriented_connection_impl::accept()::__lambda0>::run(void *, void *) (functor=0x7fffe052e778, prom=0x7fffe052e770)
    at /app/bts/graphene-test5.1/libraries/fc/include/fc/thread/task.hpp:83
#10 0x00000000026cdedf in fc::task_base::run_impl (this=0x7fffe052e780)
    at /app/bts/graphene-test5.1/libraries/fc/src/thread/task.cpp:43
#11 0x00000000026cde70 in fc::task_base::run (this=0x7fffe052e780) at /app/bts/graphene-test5.1/libraries/fc/src/thread/task.cpp:32
#12 0x00000000026c2890 in fc::thread_d::run_next_task (this=0x7fffe00008c0)
    at /app/bts/graphene-test5.1/libraries/fc/src/thread/thread_d.hpp:498
#13 0x00000000026c2d34 in fc::thread_d::process_tasks (this=0x7fffe00008c0)
    at /app/bts/graphene-test5.1/libraries/fc/src/thread/thread_d.hpp:547
#14 0x00000000026c23a7 in fc::thread_d::start_process_tasks (my=140736951486656)
    at /app/bts/graphene-test5.1/libraries/fc/src/thread/thread_d.hpp:475
#15 0x0000000002a1dee1 in make_fcontext () at libs/context/src/asm/make_x86_64_sysv_elf_gas.S:64
#16 0x0000000000000000 in ?? ()

3874
General Discussion / Re: October 2nd Test Network
« on: October 02, 2015, 10:12:05 pm »
"Normal" price feeding activated.

Can you provide "step-by-step" instruction for us?
I'm running with a modified version of xeroc's price feeding script, nothing else special.
Xeroc's: https://github.com/xeroc/python-graphenelib
Mine: https://github.com/abitmore/python-graphenelib

I had made some efforts to get it running, but don't have time to re-do it. I'll try to remember and post.
* Env: Ubuntu 14.04 LTS x86_64, python3 is pre-installed
* sudo apt-get install python3-numpy python3-prettytable python3-setuptools
* Install AutobahnPython
** git clone https://github.com/tavendo/AutobahnPython.git
** cd AutobahnPython
** git checkout v0.9.6
** cd autobahn
** python3 setup.py install
* git clone https://github.com/abitmore/python-graphenelib.git
** cd python-graphenelib
** python3 setup.py install
** cd scripts
** cp config-example.py config.py
** Edit config.py
** python3 pricefeeds.py

3875
General Discussion / Re: October 2nd Test Network
« on: October 02, 2015, 09:17:02 pm »
I had to take down init node to compile because while it was running I didn't have enough RAM :(
All init nodes are running in one VPS? Number of init nodes are more than 1/3 of all witnesses.. Will it kill the network?

3876
General Discussion / Re: October 2nd Test Network
« on: October 02, 2015, 09:14:58 pm »
"Normal" price feeding activated.

3877
General Discussion / Re: October 2nd Test Network
« on: October 02, 2015, 08:37:07 pm »
Sadly there is need for a hardfork for this testnet... this time I promise to upgrade the init nodes.

The issue discovered is that the witness count code was setting a threshold equal to 50% of all stake rather than 50% of voting stake so every witness got voted in unless over 50% of the stake voted for less than everyone.   In other words, the reverse case from the prior hardfork.   

I set the fork time for 24 hours from now.
OK. Building.
in.abit updated.

3878
General Discussion / Re: October 2nd Test Network
« on: October 02, 2015, 08:33:30 pm »
Code: [Select]
info
{
  "head_block_num": 8144,
  "head_block_id": "00001fd007dda4aa0252b904036549e43452eba8",
  "head_block_age": "23 seconds old",
  "next_maintenance_time": "27 minutes in the future",
  "chain_id": "c746b258deb5e476601488d8dbb98cf6dcacc2dec857fda58514907257d461c3",
  "participation": "98.43750000000000000",

What's wrong?

3879
General Discussion / Re: October 2nd Test Network
« on: October 02, 2015, 08:29:16 pm »
in.abit is ready.
Code: [Select]
get_witness in.abit
{
  "id": "1.6.31",
  "witness_account": "1.2.38993",
  "last_aslot": 0,
  "signing_key": "GPH65XNUxWdYGqGyW9NtXdRpNntumLYT1cJ7CNE7F78Pwxrnx6cbV",
  "vote_id": "1:51",
  "total_votes": 0,
  "url": "https://github.com/abitmore",
  "total_missed": 0
}

3880
General Discussion / Re: October 1st Testnet for Advanced Users
« on: October 02, 2015, 03:24:33 am »
Looks like the init nodes are forking.
Code: [Select]
876618ms th_a       application.cpp:388           handle_block         ] Got block #14526 with time 2015-10-02T03:14:36 from network with latency of 610 ms from mindphlux.witness
877116ms th_a       application.cpp:699           get_blockchain_synop ] synopsis: ["0000369cedf1794fcfa40a071d18808bdf908251","000037ae75bf61fbf985a6808ccffc2d8de79ec6","000038373acc639932d181de4284991d25f76d06","0000387b86043cccd2d34831770f97656a4b14f7","0000389d7e7b495080f08bf68cde6018044c7dab","000038ae20593a8224a1dc7fbc90b8f7aa3c944c","000038b7ee8ad2d2b1d67809078edadce2a4cf77","000038bb4913829094c56f45f9a29d86975bc2c5","000038bd3e8b1eb42e6117b34b065fe34cb0e1f5","000038beddfc690bb01ae3abb1b1e93633530caf"]
877134ms th_a       application.cpp:388           handle_block         ] Got block #14513 with time 2015-10-02T03:14:36 from network with latency of 1126 ms from init8

891532ms th_a       application.cpp:388           handle_block         ] Got block #14527 with time 2015-10-02T03:14:51 from network with latency of 525 ms from riverhead
891757ms th_a       application.cpp:388           handle_block         ] Got block #14514 with time 2015-10-02T03:14:48 from network with latency of 3750 ms from init6

927397ms th_a       application.cpp:388           handle_block         ] Got block #14532 with time 2015-10-02T03:15:27 from network with latency of 390 ms from xeldal
927808ms th_a       application.cpp:388           handle_block         ] Got block #14519 with time 2015-10-02T03:15:27 from network with latency of 800 ms from init9


Network died.

Code: [Select]
1526989ms th_a       application.cpp:419           handle_block         ] Error when pushing block:
3070000 undo_database_exception: undo database exception
The database does not have enough undo history to support a blockchain with so many missed blocks. Please add a checkpoint if you would like to continue applying blocks beyond this point.
    {"recently_missed":1268,"max_undo":1000}
    th_a  db_update.cpp:86 update_global_dynamic_data

    {"next_block.block_num()":14542}
    th_a  db_block.cpp:507 _apply_block

Code: [Select]
info
{
  "head_block_num": 14541,
  "head_block_id": "000038cd712f759764979352e3f068072ce7fabf",
  "head_block_age": "4 minutes old",
  "next_maintenance_time": "40 minutes in the future",
  "chain_id": "0682819add44adb68b5ae8fa24bcd23bca930d5fe9eda95e7e09343c53ee0859",
  "participation": "41.40625000000000000",


3881
General Discussion / Re: October 1st Testnet for Advanced Users
« on: October 02, 2015, 02:13:45 am »
Need some votes..
Code: [Select]
get_witness in.abit
{
  "id": "1.6.33",
  "witness_account": "1.2.38993",
  "last_aslot": 0,
  "signing_key": "GPH65XNUxWdYGqGyW9NtXdRpNntumLYT1cJ7CNE7F78Pwxrnx6cbV",
  "vote_id": "1:53",
  "total_votes": 0,
  "url": "https://github.com/abitmore",
  "total_missed": 0
}

3882
General Discussion / Re: October 1st Testnet for Advanced Users
« on: October 02, 2015, 02:06:55 am »
Unable to create witness  :(
Spamming?

Code: [Select]
284252ms th_a       wallet.cpp:1717               sign_transaction     ] Caught exception while broadcasting transaction with id 2a04b252fc574a72da8f594c7956758908da3b21
412374ms th_a       wallet.cpp:1717               sign_transaction     ] Caught exception while broadcasting transaction with id 0946bde4438c3848e3b4881c001df6169e6d72af
537603ms th_a       wallet.cpp:1717               sign_transaction     ] Caught exception while broadcasting transaction with id 6f707974b755c8df6872079cd99e3e14b16141c1


//Update:
Tried several times.
Finally got it registered.

3883
General Discussion / Re: Test Net for Advanced Users
« on: September 30, 2015, 11:00:27 pm »
I have just checked in a fix for this issue, but it resulted in a hard fork several days ago because BitUSD technically had a black swan event back then.

Theoretical is working on unit tests for the edge cases we have identified so that we can verify the fix works in all cases.

We will launch a new test network tomorrow based upon this fix and the party can continue.
I'm unable to access my server right now. Wish I could be back when the new test network is ready.

3884
General Discussion / Re: Test Net for Advanced Users
« on: September 30, 2015, 10:43:55 pm »
It took 75 seconds to replay the 280k-blocks chain.

Maybe on a SLOW vps, but on my machine it takes a mere 11 8.79 seconds.

In Debug build it took me 59 seconds to reindex.
In Release build it took me 8.79 seconds to reindex.

There were a total of 444758 operations in the blockchain which means we are averaging over 50K TPS.
The average maintenance calculation time is:  7 ms 
1.5 seconds were spent doing maintenance calculations (on the hour, instead of every day) leaving us at 62K TPS average
The vast majority of blocks have been empty which means our TPS average is being diluted by block processing overhead.

It looks like in Debug mode we process closer to 10K TPS.
Yes I'm running with debug build. I remember the log said replay took about 60 seconds, but CPU kept at 100% for 75 seconds. Maybe the 15 more seconds are before or after replay.

3885
General Discussion / Re: Test Net for Advanced Users
« on: September 29, 2015, 02:00:32 am »
It took 75 seconds to replay the 280k-blocks chain.

Pages: 1 ... 252 253 254 255 256 257 258 [259] 260 261 262 263 264 265 266 ... 309