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

Pages: 1 ... 224 225 226 227 228 229 230 [231] 232 233 234 235 236 237 238 ... 309
3451
General Discussion / Re: Cryptofresh Block Explorer + MUSE now available
« on: January 05, 2016, 11:38:15 pm »
Site is down:
 
We're sorry, but something went wrong.
------------------------------------------------
If you are the application owner check the logs for more information.

Thanks Ken.. looking into it. witness_node was frozen, and I'm having trouble getting it running again..

Code: [Select]
3229214ms th_a       witness.cpp:86                plugin_initialize    ] witness plugin:  plugin_initialize() begin
3229214ms th_a       witness.cpp:96                plugin_initialize    ] key_id_to_wif_pair: ["......","....."]
3229214ms th_a       witness.cpp:114               plugin_initialize    ] witness plugin:  plugin_initialize() end
3229214ms th_a       application.cpp:354           startup              ] Replaying blockchain on user request.
3229214ms th_a       application.cpp:292           operator()           ] Initializing database...
3243588ms th_a       db_management.cpp:48          reindex              ] reindexing blockchain
3243590ms th_a       db_management.cpp:101         wipe                 ] Wiping database
3243620ms th_a       object_database.cpp:84        wipe                 ] Wiping object database...
3243643ms th_a       object_database.cpp:86        wipe                 ] Done wiping object databse.
3243643ms th_a       object_database.cpp:91        open                 ] Opening object database from /home/bitshares-2/witness_node_data_dir/blockchain ...
3243643ms th_a       object_database.cpp:97        open                 ] Done opening object database.
3257917ms th_a       db_debug.cpp:82               debug_dump           ] total_balances[asset_id_type()].value: 12205723874026 core_asset_data.current_supply.value: 253409943611989
3257951ms th_a       db_management.cpp:55          reindex              ] !no last block
3257951ms th_a       db_management.cpp:56          reindex              ] last_block:
3258068ms th_a       thread.cpp:95                 thread               ] name:ntp tid:140271469905664
3258080ms th_a       thread.cpp:95                 thread               ] name:p2p tid:140271448925952
3258091ms th_a       application.cpp:173           reset_p2p_node       ] Adding seed node 83.221.132.47:1776
3258130ms ntp        ntp.cpp:177                   read_loop            ] ntp_delta_time updated to 7706 us
3258170ms th_a       application.cpp:173           reset_p2p_node       ] Adding seed node 188.40.91.213:1776
[....]
3258535ms th_a       application.cpp:173           reset_p2p_node       ] Adding seed node 109.73.172.144:50696
3258536ms th_a       application.cpp:184           reset_p2p_node       ] Configured p2p node to listen on 0.0.0.0:56537
3258542ms th_a       application.cpp:234           reset_websocket_serv ] Configured websocket rpc to listen on 127.0.0.1:8090
3258543ms th_a       witness.cpp:119               plugin_startup       ] witness plugin:  plugin_startup() begin
3258543ms th_a       witness.cpp:136               plugin_startup       ] No witnesses configured! Please add witness IDs and private keys to configuration.
3258543ms th_a       witness.cpp:137               plugin_startup       ] witness plugin:  plugin_startup() end
3258543ms th_a       main.cpp:176                  main                 ] Started witness node on a chain with 0 blocks.
3258543ms th_a       main.cpp:177                  main                 ] Chain ID is 4018d7844c78f6a6c41c6a552b898022310fc5dec06da467ee7905a8dad512c8
[end of output]

Haven't seen this before,, any ideas?
Sometimes when I had this "can't start" issue is because another witness_node process is running and listening on the same port.

3452
Technical Support / Re: witness_node completely froze overnight
« on: January 05, 2016, 11:19:27 pm »
@iHashFury some questions:
* did you start it with --replay-blockchain?
* was your witness_node running in gdb? if yes, a backtrace would be helpful.

