Author Topic: Test Net for Advanced Users  (Read 268025 times)

0 Members and 1 Guest are viewing this topic.

Offline betax

  • Hero Member
  • *****
  • Posts: 808
    • View Profile
I'm there and producing.
Try deleting your witness data directory (i called mine something like testnet_puppies), and restart, that might help.

You are correct, there are not many people at the moment,  consider this as the trial and error setting yourself up before the big testnet.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline mudshark79

  • Full Member
  • ***
  • Posts: 76
    • View Profile
Can't get puppie-testnet resynced. Went on a fork shortly after having produced some blocks. Did Resync without my witness-id and block production but "error when pushing block..." came back shortly after.

When i look at the nodes I'm connected to there are too few to really call it a net. Seems to be only puppies, one more and me? Or should there be someone else?

Offline betax

  • Hero Member
  • *****
  • Posts: 808
    • View Profile
Everyone who has participated in one of these test network and successfully registered a witness, please post your witness ID and BTS account to this thread and I'll send you 1000 brownie pts.   

This testing has been very helpful.   I am actively working on a potential fix for the issues found.

The firey death of the test net stopped me getting voted in  :P

Code: [Select]
get_witness delegate.ihashfury
{
  "id": "1.6.1504",
  "witness_account": "1.2.22277",

Is there an eta for a new offical test net?

Join us at puppies :)
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline mudshark79

  • Full Member
  • ***
  • Posts: 76
    • View Profile
@mudshark79
you need to upgrade to a lifetime member first

Code: [Select]
upgrade_account <accountname> true

Oh yes, I really just started reading the "How to become ..." again and I must have overseen this step yesterday. I just managed to create the witness. Will try to get him voted in now...

Thanks  8)

Edit: After that it was done real quick. Got it "blocking"...
« Last Edit: August 19, 2015, 10:07:14 am by mudshark79 »

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
@mudshark79
you need to upgrade to a lifetime member first

Code: [Select]
upgrade_account <accountname> true

Is this, because the account is a lifetime member because being in the founder
block?
Lifetime member is different from being a founder!

Quote
How much is the fee to create a witness or
is creation free and only the voting then needs funding? A little confused about
all this right now...
you need funds (worthless CORE in a testnet) because you need to
* upgrade to lifetime member
* register a witness
* vote for the witness

Quote
Several other questions arise around running the node which maybe are common
ground for the experienced delegates. Is there a place to ask them (don't want
to spam this thread) - should I start a new one or is there someone that can
answer via PM?
Questions belong in the forum. Just post them here .. or maybe better start a
new thread!
« Last Edit: August 19, 2015, 09:50:18 am by xeroc »

Offline mudshark79

  • Full Member
  • ***
  • Posts: 76
    • View Profile
Hello Testneters!

Despite having a genesis-block id and lurking for years now I never got my hands dirty with bitshares-cli or setting up delegates/witnesses which is about to change right now.

I got my node running on sunday but didn't manage to create my witness-id in time. Now I'm on puppies testnet and several steps further but stuck now at "becoming a witness". I get an exception when doing "create_witness XXX":

xxx information cut away xxx
{"error":"10 assert_exception: Assert Exception\ndb().get(op.witness_account).is_lifetime_member(): 
xxx information cut away xxx

Is this, because the account is a lifetime member because being in the founder block? What is to be done about this? How much is the fee to create a witness or is creation free and only the voting then needs funding? A little confused about all this right now...

Several other questions arise around running the node which maybe are common ground for the experienced delegates. Is there a place to ask them (don't want to spam this thread) - should I start a new one or is there someone that can answer via PM?

Thanks and Regards,

MD

iHashFury

  • Guest
Everyone who has participated in one of these test network and successfully registered a witness, please post your witness ID and BTS account to this thread and I'll send you 1000 brownie pts.   

This testing has been very helpful.   I am actively working on a potential fix for the issues found.

The firey death of the test net stopped me getting voted in  :P

Code: [Select]
get_witness delegate.ihashfury
{
  "id": "1.6.1504",
  "witness_account": "1.2.22277",

Is there an eta for a new offical test net?

Offline clayop

  • Hero Member
  • *****
  • Posts: 2033
    • View Profile
    • Bitshares Korea
  • BitShares: clayop
My witness was forked after conducting massive transactions. I'm resyncing now and will try this experiment again tomorrow.

Edit: Ok my witness is back
« Last Edit: August 19, 2015, 08:11:02 am by clayop »
Bitshares Korea - http://www.bitshares.kr
Vote for me and see Korean Bitshares community grows
delegate-clayop

Offline betax

  • Hero Member
  • *****
  • Posts: 808
    • View Profile
That should be me, I am syncing now..
Edit:
Starting again...
« Last Edit: August 19, 2015, 08:29:55 am by betax »
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline puppies

  • Hero Member
  • *****
  • Posts: 1659
    • View Profile
  • BitShares: puppies
network is still up, but we are running at 70%. 
Code: [Select]
unlocked >>> info
info
{
  "head_block_num": 161438,
  "head_block_id": "0002769e3c40d48424a73da31340397dcb3ca150",
  "head_block_age": "2 seconds old",
  "next_maintenance_time": "4 minutes in the future",
  "chain_id": "081401ede64c8fe30b23c91d7ab8750103acb1a39548a866fb562f2edf4627d6",
  "active_witnesses": [
    "1.6.0",
    "1.6.1",
    "1.6.2",
    "1.6.3",
    "1.6.4",
    "1.6.1435",
    "1.6.1439",
    "1.6.1446",
    "1.6.5155",
    "1.6.5156"
  ],
  "active_committee_members": [
    "1.5.10",
    "1.5.0",
    "1.5.1",
    "1.5.2",
    "1.5.3",
    "1.5.4",
    "1.5.5",
    "1.5.6",
    "1.5.7",
    "1.5.8"
  ],
  "entropy": "64d465fa11e74ebc2148dbe6911f6c6f0d3b79ad"
}
I restarted and caught up. How to see that 70%?
I just watch my witness node and count.

Theres a whole lot of this
Code: [Select]
3312060ms th_a       application.cpp:342           handle_block         ] Got block #163304 from network
3313000ms th_a       witness.cpp:239               block_production_loo ] slot: 1 scheduled_witness: 1.6.0 scheduled_time: 2015-08-19T07:55:13 now: 2015-08-19T07:55:13
3313060ms th_a       application.cpp:342           handle_block         ] Got block #163305 from network
3314000ms th_a       witness.cpp:239               block_production_loo ] slot: 1 scheduled_witness: 1.6.4 scheduled_time: 2015-08-19T07:55:14 now: 2015-08-19T07:55:14
3314061ms th_a       application.cpp:342           handle_block         ] Got block #163306 from network
3315000ms th_a       witness.cpp:239               block_production_loo ] slot: 1 scheduled_witness: 1.6.5156 scheduled_time: 2015-08-19T07:55:15 now: 2015-08-19T07:55:15
3316000ms th_a       witness.cpp:239               block_production_loo ] slot: 2 scheduled_witness: 1.6.1439 scheduled_time: 2015-08-19T07:55:16 now: 2015-08-19T07:55:16
3316267ms th_a       application.cpp:342           handle_block         ] Got block #163307 from network
3317000ms th_a       witness.cpp:239               block_production_loo ] slot: 1 scheduled_witness: 1.6.1435 scheduled_time: 2015-08-19T07:55:17 now: 2015-08-19T07:55:17
3317001ms th_a       witness.cpp:242               block_production_loo ] Witness 1.6.1435 production slot has arrived; generating a block now...
3317002ms th_a       witness.cpp:255               block_production_loo ] Generated block #163308 with timestamp 2015-08-19T07:55:17 at time 2015-08-19T07:55:17
3317041ms th_a       application.cpp:437           get_item             ] Request for item {"item_type":1001,"item_hash":"00027decc0281ab06abb0033a6e8863aa5464674"}
3317041ms th_a       application.cpp:445           get_item             ] Serving up block #163308
3318000ms th_a       witness.cpp:239               block_production_loo ] slot: 1 scheduled_witness: 1.6.2 scheduled_time: 2015-08-19T07:55:18 now: 2015-08-19T07:55:18
3318057ms th_a       application.cpp:342           handle_block         ] Got block #163309 from network
3319000ms th_a       witness.cpp:239               block_production_loo ] slot: 1 scheduled_witness: 1.6.1446 scheduled_time: 2015-08-19T07:55:19 now: 2015-08-19T07:55:19
3320000ms th_a       witness.cpp:239               block_production_loo ] slot: 2 scheduled_witness: 1.6.5155 scheduled_time: 2015-08-19T07:55:20 now: 2015-08-19T07:55:20
3321000ms th_a       witness.cpp:239               block_production_loo ] slot: 3 scheduled_witness: 1.6.0 scheduled_time: 2015-08-19T07:55:21 now: 2015-08-19T07:55:21
and I watch for the while lines in between the orange ones. 
« Last Edit: August 19, 2015, 07:56:18 am by puppies »
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 4664
    • View Profile
    • Abit's Hive Blog
  • BitShares: abit
  • GitHub: abitmore
