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

0 Members and 1 Guest are viewing this topic.

Offline wackou

ok, so:
- debian in a vbox doesn't connect
- ubuntu in a vbox does connect

so it must be something with the difference in dependencies... Maybe boost? (debian: 1.55, ubuntu: 1.54)

I'll try to investigate more if I can find some time to look into that.
Please vote for witness wackou! More info at http://digitalgaia.io

Offline muse-umum

  • Hero Member
  • *****
  • Posts: 717
  • BitShares everything
    • View Profile
Could anyone send me some bips ?

XTS3F32RC7KCyxjjmDeTbUbXU3nDNAcK3xnKR9rBg4yLBRob894MKhxj8Cg99WMgp2h8P49yxKnM1xmhoAGsb6dAiFRswXcgt

哪位大爷行行好,送我一顿晚餐?

Are you running on 32 bit arch os? Can not create sending account for your address, which should be a bug.

Yes, 32bit. Replied you via QQ

Offline sudo

  • Hero Member
  • *****
  • Posts: 2255
    • View Profile
  • BitShares: ags
Could anyone send me some bips ?

XTS3F32RC7KCyxjjmDeTbUbXU3nDNAcK3xnKR9rBg4yLBRob894MKhxj8Cg99WMgp2h8P49yxKnM1xmhoAGsb6dAiFRswXcgt

哪位大爷行行好,送我一顿晚餐?

Are you running on 32 bit arch os? Can not create sending account for your address, which should be a bug.

32bit ubuntu  under virtualbox

my address  if it's ok?
XTS2UyMMa3DcyX697GvjVdMTqLyJjHd3UFT5G8jzMiBTH673gmvqX8nhcJhAxDXaN8Nj5MK996asuZGmbScGtRiNH9YNSuztn

Offline wackou

will try using ubuntu in a virtualbox, then we'll know if this is a difference between debian/ubuntu or if it's something else... Trying 14.04, this one should be working, yes?
Please vote for witness wackou! More info at http://digitalgaia.io

Offline wackou

I tested on a few more configs, here are my findings:

test machines:
- vps: debian stable + required libs from testing (boost 1.55, cmake), running on a virtual server with public IP
- vbox: debian stable + required libs from testing (boost 1.55, cmake), running in a virtualbox on my macbook
- macbook: OSX10.9, client precompiled by bytemaster

connection results:
- macbook has no problem connecting, tested at work and at home
- neither vps nor vbox can connect. I thought it was because of the public ip at first, but then vbox should be able to connect, however it doesn't. I tried launching it with --server, although I don't see why it should help, and it didn't. I also tried running vbox with bridge mode instead of NAT, to no avail. Did those multiple times, and after deleting ~/.Bitshares too.

So it looks like it might not be due to having a public ip but rather some problem with the config I'm using (some lib in debian that doesn't work but works in ubuntu?), or the upnp code not working properly in linux.

Here's the version I tried:
Code: [Select]
(wallet closed) >>> get_info
{
  "blockchain_asset_reg_fee": 301988160,
  "blockchain_asset_shares_max": 1000000000000000,
  "blockchain_bips_per_share": 12.5,
  "blockchain_block_fee_min": 1,
  "blockchain_block_interval": 30,
  "blockchain_block_num": 0,
  "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": "0000000000000000000000000000000000000000",
  "blockchain_shares": 80000000000000,
  "blockchain_size_max": 107374182400,
  "blockchain_symbol": "XTS",
  "blockchain_version": 100,
  "client_httpd_port": 0,
  "client_rpc_port": 0,
  "network_num_connections": 0,
  "network_num_connections_max": 12,
  "network_protocol_version": 100,
  "wallet_balance": 0,
  "wallet_balance_bips": 0,
  "wallet_open": false,
  "wallet_unlocked_until": "",
  "wallet_version": 100,
  "_bitshares_toolkit_revision": "70766ff1b1c737b988c9d27f9f4802984ba388b7",
  "_fc_revision": "54c66bbb86770d5d166c8b172b2658e9103e37cb",
  "_network_node_id": "365be6ac70a1dfbc69f331f44db6a90fa8d02c42"
}

