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

0 Members and 1 Guest are viewing this topic.

Offline cryptosile

  • Full Member
  • ***
  • Posts: 56
    • View Profile
I was able to delete my files and resync the witness, then I turned block production back on and it seems to be working now.

Here are some examples of how to use docker to run the witness:

Start a witness, all logs and data will be dumped right after execution stops:
docker run -it --rm sile16/graphene-witness:aug19test --genesis-json /aug-19-puppies-test-genesis.json -s 45.55.6.216:1776
(this docker image i included the genesis json in)

Start a witness with persistent data dir:
docker run -it --rm -v <local data dir>:/witness_node_data_dir sile16/graphene-witness:aug19test --genesis-json /aug-19-puppies-test-genesis.json -s 45.55.6.216:1776

to make it easier to expose ports you can also include --net=host
docker run -it --rm --net=host -v /witness_node/test_net2:/witness_node_data_dir sile16/graphene-witness:aug19test --genesis-json /aug-19-puppies-test-genesis.json -s 45.55.6.216:1776 --rpc-endpoint 127.0.0.1:8090


the docker image is pushed so these commands should work for anyone.

Offline betax

  • Hero Member
  • *****
  • Posts: 808
    • View Profile
Here we are...



Awesome, how did you build?

Using the graphene-ui build instructions :) in github.
As I am using ubuntu in a vps I changed server.js to use 0.0.0.0, also to use prod.
My witnesses uses for rpc 0.0.0.0 instead localhost / 127.0.0.1
Do you have a URL so others could access the GUI/webwallet?

If you havent seen puppies already http://bitshares2.cloudapp.net:8080/  same warnings, wallet cannot create account (I bet I have missed something), but nice to get a good feel.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline testz

Probably my spam transactions caused the problem.

Yes, and I can't resync to the network, witness_node crashes, so if devs will look to our test net they will found something interesting.  :)

Offline clayop

  • Hero Member
  • *****
  • Posts: 2033
    • View Profile
    • Bitshares Korea
  • BitShares: clayop
Probably my spam transactions caused the problem.
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
Just woke up, Im not producing blocks either.
Code: [Select]
866714cfbbf","000066e44370fae9a1b02625480966b57cc3458a","0000672466da61511d9ef8a386217b1e7235f519","00006744a726781b14726dd82437cd3dff493a50","0000675411988d1632d109b69917632bae5dc68c","0000675c7c19cb50b481a1522b14212368228847","0000676053c543bdb9e0cea06d48328634701b33","000067625f90d27d73ee18d5c3192b123524a87a","00006763c44fd2d25cd3b9966657e194abb6c36c","000067642e6bb2e49584d494b243f7aebb8d3d2b"]
2586746ms th_a       application.cpp:492           get_blockchain_synop ] reference_point: 000067642e6bb2e49584d494b243f7aebb8d3d2b number_of_blocks_after_reference_point: 7996 result: ["00002764769c3f0b69e953b5feb889a81247f3b8","00004764b53d527f3af9ef82b5a6f8a98812cfff","0000576494e36a391539acb34b2912a2003a7271","00005f64142465bf62f511966b0064e10e53cad0","00006364751fdb8467125d8603c8847d3b0082c4","00006564f0cfc6e21490e40e368a5f833ab4c9dc","000066640e3d1b4bce1cdc389291a866714cfbbf","000066e44370fae9a1b02625480966b57cc3458a","0000672466da61511d9ef8a386217b1e7235f519","00006744a726781b14726dd82437cd3dff493a50","0000675411988d1632d109b69917632bae5dc68c","0000675c7c19cb50b481a1522b14212368228847","0000676053c543bdb9e0cea06d48328634701b33","000067625f90d27d73ee18d5c3192b123524a87a","00006763c44fd2d25cd3b9966657e194abb6c36c","000067642e6bb2e49584d494b243f7aebb8d3d2b"]
2586995ms th_a       application.cpp:492           get_blockchain_synop ] reference_point: 000067642e6bb2e49584d494b243f7aebb8d3d2b number_of_blocks_after_reference_point: 9995 result: ["00002764769c3f0b69e953b5feb889a81247f3b8","00004764b53d527f3af9ef82b5a6f8a98812cfff","0000576494e36a391539acb34b2912a2003a7271","00005f64142465bf62f511966b0064e10e53cad0","00006364751fdb8467125d8603c8847d3b0082c4","00006564f0cfc6e21490e40e368a5f833ab4c9dc","000066640e3d1b4bce1cdc389291a866714cfbbf","000066e44370fae9a1b02625480966b57cc3458a","0000672466da61511d9ef8a386217b1e7235f519","00006744a726781b14726dd82437cd3dff493a50","0000675411988d1632d109b69917632bae5dc68c","0000675c7c19cb50b481a1522b14212368228847","0000676053c543bdb9e0cea06d48328634701b33","000067625f90d27d73ee18d5c3192b123524a87a","00006763c44fd2d25cd3b9966657e194abb6c36c","000067642e6bb2e49584d494b243f7aebb8d3d2b"]
2587004ms th_a       witness.cpp:240               block_production_loo ] slot: 13978 scheduled_witness: 1.6.0 scheduled_time: 2015-08-20T05:43:07 now: 2015-08-20T05:43:07
2588007ms th_a       witness.cpp:240               block_production_loo ] slot: 13979 scheduled_witness: 1.6.52 scheduled_time: 2015-08-20T05:43:08 now: 2015-08-20T05:43:08
2589008ms th_a       witness.cpp:240               block_production_loo ] slot: 13980 scheduled_witness: 1.6.5249 scheduled_time: 2015-08-20T05:43:09 now: 2015-08-20T05:43:09
2590005ms th_a       witness.cpp:240               block_production_loo ] slot: 13981 scheduled_witness: 1.6.5248 scheduled_time: 2015-08-20T05:43:10 now: 2015-08-20T05:43:10
2590157ms th_a       application.cpp:370           handle_block         ] Error when pushing block:
10 assert_exception: Assert Exception
item->num > std::max<int64_t>( 0, int64_t(_head->num) - (_max_size) ):
    {}
    th_a  fork_database.cpp:67 _push_block

    {"new_block":{"previous":"000067642e6bb2e49584d494b243f7aebb8d3d2b","timestamp":"2015-08-20T01:50:10","witness":"1.6.5249","next_secret_hash":"f4f468fd3e4fb366dd2d972a915db1b3d5345c71","previous_secret":"2bca37cf125efd56697843c3cba65bc9f7075a20","transaction_merkle_root":"0000000000000000000000000000000000000000","extensions":[],"witness_signature":"2056ea809a37ebb3f8963eedc965e57d640719b787d13583eab4b0c8215c7f13e470eb42c2ac842951201f86b165eca75180a161dfb8fbb981b490e3bdd467b19f","transactions":[]}}
    th_a  db_block.cpp:176 _push_block
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline testz

my witness node stopped producing blocks as well.

I get:
2162093ms th_a       witness.cpp:243               block_production_loo ] Witness 1.6.4435 production slot has arrived; generating a block now...
2162093ms th_a       witness.cpp:266               block_production_loo ] Got exception while generating block:
10 assert_exception: Assert Exception
_consecutive_production_enabled || db.get_dynamic_global_properties().current_witness != scheduled_witness: Last block was generated by the same witness, this node is probably disconnected from the network so block production has been disabled.  Disable this check with --allow-consecutive option.
    {}
    th_a  witness.cpp:248 graphene::witness_plugin::witness_plugin::block_production_loop
2163091ms th_a       witness.cpp:240               block_production_loo ] slot: 6063 scheduled_witness: 1.6.5246 schedul...

Offline clayop

  • Hero Member
  • *****
  • Posts: 2033
    • View Profile
    • Bitshares Korea
  • BitShares: clayop
my witness node stopped producing blocks as well.

What did you do?
Bitshares Korea - http://www.bitshares.kr
Vote for me and see Korean Bitshares community grows
delegate-clayop

Offline cryptosile

  • Full Member
  • ***
  • Posts: 56
    • View Profile
my witness node stopped producing blocks as well.

Offline clayop

  • Hero Member
  • *****
  • Posts: 2033
    • View Profile
    • Bitshares Korea
  • BitShares: clayop
Witness node fails to produce blocks after massive transactions from witness account (i.e. 1 CORE transfer * 300 txs)
@bytemaster and @vikram can you look at this?

If anyone can reproduce this bug, it would be nice.
Bitshares Korea - http://www.bitshares.kr
Vote for me and see Korean Bitshares community grows
delegate-clayop

Offline clayop

  • Hero Member
  • *****
  • Posts: 2033
    • View Profile
    • Bitshares Korea
  • BitShares: clayop
I'm in.
Now going to test massive transactions with witness account.
Bitshares Korea - http://www.bitshares.kr
Vote for me and see Korean Bitshares community grows
delegate-clayop

Offline puppies

  • Hero Member
  • *****
  • Posts: 1659
    • View Profile
  • BitShares: puppies
so the web wallet at 45.55.6.216:8080 is now functional, but is not allowing new account registrations.  I think that is because it doesn't have an account set up to pay for the registration.  If anyone knows how to set that up I would greatly appreciate it.

If not then you can still import balances from the 0.9.2 wallet_export_keys command (requires an updated build.  read the first two pages of this thread)

Or you can just not create an account and still look at a large chunk of the wallet
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline cryptosile

  • Full Member
  • ***
  • Posts: 56
    • View Profile
Witness everydaycrypto is producing blocks

Offline Riverhead

I've set up the web wallet at 45.55.6.216:8080 same node as the init witnesses so don't crash it.


Nice :)  +5%

Offline puppies

  • Hero Member
  • *****
  • Posts: 1659
    • View Profile
  • BitShares: puppies
I've set up the web wallet at 45.55.6.216:8080 same node as the init witnesses so don't crash it.

Edit.  Looks like it needs more work.  Giving me an error on account create.
« Last Edit: August 19, 2015, 11:59:08 pm by puppies »
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline Riverhead




Witness created. 1.6.5248 :)