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

Pages: 1 ... 6 7 8 9 10 11 12 [13] 14 15 16 17 18 19 20 ... 54
181
General Discussion / Re: October 5 Test Network
« on: October 09, 2015, 02:10:25 pm »
Many delegates went in a big minor fork (~35% partecipations) and also spartako and spartako_bot

I removed the blockchain and resynced with the main chain using this seed node:
188.165.233.53:1777

This is the error then I found:
Code: [Select]
3080000 unlinkable_block_exception: unlinkable block
block does not link to known chain
    {}
    th_a  fork_database.cpp:78 _push_block

    {"new_block":{"previous":"00018aeac52ac578eead894ddaefb832bab051d0","timestamp":"2015-10-09T10:10:21","witness":"1.6.19","transaction_merkle_root":"0000000000000000000000000000000000000000","extensions":[],"witness_signature":"1f6a191cc3c9f8ea6d06f1e3546931a35873961b0b0defe5689a35de504c448ddc3818793a52abbe65da08faa70b5700df2c13088629dd9c1c43a13a2f3ac9fc8c","transactions":[]}}
    th_a  db_block.cpp:197 _push_block
901261ms th_a       fork_database.cpp:57          push_block           ] Pushing block to fork database that failed to link: 00018aec0d81d4f086eaffcecc9a028749483c49, 101100
901262ms th_a       fork_database.cpp:58          push_block           ] Head: 101115, 00018afb2ccf99a7986cf678b67613061ba56d0f
901262ms th_a       application.cpp:429           handle_block         ] Error when pushing block:
3080000 unlinkable_block_exception: unlinkable block
block does not link to known chain
    {}


syncing from 104.236.51.238:2005 with latest master witout any problem
it requires a bit patience until it stops writing
Code: [Select]
1831000ms th_a       witness.cpp:179               block_production_loo ] Not producing block because production is disabled until we receive a
 recent block (see: --enable-stale-production)
1832000ms th_a       witness.cpp:179               block_production_loo ] Not producing block because production is disabled until we receive a
 recent block (see: --enable-stale-production)

and starts syncing.

I have been hours trying to sync with that... :(

@spartako thanks for the seed node 188.165.233.53:1777 !!

182
Different chains, different conversion rates. You are totally right. So what exchanges won't be migrating?

183
General Discussion / Re: October 5 Test Network
« on: October 09, 2015, 04:04:39 am »
here is my automatic failover script powered by xerocs python-graphenelib.  I am a noob at teh programming, and if I did anything wrong I would love the feedback.

Code: [Select]
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import sys
import json
from grapheneapi import GrapheneWebsocket, GrapheneWebsocketProtocol
import time
import config

rpc = GrapheneWebsocket("localhost", 8092, "", "")
publickeys = config.publickeys
witnessname = config.witnessname


def getmissed(witnessname):
    witness = rpc.get_witness(witnessname)
    missed = witness["total_missed"]
    return missed

missed = getmissed(config.witnessname)


def switch(witnessname, publickeys, missed):
    keynumber = missed % len(publickeys)
    key = publickeys[keynumber]
    rpc.update_witness(witnessname, "", key, "true")
    print("witness down switching to " + key)
print ("Nothing in this window will change unless a block is missed")

while True:
    if missed < getmissed(config.witnessname):
        missed = getmissed(config.witnessname)
        switch(witnessname, publickeys, missed)
    else:
        time.sleep(3)
You need to add two lines to your config.py file.  witnessname as a string and publickeys as strings in a tuple of the public keys you want to switch between.  those lines look like this in my case.
Code: [Select]
witnessname = "dele-puppy"
publickeys = ("GPH75xxKG4ZeztPpnhmFch99smunUWMvDy9mB6Le497vpAA3XUXaD", "GPH8Sj81ncf8PK5QwJZvhWsvwp6m4bXzTFvp4bKycNNFvHaJpZSnH")

The wallet this script is running through needs to be unlocked, and must contain the owner key (I think its the owner key, rather than the active key) of the witness.

Nice!

184
General Discussion / Re: Have you Considered making your own UIA? (Poll)
« on: October 08, 2015, 11:33:18 am »
Yes, I have one, application / token. Waiting for release to implement integration. Micro payments is stopping me, but at the moment is not an issue.. if is only 1 cent.

185

Someone: In 0.9.3 is the exporting just through the GUI export function or does it require the command line?

Bytemaster:I updated the menu in the menubar to use the new version.


Watch out - currently this is not true for Windows, until a bug is fixed you need to do it not via the menu-bar as BM says but via the console as recommended in xeroc's guide

^^^^ Correct, been there :).


On another point, this is absolutely great!. This quickly demonstrates the amount of invaluable information that is given in these hangouts. What a great work (and I guess very tedious), I would love to see one every week. As I listen at the mumble and releasing afterwards.. but nothing beats speed reading :D

