Author Topic: BitShares X Status Update  (Read 142345 times)

0 Members and 1 Guest are viewing this topic.

Offline ElMato

  • Sr. Member
  • ****
  • Posts: 288
    • View Profile
Re: BitShares X Status Update
« Reply #180 on: January 27, 2014, 08:36:43 am »
Please, send me some BTS USD to start testing
PGegJS8MJeyGpqRn7ixeDB9pXZn

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
Re: BitShares X Status Update
« Reply #181 on: January 27, 2014, 09:12:58 am »
Just sent you 100 usd + 10 bts
Please, send me some BTS USD to start testing
PGegJS8MJeyGpqRn7ixeDB9pXZn

Offline aasl

  • Jr. Member
  • **
  • Posts: 45
    • View Profile
Re: BitShares X Status Update
« Reply #182 on: January 27, 2014, 12:53:05 pm »
I have met with another strange thing:

my account has 101 usd and 10 bts. I issue an order to buy 1 bts with 1 usd. After the order is submitted, my balance is like:
>>> balance
10.00000000 bts
100.00000000 usd

 Margin Positions
0.00000000 usd  total collateral: 0.00000000 bts  avg call price: 0.0000000000000 usd/bts
===========================================================
Unspent Outputs:
d58189b26daadb25013bc47a9c09e7dc5b20b7df:2]  1.00000000 bts claim_by_signature SRG6Boi48RkGPhMxFzwER6kQkaT
d58189b26daadb25013bc47a9c09e7dc5b20b7df:1]  89.00000000 usd claim_by_signature SRG6Boi48RkGPhMxFzwER6kQkaT
5fd1b50fc7182543c0ce59187b02ef1de8e58948:0]  10.00000000 usd claim_by_signature K382iEepdJyCHDgYBZsx3uqRSyq
e00b5487be74a401895a678cc78127053a6112ac:0]  1.00000000 usd claim_by_signature SGspNwacutDySLyC8h4x1gMXNHD
c5383cd618110be0e8d235a564b487584bc6225f:1]  9.00000000 bts claim_by_signature KxZNzt8ZmL1vzrjyDHJNJeXTpgo

Open Bids:
d58189b26daadb25013bc47a9c09e7dc5b20b7df:0]  1.00000000 usd claim_by_bid 1.0000000000000 usd/bts owner: SRG6Boi48RkGPhMxFzwER6kQkaT min trade: 0

However, when I quite bts_wallet and restart, my balance becomes:
>>> balance
9.00000000 bts
11.00000000 usd

 Margin Positions
0.00000000 usd  total collateral: 0.00000000 bts  avg call price: 0.0000000000000 usd/bts
===========================================================
Unspent Outputs:
5fd1b50fc7182543c0ce59187b02ef1de8e58948:0]  10.00000000 usd claim_by_signature K382iEepdJyCHDgYBZsx3uqRSyq
e00b5487be74a401895a678cc78127053a6112ac:0]  1.00000000 usd claim_by_signature SGspNwacutDySLyC8h4x1gMXNHD
c5383cd618110be0e8d235a564b487584bc6225f:1]  9.00000000 bts claim_by_signature KxZNzt8ZmL1vzrjyDHJNJeXTpgo


1 bts and 89 usd is lost after I submit my buying order! What is the cause of this problem?

Offline bytemaster

Re: BitShares X Status Update
« Reply #183 on: January 27, 2014, 03:32:27 pm »
Your change output has not been confirmed yet. 


Sent from my iPhone using Tapatalk
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 ElMato

  • Sr. Member
  • ****
  • Posts: 288
    • View Profile
Re: BitShares X Status Update
« Reply #184 on: January 27, 2014, 06:08:08 pm »
Just sent you 100 usd + 10 bts
Please, send me some BTS USD to start testing
PGegJS8MJeyGpqRn7ixeDB9pXZn

Thanks alt!
Im launching bts_wallet and the balance is not there yet.