network is still up, but we are running at 70%. 
Code: [Select]
unlocked >>> info
info
{
  "head_block_num": 161438,
  "head_block_id": "0002769e3c40d48424a73da31340397dcb3ca150",
  "head_block_age": "2 seconds old",
  "next_maintenance_time": "4 minutes in the future",
  "chain_id": "081401ede64c8fe30b23c91d7ab8750103acb1a39548a866fb562f2edf4627d6",
  "active_witnesses": [
    "1.6.0",
    "1.6.1",
    "1.6.2",
    "1.6.3",
    "1.6.4",
    "1.6.1435",
    "1.6.1439",
    "1.6.1446",
    "1.6.5155",
    "1.6.5156"
  ],
  "active_committee_members": [
    "1.5.10",
    "1.5.0",
    "1.5.1",
    "1.5.2",
    "1.5.3",
    "1.5.4",
    "1.5.5",
    "1.5.6",
    "1.5.7",
    "1.5.8"
  ],
  "entropy": "64d465fa11e74ebc2148dbe6911f6c6f0d3b79ad"
}
I restarted and caught up. How to see that 70%?
BitShares committee member: abit
BitShares witness: in.abit

Offline puppies

  • Hero Member
  • *****
  • Posts: 1659
    • View Profile
  • BitShares: puppies
network is still up, but we are running at 70%. 
Code: [Select]
unlocked >>> info
info
{
  "head_block_num": 161438,
  "head_block_id": "0002769e3c40d48424a73da31340397dcb3ca150",
  "head_block_age": "2 seconds old",
  "next_maintenance_time": "4 minutes in the future",
  "chain_id": "081401ede64c8fe30b23c91d7ab8750103acb1a39548a866fb562f2edf4627d6",
  "active_witnesses": [
    "1.6.0",
    "1.6.1",
    "1.6.2",
    "1.6.3",
    "1.6.4",
    "1.6.1435",
    "1.6.1439",
    "1.6.1446",
    "1.6.5155",
    "1.6.5156"
  ],
  "active_committee_members": [
    "1.5.10",
    "1.5.0",
    "1.5.1",
    "1.5.2",
    "1.5.3",
    "1.5.4",
    "1.5.5",
    "1.5.6",
    "1.5.7",
    "1.5.8"
  ],
  "entropy": "64d465fa11e74ebc2148dbe6911f6c6f0d3b79ad"
}
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 4664
    • View Profile
    • Abit's Hive Blog
  • BitShares: abit
  • GitHub: abitmore
I have this message (now solved but I think I should report)

Code: [Select]
2071000ms th_a       witness.cpp:242               block_production_loo ] Witness 1.6.1446 p
roduction slot has arrived; generating a block now...
2071002ms th_a       db_block.cpp:167              _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 b
locks. Please add a checkpoint if you would like to continue applying blocks beyond this poi
nt.
    {"recently_missed":1431,"max_undo":1000}
    th_a  db_update.cpp:68 update_global_dynamic_data
    {"next_block.block_num()":150301}
    th_a  db_block.cpp:448 _apply_block