Also, by looking at the diff between the logs, here's what I get on osx when it connects:
Code: [Select]
3184005ms       th_a connect_to_p2p_netwo ] listening for connections on endpoint 0.0.0.0:5678          node.cpp:1850
3184005ms       th_a           connect_to ] node_impl::connect_to(107.170.30.182:5678)          node.cpp:1873
and then:
Code: [Select]
3184255ms       th_a           connect_to ] established outbound connection to 107.170.30.182:5678          node.cpp:440
3184255ms       th_a      connect_to_task ] Sent "hello" to remote peer 107.170.30.182:5678         node.cpp:1786
3184380ms       th_a on_hello_reply_messa ] Received a reply to my "hello" from 107.170.30.182:5678, connection is accepted         node.cpp:1034

and here's the same place in the log for the linux client which doesn't:
Code: [Select]
2770636ms       th_a connect_to_p2p_netwo ] listening for connections on endpoint 0.0.0.0:5678                  node.cpp:1999
2770636ms       th_a           connect_to ] node_impl::connect_to(107.170.30.182:5678)                  node.cpp:2022
2770637ms       th_a           connect_to ] Exception binding outgoing connection to desired local endpoint: bind: Address already in use                       tcp_socket.cpp:104
and then
Code: [Select]
2775645ms       upnp           operator() ] No valid UPnP IGDs found                    upnp.cpp:145

let me know if there's anything else I can do to help. Also, should I report this to github or is here a good place to discuss?
Please vote for witness wackou! More info at http://digitalgaia.io

Offline HackFisher

  • Hero Member
  • *****
  • Posts: 883
    • View Profile
Could anyone send me some bips ?

XTS3F32RC7KCyxjjmDeTbUbXU3nDNAcK3xnKR9rBg4yLBRob894MKhxj8Cg99WMgp2h8P49yxKnM1xmhoAGsb6dAiFRswXcgt

哪位大爷行行好,送我一顿晚餐?

Are you running on 32 bit arch os? Can not create sending account for your address, which should be a bug.
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 crazybit

appreciated if could sent me some fund.

XTS393aySU6RQ1sWGJxKX2vMwxbLJwjopVmBpgkREYWYXQvdVZLftsVJhXrMaeyHRg6rdagvrjEUg3hKHr2BM6krSUd2ktqBN

and my node:58.62.197.239, see if anyone can connect to me.

Offline muse-umum

  • Hero Member
  • *****
  • Posts: 717
  • BitShares everything
    • View Profile
Could anyone send me some bips ?

XTS3F32RC7KCyxjjmDeTbUbXU3nDNAcK3xnKR9rBg4yLBRob894MKhxj8Cg99WMgp2h8P49yxKnM1xmhoAGsb6dAiFRswXcgt

哪位大爷行行好,送我一顿晚餐?

Offline svk

.... quote removed....

could you try following and post a new account address?

Code: [Select]
git pull
git submodule update

Is the adress no good?

I only built it this morning, like 2-3 hours ago.. Here's a new address:

Code: [Select]
sigve@sigve-UL30VT: ~/bitshares_toolkit $ git pull
Already up-to-date.
sigve@sigve-UL30VT: ~/bitshares_toolkit $ git submodule update

Code: [Select]
(wallet closed) >>> wallet_create "second_wallet"
new passphrase:
new passphrase (verify):
Wallet unlocked for 5 minutes, use wallet_unlock for more time
OK
second_wallet (unlocked) >>> wallet_create_receive_account "second_receive"
"XTS2MNV9YJofhXef65qKNLETa2GLUVbfF7KofhxgZCufLVnwVeJoMkPxCBdbFGgNkmsza2MqXigXCQVLBLfpXX6iR7VQMApXJ"
second_wallet (unlocked) >>>

Still can not create sending account for this address, could you help provide "getinfo" output here, which contains the code revision number of your build.
I'm not sure, could be a bug, or a compatible issue, let's check it.

Sure, here you go:

Code: [Select]
second_wallet (unlocked) >>> getinfo
{
  "blockchain_asset_reg_fee": 301988160,
  "blockchain_asset_shares_max": 1000000000000000,
  "blockchain_bips_per_share": 12.50000078125208,
  "blockchain_block_fee_min": 1,
  "blockchain_block_interval": 30,
  "blockchain_block_num": 10744,
  "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": "4872a3e197793845fec3b7885c29e97140750318",
  "blockchain_shares": 79999994999987,
  "blockchain_size_max": 107374182400,
  "blockchain_symbol": "XTS",
  "blockchain_version": 100,
  "client_httpd_port": 0,
  "client_rpc_port": 0,
  "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": "20140529T131340",
  "wallet_version": 100,
  "_bitshares_toolkit_revision": "70766ff1b1c737b988c9d27f9f4802984ba388b7",
  "_fc_revision": "54c66bbb86770d5d166c8b172b2658e9103e37cb",
  "_network_node_id": "1e93c2e77eeada1e2fde35fa38fe701d6231d3d2"
}
Worker: dev.bitsharesblocks

Offline HackFisher

  • Hero Member
  • *****
  • Posts: 883
    • View Profile
.... quote removed....

could you try following and post a new account address?

Code: [Select]
git pull
git submodule update

Is the adress no good?

I only built it this morning, like 2-3 hours ago.. Here's a new address:

Code: [Select]
sigve@sigve-UL30VT: ~/bitshares_toolkit $ git pull
Already up-to-date.
sigve@sigve-UL30VT: ~/bitshares_toolkit $ git submodule update

Code: [Select]
(wallet closed) >>> wallet_create "second_wallet"
new passphrase:
new passphrase (verify):
Wallet unlocked for 5 minutes, use wallet_unlock for more time
OK
second_wallet (unlocked) >>> wallet_create_receive_account "second_receive"
"XTS2MNV9YJofhXef65qKNLETa2GLUVbfF7KofhxgZCufLVnwVeJoMkPxCBdbFGgNkmsza2MqXigXCQVLBLfpXX6iR7VQMApXJ"
second_wallet (unlocked) >>>

Still can not create sending account for this address, could you help provide "getinfo" output here, which contains the code revision number of your build.
I'm not sure, could be a bug, or a compatible issue, let's check it.
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 svk

.... quote removed....

could you try following and post a new account address?

Code: [Select]
git pull
git submodule update

Is the adress no good?

I only built it this morning, like 2-3 hours ago.. Here's a new address:

Code: [Select]
sigve@sigve-UL30VT: ~/bitshares_toolkit $ git pull
Already up-to-date.
sigve@sigve-UL30VT: ~/bitshares_toolkit $ git submodule update

Code: [Select]
(wallet closed) >>> wallet_create "second_wallet"
new passphrase:
new passphrase (verify):
Wallet unlocked for 5 minutes, use wallet_unlock for more time
OK
second_wallet (unlocked) >>> wallet_create_receive_account "second_receive"
"XTS2MNV9YJofhXef65qKNLETa2GLUVbfF7KofhxgZCufLVnwVeJoMkPxCBdbFGgNkmsza2MqXigXCQVLBLfpXX6iR7VQMApXJ"
second_wallet (unlocked) >>>
Worker: dev.bitsharesblocks

Offline HackFisher

  • Hero Member
  • *****
  • Posts: 883
    • View Profile
send some, please:

XTS2XWdKLzGS9BqJgEMHfLxphNxpkDqHwGBVEYCATsR2SRRdrftwTWEeZay41um4C677hHRcJc2rcgqqzQVhDzNy5TCL8iiQy

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

  • Hero Member
  • *****
  • Posts: 883
    • View Profile
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";

Quote
assert
checksum == fc::ripemd160::hash( data.data(), sizeof(*this) )._hash[0]:
    {}
    th_a  extended_address.cpp:171 bts::blockchain::extended_address::extended_address
decoding address XTS3GfntoKakKVWotiPDxGbDrsTaa33xAw4kFPmKWiQMr2PcYvYksdP3CBFLhjKjTNkP8HSSpsyN5vL75K1zsNycdsQEiHigY

could you try following and post a new account address?

Code: [Select]
git pull
git submodule update
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 radiumlau

  • Jr. Member
  • **
  • Posts: 25
    • View Profile
send some, please:

XTS2XWdKLzGS9BqJgEMHfLxphNxpkDqHwGBVEYCATsR2SRRdrftwTWEeZay41um4C677hHRcJc2rcgqqzQVhDzNy5TCL8iiQy

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
@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?
Not working :-(