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 ... 254 255 256 257 258 259 260 [261] 262 263 264 265 266 267 268 ... 309
3901
General Discussion / Re: Test Net for Advanced Users
« on: September 23, 2015, 07:08:59 pm »
For those brave witnesses, I made a patch based on xeroc's price feed script. Enjoy it!

https://github.com/abitmore/python-graphenelib
https://github.com/abitmore/python-graphenelib/blob/master/scripts/pricefeeds.py

3902
It lacks the ratio between precisions .. i will fix this tomorrow ..
Not only that.. I'll submit a pull request soon.
//Update:
pull request requested. https://github.com/xeroc/python-graphenelib/pull/1
New source can be found here:
 https://github.com/abitmore/python-graphenelib/
 https://github.com/abitmore/python-graphenelib/blob/master/scripts/pricefeeds.py

3903
I've managed to get the script run, but the result seems a bit wrong.
Code: [Select]
[
    [
        "CNY",
        {
            "core_exchange_rate": {
                "quote": {
                    "amount": 6670,
                    "asset_id": "1.3.379"
                },
                "base": {
                    "amount": 100000,
                    "asset_id": "1.3.0"
                }
            },
            "settlement_price": {
                "quote": {
                    "amount": 100000,
                    "asset_id": "1.3.0"
                },
                "base": {
                    "amount": 6353,
                    "asset_id": "1.3.379"
                }
            }
        }
    ],
...
...
    [
        "USD",
        {
            "core_exchange_rate": {
                "quote": {
                    "amount": 1044,
                    "asset_id": "1.3.626"
                },
                "base": {
                    "amount": 100000,
                    "asset_id": "1.3.0"
                }
            },
            "settlement_price": {
                "quote": {
                    "amount": 100000,
                    "asset_id": "1.3.0"
                },
                "base": {
                    "amount": 995,
                    "asset_id": "1.3.626"
                }
            }
        }
    ]
]

3904
General Discussion / Re: Test Net for Advanced Users
« on: September 23, 2015, 04:03:58 pm »
USD/CORE market is active now. https://graphene.bitshares.org/#/exchange/trade/USD_CORE

It's strange that lowest price is on the top but highest price at bottom.

3905
General Discussion / Re: Test Net for Advanced Users
« on: September 22, 2015, 05:30:27 pm »
do you have to enable stale block production to produce blocks?
Don't enable that

3906
General Discussion / Re: Test Net for Advanced Users
« on: September 22, 2015, 01:23:00 pm »
This morning I came in to find all 3 of the nodes I run having issues.  I am looking into the cause.   After the successful run yesterday I am confident we are very close to eliminating all of the edge cases.

Will update things soon.

It looks like all of my nodes went down because they got into an inconsistent blockchain state regarding a vesting balance object.  A replay of the blockchain fixed it.

(Anyone notice how much faster replaying the  blockchain is with 1 hour maitenance intervals??!! )
Maybe same issue as my nodes encountered. I did resync. Will try replay next time (if happen again).

3907
General Discussion / Re: Test Net for Advanced Users
« on: September 22, 2015, 11:36:12 am »
My witnesses got out of sync 2 hours ago. Restart didn't fix it. Resyncing.
Will check the logs.

//Update:
1. resync worked.
2. issue submitted https://github.com/cryptonomex/graphene/issues/336

3908
General Discussion / Re: Initial Witness Pay & Number of Witnesses
« on: September 21, 2015, 11:57:33 pm »
Good point.

3909
General Discussion / Re: Test Net for Advanced Users
« on: September 21, 2015, 11:50:35 pm »
All witnesses please upgrade to the latest master.    We have checked in a few "hard-forking" fixes for publishing price feeds.   This hardfork was required due to a misconfigured genesis state for bitassets preventing us from publishing feeds.   Please do not attempt to publish price feeds for at least 24 hours to give all testers a chance to upgrade to the latest.

Fox I voted you in.    The least approved witness is bitcube which as 13M votes...

Forgive my ignorance. 

How to "upgrade to latest master"?

Is this just  "git pull master" and restart witness?, or does this require a complete rebuild and "git checkout master" ??

I assume "git checkout test3" would just be the same thing I'm already running.


Code: [Select]
git checkout master
git pull
git submodule update --init --recursive
cmake .
make

However make will fail if your witness_node is already running. So what I did is clone the repository to a new directory and run make there.  With this trick it will achieve minimum down time. @spartako

Upgraded to the master, during the update I missed 2 blocks.

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

3910
General Discussion / Re: Test Net for Advanced Users
« on: September 21, 2015, 11:43:02 pm »
All witnesses please upgrade to the latest master.    We have checked in a few "hard-forking" fixes for publishing price feeds.   This hardfork was required due to a misconfigured genesis state for bitassets preventing us from publishing feeds.   Please do not attempt to publish price feeds for at least 24 hours to give all testers a chance to upgrade to the latest.

Fox I voted you in.    The least approved witness is bitcube which as 13M votes...
in.abit is upgraded to latest commit.

3911
General Discussion / Re: Test Net for Advanced Users
« on: September 21, 2015, 05:09:41 pm »
Since are are only brave members in this thread, I'll just drop this here and ask those that run an active witness to publish feeds if possible:
https://github.com/xeroc/python-graphenelib/blob/develop/scripts/pricefeeds.py
Run this script once every hour or 30 minutes .. I will improve it over time ..

If you run into trouble you can post here or in the other thread: https://bitsharestalk.org/index.php/topic,18382.new.html#new

Good luck :)

PS. IIRC it only publishes feeds for USD EUR and CNY if I am not mistaken .. if you want to pimp it on your own, please send a pull request ..
Great work  +5%
I believe there was a bug which prevents prices be feed into USD and other pre-defined bitAssets, but it's possible with user-issued pegged assets, for example ABITUSDA.
See https://github.com/cryptonomex/graphene/issues/328

3912
General Discussion / Re: Test Net for Advanced Users
« on: September 21, 2015, 09:49:06 am »
Hi what chain / snapshot are we using? **confused***

This is the chain:
https://github.com/cryptonomex/graphene/releases/tag/test3

Thanks, that is what I thought. ;)

Edit: I had spun 3 witnesses for testing, hence my cli client was connecting to an old one, I had not killed from test_net 2. FYI if any on the same situation, although very unlikely.
If the seed node is not working, use this seed node: 188.165.233.53:1776

3913
General Discussion / Re: Test Net for Advanced Users
« on: September 21, 2015, 07:57:32 am »
Looks like witness init0 is down.

3914
General Discussion / Re: Test Net for Advanced Users
« on: September 21, 2015, 07:51:49 am »
Web wallet of test network https://graphene.bitshares.org/ is live now.

Try market: https://graphene.bitshares.org/#/exchange/trade/ABITUSDA_CORE
can you give me some USD for test?
my account is altgo, thanks.
Do you have some CORE? Try borrow some USD from the bond market.
It's not a UIA, but a pegged asset.

3915
General Discussion / Re: Test Net for Advanced Users
« on: September 20, 2015, 09:31:33 pm »

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