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

0 Members and 1 Guest are viewing this topic.

Offline Stan

  • Hero Member
  • *****
  • Posts: 2908
  • You need to think BIGGER, Pinky...
    • View Profile
    • Cryptonomex
  • BitShares: Stan
yes, I run with --server, but have not used the web interface.

Ok... at least we know where to look... good work!  I'll have Stan send you a tip of 30 PTS for your effort.  Post an address and contact him for details.
Thx, My pts address:  Pj9F2ooTAGD314Xw7KZ228Yegiut84HUnb

Status: 0/unconfirmed, broadcast through 5 nodes
Date: 5/26/14 18:03
To: Alt Tip - https://bitsharestalk.org/index.php?topic=4714.msg60703#msg60703 Pj9F2ooTAGD314Xw7KZ228Yegiut84HUnb
Debit: -30.00 PTS
Net amount: -30.00 PTS
Transaction ID: df77592e9f00c3998bac4e9c28812ada73f9c089903ad2db5b09106923ae8606
Anything said on these forums does not constitute an intent to create a legal obligation or contract of any kind.   These are merely my opinions which I reserve the right to change at any time.

Offline bytemaster

tks

XTS31WEmshRSeWq9eYeNN9fybDj66r3mhZ3d6zFohnGtcHifgMeuWwGVWBQvgaxZ1QHUXJJzw1byaupdcRnFj4FBgVuFhkj2q

enjoy

i run bts user  OSX10.9 in virtualbox(hosts win8.1   i try to complie but failed  because i‘am not a IT industry personnel )


seems not working 

Last login: Mon May 26 10:58:42 on ttys001
jerrydeMac-mini:~ jerry$ /Users/jerry/Desktop/xts_client_osx ; exit;
================================================================
=                                                              =
=             Welcome to BitShares XTS                         =
=                                                              =
=  This software is in alpha testing and is not suitable for   =
=  real monetary transactions or trading.  Use at your own     =
=  risk.                                                       =
=                                                              =
=  Type 'help' for usage information.                          =
================================================================
Logging to file "/Users/jerry/Library/Application Support/BitSharesXTS/default.log"
Logging RPC to file "/Users/jerry/Library/Application Support/BitSharesXTS/rpc.log"
Loading config "/Users/jerry/Library/Application Support/BitSharesXTS/config.json"
Loading blockchain from "/Users/jerry/Library/Application Support/BitSharesXTS/chain"
Using genesis block from file "/Users/jerry/genesis.dat"
Initializing genesis state
Not starting rpc server, use --server to enable the rpc interface
Listening to P2P connections on port 5678
Attempting to map UPNP port...
Attempting to connect to peer 107.170.30.182:5678
(wallet closed) >>> getinfo
{
  "chain_id": "e55197e9887bdac2dff24b1fc75dd16d2667c8a3c1f8710e69f8529350f29d63",
  "symbol": "XTS",
  "interval_seconds": 30,
  "blocks": 0,
  "random_seed": "0000000000000000000000000000000000000000",
  "current_share_supply": 80000000000000,
  "shares_per_bip": 0.080000000000000002,
  "balance": 0,
  "unlocked_until": "19700101T000000",
  "connections": 0,
  "rpc_port": 0,
  "blockchain_version": 100,
  "wallet_version": 100,
  "protocol_version": 100,
  "_node_id": "744ac6a3aec1a41f81b141c45d79a893e6fe4ca5",
  "_bitshares_toolkit_revision": "36c0c3aabecfadf9ab251161abe7ce1371649031",
  "_fc_revision": "ac03a71f3da1ea2cd78e5923cc930e2238c4b28c"
}
(wallet closed) >>>

Delay time is longe  i’am at china mainland
ping 107.170.30.182
time=264ms TTL=38


hope to release exe version with UI

bts_wallet from http://bitshares.org/resources/downloads/
named Nightly Builds.  but seems like still the old version.

This is what the server says:

