Author

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

legendary
Activity: 1232
Merit: 1001
have you thought of doing it over Peercoin blockchain as BTC is so precious that it would be much sad to see it burnt ? Ppc inflates 1% on POS minting (although it also destroys 0.01 transaction fee), so the burnt coins will hopefully be regenerated and we can keep our XCP.

We have been exploring taking the concept of Counterparty out to additional blockchains. From a technical standpoint, Counterparty uses the OP_RETURN feature of Bitcoin to store its data (full support for which will be included in Bitcoin v0.9, which will most likely be out and deployed across the major mining pools in about a month to two based on Gavin's estimates).

The advantage of this is that it's a very clean way of encoding the data: Counterparty transactions can be easily pruned from the blockchain. The disadvantage is that any altcoin looking to implement Counterparty support would need to have this feature (or, fork and extend the Counterparty protocol to use a slightly different encoding method, such as multisig or something similar to Mastercoin's Class A transactions).

Currently, Peercoin is moving to 0.8.4 code I believe. Once SunnyKing syncs up to 0.9, this may be possible (however, there may still need to be some adjustment made to deal with the stake blocks that Peercoin has).

This all being said, we are interested in speaking to altcoin developers (and especially ones that can work with the OP_RETURN featureset) as this develops. Counterparty becomes stronger as its standards are deployed across multiple blockchains.

So, are you saying that, in the future, Counterparty could possibly link directly into different block chains enabling atomic trade of currencies from both chains, nearly natively?

For example, I could have a PC with bitcoind and ppcoind fire up and counterparty running and I can sell BTC for PPC and actually see PPC appear in my peercoin wallet and BTC disappear from my bitcoin wallet, natively?

If so, then this is amazing stuff!

P.S. Does Mastercoin support this?  Does Mastercoin use OP_RETURN?
sr. member
Activity: 390
Merit: 254
Counterparty Developer
A BETA installer is also released for 64-bit Windows. Please see http://counterpartyd-build.readthedocs.org/en/latest/UsingTheInstaller.html for more information. Bug reports welcome!
legendary
Activity: 1223
Merit: 1006
Destroying Bitcoins by using outputs that are not provably prunable harms Bitcoin by bloating the transaction index.

You people are absolutely crazy for destroying bitcoins in this fashion.

Please modify your protocol to not harm Bitcoin and I will happily mine your txns with Eligius.

-wk

How? We wanted to burn to miners' fees, but that's not secure.

Only the burns, which will be created for only one month, create unspendable txouts; none of the other message types (by design!). That's not a lot of transactions, and not a lot of unprunable data.

Any unspendable output is bad for Bitcoin. They all add up.  Just because in your opinion it is "not a lot of unprunable data" doesn't make it any less harmful.

Since as the Eligius pool op I definitely don't care to utilize or abuse your service, I'd much rather work out a situation where the "burns" go to the pool fees.  Eligius automatically distributes fees to its miners, so, no way I could abuse this anyway, provided you only used Eligius.

-wk
sr. member
Activity: 390
Merit: 254
Counterparty Developer
Added instructions on how to burn (using either counterpartyd, or blockchain.info):  http://counterpartyd-build.readthedocs.org/en/latest/HowToBurn.html

Please remember, when burning with a non counterpartyd method, you are doing so at your own risk. Please try with small transactions, before moving to larger ones.
sr. member
Activity: 476
Merit: 300
Counterparty Chief Scientist and Co-Founder
Destroying Bitcoins by using outputs that are not provably prunable harms Bitcoin by bloating the transaction index.

You people are absolutely crazy for destroying bitcoins in this fashion.

Please modify your protocol to not harm Bitcoin and I will happily mine your txns with Eligius.

-wk

How? We wanted to burn to miners' fees, but that's not secure.

Only the burns, which will be created for only one month, create unspendable txouts; none of the other message types (by design!). That's not a lot of transactions, and not a lot of unprunable data.
legendary
Activity: 1223
Merit: 1006
Destroying Bitcoins by using outputs that are not provably prunable harms Bitcoin by bloating the transaction index.

You people are absolutely crazy for destroying bitcoins in this fashion.

Please modify your protocol to not harm Bitcoin and I will happily mine your txns with Eligius.

-wk
legendary
Activity: 861
Merit: 1010
Assuming windows

Right click computer -> properties -> advanced system settings -> environmental variables -> highlight path and click edit

