Main Menu

Test Net for Advanced Users

Started by bytemaster, August 14, 2015, 10:39:33 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

betax

Thanks clayop.. your brackets on the other post hinted the answer. Xeroc don't worry your instructions are really good.

Another problem, now when I try to start the witness, I get a decimal parse error for --witness-id "1.6.5155"

parse_error_exception: Parse Error
Can't parse a number with two decimal places
    {}
    th_a  json.cpp:277 number_from_stream

    {"str":"1.6.5155"}
    th_a  json.cpp:478 from_string
rethrow
    {}
    th_a  witness.cpp:88 plugin_initialize


I have tried to configure the witness-id in the config.ini but I get this warning:

3312033ms th_a       witness.cpp:70                plugin_initialize    ] key_id_to_wif_pair: ["GPH6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV","wif key"]
3312121ms th_a       thread.cpp:95                 thread               ] name:ntp tid:139624819738368
3312121ms ntp        ntp.cpp:77                    request_now          ] resolving... ["pool.ntp.org",123]
3312121ms th_a       thread.cpp:95                 thread               ] name:p2p tid:139624800855808
3312289ms ntp        ntp.cpp:81                    request_now          ] sending request to 172.82.134.52:123
3312289ms th_a       application.cpp:116           reset_p2p_node       ] Adding seed node 104.200.28.117:61705
3312290ms th_a       application.cpp:128           reset_p2p_node       ] Configured p2p node to listen on 0.0.0.0:53031
3312292ms th_a       application.cpp:178           reset_websocket_serv ] Configured websocket rpc to listen on 127.0.0.1:8090
[b]3312292ms th_a       witness.cpp:143               plugin_startup       ] No witnesses configured! Please add witness IDs and private keys to configuration.[/b]
3312292ms th_a       main.cpp:165                  main                 ] Started witness node on a chain with 0 blocks.
3312292ms th_a       main.cpp:166                  main                 ] Chain ID is cefacd8adb8bee2bf3b757e882d2828297ceb67b1882982cbde882688ecb46a8
3312395ms ntp        ntp.cpp:147                   read_loop            ] received ntp reply from 172.82.134.52:123
3312395ms ntp        ntp.cpp:161                   read_loop            ] ntp offset: 1679989, round_trip_delay 106243
3312395ms ntp        ntp.cpp:177                   read_loop            ] ntp_delta_time updated to 1679989


Any thoughts ?

Note: I am doing this in between family time, hence the delay on the postings
[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

clayop

Quote from: xeroc on August 15, 2015, 06:11:57 PM
Oh .. thanks for pointing this out. I will fix the wiki as soon as I get back to my computer .. sorry for the trouble

Don't worry xeroc. I did.
Bitshares Korea - [url="http://www.bitshares.kr"]http://www.bitshares.kr[/url]
Vote for me and see Korean Bitshares community grows
delegate-clayop

xeroc

Oh .. thanks for pointing this out. I will fix the wiki as soon as I get back to my computer .. sorry for the trouble

clayop

Quote from: betax on August 15, 2015, 05:07:04 PM
And I also solved it :

The syntax is

import_balance betax [5....] true

It is expecting an array as it says in the error doh!

That's the problem what I experienced.
Bitshares Korea - [url="http://www.bitshares.kr"]http://www.bitshares.kr[/url]
Vote for me and see Korean Bitshares community grows
delegate-clayop

betax

And I also solved it :

The syntax is

import_balance betax [5....] true

It is expecting an array as it says in the error doh!
[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

betax

#21
I have to be very silly but I am also stuck on the :


7 bad_cast_exception: Bad Cast
Invalid cast from string_type to Array
    {"type":"string_type"}
    th_a  variant.cpp:530 get_array


I am using the wif of the balance,  using the output documented in the wiki:


Each of these balances can be investigated via:
BitShares0.9: >>> blockchain_get_balance BTSAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
....
"asset_id": 0,                                     <- asset_id (0: BTS)
"data": {
  "owner": "BTSOOOOOOOOOOOOOOOOOOOOOOOOOOOOOWNER", <- address
      ...
  "balance": 0,                                        <- balance
  ...
The required part (the owner of the balance) is denoted as owner. Pick one or more address for BTS balances and dump the corresponding private key(s) with:

BitShares0.9: >>> wallet_dump_private_key BTSOOOOOOOOOOOOOOOOOOOOOOOOOOOOOWNER
"5......." # the <balance wif key>



edit: english code -> english
[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

spartako

wallet_account_set_approval spartako

puppies

Quote from: bytemaster on August 15, 2015, 03:05:43 PM
The import process described in the how-to is a stop-gap measure.  We have already done significant work to make that easier.

At the end of the day it will be as easy as:

1. export BTS 1 wallet
2. import into BTS 2
+5%

[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

bytemaster

The import process described in the how-to is a stop-gap measure.  We have already done significant work to make that easier.

At the end of the day it will be as easy as:

1. export BTS 1 wallet
2. import into BTS 2

For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

cass

QuoteIf you have a mac, download the draft version of BitShares 0.9.2 which has a new api call
https://github.com/bitshares/bitshares/releases/tag/untagged-4166986045ff28284dc4

link doesn't work for me ...
█║▌║║█  - - -  The quieter you become, the more you are able to hear  - - -  █║▌║║█

Musewhale

MUSE witness:mygoodfriend     vote for me

clayop

I finally set up the first testnet delegate :D Server location is Asia, using google computing service.
Bitshares Korea - [url="http://www.bitshares.kr"]http://www.bitshares.kr[/url]
Vote for me and see Korean Bitshares community grows
delegate-clayop

clayop

#14
@xeroc
I'm stuck in importing my balance keys. The error is
7 bad_cast_exception: Bad Cast
Invalid cast from string_type to Array
    {"type":"string_type"}
    th_a  variant.cpp:530 get_array


Can you help me?


Edit: I found it. [balance wif key]
Bitshares Korea - [url="http://www.bitshares.kr"]http://www.bitshares.kr[/url]
Vote for me and see Korean Bitshares community grows
delegate-clayop

VoR0220

[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

clayop

Setting up another VPN (as same as my current VPS) now. Hopefully I can successfully settle my testnet delegate there :)
Bitshares Korea - [url="http://www.bitshares.kr"]http://www.bitshares.kr[/url]
Vote for me and see Korean Bitshares community grows
delegate-clayop