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

Pages: 1 2 3 4 [5] 6 7 8 9 10 11 12 ... 21
61
General Discussion / Re: Migration Guide for 1.0 to 2.0
« on: October 03, 2015, 08:24:54 am »
What will happen to the 1.0 BTA yield? Will it be distributed at a shot when 2.0 starts?

62
General Discussion / Re: Graphene GUI testing and feedback
« on: September 29, 2015, 11:59:42 am »
app.js:39 WebSocket connection to 'wss://graphene.bitshares.org:8090/' failed: WebSocket is closed before the connection is established.
app.js:39 !!! WebSocket Error  wss://graphene.bitshares.org:8090
Seems your client has problems opening a connection the the websocket server ... is port 8090 accessible?
Well, sometimes the websocket connection will fail. But when it makes the connection, it will show blocks and every other page well. But not for exchange page. It can list markets. But when I click USD vs CORE, it shows a blank page and stays blank for ever.
Hope the logs can help.

 ownload the React DevTools for a better development experience: https://fb.me/react-devtools
app.js:39 Connecting...
app.js:39 connecting to wss://graphene.bitshares.org:8090
app.js:4 db init done
app.js:41 ChainStore Init
app.js:41 synced and subscribed, chainstore ready
app.js:65 [Markets.jsx:24] ----- render -----> Object {markets: Object, baseAsset: Object, assets: Object, settings: Object}
app.js:65 defaultMarkets: [Object, Object, Object, Object, Object, Object, Object, Object]
app.js:65 [Markets.jsx:24] ----- render -----> Object {markets: Object, baseAsset: Object, assets: Object, settings: Object}
app.js:65 defaultMarkets: [Object, Object, Object, Object, Object, Object, Object, Object]
app.js:65 [Markets.jsx:24] ----- render -----> Object {markets: Object, baseAsset: Object, assets: Object, settings: Object}
app.js:65 defaultMarkets: [Object, Object, Object, Object, Object, Object, Object, Object]
vendors.js:1 Warning: Failed propType: Invalid prop `amount` of type `string` supplied to `t`, expected `number`. Check the render method of `r`.
app.js:65 [Markets.jsx:24] ----- render -----> Object {markets: Object, baseAsset: Object, assets: Object, settings: Object}
app.js:65 defaultMarkets: [Object, Object, Object, Object, Object, Object, Object, Object]0: Objectbase: "1.3.0"quote: "1.3.1"__proto__: Object1: Object2: Object3: Object4: Object5: Object6: Object7: Objectlength: 8__proto__: Array[0]
app.js:56 !account_name:  Object {id: "1.2.38993", balances: Object, history: Array[104]}
app.js:56 !account_name:  Object {id: "1.2.38993", balances: Object, history: Array[104]}
app.js:56 !account_name:  Object {id: "1.2.38993", balances: Object, history: Array[104]}
app.js:56 !account_name:  Object {id: "1.2.38993", balances: Object, history: Array[104]}
app.js:56 !account_name:  Object {id: "1.2.38993", balances: Object, history: Array[104]}
app.js:65 [Markets.jsx:24] ----- render -----> Object {markets: Object, baseAsset: Object, assets: Object, settings: Object}
app.js:65 defaultMarkets: [Object, Object, Object, Object, Object, Object, Object, Object]
app.js:65 [Markets.jsx:24] ----- render -----> Object {markets: Object, baseAsset: Object, assets: Object, settings: Object}
app.js:65 defaultMarkets: [Object, Object, Object, Object, Object, Object, Object, Object]

63
General Discussion / Re: Graphene GUI testing and feedback
« on: September 28, 2015, 02:16:03 pm »
It works on Chrome in Ubuntu. But it fails on my chromebook.
I got something like below:

Download the React DevTools for a better development experience: https://fb.me/react-devtools
app.js:39 Connecting...
app.js:39 connecting to wss://graphene.bitshares.org:8090
app.js:39 WebSocket connection to 'wss://graphene.bitshares.org:8090/' failed: WebSocket is closed before the connection is established.
app.js:39 !!! WebSocket Error  wss://graphene.bitshares.org:8090
app.js:4 [App.jsx] ----- App.willTransitionTo error -----> CustomEvent {}bubbles: falsecancelBubble: falsecancelable: falsecurrentTarget: nulldefaultPrevented: falsedetail: undefinedeventPhase: 0path: Array[1]0: divlength: 1__proto__: Array[0]returnValue: truesrcElement: nulltarget: nulltimeStamp: 1443449565289type: "error"__proto__: CustomEvent(anonymous function) @ app.js:4r @ app.js:1(anonymous function) @ app.js:1e.exports @ app.js:1g.(anonymous function) @ app.js:2r @ app.js:2n @ app.js:2
app.js:4 [App.jsx] ----- App.willTransitionTo error -----> CustomEvent {}(anonymous function) @ app.js:4r @ app.js:1(anonymous function) @ app.js:1e.exports @ app.js:1g.(anonymous function) @ app.js:2r @ app.js:2n @ app.js:2
app.js:39 WebSocket connection to 'wss://graphene.bitshares.org:8090/' failed: WebSocket is closed before the connection is established.
app.js:39 !!! WebSocket Error  wss://graphene.bitshares.org:8090
app.js:39 WebSocket connection to 'wss://graphene.bitshares.org:8090/' failed: WebSocket is closed before the connection is established.
app.js:39 !!! WebSocket Error  wss://graphene.bitshares.org:8090

