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 ... 256 257 258 259 260 261 262 [263] 264 265 266 267 268 269 270 ... 309
3931
General Discussion / Re: Test Net for Advanced Users
« on: September 19, 2015, 01:19:43 pm »
Since it's unable to short bitUSD right now, welcome to trade on my private bitAsset "ABITUSDA".
Short is enabled here. Current settlement price is 1 BITUSDA = 1 CORE.
Anyone who wants to publish price feeds for the asset please leave a message here, so that I can add him/her to the authorized list.
The command for publishing price feed is like:
Code: [Select]
publish_asset_feed in.abit ABITUSDA {"settlement_price":{"base":{"amount":50000,"asset_id":"1.3.662"},"quote":{"amount":1000000000,"asset_id":"1.3.0"}},"core_exchange_rate":{"base":{"amount":100000,"asset_id":"1.3.0"},"quote":{"amount":10000,"asset_id":"1.3.662"}}} true

In which,
* in.abit is my account name, so replace with your name
* ABITUSDA is the name of asset
* "1.3.662" is ID of the asset, "1.3.0" is CORE
Fill the other numbers as you like.

3932
I did successfully published price feed for my bitAsset "ABITUSDA".  :D

Code: [Select]
publish_asset_feed in.abit ABITUSDA {"settlement_price":{"base":{"amount":50000,"asset_id":"1.3.662"},"quote":{"amount":1000000000,"asset_id":"1.3.0"}},"core_exchange_rate":{"base":{"amount":100000,"asset_id":"1.3.0"},"quote":{"amount":10000,"asset_id":"1.3.662"}}} true

3933
I am stuck ..
What's the syntax to hand over a price_feed object?
I am getting:
Code: [Select]
unlocked >>> publish_asset_feed init0 CORE {settlement_price:"0.4"} false
publish_asset_feed init0 CORE {settlement_price:"0.4"} false
4 parse_error_exception: Parse Error
Expected ':' after key "settlement_price"
    {"key":"settlement_price"}
    th_a  json_relaxed.hpp:589 objectFromStream
Error parsing object
    {}
    th_a  json_relaxed.hpp:611 objectFromStream

    {"str":"publish_asset_feed init0 CORE {settlement_price:\"0.4\"} false"}
    th_a  json.cpp:494 variants_from_string

Here is my command which was able to create a transaction, but the transaction got refused by the chain:
Code: [Select]
publish_asset_feed in.abit USD {"settlement_price":{"base":{"amount":50000,"asset_id":"1.3.626"},"quote":{"amount":1000000000,"asset_id":"1.3.0"}},"core_exchange_rate":{"base":{"amount":100000,"asset_id":"1.3.0"},"quote":{"amount":10000,"asset_id":"1.3.626"}}} true

Looks like there is a bug. With current implementation, it's only possible to publish price feed for "committee issued assets" or "private assets", but all bitAssets are "witness issued assets". Submitted an issue here https://github.com/cryptonomex/graphene/issues/328.

p.s.
1. I think the command syntax isn't user-friendly (at all).
2. Can I get some part of the bounty?  8)

3934
General Discussion / Re: Test Net for Advanced Users
« on: September 19, 2015, 12:09:29 pm »
Is it still  cool to set-up a witness on a cubox at home?

Or would a fresh VPS be better. Or both?
My witness is running at home.

3935
General Discussion / Re: Test Net for Advanced Users
« on: September 19, 2015, 12:09:01 pm »
Added you riverhead, but it won't be enough to bring you in.  Unfortunately I am not a whale.  Not even a dolphin. 

On a side note, is there a feed script yet?  If not what is the syntax to publish a feed manually?
publish_asset_feed(string, string, graphene::chain::price_feed, bool)
I was guessing account_name asset_name price broadcast? but thats not working.  Might be because I am not voted in yet.  If someone figures it out please post.

See https://github.com/cryptonomex/graphene/blob/93c72b05951ad2fd0f1a07b702773e9a905d8adc/libraries/wallet/include/graphene/wallet/wallet.hpp#L916-L935

Don't know the syntax of struct "price_feed" though..

Code: [Select]
#define GRAPHENE_PRICE_FEED_FIELDS (settlement_price)(maintenance_collateral_ratio)(maximum_short_squeeze_ratio) \
   (core_exchange_rate)
I figured out the syntax of publishing a price feed, but the transaction got refused by the chain.
Looks like there is a bug. See https://github.com/cryptonomex/graphene/issues/328

3936
General Discussion / Re: Test Net for Advanced Users
« on: September 19, 2015, 10:12:19 am »
Added you riverhead, but it won't be enough to bring you in.  Unfortunately I am not a whale.  Not even a dolphin. 

On a side note, is there a feed script yet?  If not what is the syntax to publish a feed manually?
publish_asset_feed(string, string, graphene::chain::price_feed, bool)
I was guessing account_name asset_name price broadcast? but thats not working.  Might be because I am not voted in yet.  If someone figures it out please post.

See https://github.com/cryptonomex/graphene/blob/93c72b05951ad2fd0f1a07b702773e9a905d8adc/libraries/wallet/include/graphene/wallet/wallet.hpp#L916-L935

Code: [Select]
#define GRAPHENE_PRICE_FEED_FIELDS (settlement_price)(maintenance_collateral_ratio)(maximum_short_squeeze_ratio) \
   (core_exchange_rate)

3937
General Discussion / Re: Test Net for Advanced Users
« on: September 19, 2015, 10:04:01 am »
Added you riverhead, but it won't be enough to bring you in.  Unfortunately I am not a whale.  Not even a dolphin. 

