Author

Topic: [ANN][XCP] Counterparty - Pioneering Peer-to-Peer Finance - Official Thread - page 534. (Read 1276928 times)

legendary
Activity: 876
Merit: 1000
Etherscan.io
another small questions:
how can i check which version of counterpartyd is currently installed?
(i am not sure if am running the new V0.3)

and why are the top buy and sell orders not matching immediately?
http://www.blockscan.com/order_book.aspx

-V for checking version

I am running the latest develop git .. And I suspect there still might be pending issues due to the rounding/division bugs
legendary
Activity: 882
Merit: 1002
another small questions:
how can i check which version of counterpartyd is currently installed?
(i am not sure if am running the new V0.3)

and why are the top buy and sell orders not matching immediately?
http://www.blockscan.com/order_book.aspx
sr. member
Activity: 602
Merit: 252
i made a sell order for 1 XCP @ 0.006
so should my sell order match this buy order: http://www.blockscan.com/order.aspx?q=3447 immediately once my sell has 1 confirmation?
(sorry for all the questions)

I think this is yours http://www.blockscan.com/order_match.aspx?q=3482

nice. the protocol matches with the highest current buy order: http://www.blockscan.com/order.aspx?q=3482

Ii should be, that's how the Counterparty protocol works. Happy trading in Counterparty.
legendary
Activity: 882
Merit: 1002
i made a sell order for 1 XCP @ 0.006
so should my sell order match this buy order: http://www.blockscan.com/order.aspx?q=3447 immediately once my sell has 1 confirmation?
(sorry for all the questions)

I think this is yours http://www.blockscan.com/order_match.aspx?q=3482

nice. the protocol matches with the highest current buy order: http://www.blockscan.com/order.aspx?q=3482
legendary
Activity: 876
Merit: 1000
Etherscan.io
i made a sell order for 1 XCP @ 0.006
so should my sell order match this buy order: http://www.blockscan.com/order.aspx?q=3447 immediately once my sell has 1 confirmation?
(sorry for all the questions)

I think this is yours http://www.blockscan.com/order_match.aspx?q=3482

You just have to wait for the XCP buyer to issue a btcpay matching your order hash and you're good to go
legendary
Activity: 882
Merit: 1002
i made a sell order for 1 XCP @ 0.006
so should my sell order match this buy order: http://www.blockscan.com/order.aspx?q=3447 immediately once my sell has 1 confirmation?
(sorry for all the questions)
sr. member
Activity: 602
Merit: 252
how does the protocol know from which address i am paying the XCPs from? thats the source address?

Exactly, the source address will pay for the XCP if it has sufficient XCP and BTC.
legendary
Activity: 882
Merit: 1002
how does the protocol know from which address i am paying the XCPs from? thats the source address?
sr. member
Activity: 602
Merit: 252
i want to try and sell XCPs using the Distributed exchange.

this is the top buying order: http://blockscan.com/order.aspx?q=3447

so if i want to sell to him 1 XCP i write the following command? :

order --source=15FYGCAaae3jCR4agQWJUoFjsE2qomftSn --get-quantity=0.006 --get-asset=BTC
--give-quantity=1 --give-asset=XCP --expiration=10 --fee_required=0




If you really want to sell, set the expiration time long enough, say 100 blocks. And the --fee_required=0.0001 is recommended to pay for the miners.
legendary
Activity: 882
Merit: 1002
i want to try and sell XCPs using the Distributed exchange.

this is the top buying order: http://blockscan.com/order.aspx?q=3447

so if i want to sell to him 1 XCP i write the following command? :

order --source=15FYGCAaae3jCR4agQWJUoFjsE2qomftSn --get-quantity=0.006 --get-asset=BTC
--give-quantity=1 --give-asset=XCP --expiration=10 --fee_required=0


legendary
Activity: 1320
Merit: 1007
I posted a valid order to buy XCP and it was correctly matched. I did counterpartyd market to see orders awaiting BTC payment by me and took the matched order id from there and then executed

counterpartyd btcpay --order-match-id=9ce90757c8f8d9c0c3cffb429d01c737cac39ccfc630d783e8812b468c01e76ce99f02130953b989da98f2d862069d6f6b8b4aa98fc59c457433b96467b8b023

That all went fine, no errors. But the transaction never got confirmed and no XCP has shown up.
 
Did I do something wrong?


wait for it to confirm. Most of the time, you won't see the tx's on blockchain.info until it gets confirmed
newbie
Activity: 10
Merit: 0
I posted a valid order to buy XCP and it was correctly matched. I did counterpartyd market to see orders awaiting BTC payment by me and took the matched order id from there and then executed

counterpartyd btcpay --order-match-id=9ce90757c8f8d9c0c3cffb429d01c737cac39ccfc630d783e8812b468c01e76ce99f02130953b989da98f2d862069d6f6b8b4aa98fc59c457433b96467b8b023

That all went fine, no errors. But the transaction never got confirmed and no XCP has shown up.
 
Did I do something wrong?
legendary
Activity: 876
Merit: 1000
Etherscan.io
Getting another error now with v 0.4