I have some newbie questions.
- What is the equivalent of bitcoind in bitshares, bitshares_server?
- What is the bitshares_client?
- Where i can find an config example for bitshars_client?


Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
Re: BitShares X Status Update
« Reply #185 on: January 27, 2014, 11:21:56 pm »
Don't know why....
but I see it in the dump chainblock
Code: [Select]
{
  "version": 0,
  "prev": "d31dc1a891495cb5dc06971e3625f37ce85c56a6",
  "block_num": 204,
  "timestamp": "20140127T091234",
  "total_shares": 992066829540,
  "total_coindays_destroyed": 0,
  "trx_mroot": "1c23664df107048c972b70c506bf638dca3b11bf",
  "trxs": [{
      "version": 0,
      "stake": 2831228371,
      "timestamp": "20140127T091227",
      "valid_after": "19700101T000000",
      "valid_until": "19700101T000000",
      "inputs": [{
          "output_ref": {
            "trx_hash": "e0eeba44c402c92b42d625ffa43ea73f6f47d397",
            "output_idx": 0
          },
          "input_data": ""
        },{
          "output_ref": {
            "trx_hash": "452bf9de87d73be3a4ecc16361588bf88732f0b2",
            "output_idx": 0
          },
          "input_data": ""
        },{
          "output_ref": {
            "trx_hash": "fe5e42897048ce6e063af3a26a6cd32fe1c9e4ba",
            "output_idx": 0
          },
          "input_data": ""
        }
      ],
      "outputs": [{
          "amount": 10000000000,
          "unit": "usd",
          "claim_func": "claim_by_signature",
          "claim_data": {
            "owner": "PGegJS8MJeyGpqRn7ixeDB9pXZn"
          }
        },{
          "amount": 90200000000,
          "unit": "usd",
          "claim_func": "claim_by_signature",
          "claim_data": {
            "owner": "NRCkHFFJPoumRXpZSrbJM5r9XAj"
          }
        },{
          "amount": 100000000,
          "unit": "bts",
          "claim_func": "claim_by_signature",
          "claim_data": {
            "owner": "NRCkHFFJPoumRXpZSrbJM5r9XAj"
          }
        }
      ],
      "sigs": [
        "2036aa8efea946032731a2aa738c301d71dd85b5ce5e13b63ce6941cf1f92fbdffb9fbad542f270ab4e7b6ec75c5164ea5c81b4d9d6ccc55267ef2d3c2e39a9513",
        "20510b2f97c3fcf1e66430678c374e3167ca0f874c4374e9ffb2feaf81c7465127110febe06695fd5aeaa0e676ea295da3a25b2f68cdb948cd373aa9dda5d156f7",
        "20601b0259582ca20dbd233dddb046df99092ea9489f86b4fcd0991f74fb5d516b405d68048ceaa6758c517f83314a3c7780f11524ba30a8f5beee977a6c0df14a"
      ]
    },{
      "version": 0,
      "stake": 2831228371,
      "timestamp": "20140127T091233",
      "valid_after": "19700101T000000",
      "valid_until": "19700101T000000",
      "inputs": [{
          "output_ref": {
            "trx_hash": "fbbc00d78311d5b92fb545bfd91d41ca25055d9b",
            "output_idx": 1
          },
          "input_data": ""
        }
      ],
      "outputs": [{
          "amount": 1000000000,
          "unit": "bts",
          "claim_func": "claim_by_signature",
          "claim_data": {
            "owner": "PGegJS8MJeyGpqRn7ixeDB9pXZn"
          }
        },{
          "amount": 21860627992,
          "unit": "bts",
          "claim_func": "claim_by_signature",
          "claim_data": {
            "owner": "QiVUxNhCuVKi5RRpKde3T9mr6qq"
          }
        }
      ],
      "sigs": [
        "2001805c8723fc7386ea706214d9d4655462ed83f3de14dd73b630c117a4901c99b6a80609f931fc31c52ad9a095e71a71d52e451c44041ca5240011a33cdcb30c"
      ]
    }
  ]
},
(modedit: code tag)

Just sent you 100 usd + 10 bts
Please, send me some BTS USD to start testing
PGegJS8MJeyGpqRn7ixeDB9pXZn

Thanks alt!
Im launching bts_wallet and the balance is not there yet.


I have some newbie questions.
- What is the equivalent of bitcoind in bitshares, bitshares_server?
- What is the bitshares_client?
- Where i can find an config example for bitshars_client?
« Last Edit: January 27, 2014, 11:45:19 pm by toast »

Offline Ykw

  • Full Member
  • ***
  • Posts: 88
    • View Profile
Re: BitShares X Status Update
« Reply #186 on: January 28, 2014, 12:22:19 am »
Today I made no progress on BitShares X development, but our website has seen some more major updates.

BitShares vs Bitcoin
http://invictus.io/bitshares.php

Updated AGS Page
http://invictus.io/bitshares-ags.php

Checkout the counter!

That's really like I do over support..  sometimes...

"Manager.. today.. I did no work.. but.. I managed to sell.. this =)".

Keeps me minded about what IT/dev world is.. thanks.

Keep the BRUTAL work :P

Offline aasl

  • Jr. Member
  • **
  • Posts: 45
    • View Profile
Re: BitShares X Status Update
« Reply #187 on: January 28, 2014, 01:08:41 am »
Your change output has not been confirmed yet. 


Sent from my iPhone using Tapatalk