Code: [Select]
{
  "chain_id": "ed2c3dba64a343002734f782bb3bc831a99a14c80490b85bfbf33751793469cc",
  "symbol": "XTS",
  "interval_seconds": 30,
  "blocks": 3128,
  "random_seed": "b9dee529de0f0b6fe8307a772ab7a15d50bec4a3",
  "current_share_supply": 79999997099998,
  "shares_per_bip": 0.079999997099997999,
  "balance": 58164969781501,
  "unlocked_until": "20140919T114230.017637",
  "connections": 3,
  "maximum_number_of_connections": 12,
  "rpc_port": 0,
  "blockchain_version": 100,
  "wallet_version": 100,
  "protocol_version": 100,
  "_node_id": "b0dfe9e4d594d669ce60e937b429a4808753a668",
  "_bitshares_toolkit_revision": "8ac79016eff06168e86c702a588bbf0f3348b5a9",
  "_fc_revision": "ac03a71f3da1ea2cd78e5923cc930e2238c4b28c"
}

Eric has some small patches developed and soon to be committed to help accelerate the connection process.  This will help you connect. 

In the mean time you can delete ~/.BitSharesPTS/peers.leveldb (after closing the client) and it will probably connect right away.

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

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
yes, I run with --server, but have not used the web interface.

Ok... at least we know where to look... good work!  I'll have Stan send you a tip of 30 PTS for your effort.  Post an address and contact him for details.
Thx, My pts address:  Pj9F2ooTAGD314Xw7KZ228Yegiut84HUnb

Offline toast

  • Hero Member
  • *****
  • Posts: 4001
    • View Profile
  • BitShares: nikolai
Dan takes the bitshares.org node up and down pretty frequently, try again soonish

Sent from my SCH-I535 using Tapatalk

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 sudo

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

XTS31WEmshRSeWq9eYeNN9fybDj66r3mhZ3d6zFohnGtcHifgMeuWwGVWBQvgaxZ1QHUXJJzw1byaupdcRnFj4FBgVuFhkj2q

enjoy

i run bts user  OSX10.9 in virtualbox(hosts win8.1   i try to complie but failed  because i‘am not a IT industry personnel )


seems not working 

Last login: Mon May 26 10:58:42 on ttys001
jerrydeMac-mini:~ jerry$ /Users/jerry/Desktop/xts_client_osx ; exit;
================================================================
=                                                              =
=             Welcome to BitShares XTS                         =
=                                                              =
=  This software is in alpha testing and is not suitable for   =
=  real monetary transactions or trading.  Use at your own     =
=  risk.                                                       =
=                                                              =
=  Type 'help' for usage information.                          =
================================================================
Logging to file "/Users/jerry/Library/Application Support/BitSharesXTS/default.log"
Logging RPC to file "/Users/jerry/Library/Application Support/BitSharesXTS/rpc.log"
Loading config "/Users/jerry/Library/Application Support/BitSharesXTS/config.json"
Loading blockchain from "/Users/jerry/Library/Application Support/BitSharesXTS/chain"
Using genesis block from file "/Users/jerry/genesis.dat"
Initializing genesis state
Not starting rpc server, use --server to enable the rpc interface
Listening to P2P connections on port 5678
Attempting to map UPNP port...
Attempting to connect to peer 107.170.30.182:5678
(wallet closed) >>> getinfo
{
  "chain_id": "e55197e9887bdac2dff24b1fc75dd16d2667c8a3c1f8710e69f8529350f29d63",
  "symbol": "XTS",
  "interval_seconds": 30,
  "blocks": 0,
  "random_seed": "0000000000000000000000000000000000000000",
  "current_share_supply": 80000000000000,
  "shares_per_bip": 0.080000000000000002,
  "balance": 0,
  "unlocked_until": "19700101T000000",
  "connections": 0,
  "rpc_port": 0,
  "blockchain_version": 100,
  "wallet_version": 100,
  "protocol_version": 100,
  "_node_id": "744ac6a3aec1a41f81b141c45d79a893e6fe4ca5",
  "_bitshares_toolkit_revision": "36c0c3aabecfadf9ab251161abe7ce1371649031",
  "_fc_revision": "ac03a71f3da1ea2cd78e5923cc930e2238c4b28c"
}
(wallet closed) >>>

Delay time is longe  i’am at china mainland
ping 107.170.30.182
time=264ms TTL=38


hope to release exe version with UI

bts_wallet from http://bitshares.org/resources/downloads/
named Nightly Builds.  but seems like still the old version.
« Last Edit: May 26, 2014, 06:19:14 pm by sudo »