I am pretty sure it does not exceed 8 decimals

buy 0.12 btc for 20 XCP

---
Traceback (most recent call last):
  File "C:\counterpartyd_build\dist\counterpartyd\counterpartyd.py", line 515, in
    fee_provided = util.devise(db, args.fee_provided, 'BTC', 'input')
  File "C:\counterpartyd_build\dist\counterpartyd\lib\util.py", line 552, in devise
    raise exceptions.QuantityError('Divisible assets have only eight decimal places of precision.')
lib.exceptions.QuantityError: Divisible assets have only eight decimal places of precision.
sr. member
Activity: 602
Merit: 252
I am seeing orders that are supposed to be matching but not matching??

For instance this order http://blockscan.com/tx.aspx?q=3444 (before it got cancelled) should been matched with http://blockscan.com/tx.aspx?q=3443 , but did not?

another Example

3447 100 XCP 0.006000 BTC/XCP 0.6 BTC

Should have matched with

3443 200 XCP 0.006 BTC/XCP 1.2 BTC


But are not


There was a rounding bug, whose fix will go into effect with block 286000 (which will be in around a week) in a completely backwards-compatible way. The new version is v0.4.

Ok. That makes sense because I checked the DB directly and the figure should have matched

Yes, v0.4 looks fine now:

Code:
Order Match: 1E-8 BTC for 0.00000167 XCP at 0.0060 BTC/XCP (0d8e10c598ea3b07f2cdb8587ae78f900d2f77544c5ec67bde3413ee25a69e84e99f02130953b989da98f2d862069d6f6b8b4aa98fc59c457433b96467b8b023)
Order Match: 0.00999999 BTC for 1.50499849 XCP at 0.0066 BTC/XCP (9ce90757c8f8d9c0c3cffb429d01c737cac39ccfc630d783e8812b468c01e76ce99f02130953b989da98f2d862069d6f6b8b4aa98fc59c457433b96467b8b023)
sr. member
Activity: 602
Merit: 252
Only the matched seller or buyer could see a matched order in counterpartyd_build, right? I could not see any matched order by typing counterpartyd market command.
newbie
Activity: 48
Merit: 0
ATTN PhantomPhreak - I left you a PM concerning the reimbursement of invalid orders caused by the order matching cq. rounding issue.

Thanks
legendary
Activity: 876
Merit: 1000
Etherscan.io
I am seeing orders that are supposed to be matching but not matching??

For instance this order http://blockscan.com/tx.aspx?q=3444 (before it got cancelled) should been matched with http://blockscan.com/tx.aspx?q=3443 , but did not?

another Example

3447 100 XCP 0.006000 BTC/XCP 0.6 BTC

Should have matched with

3443 200 XCP 0.006 BTC/XCP 1.2 BTC


But are not


There was a rounding bug, whose fix will go into effect with block 286000 (which will be in around a week) in a completely backwards-compatible way. The new version is v0.4.

Ok. That makes sense because I checked the DB directly and the figure should have matched
sr. member
Activity: 602
Merit: 252
I am seeing orders that are supposed to be matching but not matching??

For instance this order http://blockscan.com/tx.aspx?q=3444 (before it got cancelled) should been matched with http://blockscan.com/tx.aspx?q=3443 , but did not?

another Example

3447 100 XCP 0.006000 BTC/XCP 0.6 BTC

Should have matched with

3443 200 XCP 0.006 BTC/XCP 1.2 BTC


But are not


There was a rounding bug, whose fix will go into effect with block 286000 (which will be in around a week) in a completely backwards-compatible way. The new version is v0.4.

Note: This fix should also handle the overlaps of the bid and the asks in the order book.

Is the counterpartyd_build updated accordingly?
sr. member
Activity: 476
Merit: 300
Counterparty Chief Scientist and Co-Founder
I am seeing orders that are supposed to be matching but not matching??

For instance this order http://blockscan.com/tx.aspx?q=3444 (before it got cancelled) should been matched with http://blockscan.com/tx.aspx?q=3443 , but did not?

another Example

3447 100 XCP 0.006000 BTC/XCP 0.6 BTC

Should have matched with

3443 200 XCP 0.006 BTC/XCP 1.2 BTC


But are not


There was a rounding bug, whose fix will go into effect with block 286000 (which will be in around a week) in a completely backwards-compatible way. The new version is v0.4.

Note: This fix should also handle the overlaps of the bid and the asks in the order book.
full member
Activity: 216
Merit: 100
Just as a warning, SFMSTOCK currently list on DEX was not issued by owner of this company, and does not have evidence of share ownership nor any direct authorization to sell these shares in official capacity. I would advise not to send any XCP or BTC balance to this asset


Thank you very much for this warning.

To both issuers and purchasers of assets: A link to an official website should be provided in the description space for an asset, and on that official website should be a list of each address that has stocks on the Counterparty distributed exchange, as well as the asset name(s) associated with each address.

I will sticky a post on the official forum to the same effect.
Jump to: