Author Topic: October 2nd Test Network  (Read 28881 times)

0 Members and 1 Guest are viewing this topic.

Xeldal

  • Guest
Code: [Select]
3128991ms th_a       application.cpp:432           handle_transaction   ] Got transaction from network
3128994ms th_a       application.cpp:432           handle_transaction   ] Got transaction from network
3128996ms th_a       application.cpp:432           handle_transaction   ] Got transaction from network
3128999ms th_a       application.cpp:432           handle_transaction   ] Got transaction from network
3142070ms th_a       db_block.cpp:189              _push_block          ] Failed to push new 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":1277,"max_undo":1000}
    th_a  db_update.cpp:86 update_global_dynamic_data

    {"next_block.block_num()":36473}
    th_a  db_block.cpp:508 _apply_block
Killed

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 4664
    • View Profile
    • Abit's Hive Blog
  • BitShares: abit
  • GitHub: abitmore
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 ?? ()
BitShares committee member: abit
BitShares witness: in.abit

Offline clayop

  • Hero Member
  • *****
  • Posts: 2033
    • View Profile
    • Bitshares Korea
  • BitShares: clayop
Network seems dead (due to my spam...)
Bitshares Korea - http://www.bitshares.kr
Vote for me and see Korean Bitshares community grows
delegate-clayop

Offline Thom

Thanks Spectral! Perhaps I can at least create the witness. If abit joins in later perhaps he can provide the rest of the CORE I need.

Sure wish I knew why the import balance failed. Seems like the command has a missing parameter (operation?) or something.
Injustice anywhere is a threat to justice everywhere - MLK |  Verbaltech2 Witness Reports: https://bitsharestalk.org/index.php/topic,23902.0.html

Offline Spectral

thanks to spartako(again!) and jtm1 for the CORE!

Witness is up and running now, please vote! :)

Code: [Select]
get_witness bitspace-testaccount1
{
  "id": "1.6.35",
  "witness_account": "1.2.8876",
  "last_aslot": 0,
  "signing_key": "GPH8B2qHWXkRiJpthDcq1TGv3MQEMzuRz6wXRnk2rFyLWLUL4ZYtA",
  "vote_id": "1:56",
  "total_votes": 1002444239,
  "url": "bitspace.no",
  "total_missed": 0
}

Can anyone tell me how I can see voting information/percentages/standings? I see that I have 1002444239 votes already, but what does that number mean?


@Thom, it's not much, but...
Code: [Select]
transfer bitspace-testaccount1 delegate.verbaltech 5000 CORE "passing on the love" true
{
  "ref_block_num": 36472,
  "ref_block_prefix": 2363118095,



Edit: w00t 4K txs in one block!
http://imgur.com/gallery/4BAxf4n
« Last Edit: October 04, 2015, 12:25:09 am by Spectral »
Vote for BTS-2 witness: spectral (1.6.30)
0.9 DVS delegate: dvs1.bitspace
Stay tuned for bitspace-clains worker!

Offline Thom

Injustice anywhere is a threat to justice everywhere - MLK |  Verbaltech2 Witness Reports: https://bitsharestalk.org/index.php/topic,23902.0.html

Offline Thom

Thanks pc! The only snag seems to be the import. Tried many variations of the args (quotes, commas brackets etc) but can't figure it out.

Given the difficulty of transfering the balance, would some CORE whale out there send 15K CORE to delegate.verbaltech so I can upgrade and register?

Thanks !!!
« Last Edit: October 03, 2015, 09:26:11 pm by Thom »
Injustice anywhere is a threat to justice everywhere - MLK |  Verbaltech2 Witness Reports: https://bitsharestalk.org/index.php/topic,23902.0.html

Offline Thom

In the old client I used wallet_account_balance_ids to get the IDs, then used the first one in the list as an arg to blockchain_get_balance and confirmed it had the correct balance. That also provided the owner key for that balance, which I then used with wallet_dump_private_key to get the private key for that specific balance. All this in the 0.9.3c client as per xeroc's docs.

in the cli_wallet of graphene I created account delegate.verbaltech with import_key delegate.verbaltech <account private key>. I then tried to import the balance:

Code: [Select]
import_balance delegate.verbaltech [<balance private key from 0.9.3c>] true
2850496ms th_a       wallet.cpp:3138               import_balance       ] balances: []
10 assert_exception: Assert Exception
operations.size() > 0: A transaction must have at least one operation
    {"trx":{"ref_block_num":0,"ref_block_prefix":0,"expiration":"1970-01-01T00:00:00","operations":[],"extensions":[]}}
    th_a  transaction.cpp:51 validate

    {"name_or_id":"delegate.verbaltech"}
    th_a  wallet.cpp:3179 import_balance

There's always something in the way - URG!  What crazy little syntactical error causes this?
Injustice anywhere is a threat to justice everywhere - MLK |  Verbaltech2 Witness Reports: https://bitsharestalk.org/index.php/topic,23902.0.html

Offline clayop

  • Hero Member
  • *****
  • Posts: 2033
    • View Profile
    • Bitshares Korea
  • BitShares: clayop
I urgently need CORE (at least 850k) for spam tests. Can someone (@bytemaster ?) give me a favor?

Edit: to 'clayop'
« Last Edit: October 03, 2015, 09:24:17 pm by clayop »
Bitshares Korea - http://www.bitshares.kr
Vote for me and see Korean Bitshares community grows
delegate-clayop

