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

0 Members and 1 Guest are viewing this topic.

Offline Fox

All nodes are now up to date with master. 

FYI - I did encounter unclean database shutdown detected >> resync blockchain on about 1/3 of the nodes.  All were previously the prior day's build. 
Witness: fox

Offline Fox

Special thanks to the five (5) community members taking part in the fund matching offer to support Clayop's efforts with spamming the network from a global VPS entourage.  These individuals combined to contribute 9500 BTS.  I kicked in an extra 500 BTS extra, making it a 5-digit match.

Again, thanks to the community and Clayop. 

Best,
Fox
Witness: fox

Offline cube

  • Hero Member
  • *****
  • Posts: 1404
  • Bit by bit, we will get there!
    • View Profile
  • BitShares: bitcube
bitcube is updated to latest master.
ID: bitcube
bitcube is a dedicated witness and committe member. Please vote for bitcube.

Offline puppies

  • Hero Member
  • *****
  • Posts: 1659
    • View Profile
  • BitShares: puppies
dele-puppy is updated
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Xeldal

  • Guest

Offline maqifrnswa

  • Hero Member
  • *****
  • Posts: 661
    • View Profile
maqifrnswa upgraded
PPA upgraded
maintains an Ubuntu PPA: https://launchpad.net/~showard314/+archive/ubuntu/bitshares [15% delegate] wallet_account_set_approval maqifrnswa true [50% delegate] wallet_account_set_approval delegate1.maqifrnswa true

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
here is the bt
Code: [Select]
(gdb) bt
#0  0x00007ffff6b88cc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007ffff6b8c0d8 in __GI_abort () at abort.c:89
#2  0x00007ffff6b81b86 in __assert_fail_base (fmt=0x7ffff6cd2830 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x2cf35f4 "block_num != 0",
    file=file@entry=0x2cf3518 "/home/alt/workspace/dac/graphene/libraries/chain/block_database.cpp", line=line@entry=128,
    function=function@entry=0x2cf4e00 <graphene::chain::block_database::fetch_block_id(unsigned int) const::__PRETTY_FUNCTION__> "graphene::chain::block_id_type graphene::chain::block_database::fetch_block_id(uint32_t) const") at assert.c:92
#3  0x00007ffff6b81c32 in __GI___assert_fail (assertion=0x2cf35f4 "block_num != 0",
    file=0x2cf3518 "/home/alt/workspace/dac/graphene/libraries/chain/block_database.cpp", line=128,
    function=0x2cf4e00 <graphene::chain::block_database::fetch_block_id(unsigned int) const::__PRETTY_FUNCTION__> "graphene::chain::block_id_type graphene::chain::block_database::fetch_block_id(uint32_t) const") at assert.c:101
#4  0x00000000026eeaa2 in graphene::chain::block_database::fetch_block_id (this=0x34fe120, block_num=0)
    at /home/alt/workspace/dac/graphene/libraries/chain/block_database.cpp:128
#5  0x00000000024356dd in graphene::chain::database::get_block_id_for_num (this=0x34fde60, block_num=0)
    at /home/alt/workspace/dac/graphene/libraries/chain/db_block.cpp:50
#6  0x00000000020b5798 in graphene::app::detail::application_impl::get_blockchain_synopsis (this=0x34fdd30, reference_point=...,
    number_of_blocks_after_reference_point=0) at /home/alt/workspace/dac/graphene/libraries/app/application.cpp:692
#7  0x00000000029754fb in graphene::net::detail::statistics_gathering_node_delegate_wrapper::<lambda()>::operator()(void) const (__closure=0x7fffdc0660a8)
    at /home/alt/workspace/dac/graphene/libraries/net/node.cpp:5394
#8  0x0000000002986118 in fc::detail::functor_run<graphene::net::detail::statistics_gathering_node_delegate_wrapper::get_blockchain_synopsis(const item_hash_t&, uint32_t)::<lambda()> >::run(void *, void *) (functor=0x7fffdc0660a8, prom=0x7fffdc066190) at /home/alt/workspace/dac/graphene/libraries/fc/include/fc/thread/task.hpp:77
#9  0x000000000274ae45 in fc::task_base::run_impl (this=0x7fffdc0660c8) at /home/alt/workspace/dac/graphene/libraries/fc/src/thread/task.cpp:43
#10 0x000000000274add6 in fc::task_base::run (this=0x7fffdc0660c8) at /home/alt/workspace/dac/graphene/libraries/fc/src/thread/task.cpp:32
#11 0x000000000273ec50 in fc::thread_d::run_next_task (this=0x3538ff0) at /home/alt/workspace/dac/graphene/libraries/fc/src/thread/thread_d.hpp:498
#12 0x000000000273f0f4 in fc::thread_d::process_tasks (this=0x3538ff0) at /home/alt/workspace/dac/graphene/libraries/fc/src/thread/thread_d.hpp:547
#13 0x000000000273e765 in fc::thread_d::start_process_tasks (my=55807984) at /home/alt/workspace/dac/graphene/libraries/fc/src/thread/thread_d.hpp:475
#14 0x0000000002aa7351 in make_fcontext ()
#15 0x0000000000000000 in ?? ()

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
delegate.baozi updated
And I got the same problem as you.

First try crashed. Second is replaying blockchain but seems OK.

Code: [Select]
riverhead@dedi3890:~/github/graphene/programs/witness_node$ ./witness_node --rpc-endpoint "127.0.0.1:8090" -d test_net_3 -s "104.236.118.105:1776" --genesis-json sep-18-testnet-genesis.json
3284321ms th_a       witness.cpp:83                plugin_initialize    ] witness plugin:  plugin_initialize() begin
3284321ms th_a       witness.cpp:93                plugin_initialize    ] key_id_to_wif_pair: ["G-------","5-------"]
3284321ms th_a       witness.cpp:111               plugin_initialize    ] witness plugin:  plugin_initialize() end
3284321ms th_a       db_management.cpp:131         open                 ] Old database version detected, reindex is required
3284321ms th_a       db_management.cpp:98          wipe                 ] Wiping database
3284328ms th_a       object_database.cpp:81        wipe                 ] Wiping object_database.
3284375ms th_a       application.cpp:242           operator()           ] Initializing database...
3320089ms th_a       db_management.cpp:147         open                 ] last_block->id(): 0004a4f61b6d4898f6311bae5fb8a960ffc0a3de last_block->block_num(): 304374
3320120ms th_a       thread.cpp:95                 thread               ] name:ntp tid:140230048286464
3320122ms th_a       thread.cpp:95                 thread               ] name:p2p tid:140230029403904
3320127ms th_a       application.cpp:122           reset_p2p_node       ] Adding seed node 104.236.118.105:1776
3320128ms th_a       application.cpp:134           reset_p2p_node       ] Configured p2p node to listen on 0.0.0.0:51599
3320129ms ntp        ntp.cpp:177                   read_loop            ] ntp_delta_time updated to 646 us
3320130ms th_a       application.cpp:184           reset_websocket_serv ] Configured websocket rpc to listen on 127.0.0.1:8090
3320130ms th_a       witness.cpp:116               plugin_startup       ] witness plugin:  plugin_startup() begin
3320130ms th_a       witness.cpp:123               plugin_startup       ] Launching block production for 1 witnesses.
3320130ms th_a       witness.cpp:134               plugin_startup       ] witness plugin:  plugin_startup() end
3320130ms th_a       main.cpp:167                  main                 ] Started witness node on a chain with 0 blocks.
3320130ms th_a       main.cpp:168                  main                 ] Chain ID is 0f8b631d7a9dfebf16d6776fab96b629a14429762bf9c3eb95db1e4e4af637a4
3321000ms th_a       witness.cpp:179               block_production_loo ] Not producing block because production is disabled until we receive a recent block (see: --enable-stale-production)
witness_node: /home/riverhead/github/graphene/libraries/chain/block_database.cpp:128: graphene::chain::block_id_type graphene::chain::block_database::fetch_block_id(uint32_t) const: Assertion `block_num != 0' failed.
Aborted
riverhead@dedi3890:~/github/graphene/programs/witness_node$

Blocks are producing again. Updated.

Offline Riverhead


First try crashed. Second is replaying blockchain but seems OK.

Code: [Select]
riverhead@dedi3890:~/github/graphene/programs/witness_node$ ./witness_node --rpc-endpoint "127.0.0.1:8090" -d test_net_3 -s "104.236.118.105:1776" --genesis-json sep-18-testnet-genesis.json
3284321ms th_a       witness.cpp:83                plugin_initialize    ] witness plugin:  plugin_initialize() begin
3284321ms th_a       witness.cpp:93                plugin_initialize    ] key_id_to_wif_pair: ["G-------","5-------"]
3284321ms th_a       witness.cpp:111               plugin_initialize    ] witness plugin:  plugin_initialize() end
3284321ms th_a       db_management.cpp:131         open                 ] Old database version detected, reindex is required
3284321ms th_a       db_management.cpp:98          wipe                 ] Wiping database
3284328ms th_a       object_database.cpp:81        wipe                 ] Wiping object_database.
3284375ms th_a       application.cpp:242           operator()           ] Initializing database...
3320089ms th_a       db_management.cpp:147         open                 ] last_block->id(): 0004a4f61b6d4898f6311bae5fb8a960ffc0a3de last_block->block_num(): 304374
3320120ms th_a       thread.cpp:95                 thread               ] name:ntp tid:140230048286464
3320122ms th_a       thread.cpp:95                 thread               ] name:p2p tid:140230029403904
3320127ms th_a       application.cpp:122           reset_p2p_node       ] Adding seed node 104.236.118.105:1776
3320128ms th_a       application.cpp:134           reset_p2p_node       ] Configured p2p node to listen on 0.0.0.0:51599
3320129ms ntp        ntp.cpp:177                   read_loop            ] ntp_delta_time updated to 646 us
3320130ms th_a       application.cpp:184           reset_websocket_serv ] Configured websocket rpc to listen on 127.0.0.1:8090
3320130ms th_a       witness.cpp:116               plugin_startup       ] witness plugin:  plugin_startup() begin
3320130ms th_a       witness.cpp:123               plugin_startup       ] Launching block production for 1 witnesses.
3320130ms th_a       witness.cpp:134               plugin_startup       ] witness plugin:  plugin_startup() end
3320130ms th_a       main.cpp:167                  main                 ] Started witness node on a chain with 0 blocks.
3320130ms th_a       main.cpp:168                  main                 ] Chain ID is 0f8b631d7a9dfebf16d6776fab96b629a14429762bf9c3eb95db1e4e4af637a4
3321000ms th_a       witness.cpp:179               block_production_loo ] Not producing block because production is disabled until we receive a recent block (see: --enable-stale-production)
witness_node: /home/riverhead/github/graphene/libraries/chain/block_database.cpp:128: graphene::chain::block_id_type graphene::chain::block_database::fetch_block_id(uint32_t) const: Assertion `block_num != 0' failed.
Aborted
riverhead@dedi3890:~/github/graphene/programs/witness_node$

Blocks are producing again. Updated.
« Last Edit: September 29, 2015, 11:00:45 pm by Riverhead »

Offline clayop

  • Hero Member
  • *****
  • Posts: 2033
    • View Profile
    • Bitshares Korea
  • BitShares: clayop
delegate-clayop updated
Bitshares Korea - http://www.bitshares.kr
Vote for me and see Korean Bitshares community grows
delegate-clayop

Offline bytemaster

New code has been checked in to improve propagation of transactions during flooding by requesting multiple transactions at once.

All nodes will have to upgrade to get the full benefit so please post once you have upgraded.  Once enough nodes have updated then we can try the flooding tests again.

https://github.com/cryptonomex/graphene/commit/74bbde785b3d9c492007aced389df597b16cf124
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline theoretical

You may have recently noticed a 20% decrease in fees, and witness pay being lowered to 5 BTS per block.  This is our testing of the parameter change functionality described at https://bitshares.org/technology/delegated-proof-of-stake-consensus/#parameter-changes-by-elected-delegates

Unfortunately the witness pay change was inadvertently reverted due to certain technicalities of how proposals work, but I re-applied it in another proposal which will take effect fairly soon.  So here are the new parameters:

Code: [Select]
propose_parameter_change init2 "2015-09-29T19:45:00" { "maintenance_skip_slots": 4, "maintenance_interval" : 1800, "maximum_transaction_size": 65536, "cashback_vesting_period_seconds": 7776000, "witness_pay_per_block": 500000, "committee_proposal_review_period" : 300 } true
approve_proposal init2 1.10.4 {"active_approvals_to_add" : ["init2", "init3", "init4", "init5", "init6", "init7", "init8", "init9", "init10"]} true
get_block 299579
get_block 299596

As you might guess from these commands, the change will take effect at (the next maintenance interval after) 19:45:00 UTC today (2015-09-29).

In the live network, changes to parameters will require approval of committee members elected by the community and require a two-week waiting period during which no new approvals can be added.  To better enable us to test the system, we turned the waiting period way down for the testnet (and this parameter change will lower it even further to 300 seconds), and voted the init witnesses as committee members.

We've also traced why the total witness budget wasn't a round number.  Due to the lower block interval and extra CORE balances we added to the testnet genesis, the requested witness pay was being capped by the hard-coded limit on the rate of creating CORE.  As stated in https://bitshares.org/technology/stakeholder-approved-project-funding/ the maximum rate at which CORE can be created to pay witnesses / workers is approximately 5 BTS per second (the actual number is reserve * 17 / 2^32).  But there are 500M+ extra test CORE in the testnet genesis which will not exist in the real genesis, and this depleted the reserve down to about 3 BTS per second -- so witness funding at 10 BTS every 3 seconds was a little over the limit.

I don't know if we'll have the GUI for creating and inspecting parameters and proposals ready for the launch.  But this test proves the blockchain and command line interface for it is working, so if the community has a desire to change parameters soon after the launch, it should be possible for the committee members elected by the community to enact any desired changes.
« Last Edit: September 29, 2015, 07:37:42 pm by theoretical »
BTS- theoretical / PTS- PZxpdC8RqWsdU3pVJeobZY7JFKVPfNpy5z / BTC- 1NfGejohzoVGffAD1CnCRgo9vApjCU2viY / the delegate formerly known as drltc / Nothing said on these forums is intended to be legally binding / All opinions are my own unless otherwise noted / Take action due to my posts at your own risk

Offline emailtooaj

@clayop just sent u some bts for VPS donation
Thanks my friend!
Np. Thanks for helping. I'll send u some more in next day or two
Sound Editor of Beyondbitcoin Hangouts. Listen to latest here - https://beyondbitcoin.org support the Hangouts! BTS Tri-Fold Brochure https://bitsharestalk.org/index.php/topic,15169.0.html
Tip BROWNIE.PTS to EMAILTOOAJ

Offline clayop

  • Hero Member
  • *****
  • Posts: 2033
    • View Profile
    • Bitshares Korea
  • BitShares: clayop
@clayop just sent u some bts for VPS donation
Thanks my friend!
Bitshares Korea - http://www.bitshares.kr
Vote for me and see Korean Bitshares community grows
delegate-clayop

Offline emailtooaj

@clayop just sent u some bts for VPS donation
Sound Editor of Beyondbitcoin Hangouts. Listen to latest here - https://beyondbitcoin.org support the Hangouts! BTS Tri-Fold Brochure https://bitsharestalk.org/index.php/topic,15169.0.html
Tip BROWNIE.PTS to EMAILTOOAJ