Bitcoin Forum
April 24, 2024, 11:08:02 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 [9] 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 ... 661 »
  Print  
Author Topic: [ANN][XCP] Counterparty - Pioneering Peer-to-Peer Finance - Official Thread  (Read 1276291 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
konfet
Member
**
Offline Offline

Activity: 70
Merit: 10


View Profile
January 04, 2014, 04:34:51 PM
 #161

Followed all the instructions but am getting an error when I run setup.py for the first time.


line 956, in install_wheel
    'PIP_NO_INDEX': '1'
  File "c:\python33\lib\site-packages\virtualenv-1.11-py3.3.egg\virtualenv.py",
line 898, in call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command c:\counterpartyd_build\env\Scripts\python.exe -c "import sys, p
ip; pip...ll\"] + sys.argv[1:])" setuptools pip failed with error code 1
2014-01-03 16:35:35,134|ERROR: Command failed: 'c:\python33\Scripts\virtualenv.e
xe --system-site-packages c:\counterpartyd_build\env'


What version of Windows? Also, can you please post the full traceback on pastebin.com and give me the link (or, you can file a bug report at https://github.com/xnova/counterpartyd_build/issues)

Actually, putting all of the output from the run of setup.py on pastebin.com would be most helpful.

Here is the pastebin with my full command prompt. I followed the instructions to the letter from http://counterpartyd-build.readthedocs.org/en/latest/BuildingFromSource.html

Windows 7 64 bit
http://pastebin.com/iSTJ1uNk
got the same error.
Also why its checked version of my linux, why only Ubuntu  ? Smiley

BTC: 19d14r8F932Khc2xDZeC4hvdmCF7q95SGW  LTC: LbzSRezSSs3eXP4rPor8wo8HJqgkrfC6f7  NMC: N8CFY5QaYRpQXq6LYQdSJqLuFGBqvSp6ua 
DVC: 14ZktX8LvnmSfcZKBgJrXfTTV8TpTQp4d5  QRK: QRb6v9RXACJut6GfDs7mcttdT7dTDcUZSK  WDC: WST6mDQELMhRmAQSdEfNNBUjEhRgqEsj9R
Cheap G\Hashes. With CoinBase, CampBX, Bter, Crypto-trade, Coins-e, Cryptsy you can easy save and increase your money. Please help poor sick developer.
1713956882
Hero Member
*
Offline Offline

Posts: 1713956882

View Profile Personal Message (Offline)

Ignore
1713956882
Reply with quote  #2

1713956882
Report to moderator
"In a nutshell, the network works like a distributed timestamp server, stamping the first transaction to spend a coin. It takes advantage of the nature of information being easy to spread but hard to stifle." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713956882
Hero Member
*
Offline Offline

Posts: 1713956882

View Profile Personal Message (Offline)

Ignore
1713956882
Reply with quote  #2

1713956882
Report to moderator
xnova
Sr. Member
****
Offline Offline

Activity: 390
Merit: 254

Counterparty Developer


View Profile
January 04, 2014, 04:42:08 PM
 #162

Quote
How is the price determined?

Quote
Right now, XCP are being rewarded to those that burn BTC at a price between 1500 XCP/BTC and 1000 XCP/BTC. The exact formula is:
XCP_EARNED = BTC_BURNED * (1000 * (1 + .5 * ((END_BLOCK - CURRENT_BLOCK) / (END_BLOCK - START_BLOCK))

Thank you PhantomPhreak.  I would need both bitcoind and counterpartyd running?  It sounds like there are plans to have intermediaries do the burning for people soon so they don't have to set this up?

That's right.

What is the end block number?  Approximately.

The end block number is listed in the spec, in this section: https://github.com/PhantomPhreak/Counterparty#burn

Visit the official Counterparty forums: http://counterpartytalk.org
phm
Full Member
***
Offline Offline

Activity: 378
Merit: 110


DATABLOCKCHAIN.IO SALE IS LIVE | MVP @ DBC.IO


View Profile
January 04, 2014, 05:31:48 PM
 #163

Very interesting concept. I have some questions:

1. If the bitcoin blockchain is used as transport layer then how many confirmations are needed for a counterparty protocol message to be "visible" to other peers in the counterparty network? Do I understant correctly that if the default value of 6 confirmations is used then completing an order would take 2 hours on average (6 confirmations to issue an order and 6 confirmations for completed order to be seen in the network)? It's a quite long time, I think that it may be a limiting factor in your project.

2. Would it be possible to carry out auctions via counterparty protocol? If not, I suggest extending the order message to allow that (selling for the best price available at given time), in my opinion it would be a great functionality.

Good luck with your project.

xnova
Sr. Member
****
Offline Offline

Activity: 390
Merit: 254

Counterparty Developer


View Profile
January 04, 2014, 05:38:59 PM
 #164

Followed all the instructions but am getting an error when I run setup.py for the first time.


line 956, in install_wheel
    'PIP_NO_INDEX': '1'
  File "c:\python33\lib\site-packages\virtualenv-1.11-py3.3.egg\virtualenv.py",
line 898, in call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command c:\counterpartyd_build\env\Scripts\python.exe -c "import sys, p
ip; pip...ll\"] + sys.argv[1:])" setuptools pip failed with error code 1
2014-01-03 16:35:35,134|ERROR: Command failed: 'c:\python33\Scripts\virtualenv.e
xe --system-site-packages c:\counterpartyd_build\env'


What version of Windows? Also, can you please post the full traceback on pastebin.com and give me the link (or, you can file a bug report at https://github.com/xnova/counterpartyd_build/issues)

Actually, putting all of the output from the run of setup.py on pastebin.com would be most helpful.

Here is the pastebin with my full command prompt. I followed the instructions to the letter from http://counterpartyd-build.readthedocs.org/en/latest/BuildingFromSource.html

Windows 7 64 bit
http://pastebin.com/iSTJ1uNk

Thank you for that bug submission!

The problem was virtualenv version 1.5 was just released on Jan 2 that had a number of backwards-incompatible changes. This broke the setup (as the script was just fetching the newest version of virtualenv). I've tied the version the setup uses to the previous versions of virtualenv and pip, and it appears to work fine.

Here's what you need to do:
* Update your counterpartyd_build code from git (e.g. "cd C:\counterpartyd_build && git pull origin master")
* Remove Python3.3.3 from your system (via Add/Remove Programs), along with all Python3.3.3 child dependencies listed in the add/remove programs list with it (pywin32, cg_freeze ..remove them before removing Python itself)
* Manually delete the C:\Python3.3 directory (make sure it doesn't exist anymore)
* Reinstall Python3.3.3 and related packages (just follow the instructions again)
* Try to rerun the setup.py script as normal


I just rebuilt using these instructions under Win7 64-bit and it worked fine. Let me know if you have any more issues.

Visit the official Counterparty forums: http://counterpartytalk.org
PhantomPhreak (OP)
Sr. Member
****
Offline Offline

Activity: 476
Merit: 300

Counterparty Chief Scientist and Co-Founder


View Profile
January 04, 2014, 06:10:08 PM
 #165

Very interesting concept. I have some questions:

1. If the bitcoin blockchain is used as transport layer then how many confirmations are needed for a counterparty protocol message to be "visible" to other peers in the counterparty network? Do I understant correctly that if the default value of 6 confirmations is used then completing an order would take 2 hours on average (6 confirmations to issue an order and 6 confirmations for completed order to be seen in the network)? It's a quite long time, I think that it may be a limiting factor in your project.

2. Would it be possible to carry out auctions via counterparty protocol? If not, I suggest extending the order message to allow that (selling for the best price available at given time), in my opinion it would be a great functionality.

Good luck with your project.

1. Only one confirmation is required for a transaction to be visible.

2. The current order mechanism is actually very similar to a Dutch auction. We are considering adding a new message type for something like an English auction. It would have to be a new message type, I think.

Thank you.
xibeijan
Legendary
*
Offline Offline

Activity: 1232
Merit: 1001


View Profile
January 04, 2014, 06:12:53 PM
 #166

Do you have a working version of counterpart yet?

Notable projects 2019: Semux, Dero, Wagerr, BEAM
PhantomPhreak (OP)
Sr. Member
****
Offline Offline

Activity: 476
Merit: 300

Counterparty Chief Scientist and Co-Founder


View Profile
January 04, 2014, 06:16:29 PM
Last edit: January 04, 2014, 07:22:23 PM by PhantomPhreak
 #167

Announcement: We made some changes to the protocol and the client: now burns don’t require the use of OP_RETURN, and we’re no longer pushing transactions through Eligius, which seems to now be rejecting anything with such an output. This means that 1) a bunch of bugs have been fixed, 2) the only Counterparty transaction that will work on mainnet until Bitcoind 0.9 comes out is a burn, 3) burns are much faster, and 4) it is theoretically possible for burns to be made with a regular Bitcoin client.

We’re not currently recommending that anyone use anything other than counterpartyd to burn. The format of a Counterparty transaction
is very specific, and we can’t guarantee that a transaction constructed by any other software will work (and if it doesn’t, you’ll lose your BTC).

For those interested, the protocol will recognise as a valid burn any transaction with the following characteristics:
  • All of the input addresses are identical.
  • The address of the first output is the unspendable address '1CounterpartyXXXXXXXXXXXXXXXUWLpVr' (mainnet) or 'mvCounterpartyXXXXXXXXXXXXXXW24Hef' (testnet).
  • The total number of BTC burned by the source address is less than or equal to 1.

Instructions on how to use a Blockchain.info wallet to construct a burn should be forthcoming. The burn functionality of counterpartyd will continue to work as it has been doing, and of course previous burns remain valid.
xibeijan
Legendary
*
Offline Offline

Activity: 1232
Merit: 1001


View Profile
January 04, 2014, 06:18:12 PM
 #168

Announcement: We made some changes to the protocol and the client: now burns don’t require the use of OP_RETURN, and we’re no longer pushing transactions through Eligius, which seems to now be rejecting anything with such an output. This means that 1) a bunch of bugs have been fixed, 2) the only Counterparty transaction that will work on mainnet until Bitcoind 0.9 comes out is a burn, 3) burns are much faster, and 4) it is theoretically possible for burns to be made with a regular Bitcoin client.