Offline pc

  • Hero Member
  • *****
  • Posts: 1530
    • View Profile
    • Bitcoin - Perspektive oder Risiko?
  • BitShares: cyrano
Hey pc I appreciate the sentiment for helping, but that isn't very helpful. I've seen that, reviewed that and all that comes from that is more questions which that docs page and you didn't really address.

Sorry, I thought you weren't aware of it. It really contains everything you need.

Puppies, I tried to use the cmd you mentions (create_witness(string owner_account, string url, bool broadcast)), but don't know how to specify the args. Could you be more specific? It sounds like an account with lifetime membership is prerequisite. How do I create the "owner account"? Is that where pc's reference comes into play?

Here's what you do:

1. Dump the private key of delegate.verbaltech, as described in the wiki page
2. Start witness_node and cli_wallet
3. Import the delegate.verbaltech account into the wallet ("Basic Account Management"):
Code: [Select]
import_key delegate.verbaltech "private key from step 1"4. Either ask for CORE sent to delegate.verbaltech, or export balance keys in old client and import into cli_wallet, as described in the wiki page
5. Upgrade delegate.verbaltech to lifetime member:
Code: [Select]
upgrade_account delegate.verbaltech true6. Create witness:
Code: [Select]
create_witness delegate.verbaltech "https://bitsharestalk.org/index.php/topic,13837.0.html" true7. Get witness ID and key:
Code: [Select]
get_witness delegate.verbaltech8. Dump private keys and find the private key matching the block signing key:
Code: [Select]
dump_private_keys9. Put the witness id and key pair into your witness_node's config.ini and restart.
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de

Offline jtme

spartako, thank you again for sending CORE! I managed to upgrade my account now :)

Unfortunately, I'm still short 5000 CORE to actually create a witness. Could someone please send another 5000 to account:
'bitspace-testaccount1'?

In case anyone wonders, the total CORE amount needed to register a witness is 15000 CORE. 10k for the account upgrade + 5K for creating the witness (unless I'm missing something)

sent

Offline Spectral

spartako, thank you again for sending CORE! I managed to upgrade my account now :)

Unfortunately, I'm still short 5000 CORE to actually create a witness. Could someone please send another 5000 to account:
'bitspace-testaccount1'?

In case anyone wonders, the total CORE amount needed to register a witness is 15000 CORE. 10k for the account upgrade + 5K for creating the witness (unless I'm missing something)
Vote for BTS-2 witness: spectral (1.6.30)
0.9 DVS delegate: dvs1.bitspace
Stay tuned for bitspace-clains worker!

Offline svk

I have the code built and I can launch as a seed, but I can't recall the minimal steps required to become an active witness that produces blocks on graphene.
https://github.com/cryptonomex/graphene/wiki/How%20to%20become%20an%20active%20witness%20in%20BitShares%202.0

Hey pc I appreciate the sentiment for helping, but that isn't very helpful. I've seen that, reviewed that and all that comes from that is more questions which that docs page and you didn't really address.

Puppies reply is a totally different set of steps, also not mentioned in that docs page.

Puppies, I tried to use the cmd you mentions (create_witness(string owner_account, string url, bool broadcast)), but don't know how to specify the args. Could you be more specific? It sounds like an account with lifetime membership is prerequisite. How do I create the "owner account"? Is that where pc's reference comes into play?

If so, can anyone answer the question on if the import can utilize the 0.9.3 json export, and if not why not? Seems like that 1.0 -> 2.0 import should be high on the testing priorities at this stage, not to mention how much easier that would be to the process described in that doc xeroc wrote when testing first started.
Bm said he wiped all the delegates/witnesses from the genesis so you need to reregister your account as a witness in this testnet.

You can still import your 1.0 delegate, it just won't be a witness. I had a look at xerocs wiki and it does show how to register a witness.
Worker: dev.bitsharesblocks

Offline Thom

I have the code built and I can launch as a seed, but I can't recall the minimal steps required to become an active witness that produces blocks on graphene.
https://github.com/cryptonomex/graphene/wiki/How%20to%20become%20an%20active%20witness%20in%20BitShares%202.0

Hey pc I appreciate the sentiment for helping, but that isn't very helpful. I've seen that, reviewed that and all that comes from that is more questions which that docs page and you didn't really address.

Puppies reply is a totally different set of steps, also not mentioned in that docs page.

Puppies, I tried to use the cmd you mentions (create_witness(string owner_account, string url, bool broadcast)), but don't know how to specify the args. Could you be more specific? It sounds like an account with lifetime membership is prerequisite. How do I create the "owner account"? Is that where pc's reference comes into play?

If so, can anyone answer the question on if the import can utilize the 0.9.3 json export, and if not why not? Seems like that 1.0 -> 2.0 import should be high on the testing priorities at this stage, not to mention how much easier that would be to the process described in that doc xeroc wrote when testing first started.
« Last Edit: October 03, 2015, 06:22:39 pm by Thom »
Injustice anywhere is a threat to justice everywhere - MLK |  Verbaltech2 Witness Reports: https://bitsharestalk.org/index.php/topic,23902.0.html

Offline pc

  • Hero Member
  • *****
  • Posts: 1530
    • View Profile
    • Bitcoin - Perspektive oder Risiko?
  • BitShares: cyrano
I have the code built and I can launch as a seed, but I can't recall the minimal steps required to become an active witness that produces blocks on graphene.
https://github.com/cryptonomex/graphene/wiki/How%20to%20become%20an%20active%20witness%20in%20BitShares%202.0
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de