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

0 Members and 1 Guest are viewing this topic.

Offline bytemaster

Quote
getinfo
{
  "chain_id": "ed2c3dba64a343002734f782bb3bc831a99a14c80490b85bfbf33751793469cc",
  "symbol": "XTS",
  "interval_seconds": 30,
  "blocks": 8010,
  "random_seed": "34218babb2101e99e6d7bb5db5a6c8686997ab46",
  "current_share_supply": 79999995799989,
  "shares_per_bip": 0.079999995799988996,
  "balance": 58164525237057,
  "unlocked_until": "20140919T114230.017637",
  "connections": 5,
  "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"
}
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 coolspeed

  • Hero Member
  • *****
  • Posts: 536
    • View Profile
    • My Blog
Can someone explain what happened?

where did my 100000  shares go?

Code: [Select]
coolspeed (unlocked) >>> wallet_rescan_blockchain
OK

coolspeed (unlocked) >>> getbalance
[[
    88888788888,
    "XTS"
  ]
]

coolspeed (unlocked) >>> wallet_get_transaction_history_summary
  #    BLK.TRX  TIMESTAMP           FROM                                 TO                                    AMOUNT    FEE     VOTE         ID
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  1   2161.0    2014-05-26T13:35:00 XTSHVKAFtdSsTeN3h1gB8NsD2mn3VuNQM8mM from_coolspeed_                      +88888888888    0      +delegate-2   23266449171d19794ebab56bad897cef00b109af
  2   7987.0    2014-05-28T14:08:30 from_coolspeed_                      from_coolspeed_                       0   -100000 +delegate-6   1c871a096db28a80817870cbc36c3f959ca2ebd7
« Last Edit: May 28, 2014, 02:26:11 pm by coolspeed »
Please vote for  delegate.coolspeed    dac.coolspeed
BTS account: coolspeed
Sina Weibo:@coolspeed

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
What is:
Code: [Select]
20207 3483985ms       th_a           connect_to ] Exception binding outgoing connection to desired local endpoint: bind: Address already in use   tcp_socket.cpp:104
Maybe  the port 5678 is used by another program?
netstat -nap | grep 5678

Nop .. It opend correclty .. But still not connected to any node?! :-(
Code: [Select]
tcp        0      0 0.0.0.0:5678            0.0.0.0:*               LISTEN      7688/bitshares_clie

Offline wackou

It looks like I'm still on block 4267 (have been during all that time), maybe that's the issue?

That should have been 4627, sorry
Please vote for witness wackou! More info at http://digitalgaia.io

Offline wackou

I received. Now I am connected with two nodes. And my ip is  218.82.233.79; you can try to connect me. I intend to keep the client running for the next 24 hours.
I have connected to you.  :)

And I have been connected (automatically) to you :)
Have send you a little

Thanks! Haven't received it yet, though, this is weird because it's been like more than 15mins...

It looks like I'm still on block 4267 (have been during all that time), maybe that's the issue?
Please vote for witness wackou! More info at http://digitalgaia.io

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
What is:
Code: [Select]
20207 3483985ms       th_a           connect_to ] Exception binding outgoing connection to desired local endpoint: bind: Address already in use   tcp_socket.cpp:104
Maybe  the port 5678 is used by another program?
netstat -nap | grep 5678

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
What is:
Code: [Select]
20207 3483985ms       th_a           connect_to ] Exception binding outgoing connection to desired local endpoint: bind: Address already in use   tcp_socket.cpp:104

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
Too bad:
Code: [Select]
20171 3468985ms       th_a display_current_conn ]    my id is a1274c434667c1993ecbfb73935953ae2fd3842c   node.cpp:976
20172 3468985ms       th_a display_current_conn ]    handshaking: 218.82.233.79:5678 with 0000000000000000000000000000000000000000  [outbound]   node.cpp:984
20173 3468985ms       th_a display_current_conn ]    handshaking: 180.157.208.228:5678 with 0000000000000000000000000000000000000000  [outbound]   node.cpp:984
20174 3468985ms       th_a p2p_network_connect_ ] Last attempt was 299 seconds ago (disposition: last_connection_failed)   node.cpp:641
20175 3468985ms       th_a p2p_network_connect_ ] Last attempt was 34 seconds ago (disposition: last_connection_failed)   node.cpp:641                                                                 
20176 3468985ms       th_a p2p_network_connect_ ] Last attempt was 15 seconds ago (disposition: last_connection_failed)   node.cpp:641
.....
20202 3483985ms       th_a display_current_conn ] Currently have 2 of 8 connections   node.cpp:975
20203 3483985ms       th_a display_current_conn ]    my id is a1274c434667c1993ecbfb73935953ae2fd3842c   node.cpp:976
20204 3483985ms       th_a display_current_conn ]    handshaking: 107.170.30.182:5678 with 0000000000000000000000000000000000000000  [unknown]   node.cpp:984
20205 3483985ms       th_a display_current_conn ]    handshaking: 218.82.233.79:5678 with 0000000000000000000000000000000000000000  [outbound]   node.cpp:984
20206 3483985ms       th_a p2p_network_connect_ ] Still want to connect to more nodes, but I don't have any good candidates.  Trying again in 15 seconds   node.cpp:669
20207 3483985ms       th_a           connect_to ] Exception binding outgoing connection to desired local endpoint: bind: Address already in use   tcp_socket.cpp:104

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
I received. Now I am connected with two nodes. And my ip is  218.82.233.79; you can try to connect me. I intend to keep the client running for the next 24 hours.
I have connected to you.  :)