2071003ms th_a       witness.cpp:265               block_production_loo ] Got exception whil
e generating block:
3070000 undo_database_exception: undo database exception
The database does not have enough undo history to support a blockchain with so many missed b
locks. Please add a checkpoint if you would like to continue applying blocks beyond this poi
nt.
    {"recently_missed":1431,"max_undo":1000}
    th_a  db_update.cpp:68 update_global_dynamic_data
    {"next_block.block_num()":150301}
    th_a  db_block.cpp:448 _apply_block
    {"new_block":{"previous":"00024b1c3d09ca1f5830e3e5afa94ad35ef5bd8e","timestamp":"2015-08
-19T03:34:31","witness":"1.6.1446","next_secret_hash":"2618a50760983d98ab43df78cd9a007d2e7ea
ed7","previous_secret":"e93b540ed63a628df6ef29be551fd9354dac7bed","transaction_merkle_root":
"0000000000000000000000000000000000000000","extensions":[],"witness_signature":"20767d9f7cf2
cf5c83d2540b22943e052a5b0d0bb22af5485462a72d330efe82703a5fe6cef4276f0b5b3f76ea419d87901cefef
89c5878ec99add42aa24ab7071","transactions":[]}}
    th_a  db_block.cpp:173 _push_block
    {"witness_id":"1.6.1446"}
    th_a  db_block.cpp:312 _generate_block


The following is what I have done
- Start witness_node and sync blockchain
- Vote for 1.6.1446, close cli_wallet
- Unclean shutdown (Ctrl+C, Ctrl+C)
- Delete object_id(?) and witness_node dir
- Start witness_node
- After syncing, this problem begins to happen
Looks like you're on a fork. Try resync. Don't add parameter '--enable-stale-production'.

//Edit: Ah, just saw you've solved.
BitShares committee member: abit
BitShares witness: in.abit

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 4664
    • View Profile
    • Abit's Hive Blog
  • BitShares: abit
  • GitHub: abitmore
Just woke up to this, witness crashed
Code: [Select]
     {"new_block":{"previous":"000220b6aba8787154761a665409382bbdfd0e8e","timestamp":"2015-08-18T23:31:05","witness":"1.6.1","next_secret_hash":"51d77f1f4ae0f634c379b4c2ebe86281e4e6bbba","previous_secret":"302b516fb1585c52d55e4160217cc87bcdea1839","transaction_merkle_root":"0000000000000000000000000000000000000000","extensions":[],"witness_signature":"1f5f10bb3728f3b4e39bc173d01481859299544c25e66d5784e8197909aa42739f262f20c474c2c377e9ed60a32dfeafedcb4137b7079395cb544d6ab4b71bf8db","transactions":[]}}
    th_a  db_block.cpp:173 _push_block
1866237ms th_a       application.cpp:342           handle_block         ] Got block #139448 from network
1866238ms th_a       application.cpp:364           handle_block         ] Error when pushing block:
10 assert_exception: Assert Exception
itr != _index.get<block_id>().end():
    {}
    th_a  fork_database.cpp:51 push_block

    {"new_block":{"previous":"000220b7468dcfdf65df858c2752c938f0bfb1e1","timestamp":"2015-08-18T23:31:06","witness":"1.6.5","next_secret_hash":"51d77f1f4ae0f634c379b4c2ebe86281e4e6bbba","previous_secret":"302b516fb1585c52d55e4160217cc87bcdea1839","transaction_merkle_root":"0000000000000000000000000000000000000000","extensions":[],"witness_signature":"1f571ecd28616e8de828c48647a217bfb52bd28a4c4fc4ab9b5c6ba7277d5d12fc30313342729b0abfc1e3ced296f51539e31c240fb57a39cdbbb0be19956bfee7","transactions":[]}}
    th_a  db_block.cpp:173 _push_block
1867002ms th_a       witness.cpp:239               block_production_loo ] slot: 1667 scheduled_witness: 1.6.5155 scheduled_time: 2015-08-18T23:31:07 now: 2015-08-18T23:31:07
1867007ms th_a       application.cpp:342           handle_block         ] Got block #139448 from network
1867007ms th_a       application.cpp:364           handle_block         ] Error when pushing block:
10 assert_exception: Assert Exception
itr != _index.get<block_id>().end():
    {}
    th_a  fork_database.cpp:51 push_block

    {"new_block":{"previous":"000220b7468dcfdf65df858c2752c938f0bfb1e1","timestamp":"2015-08-18T23:31:06","witness":"1.6.5","next_secret_hash":"51d77f1f4ae0f634c379b4c2ebe86281e4e6bbba","previous_secret":"302b516fb1585c52d55e4160217cc87bcdea1839","transaction_merkle_root":"0000000000000000000000000000000000000000","extensions":[],"witness_signature":"1f571ecd28616e8de828c48647a217bfb52bd28a4c4fc4ab9b5c6ba7277d5d12fc30313342729b0abfc1e3ced296f51539e31c240fb57a39cdbbb0be19956bfee7","transactions":[]}}
    th_a  db_block.cpp:173 _push_block