Offline alexxy

  • Full Member
  • ***
  • Posts: 175
    • View Profile
@bytemaster are there any interest in testing bitshares over ipv6 nodes?

We have no ipv6 support right now.

Ok. I have native ipv6 here. So i'll be able to test.
Vote for my delegates! alexxy | lexx
PTS: PmraxfZ852y9oEKrYMLX1ee3e4qRWPUTFC
BTS: alexxy

Offline bytemaster

@bytemaster are there any interest in testing bitshares over ipv6 nodes?

We have no ipv6 support right now.
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
@bytemaster are there any interest in testing bitshares over ipv6 nodes?
Vote for my delegates! alexxy | lexx
PTS: PmraxfZ852y9oEKrYMLX1ee3e4qRWPUTFC
BTS: alexxy

Offline toast

  • Hero Member
  • *****
  • Posts: 4001
    • View Profile
  • BitShares: nikolai
tks

XTS31WEmshRSeWq9eYeNN9fybDj66r3mhZ3d6zFohnGtcHifgMeuWwGVWBQvgaxZ1QHUXJJzw1byaupdcRnFj4FBgVuFhkj2q

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

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

XTS31WEmshRSeWq9eYeNN9fybDj66r3mhZ3d6zFohnGtcHifgMeuWwGVWBQvgaxZ1QHUXJJzw1byaupdcRnFj4FBgVuFhkj2q

Offline bytemaster

yes, I run with --server, but have not used the web interface.

Ok... at least we know where to look... good work!  I'll have Stan send you a tip of 30 PTS for your effort.  Post an address and contact him for details.
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
Main seed node is reporting 7 connections.. how many connections do you all see to each other?

Mine has 2 connections. And it last about 2 hous without floating.

My local client has 4 connections at the moment.   I noticed that it got stuck around block 1600 and I had to delete the chain and force a re-sync...   Fortunately that worked.   I think the P2P networking code has a few bugs to work out.   But so far things are progressing nicely.


I get same issue. However i delete peers.leveldb and it forced resync
Vote for my delegates! alexxy | lexx
PTS: PmraxfZ852y9oEKrYMLX1ee3e4qRWPUTFC
BTS: alexxy

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
yes, I run with --server, but have not used the web interface.

Offline bytemaster

I comile from the source, here is the version info.
If this don't happen in your guys, you can leave this task  for me, I'll try to fix it this evening.
I have try my best, but not finish it yet.
I have to go to bed now. here is what I am doing.
1. here is a shell script, try to break client with gdb before it is be killed.
Code: [Select]
#!/bin/bash

PROG_NAME="bitshares_client"
PID=`pidof $PROG_NAME`
echo "Pid of $PROG_NAME is : $PID"
while true; do
  MEM_USAGE=`ps -C bitshares_client -o rss | tail -n 1`
  echo "rss in kBytes: $MEM_USAGE"
  if [ "$MEM_USAGE" -gt 10000 ]; then
    gdb ./$PROG_NAME $PID
    break
  fi
  sleep 0.1
done

2. after several minutes, gdb attach the pid.
you can see some memory is very big, about 196M.
Code: [Select]
alt@alt-ThinkPad-T430s ~/workspace/bitshares_toolkit/build/programs/client $ pmap -x `pidof bitshares_client`
....
0000000000de4000  196708  196608  196608 rwx--    [ anon ]
....

3. watch the address in gdb
Code: [Select]
(gdb) awatch *0xcde4ffd
Hardware access (read/write) watchpoint 3: *0xcde4ffd
(gdb) c
Continuing.
Hardware access (read/write) watchpoint 3: *0xcde4ffd

Value = 0
fc::task_base::task_base (this=0xcde4ff0, __vtt_parm=0x8494c8 <VTT for fc::task<void, 24ul>+40>, func=0xcde4fd8, __in_chrg=<optimized out>)
    at /home/alt/workspace/bitshares_toolkit/libraries/fc/src/thread/task.cpp:22
