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

Pages: 1 ... 131 132 133 134 135 136 137 [138] 139 140 141 142 143 144 145 ... 151
2056
can this visual(http://dotp2p.io/visualize.php)  embedded in client?

2057
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

2058
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


2059
win ubuntu osx三个平台编译折腾下来
最省事还是ubuntu
http://mirrors.oss.org.cn/ubuntuiso/14.04/ubuntu-14.04-desktop-i386.iso
vmware 或virtualbox
网络桥接

https://github.com/BitShares/bitshares_toolkit/blob/master/BUILD_UBUNTU.md
sudo apt-get update
sudo apt-get install cmake git libreadline-dev uuid-dev g++ libdb++-dev libdb-dev zip libssl-dev openssl build-essential python-dev autotools-dev libicu-dev build-essential libbz2-dev libboost-dev libboost-all-dev
git clone https://github.com/BitShares/bitshares_toolkit.git
cd bitshares_toolkit
git submodule init
git submodule update
cmake .
make


./bishares_client --server 运行即可
apt-get真是好东西
好牛啊,三个平台都会玩。
补充一下,如果想调程序,最好把编译和代码的目录分开。
Code: [Select]
mkdir build
cd build
cmake ..
make

我瞎折腾  win下搞不定   osx折腾出来的连不上  可能因为没改桥接
ubuntu省事点
按编译说明就能搞定了

2060
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

2061
win ubuntu osx三个平台编译折腾下来
最省事还是ubuntu
http://mirrors.oss.org.cn/ubuntuiso/14.04/ubuntu-14.04-desktop-i386.iso
vmware 或virtualbox
网络桥接

https://github.com/BitShares/bitshares_toolkit/blob/master/BUILD_UBUNTU.md
sudo apt-get update
sudo apt-get install cmake git libreadline-dev uuid-dev g++ libdb++-dev libdb-dev zip libssl-dev openssl build-essential python-dev autotools-dev libicu-dev build-essential libbz2-dev libboost-dev libboost-all-dev
git clone https://github.com/BitShares/bitshares_toolkit.git
cd bitshares_toolkit
git submodule init
git submodule update
cmake .
make


./bishares_client --server 运行即可
apt-get真是好东西

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


2063
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

2064
The address generated by your client was for some reason bad. Do the same thing you did before, just make a new receiving account and we will try again.

ok  i generated a new one

jerry (unlocked) >>> wallet_create_receive_account "from_talk"
"XTS2j9of1YxVQ7LFuwAjBCX5cyEYTkSLq76G9eWb5z34vgc53MBqAANZ2ou2WwtedHFXaKFppRka2acwbeQoT9brKKAe5VRXF"




seems something wrong
error  invalid  command   “validate_address”



2065
囧  how can i get the right address?


jerry (locked) >>> getinfo
{
  "blockchain_asset_reg_fee": 301988160,
  "blockchain_asset_shares_max": 1000000000000000,
  "blockchain_bips_per_share": 12.500000703126759,
  "blockchain_block_fee_min": 1,
  "blockchain_block_interval": 30,
  "blockchain_block_num": 8515,
  "blockchain_block_size_max": 209715,
  "blockchain_block_size_target": 104857,
  "blockchain_delegate_fire_votes_min": 11428571428571,
  "blockchain_delegate_num": 7,
  "blockchain_delegate_reg_fee": 43141165,
  "blockchain_delegate_reward_min": 200,
  "blockchain_id": "ed2c3dba64a343002734f782bb3bc831a99a14c80490b85bfbf33751793469cc",
  "blockchain_name_size_max": 63,
  "blockchain_name_data_size_max": 4096,
  "blockchain_random_seed": "4a698e21fdad4600c19a2f6ad94229825fcb0549",
  "blockchain_shares": 79999995499989,
  "blockchain_size_max": 107374182400,
  "blockchain_symbol": "XTS",
  "blockchain_version": 100,
  "client_httpd_port": 5680,
  "client_rpc_port": 5679,
  "network_num_connections": 1,
  "network_num_connections_max": 12,
  "network_protocol_version": 100,
  "wallet_balance": 0,
  "wallet_balance_bips": 0,
  "wallet_open": true,
  "wallet_unlocked_until": "",
  "wallet_version": 100,
  "_bitshares_toolkit_revision": "5f61176a67115ea0b0594d218253b0341b063a95",
  "_fc_revision": "54c66bbb86770d5d166c8b172b2658e9103e37cb",
  "_network_node_id": "45017830c6d8aea6df75e12bee7787f7a871d268"
}
jerry (locked) >>>

2066
XTS3GZi93Ww4MNS2hSJhPb5C58XjwcbXKxZTXR19rByedyrz1amriZpEYH23XTxPz2enqSyBBcQCZBK6fBsrmAa4JG3m7xZXg

ready to test! pls send some xts my way :)
Sent
fd08a8812397d67807c480738b418d67c7c17752

please send me some xts
XTS2QNjLRsQZPeMcQLYtNJFRdhoy5HhmnfW3o9GCeW9atEZ9iyzCiE4YR4TLcAJX7hsR2Nss8vdBK8d41p9TM4xnJMvrAqLi4

2067
virtualbox虚拟机 ubuntu 编译
nat改桥接 upnp成功

一开始编译的客户端  卡块1802
rm -rf .BitSharesXTS  也不行

虚拟机重置后重新运行 ok了
有UI就好了 简陋点也行啊

2068
please send me some xts


jerry (unlocked) >>> wallet_create_receive_account "test"
"XTS2QNjLRsQZPeMcQLYtNJFRdhoy5HhmnfW3o9GCeW9atEZ9iyzCiE4YR4TLcAJX7hsR2Nss8vdBK8d41p9TM4xnJMvrAqLi4"


updated

osx in virtualbox  compiled success  but connect failed
ubuntu  in virtualbox  compiled , connect & sync success.

2069
今晚我删了.Bitshares,用最新的代码试了还是不行呀,我路由器里的UPNP已开启的了。
启动客户端时的信息是什么啊?你连我的试试看。180.157.208.228:5678
你看我的启动信息,在 upnp 成功后会打印外网IP
Code: [Select]
alt@alt-ThinkPad-T430s ~/workspace/bitshares_toolkit/build/programs/client $ ./bitshares_client
Logging to file "/home/alt/.BitSharesXTS/default.log"
Logging RPC to file "/home/alt/.BitSharesXTS/rpc.log"
Loading config "/home/alt/.BitSharesXTS/config.json"
Loading blockchain from "/home/alt/.BitSharesXTS/chain"
Using genesis block from file "/home/alt/workspace/bitshares_toolkit/build/programs/client/genesis.dat"
Not starting rpc server, use --server to enable the rpc interface
Listening to P2P connections on port 5678
Attempting to map UPNP port...
UPnP: ExternalIPAddress = 180.157.208.228
UPnP Port Mapping successful.
Attempting to connect to peer 107.170.30.182:5678
(wallet closed) >>>

我的没有这个

UPnP: ExternalIPAddress = 180.157.208.228
UPnP Port Mapping successful.

路由器upnp打开了的
虚拟机里运行是不是有关?

2070
为了能广泛测试最好能发布编译好的
win ubuntu  osx
至少有win平台的客户端
总不能要求小白都自己去编译吧
不是搞IT的码农估计自己编译很有难度啊
我能提供ubuntu的二进制,但是这东西很敏感,建议不要下载非官方提供的二进制文件。

是啊  可惜bm只发了osx平台的 诶
win平台的编译 折腾失败了
ubuntu的在虚拟机里折腾也失败了 无语了

还有个好办法,3i可以弄一个ubuntu+设置好编译环境的虚拟机文件啊,下载后,运行脚本就能自己更新+编译了。
最好么就是把http://bitshares.org/downloads的修改下啊 自动编译的指向新版本源码不就行了么
现在天天编译老的也是浪费服务器资源啊

你可以试一下这个。

https://github.com/valzav/vagrant_bitshares_toolkit

3q 我记混了 折腾失败是win下
osx虚拟机下编译出来的还是连不上
ubuntu的看编译指南挺简单  快编译好了

可以运行了。奇怪的是终端下可以运行,直接双击不行。

Pages: 1 ... 131 132 133 134 135 136 137 [138] 139 140 141 142 143 144 145 ... 151