3453
Technical Support / Re: [Python] Price Feed Script for BitShares 2.0
« on: January 05, 2016, 11:07:48 pm »
@xeroc latest version (commit 3c7b2ca1b68e33fbf47aa9d66005613b83ca1f51) with Btc38's BTS/BTC market enabled by default causes a 10% off on BTS/CNY price.
Code: [Select]
|  CNY   | 0.02429415 | 0.02342230 (+3.72%) | 0.02433542 (-0.17%) | 0.02429415 (+0.00%) |  0.03% ( 5)  | 0.02209000 (+9.98%) | 0.02209988 (+9.93%) | 1:48:02.671795 ago |    X    |
blame file here: https://drive.google.com/open?id=0B3xrm70jSHn4V2dBX1duaEZ5OEE

Another minor error on my server:
Code: [Select]
Error fetching results from Ccedk! ('bool' object is not subscriptable)

3454
Technical Support / Re: [Python] Price Feed Script for BitShares 2.0
« on: January 05, 2016, 07:37:17 pm »
The blame price is the price you have calculated and published .. the recalculated prices takes the same fetched data from exchanges (stored in the blame file as well) and recalculates the price .. this is useful for me to compare implementations .. the blame file also contains a git hash of your code base bit i havent compared the hash to figure out which version you are running ...

Could you update your script and try to run on the blame file?
Perhaps it's caused by a bug which you've fixed. Will try. Thanks.

//Update:
The latest version of script works fine. Result is same to that on your picture.
Thank you.

3455
中文 (Chinese) / Re: 交易所应该/可以投票吗?
« on: January 05, 2016, 07:00:38 pm »
好像有点道理。
不过我觉得,交易所可能不愿来掺和社区的事情,宁愿默默地赚钱。

3456
Technical Support / Re: [Python] Price Feed Script for BitShares 2.0
« on: January 05, 2016, 05:14:53 pm »
Hi @xeroc would you please help check this log file?
https://drive.google.com/file/d/0B3xrm70jSHn4VmpvdE15UEJnWUk/view

The prices in USD / EUR / TUSD / KRW are off by 100x.

Some logs here:
Code: [Select]
"USD": {"mean": 0.0680436848863721, "median": 0.0034588223011641013, "weighted": 0.32804216106003525}

If I use your file and run it in blame mode I get the correct prices:


See "recalculated price" ..
What's "blame price" and what's "recalculated price"? Is the "recalculated price" newly fetched from the markets?

I did published those off-100x prices to block chain, same as the "blame price" in above picture, wondering what's wrong..

Quote
However, I see that the median price is quite of from the weighted median .. which (so I assume) is because of "dead" markets ..
I should maybe skip markets entirely that have 0 24h trading

3457
FYI we had some discussions about how to efficiently pay dividends long time ago, a claim model.
https://bitsharestalk.org/index.php?topic=14785.msg191711#msg191711

Basically, distributing fees among referrers/registrars is an operation which cost linear to the amount of operations within a maintenance interval, but distributing funds among asset holders is linear to the amount of holders. The former is doable in the maintenance interval, but the latter is not.


3458
Exchanges should be notified individually of things like this if you want them to keep up to date. How difficult is it to send an email?
It's easy. After click the "notify" button above/below a thread, you'll get an email when there is a new reply in that thread.

This kind of attitude is what caused the mess moving over from 1.0 to 2.0.
So what did you do? complain to BM?

3459
Exchanges should be notified individually of things like this if you want them to keep up to date. How difficult is it to send an email?
It's easy. After click the "notify" button above/below a thread, you'll get an email when there is a new reply in that thread.

3460
Silence in DPOS does not mean consent. Otherwise the share price would have risen on the back of the merger and various 'value adding' dilutionary activities. In DPOS dissent is expressed through selling. http://coinmarketcap.com/currencies/bitshares/#charts

Good point.

3461
I think the review period is before the proposal expiration and no one can vote during the review period.
I don't think so. If no one can vote, how to "review"?

The review period is for shareholders to review their vote for their committee members and they can vote out the active members and vote in other non-active members.
You are correct. I've updated my post.