22   _functor(func){
(gdb) bt
#0  fc::task_base::task_base (this=0xcde4ff0, __vtt_parm=0x8494c8 <VTT for fc::task<void, 24ul>+40>, func=0xcde4fd8, __in_chrg=<optimized out>)
    at /home/alt/workspace/bitshares_toolkit/libraries/fc/src/thread/task.cpp:22
#1  0x00000000007338ee in task<fc::rpc::detail::json_connection_impl::read_loop()::__lambda0> (
    f=<unknown type in /home/alt/workspace/bitshares_toolkit/build/programs/client/bitshares_client, CU 0x106bfc4, DIE 0x10a7179>, this=0xcde4fd0,
    __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /home/alt/workspace/bitshares_toolkit/libraries/fc/include/fc/thread/task.hpp:81
#2  async<fc::rpc::detail::json_connection_impl::read_loop()::__lambda0> (prio=..., desc=0x8499e0 "",
    f=<unknown type in /home/alt/workspace/bitshares_toolkit/build/programs/client/bitshares_client, CU 0x106bfc4, DIE 0x10a70f9>, this=0xe1cae0)
    at /home/alt/workspace/bitshares_toolkit/libraries/fc/include/fc/thread/thread.hpp:59
#3  async<fc::rpc::detail::json_connection_impl::read_loop()::__lambda0> (prio=..., desc=0x8499e0 "",
    f=<unknown type in /home/alt/workspace/bitshares_toolkit/build/programs/client/bitshares_client, CU 0x106bfc4, DIE 0x10a70af>)
    at /home/alt/workspace/bitshares_toolkit/libraries/fc/include/fc/thread/thread.hpp:176
#4  read_loop (this=0xec5250) at /home/alt/workspace/bitshares_toolkit/libraries/fc/src/rpc/json_connection.cpp:207
#5  operator() (__closure=<optimized out>) at /home/alt/workspace/bitshares_toolkit/libraries/fc/src/rpc/json_connection.cpp:266
#6  fc::detail::void_functor_run<fc::rpc::json_connection::exec()::__lambda1>::run(void *, void *) (functor=<optimized out>, prom=0xecefc0)
    at /home/alt/workspace/bitshares_toolkit/libraries/fc/include/fc/thread/task.hpp:54
#7  0x0000000000708b0a in fc::task_base::run_impl (this=this@entry=0xecefd0) at /home/alt/workspace/bitshares_toolkit/libraries/fc/src/thread/task.cpp:38
#8  0x0000000000708dc5 in fc::task_base::run (this=this@entry=0xecefd0) at /home/alt/workspace/bitshares_toolkit/libraries/fc/src/thread/task.cpp:29
#9  0x00000000007075f7 in run_next_task (this=0xe1cb00) at /home/alt/workspace/bitshares_toolkit/libraries/fc/src/thread/thread_d.hpp:347
#10 fc::thread_d::process_tasks (this=this@entry=0xe1cb00) at /home/alt/workspace/bitshares_toolkit/libraries/fc/src/thread/thread_d.hpp:370
#11 0x00000000007078f1 in fc::thread_d::start_process_tasks (my=14797568) at /home/alt/workspace/bitshares_toolkit/libraries/fc/src/thread/thread_d.hpp:328
#12 0x0000000000809e6e in make_fcontext ()
#13 0x0000000000e1cb00 in ?? ()
#14 0x0000000000000000 in ?? ()


Great debugging, it looks like a JSON parser running into infinity rather than failing with an error at the end of the stream.  It also appears to be doing something with json_connection which shouldn't be in use... are you running with --server and attempting to use the web interface?
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 alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
I comile from the source, here is the version info.
If this don't happen in your guys, you can leave this task  for me, I'll try to fix it this evening.
I have try my best, but not finish it yet.
I have to go to bed now. here is what I am doing.
1. here is a shell script, try to break client with gdb before it is be killed.
Code: [Select]
#!/bin/bash

PROG_NAME="bitshares_client"
PID=`pidof $PROG_NAME`
echo "Pid of $PROG_NAME is : $PID"
while true; do
  MEM_USAGE=`ps -C bitshares_client -o rss | tail -n 1`
  echo "rss in kBytes: $MEM_USAGE"
  if [ "$MEM_USAGE" -gt 10000 ]; then
    gdb ./$PROG_NAME $PID
    break
  fi
  sleep 0.1
done

2. after several minutes, gdb attach the pid.
you can see some memory is very big, about 196M.
Code: [Select]
alt@alt-ThinkPad-T430s ~/workspace/bitshares_toolkit/build/programs/client $ pmap -x `pidof bitshares_client`
....
0000000000de4000  196708  196608  196608 rwx--    [ anon ]
....

3. watch the address in gdb
Code: [Select]
(gdb) awatch *0xcde4ffd
Hardware access (read/write) watchpoint 3: *0xcde4ffd
(gdb) c
Continuing.
Hardware access (read/write) watchpoint 3: *0xcde4ffd

Value = 0
fc::task_base::task_base (this=0xcde4ff0, __vtt_parm=0x8494c8 <VTT for fc::task<void, 24ul>+40>, func=0xcde4fd8, __in_chrg=<optimized out>)
    at /home/alt/workspace/bitshares_toolkit/libraries/fc/src/thread/task.cpp:22
22   _functor(func){
(gdb) bt
#0  fc::task_base::task_base (this=0xcde4ff0, __vtt_parm=0x8494c8 <VTT for fc::task<void, 24ul>+40>, func=0xcde4fd8, __in_chrg=<optimized out>)
    at /home/alt/workspace/bitshares_toolkit/libraries/fc/src/thread/task.cpp:22
#1  0x00000000007338ee in task<fc::rpc::detail::json_connection_impl::read_loop()::__lambda0> (
    f=<unknown type in /home/alt/workspace/bitshares_toolkit/build/programs/client/bitshares_client, CU 0x106bfc4, DIE 0x10a7179>, this=0xcde4fd0,
    __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /home/alt/workspace/bitshares_toolkit/libraries/fc/include/fc/thread/task.hpp:81
#2  async<fc::rpc::detail::json_connection_impl::read_loop()::__lambda0> (prio=..., desc=0x8499e0 "",
    f=<unknown type in /home/alt/workspace/bitshares_toolkit/build/programs/client/bitshares_client, CU 0x106bfc4, DIE 0x10a70f9>, this=0xe1cae0)
    at /home/alt/workspace/bitshares_toolkit/libraries/fc/include/fc/thread/thread.hpp:59
#3  async<fc::rpc::detail::json_connection_impl::read_loop()::__lambda0> (prio=..., desc=0x8499e0 "",
    f=<unknown type in /home/alt/workspace/bitshares_toolkit/build/programs/client/bitshares_client, CU 0x106bfc4, DIE 0x10a70af>)
    at /home/alt/workspace/bitshares_toolkit/libraries/fc/include/fc/thread/thread.hpp:176
#4  read_loop (this=0xec5250) at /home/alt/workspace/bitshares_toolkit/libraries/fc/src/rpc/json_connection.cpp:207
#5  operator() (__closure=<optimized out>) at /home/alt/workspace/bitshares_toolkit/libraries/fc/src/rpc/json_connection.cpp:266
#6  fc::detail::void_functor_run<fc::rpc::json_connection::exec()::__lambda1>::run(void *, void *) (functor=<optimized out>, prom=0xecefc0)
    at /home/alt/workspace/bitshares_toolkit/libraries/fc/include/fc/thread/task.hpp:54
#7  0x0000000000708b0a in fc::task_base::run_impl (this=this@entry=0xecefd0) at /home/alt/workspace/bitshares_toolkit/libraries/fc/src/thread/task.cpp:38
#8  0x0000000000708dc5 in fc::task_base::run (this=this@entry=0xecefd0) at /home/alt/workspace/bitshares_toolkit/libraries/fc/src/thread/task.cpp:29
#9  0x00000000007075f7 in run_next_task (this=0xe1cb00) at /home/alt/workspace/bitshares_toolkit/libraries/fc/src/thread/thread_d.hpp:347
#10 fc::thread_d::process_tasks (this=this@entry=0xe1cb00) at /home/alt/workspace/bitshares_toolkit/libraries/fc/src/thread/thread_d.hpp:370
#11 0x00000000007078f1 in fc::thread_d::start_process_tasks (my=14797568) at /home/alt/workspace/bitshares_toolkit/libraries/fc/src/thread/thread_d.hpp:328
#12 0x0000000000809e6e in make_fcontext ()
#13 0x0000000000e1cb00 in ?? ()
#14 0x0000000000000000 in ?? ()