Add this to the end of whatever is in variable value         ;C:\Program Files (x86)\Git\cmd
Thanks, that's solved my problem.


Now I have an another problem. I don't understand how to modify the counterperty .conf file. What should I do to do that?
sr. member
Activity: 476
Merit: 300
Counterparty Chief Scientist and Co-Founder
I think I read burning BTC to get XCP was possible even if bitcoind wasn't sync?! is it? (edit: nope)

You actually can, with the --force flag.
sr. member
Activity: 476
Merit: 300
Counterparty Chief Scientist and Co-Founder
I guess what I am saying is that it would be nice if there was a listaddresses command, so that one could easily see which of my bitcoin addresses have counterparty assets associated with them.

Right now, the only way I know of to do that is to iterate one-by-one through all addresses in a given bitcoin wallet calling 'counterpartyd address' with each.

Otherwise, one must keep an external list of wallet addresses that hold counterpartyd funds.   This feels klunky.

I just added a new command wallet, which will list all of the addresses in your wallet that have a non-zero balance in BTC or any Counterparty asset, along with those values.
sr. member
Activity: 390
Merit: 254
Counterparty Developer
Assuming windows

Right click computer -> properties -> advanced system settings -> environmental variables -> highlight path and click edit

Add this to the end of whatever is in variable value         ;C:\Program Files (x86)\Git\cmd




Now, could someone please help me with my issue? I can't get counterpartyd to work

http://pastebin.com/ZzAJbrSW



I see you are trying to run it like:

Code:
c:\counterpartyd_build>C:\counterpartyd_build\dist\counterpartyd\counterpartyd.py

If you installed with the counterpartyd_build system, then you have to run it like the build system docs say:

Code:
cd C:\counterpartyd_build
C:\Python33\python.exe run.py --log-file=-

or, for no logging to screen (log to log file instead):

Code:
cd C:\counterpartyd_build
C:\Python33\python.exe run.py

Reason for this, is that run.py runs counterpartyd in a dedicated Python virtualenv, which has all the python libraries at versions that are tested with counterpartyd.
sr. member
Activity: 476
Merit: 300
Counterparty Chief Scientist and Co-Founder
Hi, I try to install counterpatyd following the step there : http://counterpartyd-build.readthedocs.org/en/latest/BuildingFromSource.html

But I am stuck at :
Code:
cd C:\
git clone https://github.com/xnova/counterpartyd_build
cd counterpartyd_build
C:\Python33\python.exe setup.py

When I write :
Code:
git clone https://github.com/xnova/counterpartyd_build
I have the message : 'git' is not recognized as an internal or external command, an executable program or a command file.


What I am doing wrong?

You need to install Git for Windows. See the third bullet point in the Windows install instructions.
sr. member
Activity: 476
Merit: 300
Counterparty Chief Scientist and Co-Founder
What exactly is the proof that address 1CounterpartyXXXXXXXXXXXXXXXUWLpVr cannot have a private key?
No proof per se.
I just wonder why it finish by UWLpVr.
Like, why not X until the end? 1CounterpartyXXXXXXXXXXXXXXXXXXXXX
Maybe it's necessary to be seen as a valid address, a kind of checksum?
Anyway, if they succeed to use 1CounterpartyXXXXXXXXXXXXXXX as the "beginning" of a key with vanitygen, we're all screw.
It mean Bitcoin itself is not secure anymore.
It's pretty much the same as entering a public key and get it's privkey.

Looks good enough to me to think privkey for such address cannot be found.

Right. If I could generate the private key for that obviously hand-picked address, then I could generate the private key for any address, and spend anyone else's coins.

