Testing BitShares XT Launch...

Started by bytemaster, May 02, 2014, 07:42:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bytemaster

Quote from: alexxy on May 03, 2014, 07:45:07 PM
Quote from: bytemaster on May 03, 2014, 07:11:08 PM
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

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: [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.

coolspeed

#43

Quote from: modprobe on May 03, 2014, 03:16:39 PM
Quote from: coolspeed on May 03, 2014, 01:51:41 PM
I am caught by a compile error as the following.

/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
Please vote for  delegate.coolspeed    dac.coolspeed
BTS account: coolspeed
Sina Weibo:@coolspeed

alexxy

Quote from: bytemaster on May 03, 2014, 07:11:08 PM
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


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

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: [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.

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: [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.

alexxy

Vote for my delegates! alexxy | lexx
PTS: PmraxfZ852y9oEKrYMLX1ee3e4qRWPUTFC
BTS: alexxy

vikram

Quote from: xeroc on May 03, 2014, 05:14:41 PM
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

toast

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.

alexxy

yep its there


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

toast

Quote from: alexxy on May 03, 2014, 05:49:38 PM
ghmm cannot see my adresses


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

alexxy

Btw also how to import pts wallet?
Vote for my delegates! alexxy | lexx
PTS: PmraxfZ852y9oEKrYMLX1ee3e4qRWPUTFC
BTS: alexxy

alexxy

ghmm cannot see my adresses


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

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?

crazybit

Quote from: bytemaster on May 03, 2014, 04:01:49 PM
Quote from: CrazyBit on May 03, 2014, 02:34:29 AM
EWJBpZvLQiGWmUqnVFKuTfhc4fQ7adfaH


could anyone pls sent me some test btsx ? thanks

You should have some funds.

got it ,thanks

bytemaster

Quote from: CrazyBit on May 03, 2014, 02:34:29 AM
EWJBpZvLQiGWmUqnVFKuTfhc4fQ7adfaH


could anyone pls sent me some test btsx ? thanks

You should have some funds.
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.