Author Topic: Testing BitShares XT Launch...  (Read 43166 times)

0 Members and 1 Guest are viewing this topic.

Offline bytemaster

I just added some extra code to save the wallet on Ctrl+C. 

The key generation algorithm is deterministic so you you can always regenerate your change addresses.
Same problem with your recent changes
Code: [Select]
creating default config file /home/alexxy/.bitsharesxt/config.json
>>> open_wallet
bad_cast
Invalid cast from type '5' to Object
    {"type":5}
    th_a  variant.cpp:498 get_object
unable to load /home/alexxy/.bitsharesxt/default_wallet.dat
    {"wal":"/home/alexxy/.bitsharesxt/default_wallet.dat"}
    th_a  wallet.cpp:442 open
>>>

There should be no need to call "open_wallet" from the CLI.  It is opened automatically.
For the latest updates checkout my blog: http://bytemaster.bitshares.org
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.

Offline coolspeed

  • Hero Member
  • *****
  • Posts: 536
    • View Profile
    • My Blog

I am caught by a compile error as the following.

Code: [Select]
/home/XXXX/bitshares_toolkit/libraries/fc/GitSHA3.cpp:6:29: error: ‘HEAD’ was not declared in this scope
 #define GIT_UNIX_TIMESTAMP3 HEAD-HASH-NOTFOUND

It seems g++ treats "HEAD" as a token instead of whole "HEAD-HASH-NOTFOUND". Is it an issue of gcc version?
My g++ version is 4.8.1

Anyone know how to solve it? Thanks.

p.s. I've followed the build guide for Ubuntu.

Replace HEAD-HASH-NOTFOUND with 1398967484 and try building again.

Thank you :)


Sent from my iPhone using Tapatalk
« Last Edit: May 03, 2014, 07:50:24 pm by coolspeed »
Please vote for  delegate.coolspeed    dac.coolspeed
BTS account: coolspeed
Sina Weibo:@coolspeed

Offline alexxy

  • Full Member
  • ***
  • Posts: 175
    • View Profile
I just added some extra code to save the wallet on Ctrl+C. 

The key generation algorithm is deterministic so you you can always regenerate your change addresses.


Same problem with your recent changes

Code: [Select]
creating default config file /home/alexxy/.bitsharesxt/config.json
>>> open_wallet
bad_cast
Invalid cast from type '5' to Object
    {"type":5}
    th_a  variant.cpp:498 get_object
unable to load /home/alexxy/.bitsharesxt/default_wallet.dat
    {"wal":"/home/alexxy/.bitsharesxt/default_wallet.dat"}
    th_a  wallet.cpp:442 open
>>>
Vote for my delegates! alexxy | lexx
PTS: PmraxfZ852y9oEKrYMLX1ee3e4qRWPUTFC
BTS: alexxy

Offline bytemaster

I just added some extra code to save the wallet on Ctrl+C. 

The key generation algorithm is deterministic so you you can always regenerate your change addresses.
For the latest updates checkout my blog: http://bytemaster.bitshares.org
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.

Offline bytemaster

Call create new address a few times the rescan and your balance will be there. 

Will add a crtl-c catch. 


Sent from my iPhone using Tapatalk
For the latest updates checkout my blog: http://bytemaster.bitshares.org
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.

Offline alexxy

  • Full Member
  • ***
  • Posts: 175
    • View Profile
Vote for my delegates! alexxy | lexx
PTS: PmraxfZ852y9oEKrYMLX1ee3e4qRWPUTFC
BTS: alexxy

Offline vikram

Are we sure that change-addresses are stored correctly in the database? if I send a tx to some addresses (generated with the utility "bts_create_key") and kill the terminal with CTRL+C .. restart the client again and type 'getbalance' it get a 0 in contrast to what I expect as change!? Maybe I made some mistake?

I believe the client does not usually automatically save after running rpc commands; someone seems to be looking at this: https://github.com/BitShares/bitshares_toolkit/pull/50

Offline toast

  • Hero Member
  • *****
  • Posts: 4001
    • View Profile
  • BitShares: nikolai
"open_wallet default"?
Do not use this post as information for making any important decisions. The only agreements I ever make are informal and non-binding. Take the same precautions as when dealing with a compromised account, scammer, sockpuppet, etc.

Offline alexxy

  • Full Member
  • ***
  • Posts: 175
    • View Profile
yep its there

Code: [Select]
alexxy@x240 ~/Src/bitshares_toolkit/build/programs/bts_xt $ LANG=C ls  -lh  ~/.bitsharesxt/default_wallet.dat
-rw-r--r-- 1 alexxy alexxy 2.1K May  3 21:58 /home/alexxy/.bitsharesxt/default_wallet.dat
Vote for my delegates! alexxy | lexx
PTS: PmraxfZ852y9oEKrYMLX1ee3e4qRWPUTFC
BTS: alexxy

Offline toast

  • Hero Member
  • *****
  • Posts: 4001
    • View Profile
  • BitShares: nikolai
ghmm cannot see my adresses

Code: [Select]
>>> open_wallet
bad_cast
Invalid cast from type '5' to Object
    {"type":5}
    th_a  variant.cpp:498 get_object
unable to load /home/alexxy/.bitsharesxt/default_wallet.dat
    {"wal":"/home/alexxy/.bitsharesxt/default_wallet.dat"}
    th_a  wallet.cpp:375 open
>>> list_receive_addresses
bad_cast
Invalid cast from type '5' to Object
    {"type":5}
    th_a  variant.cpp:498 get_object
unable to load /home/alexxy/.bitsharesxt/default_wallet.dat
    {"wal":"/home/alexxy/.bitsharesxt/default_wallet.dat"}
    th_a  wallet.cpp:375 open
>>> list_send_addresses
bad_cast
Invalid cast from type '5' to Object
    {"type":5}
    th_a  variant.cpp:498 get_object
unable to load /home/alexxy/.bitsharesxt/default_wallet.dat
    {"wal":"/home/alexxy/.bitsharesxt/default_wallet.dat"}
    th_a  wallet.cpp:375 open

Its build of git master

is your wallet there?
/home/alexxy/.bitsharesxt/default_wallet.dat

do you have it named something else? open_wallet othername
Do not use this post as information for making any important decisions. The only agreements I ever make are informal and non-binding. Take the same precautions as when dealing with a compromised account, scammer, sockpuppet, etc.

Offline alexxy

  • Full Member
  • ***
  • Posts: 175
    • View Profile
Btw also how to import pts wallet?
Vote for my delegates! alexxy | lexx
PTS: PmraxfZ852y9oEKrYMLX1ee3e4qRWPUTFC
BTS: alexxy

Offline alexxy

  • Full Member
  • ***
  • Posts: 175
    • View Profile
ghmm cannot see my adresses

Code: [Select]
>>> open_wallet
bad_cast
Invalid cast from type '5' to Object
    {"type":5}
    th_a  variant.cpp:498 get_object
unable to load /home/alexxy/.bitsharesxt/default_wallet.dat
    {"wal":"/home/alexxy/.bitsharesxt/default_wallet.dat"}
    th_a  wallet.cpp:375 open
>>> list_receive_addresses
bad_cast
Invalid cast from type '5' to Object
    {"type":5}
    th_a  variant.cpp:498 get_object
unable to load /home/alexxy/.bitsharesxt/default_wallet.dat
    {"wal":"/home/alexxy/.bitsharesxt/default_wallet.dat"}
    th_a  wallet.cpp:375 open
>>> list_send_addresses
bad_cast
Invalid cast from type '5' to Object
    {"type":5}
    th_a  variant.cpp:498 get_object
unable to load /home/alexxy/.bitsharesxt/default_wallet.dat
    {"wal":"/home/alexxy/.bitsharesxt/default_wallet.dat"}
    th_a  wallet.cpp:375 open

Its build of git master
Vote for my delegates! alexxy | lexx
PTS: PmraxfZ852y9oEKrYMLX1ee3e4qRWPUTFC
BTS: alexxy

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
Are we sure that change-addresses are stored correctly in the database? if I send a tx to some addresses (generated with the utility "bts_create_key") and kill the terminal with CTRL+C .. restart the client again and type 'getbalance' it get a 0 in contrast to what I expect as change!? Maybe I made some mistake?

Offline crazybit

EWJBpZvLQiGWmUqnVFKuTfhc4fQ7adfaH


could anyone pls sent me some test btsx ? thanks

You should have some funds.

got it ,thanks

Offline bytemaster

EWJBpZvLQiGWmUqnVFKuTfhc4fQ7adfaH


could anyone pls sent me some test btsx ? thanks

You should have some funds.
For the latest updates checkout my blog: http://bytemaster.bitshares.org
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.