Author Topic: [OVER] New Public XTS Test for Developers and Savvy Users  (Read 87326 times)

0 Members and 1 Guest are viewing this topic.

Offline svk

I'm up and running on Ubuntu :)

Can anyone send me some bts pls?

XTS2bcpFdgfoVYm6L9yh6vKdukyGUXFcm5kEeMYeLcWTto3ZdfDZCPrfPuEMJc91k4D5tEhQJsPfn1zf8mFH1RzqVqXMt1Z3R

Got quickly caught up on blocks I think, without any freezes, currently at 10335.

I tried to register a delegate but I see there's a minimum fee. What's the second, <data> parameter of the command though?

Code: [Select]
wallet_register_delegate <name> <data> 
           Registers a delegate to be voted upon by shareholders
 

PS. A line break would be nice in the command explanations, at the moment the formatting is strange in the terminal. Someone just needs to modify the make_short_description method in rpc_server.cpp:
Code: [Select]
sstream << help_string << " " << method_data.description << "\n";
to:
Code: [Select]
sstream << help_string << "\n   : " << method_data.description << "\n";
Worker: dev.bitsharesblocks

Offline HackFisher

  • Hero Member
  • *****
  • Posts: 883
    • View Profile
Code: [Select]
alt (locked) >>> wallet_get_transaction_history_summary
...
 13   9771.0    2014-05-29T05:02:00 from_bytemaster                      toast                                -12345678       -100000 +delegate-2   bc6b040afd3e525f7da8e485e0c76febdd4792dd

then I quit the client, run again, show the history, it can't show the address with account name.

Code: [Select]
alt (locked) >>> wallet_get_transaction_history_summary
...
 13   9771.0    2014-05-29T05:02:00 from_bytemaster                      XTSHms9EYNLKEHYDQa3qDjKn4y2Dyb61Dj94 -12345678       -100000 +delegate-2   bc6b040afd3e525f7da8e485e0c76febdd4792dd

I must transfer another bts to toast agian, then it can show the account name correctly.


would you please send some xts to me? tks
XTS359cFBkEZ55g53NwPZoo6qVh87shp2r83uQ5bWDsPH3VFjtX9Yz4xZMqmv83xnyxg87nX4H6WjnWXDL3uE21rJ94ydmJsW

Can not transfer due to following issue, which version are you using, try upgrading:

https://github.com/BitShares/bitshares_toolkit/issues/147
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 sudo

  • Hero Member
  • *****
  • Posts: 2255
    • View Profile
  • BitShares: ags

Offline sudo

  • Hero Member
  • *****
  • Posts: 2255
    • View Profile
  • BitShares: ags
Code: [Select]
alt (locked) >>> wallet_get_transaction_history_summary
...
 13   9771.0    2014-05-29T05:02:00 from_bytemaster                      toast                                -12345678       -100000 +delegate-2   bc6b040afd3e525f7da8e485e0c76febdd4792dd

then I quit the client, run again, show the history, it can't show the address with account name.

Code: [Select]
alt (locked) >>> wallet_get_transaction_history_summary
...
 13   9771.0    2014-05-29T05:02:00 from_bytemaster                      XTSHms9EYNLKEHYDQa3qDjKn4y2Dyb61Dj94 -12345678       -100000 +delegate-2   bc6b040afd3e525f7da8e485e0c76febdd4792dd

I must transfer another bts to toast agian, then it can show the account name correctly.


would you please send some xts to me? tks
XTS359cFBkEZ55g53NwPZoo6qVh87shp2r83uQ5bWDsPH3VFjtX9Yz4xZMqmv83xnyxg87nX4H6WjnWXDL3uE21rJ94ydmJsW

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
Code: [Select]
alt (locked) >>> wallet_get_transaction_history_summary
...
 13   9771.0    2014-05-29T05:02:00 from_bytemaster                      toast                                -12345678       -100000 +delegate-2   bc6b040afd3e525f7da8e485e0c76febdd4792dd

then I quit the client, run again, show the history, it can't show the address with account name.

Code: [Select]
alt (locked) >>> wallet_get_transaction_history_summary
...
 13   9771.0    2014-05-29T05:02:00 from_bytemaster                      XTSHms9EYNLKEHYDQa3qDjKn4y2Dyb61Dj94 -12345678       -100000 +delegate-2   bc6b040afd3e525f7da8e485e0c76febdd4792dd

I must transfer another bts to toast agian, then it can show the account name correctly.

Offline sudo

  • Hero Member
  • *****
  • Posts: 2255
    • View Profile
  • BitShares: ags
It's weired, Can't create account for your key or sudo's key.
I can create account for toast's key

Code: [Select]
alt (unlocked) >>> wallet_create_sending_account heyD XTS3GfntoKakKVWotiPDxGbDrsTaa33xAw4kFPmKWiQMr2PcYvYksdP3CBFLhjKjTNkP8HSSpsyN5vL75K1zsNycdsQEiHigY
assert
checksum == fc::ripemd160::hash( data.data(), sizeof(*this) )._hash[0]:
    {}
    th_a  extended_address.cpp:171 extended_address
decoding address XTS3GfntoKakKVWotiPDxGbDrsTaa33xAw4kFPmKWiQMr2PcYvYksdP3CBFLhjKjTNkP8HSSpsyN5vL75K1zsNycdsQEiHigY
    {"address":"XTS3GfntoKakKVWotiPDxGbDrsTaa33xAw4kFPmKWiQMr2PcYvYksdP3CBFLhjKjTNkP8HSSpsyN5vL75K1zsNycdsQEiHigY"}
    th_a  extended_address.cpp:173 extended_address

    {"command":"wallet_create_sending_account"}
    th_a  cli.cpp:401 execute_command

i tested ok

 wallet_create_sending_account jerry  XTS359cFBkEZ55g53NwPZoo6qVh87shp2r83uQ5bWDsPH3VFjtX9Yz4xZMqmv83xnyxg87nX4H6WjnWXDL3uE21rJ94ydmJsW
OK


jerry (unlocked) >>> wallet_create_sending_account heyD XTS3GfntoKakKVWotiPDxGbDrsTaa33xAw4kFPmKWiQMr2PcYvYksdP3CBFLhjKjTNkP8HSSpsyN5vL75K1zsNycdsQEiHigY
OK


Offline gyhy

  • Hero Member
  • *****
  • Posts: 852
    • View Profile
光看到测试发送接收了,咋没看到交易呢。buy/sell

Offline sudo

  • Hero Member
  • *****
  • Posts: 2255
    • View Profile
  • BitShares: ags
Very strange that some people's clients are generating extended pubkeys that don't validate.

Did you guys do "git submodule update" as well as git pull?

yes

git pull
git submodule init
git submodule update
cmake .
make

Offline toast

  • Hero Member
  • *****
  • Posts: 4001
    • View Profile
  • BitShares: nikolai
Very strange that some people's clients are generating extended pubkeys that don't validate.

Did you guys do "git submodule update" as well as git pull?
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 gyhy

  • Hero Member
  • *****
  • Posts: 852
    • View Profile
有没有windows版本啊。我的笔记本是win7啊

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
It's weired, Can't create account for your key or sudo's key.
I can create account for toast's key

Code: [Select]
alt (unlocked) >>> wallet_create_sending_account heyD XTS3GfntoKakKVWotiPDxGbDrsTaa33xAw4kFPmKWiQMr2PcYvYksdP3CBFLhjKjTNkP8HSSpsyN5vL75K1zsNycdsQEiHigY
assert
checksum == fc::ripemd160::hash( data.data(), sizeof(*this) )._hash[0]:
    {}
    th_a  extended_address.cpp:171 extended_address
decoding address XTS3GfntoKakKVWotiPDxGbDrsTaa33xAw4kFPmKWiQMr2PcYvYksdP3CBFLhjKjTNkP8HSSpsyN5vL75K1zsNycdsQEiHigY
    {"address":"XTS3GfntoKakKVWotiPDxGbDrsTaa33xAw4kFPmKWiQMr2PcYvYksdP3CBFLhjKjTNkP8HSSpsyN5vL75K1zsNycdsQEiHigY"}
    th_a  extended_address.cpp:173 extended_address

    {"command":"wallet_create_sending_account"}
    th_a  cli.cpp:401 execute_command

Offline muse-umum

  • Hero Member
  • *****
  • Posts: 717
  • BitShares everything
    • View Profile
Hackfisher, any ideas about the situation wackou and xeroc met? I have the same problem.
Do you guys connect to network?
I have connected to you.

Thanks to alt and sudo.

@xeroc and @wackou :
For those who are running Ubuntu in virtual machine, try using Bridge instead of NAT in the network setting. Also launch your client this way ./bitshares_client --server  (add parameter --server)    In this way my connection problem got solved.

My address:XTS3GfntoKakKVWotiPDxGbDrsTaa33xAw4kFPmKWiQMr2PcYvYksdP3CBFLhjKjTNkP8HSSpsyN5vL75K1zsNycdsQEiHigY

Can anyone send me some bips?
« Last Edit: May 29, 2014, 12:46:27 am by heyD »

Offline sudo

  • Hero Member
  • *****
  • Posts: 2255
    • View Profile
  • BitShares: ags
Oh it looks like you have an old revision which uses a different format.
Try doing a "git pull" and "git submodule update" and then rebuilding.

My revision is: 67cfe3e8767a69b898e31f7e843119217b9bcd3a
Yours is:         5f61176a67115ea0b0594d218253b0341b063a95

git pull    compile
now is 70766ff1b1c737b988c9d27f9f4802984ba388b7

that should work, make another receive account

3q

(wallet closed) >>> wallet_create jerry
new passphrase:
new passphrase (verify):
Wallet unlocked for 5 minutes, use wallet_unlock for more time
OK
jerry (unlocked) >>> wallet_create_receive_account "frome_btstalk"
"XTS359cFBkEZ55g53NwPZoo6qVh87shp2r83uQ5bWDsPH3VFjtX9Yz4xZMqmv83xnyxg87nX4H6WjnWXDL3uE21rJ94ydmJsW"


Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
Hackfisher, any ideas about the situation wackou and xeroc met? I have the same problem.
Do you guys connect to network?
I have connected to you.

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
alt, how'd you create a delegate. i still can't seem to get it working. a

also i'm trying to use the web wallet and wasn't sure of step 1

Quote
1. Specify path to web_wallet/generated as htdocs in client's config.json.

where is the config.json?
Just run the command "wallet_register_delegate"
I got no vote, lol