And yes, panonym, there's a checksum.
sr. member
Activity: 266
Merit: 250
Help and Love one another ♥
LeoC, I have no clue about windows.
But on ubuntu I got a similar no prettytable by trying to run counterpartyd_build/dist/counterpartyd/counterpartyd.py ('was wondering if counterpartyd in terminal runned that or something else).
The command counterpartyd in fact run counterpartyd_build/run.py

Hope it can somehow help.
Starting from a fresh ubuntu 13.10 was a very good idea.
I got only trouble with my old 12.04 LTS.
Counterpartyd install was very smooth.
tuto http://counterpartyd-build.readthedocs.org/en/latest/BuildingFromSource.html
full member
Activity: 154
Merit: 100
Assuming windows

Right click computer -> properties -> advanced system settings -> environmental variables -> highlight path and click edit

Add this to the end of whatever is in variable value         ;C:\Program Files (x86)\Git\cmd




Now, could someone please help me with my issue? I can't get counterpartyd to work

http://pastebin.com/ZzAJbrSW

legendary
Activity: 861
Merit: 1010
Hi, I try to install counterpatyd following the step there : http://counterpartyd-build.readthedocs.org/en/latest/BuildingFromSource.html

But I am stuck at :
Code:
cd C:\
git clone https://github.com/xnova/counterpartyd_build
cd counterpartyd_build
C:\Python33\python.exe setup.py

When I write :
Code:
git clone https://github.com/xnova/counterpartyd_build
I have the message : 'git' is not recognized as an internal or external command, an executable program or a command file.


What I am doing wrong?
sr. member
Activity: 266
Merit: 250
Help and Love one another ♥
What exactly is the proof that address 1CounterpartyXXXXXXXXXXXXXXXUWLpVr cannot have a private key?
No proof per se.
I just wonder why it finish by UWLpVr.
Like, why not X until the end? 1CounterpartyXXXXXXXXXXXXXXXXXXXXX
Maybe it's necessary to be seen as a valid address, a kind of checksum?
Anyway, if they succeed to use 1CounterpartyXXXXXXXXXXXXXXX as the "beginning" of a key with vanitygen, we're all screw.
It mean Bitcoin itself is not secure anymore.
It's pretty much the same as entering a public key and get it's privkey.

Looks good enough to me to think privkey for such address cannot be found.
hero member
Activity: 1232
Merit: 683
Tontogether | Save Smart & Win Big
Windows installer update? Smiley
sr. member
Activity: 321
Merit: 250
What exactly is the proof that address 1CounterpartyXXXXXXXXXXXXXXXUWLpVr cannot have a private key?

Sorry if a stupid question, but I feel that understanding this is important.
sr. member
Activity: 266
Merit: 250
Help and Love one another ♥
I got an invalid symlink at first.
'was sleepy and decided to run bitcoind.
Obvious error that there was not bitcoin.conf, copy pasted the file.
then really didn't wish to copy the 17Go on my crappy computer.
So I renamed ~/.bitcoin in .bitcoin_newuseless
And then firgured out what went wrong with my symlink. (wrong path)
Now the symlink looks absolutely fine.
It links a dot.bitcoin278606 folder on an extHD.
'made sure the bitcoin.conf inside was editted with txindex=1
bitcoind -reindex
and now I'm at block ~12400...

I have a backup of dot.bitcoin278606 on another extHD if it can help.
So I could be back synced up 278606 pretty easilly, but without txindex.
Is that absolutely necessary?    edit: yeah, 'outta gum Wink laugh  so 5sec sleep addict

I think I read burning BTC to get XCP was possible even if bitcoind wasn't sync?! is it? (edit: nope)
The rescan is really painfully slow.
I expected it, but not to this point. Can't skip the -reindex I guess? (edit: nope)

edit 40min later: well, 'block 28k. That's 10%. So the rescan should be done by 12h from now.

Can a given address hold multiple counterparty assets?
Sure, that's the point.
sr. member
Activity: 321
Merit: 250
I guess what I am saying is that it would be nice if there was a listaddresses command, so that one could easily see which of my bitcoin addresses have counterparty assets associated with them.

Right now, the only way I know of to do that is to iterate one-by-one through all addresses in a given bitcoin wallet calling 'counterpartyd address' with each.

Otherwise, one must keep an external list of wallet addresses that hold counterpartyd funds.   This feels klunky.

So instead I would like to be able to call something like counterpartyd listaddresses [asset]

If [asset] is specified it would return a list of all addresses that hold the specified asset.

If [asset] is not specified, it would return a list of all addresses that hold any asset and specify witch asset(s) are associated.

This actually brings up a question in my mind: Can a given address hold multiple counterparty assets?

Question: what if you forget which bitcoin address you used?   I don't see a command equivalent to listtransactions or getinfo in bitcoind.

Quote
counterpartyd --rpc-password=rpcpw1234 address 1CrmTo7Rtk6keeBHbN93B3tAMCm31sG5Tc



In general Bitcoind/-qt takes care of wallet management. Right now, in Counterparty, every log is the same, and Counterparty doesn't keep track of which transactions you make - but we are working to change that.
Jump to: