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 - spartako

Pages: 1 2 3 4 5 6 7 [8] 9 10 11 12 13 14 15 ... 27
106
General Discussion / Re: Test Net for Advanced Users
« on: September 23, 2015, 07:15:47 am »

Updated the master, should be fixed now

Code: [Select]
~/node-graphene# nodejs bin/flood.js bitcube bitcube ws://127.0.0.1:8090 200
******* 0*******
ERROR 10 assert_exception: Assert Exception
itr != _by_name.end(): no method with name 'transfer'
    {"name":"transfer","api":[["cancel_all_subscriptions",4],["get_account_balances",21],["get_account_by_name",16],["get_account_count",20],["get_account_references",17],["get_accounts",14],["get_assets",26],["get_balance_objects",23],["get_blinded_balances",52],["get_block",6],["get_block_header",5],["get_call_orders",30],["get_chain_id",11],["get_chain_properties",8],["get_committee_member_by_account",40],["get_committee_members",39],["get_config",10],["get_dynamic_global_properties",12],["get_full_accounts",15],["get_global_properties",9],["get_key_references",13],["get_limit_orders",29],["get_margin_positions",32],["get_named_account_balances",22],["get_objects",0],["get_potential_signatures",46],["get_proposed_transactions",51],["get_required_fees",50],["get_required_signatures",45],["get_settle_orders",31],["get_transaction",7],["get_transaction_hex",44],["get_vested_balances",24],["get_vesting_balances",25],["get_witness_by_account",36],["get_witness_count",38],["get_witnesses",35],["get_workers_by_account",42],["list_assets",27],["lookup_account_names",18],["lookup_accounts",19],["lookup_asset_symbols",28],["lookup_committee_member_accounts",41],["lookup_vote_ids",43],["lookup_witness_accounts",37],["set_block_applied_callback",3],["set_pending_transaction_callback",2],["set_subscribe_callback",1],["subscribe_to_market",33],["unsubscribe_from_market",34],["validate_transaction",49],["verify_account_authority",48],["verify_authority",47]]}
    th_a  api_connection.hpp:84 call


Any idea?

You have to point to the wallet-url and not the witness url.
You can do that in this way for example:
Code: [Select]
./cli_wallet -w wallet.json --chain-id 0f8b631d7a9dfebf16d6776fab96b629a14429762bf9c3eb95db1e4e4af637a4  -s ws://127.0.0.1:8090 -r 127.0.0.1:8099

Moreover the accounts must be different because transfer doesn't work if you transfer to yourself. So create an other account (like bitcube1)
Unlock your wallet and use this command:
Code: [Select]
~/node-graphene# nodejs bin/flood.js bitcube bitcube1 ws://127.0.0.1:8099 200

Edit: at the beginning test with only 10 tx X block so you don't spend too much:

Code: [Select]
~/node-graphene# nodejs bin/flood.js bitcube bitcube1 ws://127.0.0.1:8099 10

You can see your results with:
Code: [Select]
~/node-graphene# nodejs bin/lastBlocks.js ws://127.0.0.1:8090 30

107
General Discussion / Re: Test Net for Advanced Users
« on: September 23, 2015, 05:09:30 am »
I was spamming the network alone with this simple code:

https://github.com/spartako82/node-graphene

Code: [Select]
node bin/flood.js spartako spartako1 ws://127.0.0.1:8099 200

If more people join the spam I think we can reach great results

I got error messages.

Code: [Select]
module.js:340
    throw err;
          ^
Error: Cannot find module 'lib/'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/home/clayop/node-graphene/bin/flood.js:4:8)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)

Updated the master, should be fixed now

108
General Discussion / Re: Test Net for Advanced Users
« on: September 22, 2015, 11:11:05 pm »
I just observed some nice flooding of the network with a single block containing 192 transactions and during the flooding there were no missed blocks. 

There are currently 33 active witnesses most of which are on unique nodes with 100% participation. 

It looks like things have really stabilized with this test network which is a really good sign that 3 weeks from now the upgrade will go smoothly. 

Great work everyone, keep up the testing!

I was spamming the network alone with this simple code:

https://github.com/spartako82/node-graphene

Code: [Select]
node bin/flood.js spartako spartako1 ws://127.0.0.1:8099 200

If more people join the spam I think we can reach great results

109
General Discussion / Re: Test Net for Advanced Users
« on: September 22, 2015, 09:14:11 am »
What is the best practice for not missing any block during an update?

The update_witness command in CLI wallet allows you to change your witness's block signing key.  This architecture allows several different downtime-free update procedures according to your specific hosting situation:
...

Thanks theoretical! Great work!

110
General Discussion / Re: Test Net for Advanced Users
« on: September 21, 2015, 11:10:52 pm »
Upgraded to the master, during the update I missed 2 blocks.

What is the best practice for not missing any block during an update?

111
General Discussion / Re: Test Net for Advanced Users
« on: September 21, 2015, 03:27:52 pm »
My delegate just crashed :(
Code: [Select]
witness_node: /home/spartako/graphene/libraries/net/node.cpp:2319: std::vector<fc::ripemd160> graphene::net::detail::node_impl::create_blockchain_synopsis_for_peer(const graphene::net::peer_connection*): Assertion `synopsis.back() == original_ids_of_items_to_get->back()' failed.

I'm syncing...

112
General Discussion / Re: Test Net for Advanced Users
« on: September 21, 2015, 03:21:03 pm »
I tried to spam the network and the results are quite impressive! Spamming alone I reached 242 tx per block (80 tx/sec) we can reach bigger number in this test net

Code: [Select]
76079 '1.6.4' 'init3' 81
76078 '1.6.7' 'init6' 242
76077 '1.6.828' 'boombastic' 116
76076 '1.6.12' 'init11' 98
76075 '1.6.1538' 'delegate-clayop' 11
76074 '1.6.11' 'init10' 47
76073 '1.6.5252' 'betaxtrade' 5
76072 '1.6.4232' 'spartako' 0
76071 '1.6.4949' 'xeldal' 0
76070 '1.6.2' 'init1' 0
76069 '1.6.3360' 'mrs.agsexplorer' 0
76068 '1.6.3356' 'mr.agsexplorer' 12
76067 '1.6.9' 'init8' 147
76066 '1.6.1543' 'delegate-dev3.btsnow' 77
76065 '1.6.3' 'init2' 89
76064 '1.6.5247' 'in.abit' 27
76063 '1.6.10' 'init9' 52
76062 '1.6.5' 'init4' 50
76061 '1.6.6' 'init5' 43
76060 '1.6.8' 'init7' 0

113
General Discussion / Re: Test Net for Advanced Users
« on: September 21, 2015, 02:31:34 pm »
Please vote for spartako (1.6.4232), I am ready but out of the current witness set.

Thanks!

114
General Discussion / Re: Test Net for Advanced Users
« on: September 21, 2015, 01:50:49 pm »
It looks like there are now 23 active witnesses voted in and 77.3% witness participation.

I have pushed an update to the P2P code that might fix some nodes that  (such as my init node) that got stuck on an orphan branch.

I tried to compile the master but I have this error:

Code: [Select]
/home/spartako/graphene/libraries/chain/account_object.cpp:71:54: error: ‘props’ was not declared in this scope
          share_type reserveed = cut_fee(network_cut, props.parameters.reserve_percent_of_fee);
                                                      ^
libraries/chain/CMakeFiles/graphene_chain.dir/build.make:997: recipe for target 'libraries/chain/CMakeFiles/graphene_chain.dir/account_object.cpp.o' failed
make[2]: *** [libraries/chain/CMakeFiles/graphene_chain.dir/account_object.cpp.o] Error 1
CMakeFiles/Makefile2:787: recipe for target 'libraries/chain/CMakeFiles/graphene_chain.dir/all' failed
make[1]: *** [libraries/chain/CMakeFiles/graphene_chain.dir/all] Error 2
Makefile:113: recipe for target 'all' failed
make: *** [all] Error 2


115
General Discussion / Re: Test Net for Advanced Users
« on: September 21, 2015, 09:09:36 am »

116
General Discussion / Re: Test Net for Advanced Users
« on: September 21, 2015, 07:26:21 am »
I wake up this morning with the witness crashed, this is the error:

Code: [Select]
witness_node: /home/spartako/graphene/libraries/net/node.cpp:2488: void graphene::net::detail::node_impl::on_blockchain_item_ids_inventory_message(graphene::net::peer_connection*, const graphene::net::blockchain_item_ids_inventory_message&): Assertion `originating_peer->last_block_number_delegate_has_seen == _delegate->get_block_number(originating_peer->last_block_delegate_has_seen)' failed.

117
General Discussion / Re: Test Net for Advanced Users
« on: September 19, 2015, 03:00:12 pm »
I thought it should be
Code: [Select]
set_voting_proxy spartako puppies true

Yes my fault. thanks, updated the proxy

118
General Discussion / Re: Test Net for Advanced Users
« on: September 19, 2015, 02:43:47 pm »
sorry thought I had you in there.  I'll add you now.

Thanks!

119
General Discussion / Re: Test Net for Advanced Users
« on: September 19, 2015, 02:38:00 pm »

120
General Discussion / Re: Test Net for Advanced Users
« on: September 19, 2015, 02:08:41 pm »


We need to vote for more witnesses than the 11 that are currently in.  The number of active witnesses is determined by the average number that we are all voting for.  I am assuming this is based upon stake voting. 

I am voting in gui, so I cant help with the cli syntax, but you can always set me as a proxy.  I am currently voting for

I just set you as a proxy:
Code: [Select]
set_voting_proxy spartako dele-puppy true

Please add "spartako" (1.6.4232) to the list, thanks!

Pages: 1 2 3 4 5 6 7 [8] 9 10 11 12 13 14 15 ... 27