We’re not currently recommending that anyone use anything other than counterpartyd to burn. The format of a Counterparty transaction
is very specific, and we can’t guarantee that a transaction constructed by any other software will work (and if it doesn’t, you’ll lose your BTC).

For those interested, the protocol will recognise as a valid burn any transaction with the following characteristics:
  • All of the input addresses are identical.
  • The address of the first output is the unspendable address '1CounterpartyXXXXXXXXXXXXXXXUWLpVr' (mainnet) or 'mvCounterpartyXXXXXXXXXXXXXXW24Hef' (testnet).
  • The total number of BTC burned by the source address is less than or equal to 1.

Instructions on how to use a Blockchain.info wallet to construct a burn should be forthcoming. The burn functionality of counterpartyd will continue to work as it has been doing.

Awesome!  Great work.

Notable projects 2019: Semux, Dero, Wagerr, BEAM
mtbitcoin
Legendary
*
Offline Offline

Activity: 876
Merit: 1000


Etherscan.io


View Profile
January 04, 2014, 06:28:32 PM
 #169

Followed all the instructions but am getting an error when I run setup.py for the first time.


line 956, in install_wheel
    'PIP_NO_INDEX': '1'
  File "c:\python33\lib\site-packages\virtualenv-1.11-py3.3.egg\virtualenv.py",
