Main Menu

BitShares X Status Update

Started by bytemaster, January 02, 2014, 07:41:36 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bytemaster

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: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
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.

alt

Just sent 10bts + 100usd
Quote from: toast on January 28, 2014, 01:38:46 AM
please is can I to have test bitshares for make do enormous tests

Rt6uNNtF5V6njhdCKo5Fz2NLiB8

aasl

#191
Quote from: CrazyBit on January 28, 2014, 01:17:34 AM

Quote from: aasl on January 28, 2014, 01:08:41 AM
Quote from: bytemaster on January 27, 2014, 03:32:27 PM
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:

toast

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.

crazybit


Quote from: aasl on January 28, 2014, 01:08:41 AM
Quote from: bytemaster on January 27, 2014, 03:32:27 PM
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

aasl

Quote from: bytemaster on January 27, 2014, 03:32:27 PM
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?

Ykw

Quote from: bytemaster on January 22, 2014, 07:39:06 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

alt

#186
Don't know why....
but I see it in the dump chainblock

{
  "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)

Quote from: ElMato on January 27, 2014, 06:08:08 PM
Quote from: alt on January 27, 2014, 09:12:58 AM
Just sent you 100 usd + 10 bts
Quote from: ElMato on January 27, 2014, 08:36:43 AM
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?

ElMato

Quote from: alt on January 27, 2014, 09:12:58 AM
Just sent you 100 usd + 10 bts
Quote from: ElMato on January 27, 2014, 08:36:43 AM
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?


bytemaster

Your change output has not been confirmed yet. 


Sent from my iPhone using Tapatalk
For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
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.

aasl

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?

alt

Just sent you 100 usd + 10 bts
Quote from: ElMato on January 27, 2014, 08:36:43 AM
Please, send me some BTS USD to start testing
PGegJS8MJeyGpqRn7ixeDB9pXZn

ElMato

Please, send me some BTS USD to start testing
PGegJS8MJeyGpqRn7ixeDB9pXZn

aasl

Quote from: spartako on January 26, 2014, 04:14:10 PM
Ok thanks, now the command worked and I sent 1 usd to aasl.

Quote from: alt on January 26, 2014, 03:59:51 PM
Yes, I see this msg too.
then I restart bts_wallet, my bts come back again...
sent you 10 bts for test.
Quote from: spartako on January 26, 2014, 02:42:03 PM
I tried to send you some usd but I got this error:

cmd: transfer 10 usd to SGspNwacutDySLyC8h4x1gMXNHD
Output:
-----------------------------------------------
assert
!"Unable to collect sufficient unspent inputs":
    {"min_amnt":"0.00000000 bts","total_collected":"0.00000000 bts"}
    th_a  blockchain_wallet.cpp:97 collect_inputs
10.00000000 usd to SGspNwacutDySLyC8h4x1gMXNHD
    {"amnt":"10.00000000 usd","to":"SGspNwacutDySLyC8h4x1gMXNHD"}
    th_a  blockchain_wallet.cpp:336 transfer
-----------------------------------------------
My balance before the transfer command is:
0.00000000 bts
100.00000000 usd

But after the transfer command is:
0.00000000 bts
0.00000000 usd

If i close the client and reopen it I obtain again 100 usd of balance.
Could the problem arise because I have no bts?

Quote from: aasl on January 26, 2014, 12:43:02 PM
please send me some bts to play with, I have been waiting for several days but got no update...

my bts wallet is: SGspNwacutDySLyC8h4x1gMXNHD

Thank you, I received your 1 usd!

aasl

Quote from: alt on January 26, 2014, 03:51:51 PM
Just sent 100 usd and 10 bts

Quote from: aasl on January 26, 2014, 12:43:02 PM
please send me some bts to play with, I have been waiting for several days but got no update...

my bts wallet is: SGspNwacutDySLyC8h4x1gMXNHD

Thank you, alt! I received 100 usd, but my wallet still shows 0 bts. I do not know why.

Just now I did a test: I generate a new address, and send some usd to the new address. Then I met the same problem as described in previous posts: some error message "unable to collect sufficient unspent input", and my amount turns to 0. when I restart, the money is back, but still I cannot send to my another address.