186
Muse/SoundDAC / Re: Ujomusic alpha launched..
« on: October 08, 2015, 09:46:38 am »
The website does look very good, and also a very nice release on the Guardian. I believe that their business models are rather different, so they won't compete directly with each other, but is fantastic to have 2 music Crypto companies.

187
General Discussion / Re: October 5 Test Network
« on: October 07, 2015, 10:21:02 pm »
is the web sockeds backed tcp loadbalanced? how many backend servers are used? To avoid the freezing, if an issue with the backed.

If it is an issue with the frontend can we delay response to the ui, or is it already throtle based on the tps / current screen.

Also I seemed to need to refresh the browser a couple of times to get the latest block whilst doing the load test.

Currently the backend pushes ALL state changes to the GUI whether or not the GUI cares about that particular state.   This was a shortcut taken to maximize reliability of the front end receiving updates.  We already have the filters in place to throttle this back to only the data the GUI has previously requested.   

So the GUI infrastructure is not well suited for these flood tests, but is well suited to serving 1000+ simultaneous users at normal transaction volumes.

 +5% very nice. Prioritization of requirements but well thought out architecture. Also now the client is not a major issue, being a web wallet you can do continuous releases.

188
General Discussion / Re: October 5 Test Network
« on: October 07, 2015, 09:55:33 pm »
is the web sockeds backed tcp loadbalanced? how many backend servers are used? To avoid the freezing, if an issue with the backed.

If it is an issue with the frontend can we delay response to the ui, or is it already throtle based on the tps / current screen.

Also I seemed to need to refresh the browser a couple of times to get the latest block whilst doing the load test.

189
General Discussion / Re: October 5 Test Network
« on: October 07, 2015, 09:38:43 pm »
It seems that the stress testing is being handled by the witnesses, it is just the UI that has some random freezes.

190
General Discussion / Re: October 5 Test Network
« on: October 07, 2015, 09:28:06 pm »
bitshares-argentina  can you please let me know if you have changed your software in any way because it appears your node is consistently producing blocks even though you are not in the set of active witnesses.

Everyone else, please update your witness to the latest master before block 58500  (about 4 hours).

Hi dan, I didn't change anything. Neither played with uncommon settings as far as I remember . 

Running from master branch with last commit db84a492b9a2cf290f92a3987b59c11808138d56

How can I help debugging?

Can you post your config file and command line arguments.

It seems to be the same issue with the time:

Code: [Select]
1272283ms th_a       db_block.cpp:189              _push_block          ] Failed to push new block:
10 assert_exception: Assert Exception
next_block.witness == scheduled_witness: Witness produced block at wrong time
    {"block witness":"1.6.37","scheduled":"1.6.39","slot_num":1}
    th_a  db_block.cpp:644 validate_block_header

    {"next_block.block_num()":62650}
    th_a  db_block.cpp:509 _apply_block
1272290ms th_a       application.cpp:425           handle_block         ] Error when pushing block:
10 assert_exception: Assert Exception
next_block.witness == scheduled_witness: Witness produced block at wrong time
    {"block witness":"1.6.37","scheduled":"1.6.39","slot_num":1}
    th_a  db_block.cpp:644 validate_block_header

    {"next_block.block_num()":62650}
    th_a  db_block.cpp:509 _apply_block

    {"new_block":{"previous":"0000f4b90fc8a15cc975aa571539d3e7f9053b6f","timestamp":"2015-10-07T21:21:12","witness":"1.6.37","transaction_merkle_root":"aa42913b2a226f9132200a3cb19aa076e3c0d7b4","extensions":[],"witness_signature":"20449d3e22302d92dd18f54cd2406de08678774e6648073db27409ea25bdcd4425561a3a7e75a484ee161eab4e02ba806147824747553537ed57c964af3261e330","transactions":[{"ref_block_num":62648,"ref_block_prefix":1109897537,"expiration":"2015-10-07T21:21:36","operations":[[19,{"fee":{"amount":100000,"asset_id":"1.3.0"},"publisher":"1.2.67704","asset_id":"1.3.285","feed":{"settlement_price":{"base":{"amount":3327214,"asset_id":"1.3.285"},"quote":{"amount":1000000000,"asset_id":"1.3.0"}},"maintenance_collateral_ratio":1750,"maximum_short_squeeze_ratio":1500,"core_exchange_rate":{"base":{"amount":1000000000,"asset_id":"1.3.0"},"quote":{"amount":3327214,"asset_id":"1.3.285"}}},"extensions":[]}]],"extensions":[],"signatures":["1f3a600a648a94885229e3b4cc91a8f8ea3d6cb368f555bf52ba233a44e648e08170d12c36bca47097846b6cd334c69392bc15a2796d87b620172235bd5bff705c"],"operation_results":[[0,{}]]},{"ref_block_num":62648,"ref_block_prefix":1109897537,"expiration":"2015-10-07T21:21:36","operations":[[19,{"fee":{"amount":100000,"asset_id":"1.3.0"},"publisher":"1.2.67704","asset_id":"1.3.218","feed":{"settlement_price":{"base":{"amount":21452528,"asset_id":"1.3.218"},"quote":{"amount":1000000000,"asset_id":"1.3.0"}},"maintenance_collateral_ratio":1750,"maximum_short_squeeze_ratio":1500,"core_exchange_rate":{"base":{"amount":1000000000,"asset_id":"1.3.0"},"quote":{"amount":21452528,"asset_id":"1.3.218"}}},"extensions":[]}]],"extensions":[],"signatures":["1f7e6481ccef5712d331e5613cfa706e4f6821fffd58ab88a3b05a7c1d18b2bda80487e0b2007369d6c10eeb8453f07573717c7cf15f3e5b4d17db45c6347cc49e"],"operation_results":[[0,{}]]},{"ref_block_num":62648,"ref_block_prefix":1109897537,"expiration":"2015-10-07T21:21:36","operations":[[19,{"fee":{"amount":100000,"asset_id":"1.3.0"},"publisher":"1.2.67704","asset_id":"1.3.536","feed":{"settlement_price":{"base":{"amount":523393,"asset_id":"1.3.536"},"quote":{"amount":1000000000,"asset_id":"1.3.0"}},"maintenance_collateral_ratio":1750,"maximum_short_squeeze_ratio":1500,"core_exchange_rate":{"base":{"amount":1000000000,"asset_id":"1.3.0"},"quote":{"amount":523393,"asset_id":"1.3.536"}}},"extensions":[]}]],"extensions":[],"signatures":["203cb740ed1f1706d0f0e0b273234fb3902ef987a28271d3005d613a3e9582075a4f1f2010d7ef27af1e2dbc2e78ecded4a66d1f5afb110333fc83eb84b52bccb3"],"operation_results":[[0,{}]]},{"ref_block_num":62648,"ref_block_prefix":1109897537,"expiration":"2015-10-07T21:21:36","operations":[[19,{"fee":{"amount":100000,"asset_id":"1.3.0"},"publisher":"1.2.67704","asset_id":"1.3.330","feed":{"settlement_price":{"base":{"amount":465809,"asset_id":"1.3.330"},"quote":{"amount":1000000000,"asset_id":"1.3.0"}},"maintenance_collateral_ratio":1750,"maximum_short_squeeze_ratio":1500,"core_exchange_rate":{"base":{"amount":1000000000,"asset_id":"1.3.0"},"quote":{"amount":465809,"asset_id":"1.3.330"}}},"extensions":[]}]],"extensions":[],"signatures":["1f0e44bd90670d6d35ad25202d54ec45968422d6315db6eb611c785f6dbc9c239d03b1da1049e9f429fce90e6ba6cc3c0e034e2803b04dd76ab72b3d53ad872082"],"operation_results":[[0,{}]]}]}}
    th_a  db_block.cpp:195 _push_block

plus, mine seem to needed a wipe and resync of the database...

191
General Discussion / Re: October 5 Test Network
« on: October 07, 2015, 07:16:50 pm »
BM, I think there are now 3 witnesses waiting to be voted in:

bitshares-argentina
triox-delegate
pmc

Voted.   Any others?

betaxtrade (please)

192
Meta / Re: Changing avatar picture
« on: October 07, 2015, 05:22:40 pm »
You can change your avatar, just use the
"Specify avatar by URL"
method, I updated mine recently this way. You will have to post your avatar somewhere, i.e. imgur

Thanks Ill try imgur, I was using raw dropbox.

Edit: Imgur blocked in corporate net. what a pain.

Edit 2: Dropbox works on posts ->


Trying to copy cass style (rather simple as I found it on the some site, just added an X) ;)

Edit 3: I works using my own server :)

193
General Discussion / Re: October 5 Test Network
« on: October 07, 2015, 05:20:41 pm »
upgrade latest, need votes :D

194
Meta / Changing avatar picture
« on: October 07, 2015, 02:51:50 pm »
I am trying to change my avatar.. but no joy. I guess we have change the permissions of the forum after the Rune issue?

195
Muse/SoundDAC / Re: NOTE Snapshot and MUSE launch date!
« on: October 07, 2015, 04:44:18 am »
Great news!!!  +5% +5% +5% +5% +5%

Pages: 1 ... 6 7 8 9 10 11 12 [13] 14 15 16 17 18 19 20 ... 54