line 898, in call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command c:\counterpartyd_build\env\Scripts\python.exe -c "import sys, p
ip; pip...ll\"] + sys.argv[1:])" setuptools pip failed with error code 1
2014-01-03 16:35:35,134|ERROR: Command failed: 'c:\python33\Scripts\virtualenv.e
xe --system-site-packages c:\counterpartyd_build\env'


What version of Windows? Also, can you please post the full traceback on pastebin.com and give me the link (or, you can file a bug report at https://github.com/xnova/counterpartyd_build/issues)

Actually, putting all of the output from the run of setup.py on pastebin.com would be most helpful.

Here is the pastebin with my full command prompt. I followed the instructions to the letter from http://counterpartyd-build.readthedocs.org/en/latest/BuildingFromSource.html

Windows 7 64 bit
http://pastebin.com/iSTJ1uNk

Thank you for that bug submission!

The problem was virtualenv version 1.5 was just released on Jan 2 that had a number of backwards-incompatible changes. This broke the setup (as the script was just fetching the newest version of virtualenv). I've tied the version the setup uses to the previous versions of virtualenv and pip, and it appears to work fine.

Here's what you need to do:
* Update your counterpartyd_build code from git (e.g. "cd C:\counterpartyd_build && git pull origin master")
* Remove Python3.3.3 from your system (via Add/Remove Programs), along with all Python3.3.3 child dependencies listed in the add/remove programs list with it (pywin32, cg_freeze ..remove them before removing Python itself)
* Manually delete the C:\Python3.3 directory (make sure it doesn't exist anymore)
* Reinstall Python3.3.3 and related packages (just follow the instructions again)
* Try to rerun the setup.py script as normal


I just rebuilt using these instructions under Win7 64-bit and it worked fine. Let me know if you have any more issues.

Build works fine now..  Smiley

Cheers

EtherScan::Ethereum Block Explorer | BlockScan::Coming Soon
PhantomPhreak (OP)
Sr. Member
****
Offline Offline

Activity: 476
Merit: 300

Counterparty Chief Scientist and Co-Founder


View Profile
January 04, 2014, 06:29:29 PM
 #170

Do you have a working version of counterpart yet?

Yes.
panonym
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250

Help and Love one another ♥


View Profile
January 04, 2014, 06:30:30 PM
Last edit: January 04, 2014, 06:45:39 PM by panonym
 #171

Okay
A little of turbulence.

I'm not convince I like this last change announcement.
When things are say to be done like that-way from tx to ty, I like it to stay that way.

Main problem I see is that before: a fully working counterpartyd was available for testing.
Now only the burning...
Meaning I have to trust you for the working of the descentralized exchange.
Also might mean that I cannot transfer my XCP, does send still work?
Very bad if ONLY burn work...

How comes that Eligius was the only pool to treat OP_RETURN?
Do you have any influence there? contact?
This suddent change make me uncomfortable with your project.
Also, is it 100% sure OP_RETURN will be in the v0.9?
For my research it appear to be likely, but 100% sure?

Please try to solve the situation with Eligius.
Need the ability to test.


edit: WORST: if this problem with Eligius happen globally after v0.9 is out, your project is dead, burned coin lost... Knowing what went/is going wrong with Eligius is very important.
PhantomPhreak (OP)
Sr. Member
****
Offline Offline

Activity: 476
Merit: 300

Counterparty Chief Scientist and Co-Founder


View Profile
January 04, 2014, 06:52:13 PM
 #172

Okay
A little of turbulence.

I'm not convince I like this last change announcement.
When things are say to be done like that-way from tx to ty, I like it to stay that way.

Main problem I see is that before: a fully working counterpartyd was available for testing.
Now only the burning...
Meaning I have to trust you for the working of the descentralized exchange.
Also might mean that I cannot transfer my XCP, does send still work?
Very bad if ONLY burn work...

How comes that Eligius was the only pool to treat OP_RETURN?
Do you have any influence there? contact?
This suddent change make me uncomfortable with your project.
Also, is it 100% sure OP_RETURN will be in the v0.9?
For my research it appear to be likely, but 100% sure?

Please try to solve the situation with Eligius.
Need the ability to test.

You can still use all of Counterparty's functions on testnet. It's just that right now no one is mining transactions with OP_RETURN on mainnet.

We are trying to talk to the operator of Eligius and find out what changed. It's possible that he just updated the version of Bitcoind that he was running and hasn't yet patched it again. His PHP form, which was working for me for a whole month, just suddenly started rejecting our transactions. Eligius does a few things that other pools don't do, for example rate-limiting address reuse.

We are as sure as we could possibly be that OP_RETURN will be in 0.9. See Gavin's announcement. Furthermore, I recently contacted Gavin myself, mentioned that we were going to be using OP_RETURN and asked when he thought that 0.9 would be released: there should be a release candidate out in only a couple of weeks (TM).
panonym
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250

Help and Love one another ♥


View Profile
January 04, 2014, 07:03:18 PM
 #173

'losing money today, and having problem with my laptop *laugh
Yesterday was better.

Joke appart, how is it that it works on testnet?
Everyone testing with pre-v0.9?
(I never used a testnet, is there a whole blockchain-to-DL-again only for it?)
PhantomPhreak (OP)
Sr. Member
****
Offline Offline

Activity: 476
Merit: 300

Counterparty Chief Scientist and Co-Founder


View Profile
January 04, 2014, 07:13:44 PM
 #174

Any ideas as to what would this imply?


----
C:\counterpartyd_build\dist\counterpartyd>counterpartyd.py --rpc-user=rpc --rpc-password=XXXXXX  -
v market
Traceback (most recent call last):
  File "C:\counterpartyd_build\dist\counterpartyd\counterpartyd.py", line 407, in <module>
    util.database_check(db)
  File "C:\counterpartyd_build\dist\counterpartyd\lib\util.py", line 36, in database_check
    raise exceptions.DatabaseError('Countparty database is behind Bitcoind.')
lib.exceptions.DatabaseError: Countparty database is behind Bitcoind.

Are you running counterpartyd server in the background? (I just changed the error message to ask that question itself.)  What block is it on?
PhantomPhreak (OP)
Sr. Member
****
Offline Offline

Activity: 476
Merit: 300

Counterparty Chief Scientist and Co-Founder


View Profile
January 04, 2014, 07:21:03 PM
 #175

'losing money today, and having problem with my laptop *laugh
Yesterday was better.

Joke appart, how is it that it works on testnet?
Everyone testing with pre-v0.9?
(I never used a testnet, is there a whole blockchain-to-DL-again only for it?)

testnet just accepts non-standard transactions. (Any transaction with an OP_RETURN output is, before 0.9, non-standard.) There's a separate blockchain, but it's only about 500 MB.
mtbitcoin
Legendary
*
Offline Offline

Activity: 876
Merit: 1000


Etherscan.io


View Profile
January 04, 2014, 07:21:09 PM
 #176

Any ideas as to what would this imply?


----
C:\counterpartyd_build\dist\counterpartyd>counterpartyd.py --rpc-user=rpc --rpc-password=XXXXXX  -
v market
Traceback (most recent call last):
  File "C:\counterpartyd_build\dist\counterpartyd\counterpartyd.py", line 407, in <module>
    util.database_check(db)
  File "C:\counterpartyd_build\dist\counterpartyd\lib\util.py", line 36, in database_check
    raise exceptions.DatabaseError('Countparty database is behind Bitcoind.')
lib.exceptions.DatabaseError: Countparty database is behind Bitcoind.

Are you running counterpartyd server in the background? (I just changed the error message to ask that question itself.)  What block is it on?

Yup. Fixed this. Thanks. I can confirm that the windows installation is indeed working


Regarding the burn process. Can we burn on behalf of another address not within our control (which we don't own the private keys). Lets say I want to burn BTC for XCP on behalf of a friend, can I just use his BTC address as the source in the "from" command line?



EtherScan::Ethereum Block Explorer | BlockScan::Coming Soon
panonym
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250

Help and Love one another ♥


View Profile
January 04, 2014, 07:27:03 PM
 #177

Luckily not.
Otherwise you could burn the coin of everyone you wish  Roll Eyes
mtbitcoin
Legendary
*
Offline Offline

Activity: 876
Merit: 1000


Etherscan.io


View Profile
January 04, 2014, 07:29:53 PM
 #178

Luckily not.
Otherwise you could burn the coin of everyone you wish  Roll Eyes

Yeah. Makes sense now.. Wasn't thinking straight just now  Smiley

So to a burn for a 3rd party one would need to burn the coins for Xcp and transfer the Xcp over to the btc address?

EtherScan::Ethereum Block Explorer | BlockScan::Coming Soon
reader31
Full Member
***
Offline Offline

Activity: 221
Merit: 100


View Profile
January 04, 2014, 07:31:32 PM
 #179

I was able to burn btc sucessfully...The transactions are on the blockchain.

1)
How many confirmations should I wait for before the xcp shows up in my balance?

2)
whats the command to check the total number of xcp I have?


I'm invested. So very excited to support this project Smiley

PhantomPhreak (OP)
Sr. Member
****
Offline Offline

Activity: 476
Merit: 300

Counterparty Chief Scientist and Co-Founder


View Profile
January 04, 2014, 07:34:55 PM
 #180

I was able to burn btc sucessfully...The transactions are on the blockchain.

1)
How many confirmations should I wait for before the xcp shows up in my balance?

2)
whats the command to check the total number of xcp I have?


I'm invested. So very excited to support this project Smiley

Congratulations!

1) One confirmation. (That is, it just has to be in the blockchain.)

2) counterpartyd address ADDRESS
Pages: « 1 2 3 4 5 6 7 8 [9] 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 ... 661 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!