Hi Daniel. Thank you for your reply. Usually how long does it take to confirm a tx? Around one day has passed, but until now my banlance is still 9bts+11usd, 1bts+89usd still missing. what is strange is that,  I offered 1 usd to buy 1 bts, why 1bts is also deducted from my account?

Offline crazybit

Re: BitShares X Status Update
« Reply #188 on: January 28, 2014, 01:17:34 am »

Your change output has not been confirmed yet. 


Sent from my iPhone using Tapatalk

Hi Daniel. Thank you for your reply. Usually how long does it take to confirm a tx? Around one day has passed, but until now my banlance is still 9bts+11usd, 1bts+89usd still missing. what is strange is that,  I offered 1 usd to buy 1 bts, why 1bts is also deducted from my account?
1usd can not buy 1bts now,your order should be pending and not executed yet,pls check in the section "open bid" of your balance.


Sent from my iPhone using Tapatalk

Offline toast

  • Hero Member
  • *****
  • Posts: 4001
    • View Profile
  • BitShares: nikolai
Re: BitShares X Status Update
« Reply #189 on: January 28, 2014, 01:38:46 am »
please is can I to have test bitshares for make do enormous tests

Rt6uNNtF5V6njhdCKo5Fz2NLiB8
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 aasl

  • Jr. Member
  • **
  • Posts: 45
    • View Profile
Re: BitShares X Status Update
« Reply #190 on: January 28, 2014, 01:45:47 am »

Your change output has not been confirmed yet. 


Sent from my iPhone using Tapatalk

Hi Daniel. Thank you for your reply. Usually how long does it take to confirm a tx? Around one day has passed, but until now my banlance is still 9bts+11usd, 1bts+89usd still missing. what is strange is that,  I offered 1 usd to buy 1 bts, why 1bts is also deducted from my account?
1usd can not buy 1bts now,your order should be pending and not executed yet,pls check in the section "open bid" of your balance.


Sent from my iPhone using Tapatalk

The open bid lists nothing... I just use "buy" command to test, I thought I could cancel my bid. But it is strange that nothing is shown and the most the money is gone...

before I bid:


Then I sent some amount to my newly generated address, for testing. all tx with no error.
But after I bid 1bts for 1usd:
« Last Edit: January 28, 2014, 01:58:55 am by aasl »

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
Re: BitShares X Status Update
« Reply #191 on: January 28, 2014, 01:45:56 am »
Just sent 10bts + 100usd
please is can I to have test bitshares for make do enormous tests

Rt6uNNtF5V6njhdCKo5Fz2NLiB8

Offline bytemaster

Re: BitShares X Status Update
« Reply #192 on: January 29, 2014, 04:55:13 am »
Today I finally got back to the code after spending the past 5 days traveling.   I just checked in code that will break compatibility with all test wallets and the existing server.    This new code uses 128 bit balances and does comparisons by rounding to 64 high bits.   This should keep things cleaner than my old ad hoc rounding and provide more predictable / expected results when using odd numbers.

I will be resetting the server to launch a new test period later this week after I get a few more features in place.   

 
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 toast

  • Hero Member
  • *****
  • Posts: 4001
    • View Profile
  • BitShares: nikolai
Re: BitShares X Status Update
« Reply #193 on: January 29, 2014, 05:27:53 am »
switch to consensus algorithm as soon as you are able please
I'm sure testers and your new hires will have an easier time with market bugs than with ripple/PoS
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 bytemaster

Re: BitShares X Status Update
« Reply #194 on: January 30, 2014, 06:09:51 am »
Today I designed and mostly implemented my version of Ripple's consensus algorithm which I am calling Unity.  It uses a slightly different algorithm that I think will converge faster.   I took the view that the nodes in the UNL are like neurons in a fully connected neural network.   The goal is to create a positive feedback loop that moves all nodes toward a stable steady state.  Here is how the algorithm works:

1) Every node publishes their initial transaction set to all other nodes in the UNL
2) A node will then tally the votes each transaction got as a percentage of the maximum (a vote from every node)
3) A node will then calculate the average "consensus" of each proposal by every other node (the average of the values calculated in step 2 for each proposal.   This average will then be used as the weight given to that transactions in that nodes proposal.  The result is that proposals with higher average consensus get a higher weight than proposals with lower average consensus.  If nodes want their opinion to carry weight they need to increase their average consensus in their next proposal.
4) I then recalculate the proposal for the current node by tallying the weighted votes each transaction got based upon the proposals it was included in.
5) I then take all transactions in the top 25% by weighted vote and publish them as my new proposal to all other nodes.
6) Once all transactions in my published proposal have at least 70% of the weighted vote convergence is guaranteed and a block can be produced and the process starts over.

I will be implementing a unit test that will throughly verify that this can be maintained at high speed, high volume, and a large number of nodes in the UNL for reasonable bandwidth.

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.