And I have been connected (automatically) to you :)
Have send you a little

Offline wackou

I received. Now I am connected with two nodes. And my ip is  218.82.233.79; you can try to connect me. I intend to keep the client running for the next 24 hours.
I have connected to you.  :)

And I have been connected (automatically) to you :)
Please vote for witness wackou! More info at http://digitalgaia.io

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
I received. Now I am connected with two nodes. And my ip is  218.82.233.79; you can try to connect me. I intend to keep the client running for the next 24 hours.
I have connected to you.  :)

Offline wackou

My account: XTS2PAVmogb7YS5hyA7RX1RARWxjRWyjqB7oEdMvodU9CYmB1kg8ei2C7xRVVQahSDsT2D2At5JLVtrX5uQAneo7iuZakhQSD
Please vote for witness wackou! More info at http://digitalgaia.io

Offline gulu

  • Full Member
  • ***
  • Posts: 121
    • View Profile
I received. Now I am connected with two nodes. And my ip is  218.82.233.79; you can try to connect me. I intend to keep the client running for the next 24 hours.
BTC: 1FRsgcQELHKFY2VMFosBnyBaNxZgS4wj7x
PTS: Pf9yDYUknXShepu6YjwSEpMvm1ewNQLNgE
BTSX: gulu

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
I am at home now, and with upnp on.
here is my ip: 180.157.208.228:5678
you can try add this node now
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) >>>

Offline muse-umum

  • Hero Member
  • *****
  • Posts: 717
  • BitShares everything
    • View Profile
I tried with newest code but still failed to connect to the P2P network.

The UPNP in my router is ON.

Code: [Select]
616714ms       th_a p2p_network_connect_ ] Starting an iteration of p2p_network_connect_loop(). node.cpp:602
616714ms       th_a display_current_conn ] Currently have 0 of 8 connections node.cpp:975
616715ms       th_a display_current_conn ]    my id is 221bea418d8678ee6b54e6f669f9d42a00eef18e node.cpp:976
616715ms       th_a p2p_network_connect_ ] Last attempt was 180 seconds ago (disposition: last_connection_failed) node.cpp:641
616715ms       th_a display_current_conn ] Currently have 0 of 8 connections node.cpp:975
616715ms       th_a display_current_conn ]    my id is 221bea418d8678ee6b54e6f669f9d42a00eef18e node.cpp:976
616715ms       th_a p2p_network_connect_ ] Still want to connect to more nodes, but I don't have any good candidates.  Trying again in  15 seconds node.cpp:669
618422ms       th_a        delegate_loop ] next block time: 19700101T000000  interval: 30 seconds  now: 20140528T121018 client.cpp:78
620423ms       th_a        delegate_loop ] next block time: 19700101T000000  interval: 30 seconds  now: 20140528T121020 client.cpp:78
622423ms       th_a        delegate_loop ] next block time: 19700101T000000  interval: 30 seconds  now: 20140528T121022 client.cpp:78
624425ms       th_a        delegate_loop ] next block time: 19700101T000000  interval: 30 seconds  now: 20140528T121024 client.cpp:78

Code: [Select]
heyD (unlocked) >>> wallet_rescan_blockchain 1
OK
heyD (unlocked) >>> wallet_rescan_blockchain_state
OK
heyD (unlocked) >>> getinfo
{
  "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": true,
  "wallet_unlocked_until": "20140528T122002",
  "wallet_version": 100,
  "_bitshares_toolkit_revision": "5f61176a67115ea0b0594d218253b0341b063a95",
  "_fc_revision": "54c66bbb86770d5d166c8b172b2658e9103e37cb",
  "_network_node_id": "221bea418d8678ee6b54e6f669f9d42a00eef18e"
}

My address:XTS2mMgxH6EAaoYsvJRBGykHXGi1sYAtvqa5767gi57CHQBEA6ppftGmDt1Q9eWfwPtBMPUwdcueDZ1qPFQ7WQ2H8J1dYp6Yk