3462
I think the review period is before the proposal expiration and no one can vote during the review period.
I don't think so. If no one can vote, how to "review"?

//Edit:
According to the comments in the code, the review period is a configurable parameter, and it should be able to voting during the period:
Code: [Select]
   FC_ASSERT( !o.review_period_seconds || fc::seconds(*o.review_period_seconds) < (o.expiration_time - d.head_block_time()),
              "Proposal review period must be less than its overall lifetime." );

   {
      // If we're dealing with the committee authority, make sure this transaction has a sufficient review period.
https://github.com/bitshares/bitshares-2/blob/bitshares/libraries/chain/proposal_evaluator.cpp#L39-L43

//Edit2:
I may be wrong here. Will check. If it's the case I'll update the post later.


//Edit3:
According to the code, it's unable to approve the proposal during the review period (don't know if it's possible to decline an earlier approval though). And sure it's possible to vote in/out who approved the proposal from committee -- this action is called "review".
Code: [Select]
   if( _proposal->review_period_time && d.head_block_time() >= *_proposal->review_period_time )
      FC_ASSERT( o.active_approvals_to_add.empty() && o.owner_approvals_to_add.empty(),
                 "This proposal is in its review period. No new approvals may be added." );
https://github.com/bitshares/bitshares-2/blob/bitshares/libraries/chain/proposal_evaluator.cpp#L113-L115

3463
General Discussion / Re: Looking for BTS 2.0 Seed Node Operators
« on: January 05, 2016, 10:04:33 am »
FYI the new seed node 114.92.254.159:62015 which has been added in last patch (2.0.160103) is mine, located in China. I'm not sure if it's better to use a domain name though, currently the node will crash if failed to resolve a domain name.

3464

I am still not sure this idea addresses the problem it attempts to overcome.  I think it is just a matter of moving around numbers, but I am too lazy to try to prove it to myself. I was hoping someone could explain it to me a bit better...
Simple calculation here:
Assume that there are 100 committee member positions, and overall 100 stakes distributed to 100 holders (and many others have 0 stake)
* if one stake can be voted to only one member, then who owns 51 stakes would be able to vote in at most 51 members;
* if one stake can be voted to 100 members, then who owns 51 stakes would be able to vote in all 100 members.

Quote
I will say that restricting voting is better in human ability terms. By this I mean that by not being able to vote on multiple committee members, you are reducing the time burden required to vote.  One only has to research one committee member versus creating a list. Maybe this factor is more important than the objective outlined in the original post?

Perhaps reduce voting to one member, then let the member distribute their excess votes?

3465
General Discussion / Re: Mannually Triggering Revoting Idea
« on: January 05, 2016, 06:50:34 am »
The purpose of this BSIP is to minimize the cost incurred by the network doing unnecessary operations every maitenance interval.

Every hour votes are tallied and 99% of the time there is no meaningful change. Under this proposal, votes would only be tallied when requested by a user and at most once per maintenance interval. The fee for tallying votes would be around $5.

Users of the system can determine whether or not there is a $5 difference in votes that would justify a re-tally. A worker, witness, or committee member who got voted in would pay $5 to have the vote counted.

The side effect of this behavior would be to greatly improve reindexing performance, the vast majority of which is spent tallying votes that never change.

Witnesses producing blocks on the maintenance interval can pre-tally the votes and compare them to the last value. They can then indicate whether or not anything changed significantly in the block they produce.

If there is no one who stands to benefit by more than $5 then chances are it is an unnecessary update to the voting totals.
Ideas to improve performance are always good.
However, to implement this BSIP, it's needed to implement "Maintain Proxy Voting Totals ($3000)" (https://github.com/cryptonomex/graphene/issues/454) first, otherwise a common user may have no way to check who would be voted in on next maintenance interval, then she would perhaps trigger that every hour.

Pages: 1 ... 224 225 226 227 228 229 230 [231] 232 233 234 235 236 237 238 ... 309