On a side note, is there a feed script yet?  If not what is the syntax to publish a feed manually?
publish_asset_feed(string, string, graphene::chain::price_feed, bool)
I was guessing account_name asset_name price broadcast? but thats not working.  Might be because I am not voted in yet.  If someone figures it out please post.

Hi puppies, looks like there is a whale voting. We already have more voting power than BM.
If you remove some of the init witnesses from your list, other witnesses will be voted in.

Code: [Select]
get_witness init9
{
  "id": "1.6.10",
  "witness_account": "1.2.109",
  "last_aslot": 17927,
  "signing_key": "GPH6aRys1uA71La2EyA1sjLqGzZzwPXc9dm6NCcWARrsDn7Y6EPoc",
  "pay_vb": "1.13.6",
  "vote_id": "1:9",
  "total_votes": "2079167368873",
  "url": "",
  "total_missed": 65
}
get_witness init10
{
  "id": "1.6.11",
  "witness_account": "1.2.110",
  "last_aslot": 8372,
  "signing_key": "GPH5uXNw7r167Dhuf4qMz1BTj74rAeicYCARTifpmrcfFhRZquU8B",
  "pay_vb": "1.13.5",
  "vote_id": "1:10",
  "total_votes": "872119491831",
  "url": "",
  "total_missed": 64
}

3938
General Discussion / Re: Test Net for Advanced Users
« on: September 19, 2015, 01:00:59 am »
Remind me of the precision of CORE.  5 or 6?  Do we need 8.5M or 850K votes to be elected as a witness?

Code: [Select]
get_witness init10
{
  "id": "1.6.11",
  "witness_account": "1.2.110",
   ...
  "total_votes": "857124062634",
   ...
}

To be honest, I was not planning to bring that much stake to this chain at this time.  Your votes are appreciated.

thats not me.  I think that is BM.  We aren't trying to outvote the init witnesses.  We are trying to increase the average number of witnesses voted for by account.  That is how the number of witnesses that are active is determined.  Or at least thats the way it was a couple of weeks ago, and I don't think that changed.

Should know if it worked in about 2 minutes.
Looks like BM voted me in, but voted out 1.6.11 (or init10?)
Don't know why.

//Edit:
Ah, I know, because in.abit voted for in.abit only in last round.
Looks like currently the max number of witnesses is 11.
After set proxy to puppies, in.abit votes for all witnesses, so it got voted out..

3939
General Discussion / Re: Test Net for Advanced Users
« on: September 18, 2015, 10:28:16 pm »
https://graphene.bitshares.org is still running in test2 network?

3940
General Discussion / Re: Test Net for Advanced Users
« on: September 18, 2015, 10:26:10 pm »
https://github.com/cryptonomex/graphene/releases

New Testnet is Here!

Please post your witness name so I can vote them in and add them to the growing list of active witnesses.

Running.
Code: [Select]
get_witness in.abit
{
  "id": "1.6.5247",
  "witness_account": "1.2.38993",
  "last_aslot": 0,
  "signing_key": "GPH65XNUxWdYGqGyW9NtXdRpNntumLYT1cJ7CNE7F78Pwxrnx6cbV",
  "vote_id": "1:5267",
  "total_votes": 0,
  "url": "https://github.com/abitmore",
  "total_missed": 0
}

Voted:   "next_maintenance_time": "44 minutes in the future" is when you will be active.
Thanks.
How to vote for multiple witnesses in cli_wallet?

//Update:
It seems that it's impossible to vote for multiple witnesses in cli_wallet https://github.com/cryptonomex/graphene/issues/323

3941
General Discussion / Re: Test Net for Advanced Users
« on: September 18, 2015, 10:05:45 pm »
https://github.com/cryptonomex/graphene/releases

New Testnet is Here!

Please post your witness name so I can vote them in and add them to the growing list of active witnesses.

Running.
Code: [Select]
get_witness in.abit
{
  "id": "1.6.5247",
  "witness_account": "1.2.38993",
  "last_aslot": 0,
  "signing_key": "GPH65XNUxWdYGqGyW9NtXdRpNntumLYT1cJ7CNE7F78Pwxrnx6cbV",
  "vote_id": "1:5267",
  "total_votes": 0,
  "url": "https://github.com/abitmore",
  "total_missed": 0
}

3942
General Discussion / Re: Test Net for Advanced Users
« on: September 18, 2015, 09:47:17 pm »
Testers that want to flood the network, do not use your witness node as the RPC server. 

Also please take note of the new logging to the console that includes latencies of blocks received.    Those on a DigitalOcean machine in NYC3 should have around 0 MS latency for many blocks ;)   

Also... to get your witness voted in you will have to vote for all 11 init witnesses PLUS your own witness.
Building..

3943
Found some info via data mining, please contact alt. Maybe helps maybe not.
Good luck.

3944
General Discussion / Re: Test Net for Advanced Users
« on: September 17, 2015, 11:30:17 pm »
I see the recent commit, but do not see a new tag or release. Is there a new testnet up using master?  What is the seed node(s) and where is the genesis.json file located?
I think there is no new test net right now. The last one is dead, so we need to wait for the new one.

3945
General Discussion / Re: Memberships and sub.accounts in Bitshares 2.0
« on: September 15, 2015, 07:29:48 pm »
Looks like a big change, which is confusing. Can we just stop supporting creating names with dot(s) in 2.0?

Pages: 1 ... 256 257 258 259 260 261 262 [263] 264 265 266 267 268 269 270 ... 309