witness_node: /home/azureuser/graphene/libraries/fc/src/thread/thread_d.hpp:370: bool fc::thread_d::start_next_fiber(bool): Assertion `std::current_exception() == std::exception_ptr()' failed.
Aborted (core dumped)
Me too. Stuck at 160044.
BitShares committee member: abit
BitShares witness: in.abit

Offline betax

  • Hero Member
  • *****
  • Posts: 808
    • View Profile
Just woke up to this, witness crashed
Code: [Select]
     {"new_block":{"previous":"000220b6aba8787154761a665409382bbdfd0e8e","timestamp":"2015-08-18T23:31:05","witness":"1.6.1","next_secret_hash":"51d77f1f4ae0f634c379b4c2ebe86281e4e6bbba","previous_secret":"302b516fb1585c52d55e4160217cc87bcdea1839","transaction_merkle_root":"0000000000000000000000000000000000000000","extensions":[],"witness_signature":"1f5f10bb3728f3b4e39bc173d01481859299544c25e66d5784e8197909aa42739f262f20c474c2c377e9ed60a32dfeafedcb4137b7079395cb544d6ab4b71bf8db","transactions":[]}}
    th_a  db_block.cpp:173 _push_block
1866237ms th_a       application.cpp:342           handle_block         ] Got block #139448 from network
1866238ms th_a       application.cpp:364           handle_block         ] Error when pushing block:
10 assert_exception: Assert Exception
itr != _index.get<block_id>().end():
    {}
    th_a  fork_database.cpp:51 push_block

    {"new_block":{"previous":"000220b7468dcfdf65df858c2752c938f0bfb1e1","timestamp":"2015-08-18T23:31:06","witness":"1.6.5","next_secret_hash":"51d77f1f4ae0f634c379b4c2ebe86281e4e6bbba","previous_secret":"302b516fb1585c52d55e4160217cc87bcdea1839","transaction_merkle_root":"0000000000000000000000000000000000000000","extensions":[],"witness_signature":"1f571ecd28616e8de828c48647a217bfb52bd28a4c4fc4ab9b5c6ba7277d5d12fc30313342729b0abfc1e3ced296f51539e31c240fb57a39cdbbb0be19956bfee7","transactions":[]}}
    th_a  db_block.cpp:173 _push_block
1867002ms th_a       witness.cpp:239               block_production_loo ] slot: 1667 scheduled_witness: 1.6.5155 scheduled_time: 2015-08-18T23:31:07 now: 2015-08-18T23:31:07
1867007ms th_a       application.cpp:342           handle_block         ] Got block #139448 from network
1867007ms th_a       application.cpp:364           handle_block         ] Error when pushing block:
10 assert_exception: Assert Exception
itr != _index.get<block_id>().end():
    {}
    th_a  fork_database.cpp:51 push_block

    {"new_block":{"previous":"000220b7468dcfdf65df858c2752c938f0bfb1e1","timestamp":"2015-08-18T23:31:06","witness":"1.6.5","next_secret_hash":"51d77f1f4ae0f634c379b4c2ebe86281e4e6bbba","previous_secret":"302b516fb1585c52d55e4160217cc87bcdea1839","transaction_merkle_root":"0000000000000000000000000000000000000000","extensions":[],"witness_signature":"1f571ecd28616e8de828c48647a217bfb52bd28a4c4fc4ab9b5c6ba7277d5d12fc30313342729b0abfc1e3ced296f51539e31c240fb57a39cdbbb0be19956bfee7","transactions":[]}}
    th_a  db_block.cpp:173 _push_block
witness_node: /home/azureuser/graphene/libraries/fc/src/thread/thread_d.hpp:370: bool fc::thread_d::start_next_fiber(bool): Assertion `std::current_exception() == std::exception_ptr()' failed.
Aborted (core dumped)
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads