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 ... 253 254 255 256 257 258 259 [260] 261 262 263 264 265 266 267 ... 311
3886
General Discussion / Re: October 5 Test Network
« on: October 05, 2015, 08:49:28 pm »


I've got your feed script running, but I'm getting errors when I try to broadcast.
Is that because my witness is inactive, or did I miss a step?
I think that is because you're not voted in.

3887
General Discussion / Re: October 5 Test Network
« on: October 05, 2015, 08:38:17 pm »
What the bleep is going on! Dam if it's not one thing it's another.

Code: [Select]
admin@seed06:~/.BitShares2_bin$ ls -ls
total 822568
    0 lrwxrwxrwx 1 admin admin       38 Oct  5 18:38 cli_wallet -> cli_wallet_2015-10-05_test6-1-g60b5228
79456 -rwxr-xr-x 1 admin admin 81361534 Oct  5 17:01 cli_wallet_2015-10-05_test6
80464 -rwxr-xr-x 1 admin admin 82394008 Oct  5 18:32 cli_wallet_2015-10-05_test6-1-g60b5228
32304 -rw-r--r-- 1 admin admin 33079187 Oct  5 18:51 test6bin.tgz
    0 lrwxrwxrwx 1 admin admin       40 Oct  5 18:38 witness_node -> witness_node_2015-10-05_test6-1-g60b5228
76960 -rwxr-xr-x 1 admin admin 78803733 Oct  5 17:01 witness_node_2015-10-05_test6
78172 -rwxr-xr-x 1 admin admin 80045408 Oct  5 18:32 witness_node_2015-10-05_test6-1-g60b5228

Major difference in the binaries between those produced on the VPS vs my dev machine. Thought for sure that was the issue, but NOT!

I had no issues before with the build methodology I used for the testnet, now all lthe sudden shit is different. Ultra bummer.

There has got to be a silly stupid change made somewhere. I am going to compile test5 again and see if the binaries differ and if it runs. If it does then whatever is different is not on my end. You all will hear some explitives if that is the case. I doubt it is but I've spent WAY too much time dealing with this today and must go now. If test5 is built and runs without this silly json read error I know something else is the problem.

The only thing that may be the cause on my end I could see is the release flag, since nobody has bothered to answer THAT question. It will SUCK if it turns out that is the culprit. It really wouldn't surprise me tho. It just would be nice if I could get a straight answer. It will require changing wackou's code to fix that, which is not a big deal to do but the point is it shouldn't be necessary and it has cost me alot of time that those tools are supposed to save. The flags he uses to build the code have always worked before.

If the -D CMAKE_BUILD_TYPE=Release definition is so crucial and is not the same as not defining it why is that so damned hard to answer? The build default should be release and the exception debug. Reversing it (if that is what has been done) has screwed at least 2 people.

Edit: just to make sure it wasn't the json file itself I used an old one, but still got the same error.

At the risk of beating that poor horse, forgive me, : ) I still believe it may have to do with the location of your json file.

put the .json file in ~/graphene/programs/witness_node  directory and launch without specifying an explicit location


for example
Code: [Select]
cd ~/graphene/programs/witness_node
wget https://github.com/cryptonomex/graphene/releases/download/test6/oct5-genesis.json.zip
unzip oct5-genesis.json.zip

./witness_node --rpc-endpoint "127.0.0.1:8090"  --genesis-json oct5-genesis.json -d oct5 -s "104.236.51.238:2005"

I also changed nothing about my build process and I did not have any issues.  Hope that helps. : )
Forgive me.. I always build with -D CMAKE_BUILD_TYPE=Debug.
No issue.

3888
General Discussion / Re: October 5 Test Network
« on: October 05, 2015, 08:33:15 pm »
clayop, your delegate is missing blocks

edit:

how do I quit witness_node cleanly thru gdb?
CTRL+C
Then type "signal SIGINT", return.

3889
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.

3890
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?

3891
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 ?? ()

3892
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

3893
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?

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

3895
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.

3896
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?

3897
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
}

3898
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",


3899
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
}

3900
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.

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