64
General Discussion / Re: Bitshares Telegram Group Chat
« on: September 28, 2015, 03:49:07 am »
@btsjohn

65
General Discussion / Re: Migrating from older BTS to BTS 2.0
« on: September 10, 2015, 10:04:15 pm »
Since BitUSD interest will be removed in 2.0, what will happen to BitUSD interest on the switch? Will the fund in the pool be dispatched to all BitUSD holders on a shot?

67
TaPoS prevents that in DPOS 2.   By referencing a particular recent block hash you implicitly reference all allocated IDs.  If the chain reorganizes then your transfer becomes invalid.
What if the server cheats by telling an invalid block hash?

Light nodes should check with multiple servers via a secure channel to prevent man in the middle.
This adds unnecessary burden to wallet.
Adding an optional way to send to address can solve all this but I know it's a fundamental change as there's no address thing in balances and that's not compatible with account thing. Anyway please consider that.

68
OP is a bad example because the server could spoof a name->address map just as easily. The real problem has to do with chain reorganization and replay attacks. Seems the solution is that DPOS achieves consensus too quickly for that or something

Yes, reorg and replay is another issue and I still think we need an option to transfer to a bitcoin like address.

69
I don't see why it's different, why can't the server replace the address in the same way as the id? It's simply a unique identifier, in this case it will be an easier one to verify visually as well since you won't need to double-check a huge bitcoin-style address.
I think the difference is that there's one more step to get account id from a name from a trusted server. In bitcoin, you only need address (which is somewhat equivalent to id).

70
If IDs cannot be trusted then the whole protocol breaks down. 

Users should share the ID as the primary identifier.  The name is a check. 

In some sense names are less necessary and should not be used on their own. 


Sent from my iPhone using Tapatalk

Well, in my case, I always use account name and don't even care what the account id is. Actually I fear typo a lot and always copy the name instead of typing. In this sense, it's not different than an address and address has even additional hash check for typo.

71
I remember it's mentioned somewhere that account id is used in transaction on blockchain instead of address. Suppose you're using a lightweight wallet and you want to transfer money to someone account. If the server cheats you by giving wrong account id, your money can go to somewhere else. In bitcoin (or BTS1.0), if I'm using address as transfer target, the worst the server can cheat is not broadcasting and I'm relatively safe.
I think it's better to use address on blockchain and for perfomance reason hash the address to an id for memory and code to use. This way it's still safe and with high performance.
I know if you're using account name, we need to trust the server for getting the account id or public key and it's similar with BTS 1.0. And account id as target has the benefit that changing active/owner key will not impact account's balance. But at least we should have an option to specify address as target in a transaction on blockchain.

72
General Discussion / Re: Burning is Still Alive and Well
« on: June 10, 2015, 05:19:22 am »
If we have to go in pool way, at least we should adjust the fixed supply to 3.0 billion which is the estimated final supply under current delegate pay rate.
If the fixed supply is not set to 3.0 billion, I suggest to set up a burning worker account and a 0.7 billion project for it. We can achieve this by using public key from a blockchain random number + 1000(fixed number to avoid delegate cheating). The random number can be taken from a future block so that we can be confident that it will be somewhat truly random.

73
General Discussion / Re: Burning is Still Alive and Well
« on: June 09, 2015, 11:18:44 pm »

Burn means different things to different people I suppose. In the case of BTS Graphene a burnt share is one that is held by the blockchain for possible release later. In BTS 1.0, and I believe most other instances, it means transferring of value to an address for which the private key is not known.

It's just semantics.

In the case of BTS Graphene the pool is drawn on to cover the costs of running the network. In BTS 1.0 where a burn is the traditional understanding the share holders would have to decide to hard fork to increase supply if the number of BTS got too low. Both scenarios result in the same thing - enough BTS to allow the protocol to exist. The difference is BTS Graphine doesn't require the hard fork.

Since the pool cannot be spent by anyone but only metered out to workers I feel it is basically burnt. It cannot be used in commerce.

There might be something I'm not getting here but it doesn't seem to be the same thing at all to me, semantics or not. In BTS 1.0 or any other coin, burning means removing shares/coins from the total supply, never to be seen again. In BTS 2.0 it seems to me "burnt" funds will be recycled back to workers who are then free to release them back into circulation by selling them. What I am missing?

 +5%

74


What I understand of "burn" is that burnt BTS are gone and will never come back again. But in proposed BTS 2.0, the fee goes to a pool and can later come back to circuit and I don't think it's a "burn". This means the estimated final supply grows (again) to 3.7 billion from estimated 3.0 billion even if it's locked in pool.

75
Technical Support / Re: Announcing BitShares 2.0
« on: June 09, 2015, 01:34:24 am »
I'm excited that titan removed and market matching rule aligning most exchanges. What about maker-taker to improve the spread?
I'm bit dispointed that there's no burning any more but as long as the total supply doesn't change it should be ok.

Pages: 1 2 3 4 [5] 6 7 8 9 10 11 12 ... 21