Bitcoin Forum
September 22, 2019, 04:37:28 AM *
News: Latest Bitcoin Core release: 0.18.1 [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 60 61 62 ... 661 »
  Print  
Author Topic: [ANN][XCP] Counterparty - Pioneering Peer-to-Peer Finance - Official Thread  (Read 1267388 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.
cityglut
Full Member
***
Offline Offline

Activity: 216
Merit: 100


View Profile
January 04, 2014, 10:15:43 PM
 #221

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.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1569127048
Hero Member
*
Offline Offline

Posts: 1569127048

View Profile Personal Message (Offline)

Ignore
1569127048
Reply with quote  #2

1569127048
Report to moderator
1569127048
Hero Member
*
Offline Offline

Posts: 1569127048

View Profile Personal Message (Offline)

Ignore
1569127048
Reply with quote  #2

1569127048
Report to moderator
1569127048
Hero Member
*
Offline Offline

Posts: 1569127048

View Profile Personal Message (Offline)

Ignore
1569127048
Reply with quote  #2

1569127048
Report to moderator
PhantomPhreak
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250

Counterparty Chief Scientist and Co-Founder


View Profile
January 04, 2014, 10:23:02 PM
 #222

Is there any form of mining with XCP, either in the minting of new CXP (which I doubt) or in the form of harvesting transaction fees?

Thanks.

No, and all of the transaction fees are in BTC, except for those paid in XCP to the operators of 'feeds'.

Does that mean we collect fees in BTC by processing XCP transactions or does it go to the normal bitcoin miners?

Also, what about those pain in XCP to the operators of feeds?  Can you please explain a bit more about who that works or provide a link to the documentation about this.

Highly interesting.

The BTC fees go to the normal Bitcoin miners. The address which broadcasts a feed picks a fraction of every bet made on it that it would like to receive in fees. On testnet, for instance, the feed published by mt1N2qE4wHkjdDeumCtRg1NKwxXGMCAx5X takes .01% of every bet made on it, when that bet is matched and settled. So if I bet 100 XCP that the value of that feed, then 100 + (100 * .0001) XCP is deducted from my address, and if/when the bet is settled, .01 XCP goes to mt1N2qE4wHkjdDeumCtRg1NKwxXGMCAx5X.
pmabdsf
Member
**
Offline Offline

Activity: 114
Merit: 10


View Profile
January 04, 2014, 10:41:48 PM
 #223

I may have missed something easy, but I followed the instructions here:

http://counterpartyd-build.readthedocs.org/en/latest/SettingUpBitcoind.html

for Windows, and restarted my Bitcoin client and now at the top it says Bitcoin - Wallet [testnet]

I want to burn for real, not on testnet....what did I miss?

Should I just remove "testnet=1" from the last line?  or change it to something else?

NXT 15862282579517523866
panonym
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250

Help and Love one another ♥


View Profile
January 04, 2014, 10:43:09 PM
 #224

bitcoin.conf
erase testnet
xibeijan
Legendary
*
Offline Offline

Activity: 1218
Merit: 1000


View Profile
January 04, 2014, 11:10:58 PM
 #225

Is there any form of mining with XCP, either in the minting of new CXP (which I doubt) or in the form of harvesting transaction fees?

Thanks.

No, and all of the transaction fees are in BTC, except for those paid in XCP to the operators of 'feeds'.

Does that mean we collect fees in BTC by processing XCP transactions or does it go to the normal bitcoin miners?

Also, what about those pain in XCP to the operators of feeds?  Can you please explain a bit more about who that works or provide a link to the documentation about this.

Highly interesting.

The BTC fees go to the normal Bitcoin miners. The address which broadcasts a feed picks a fraction of every bet made on it that it would like to receive in fees. On testnet, for instance, the feed published by mt1N2qE4wHkjdDeumCtRg1NKwxXGMCAx5X takes .01% of every bet made on it, when that bet is matched and settled. So if I bet 100 XCP that the value of that feed, then 100 + (100 * .0001) XCP is deducted from my address, and if/when the bet is settled, .01 XCP goes to mt1N2qE4wHkjdDeumCtRg1NKwxXGMCAx5X.

This is really cool stuff.  I'd like to setup a feed on the test net.  Is there someone I could look for some info on how to do that?

Notable projects 2019: Semux, Dero, Wagerr, BEAM
xnova
Sr. Member
****
Offline Offline

Activity: 390
Merit: 250

Counterparty Developer


View Profile
January 04, 2014, 11:52:02 PM
 #226

Support for Ubuntu 12.04 LTS added to the build scripts (I had actually been testing with 13.10, but now it works on both). Documentation has been updated to state that Linux support is limited to Ubuntu 12.04 and 13.10 for now.

Pull requests welcome for additional OS support (especially Mac OS)!

Visit the official Counterparty forums: http://counterpartytalk.org
xnova
Sr. Member
****
Offline Offline

Activity: 390
Merit: 250

Counterparty Developer


View Profile
January 05, 2014, 12:21:17 AM
 #227

Is there any form of mining with XCP, either in the minting of new CXP (which I doubt) or in the form of harvesting transaction fees?

Thanks.

No, and all of the transaction fees are in BTC, except for those paid in XCP to the operators of 'feeds'.

Does that mean we collect fees in BTC by processing XCP transactions or does it go to the normal bitcoin miners?

Also, what about those pain in XCP to the operators of feeds?  Can you please explain a bit more about who that works or provide a link to the documentation about this.

Highly interesting.

The BTC fees go to the normal Bitcoin miners. The address which broadcasts a feed picks a fraction of every bet made on it that it would like to receive in fees. On testnet, for instance, the feed published by mt1N2qE4wHkjdDeumCtRg1NKwxXGMCAx5X takes .01% of every bet made on it, when that bet is matched and settled. So if I bet 100 XCP that the value of that feed, then 100 + (100 * .0001) XCP is deducted from my address, and if/when the bet is settled, .01 XCP goes to mt1N2qE4wHkjdDeumCtRg1NKwxXGMCAx5X.

This is really cool stuff.  I'd like to setup a feed on the test net.  Is there someone I could look for some info on how to do that?

I wrote an additional section to the docs that may help here: http://counterpartyd-build.readthedocs.org/en/latest/AdditionalTopics.html#testing-counterpartyd-on-testnet

Visit the official Counterparty forums: http://counterpartytalk.org
panonym
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250

Help and Love one another ♥


View Profile
January 05, 2014, 12:32:03 AM
 #228

hum...
I decided to make a clean install from the start (new OS, everything).
I made a symlink to my .bitcoin folder of 17.5Go (synced up block 278606).
I edited my bitcoin.conf with txindex=1
Got me this
Code:
Error: You need to rebuild the databases using -reindex to change -txindex
'fine: bitcoind -reindex
And now I'm back to block 3000...
Does anybody know a way to speedup the process? It's gonna take over a week 24/24h at this speed...
It shouldn't have to resync completely from the start. The 17.5Go are local now.
Help please.
PhantomPhreak
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250

Counterparty Chief Scientist and Co-Founder


View Profile
January 05, 2014, 12:34:55 AM
Last edit: January 05, 2014, 01:15:03 AM by PhantomPhreak
 #229

This is really cool stuff.  I'd like to setup a feed on the test net.  Is there someone I could look for some info on how to do that?

Here's the script that I've been using for that feed (to be used with cron):
Code:
import requests
import time
import sqlite3
import os
import logging


logging.basicConfig(filename='LOG', level=logging.INFO,
                        format='%(asctime)s %(message)s',
                        datefmt='%Y-%m-%dT%I:%M:%S%z')
requests_log = logging.getLogger("requests")
requests_log.setLevel(logging.WARNING)

from counterpartyd.lib import (config, broadcast, util, bitcoin)


URL = 'https://api.coindesk.com/v1/bpi/currentprice.json'
response = requests.get(URL).json()
value = response['bpi']['USD']['rate_float']
response_time = int(time.time())

source = 'ADDRESS'
fee_multiplier = round(.0001 * 1e8)
text = 'CoinDesk BPI USD'


RPCUSER = 'bitcoinrpc'
RPCPASSWORD = 'PASSWORD'
RPCCONNECT = 'localhost'
RPCPORT = 18332                # testnet
config.RPC = 'http://'+RPCUSER+':'+RPCPASSWORD+'@'+RPCCONNECT+':'+str(RPCPORT)
config.PREFIX = b'CNTRPRTY'
config.ADDRESSVERSION = b'\x6F' # testnet
config.TESTNET = True           # testnet
config.TESTCOIN = False         # testnet

DATABASE = os.path.join('DATABASE.db')
db = sqlite3.connect(DATABASE)
db.row_factory = sqlite3.Row

util.bitcoind_check(db)
util.database_check(db)

unsigned_tx_hex = broadcast.create(db, source, response_time, value, fee_multiplier, text)
logging.info(bitcoin.transmit(unsigned_tx_hex, ask=False))
PhantomPhreak
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250

Counterparty Chief Scientist and Co-Founder


View Profile
January 05, 2014, 12:42:11 AM
 #230

hum...
I decided to make a clean install from the start (new OS, everything).
I made a symlink to my .bitcoin folder of 17.5Go (synced up block 278606).
I edited my bitcoin.conf with txindex=1
Got me this
Code:
Error: You need to rebuild the databases using -reindex to change -txindex
'fine: bitcoind -reindex
And now I'm back to block 3000...
Does anybody know a way to speedup the process? It's gonna take over a week 24/24h at this speed...
It shouldn't have to resync completely from the start. The 17.5Go are local now.
Help please.

A reindexing is slow, but it shouldn't take that long. Are you sure that you made the symlink properly?
btc4ever
Sr. Member
****
Offline Offline

Activity: 321
Merit: 250


View Profile
January 05, 2014, 12:58:59 AM
 #231

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.

Psst!!  Wanna make bitcoin unstoppable? Why the Only Real Way to Buy Bitcoins Is on the Streets. Avoid banks and centralized exchanges.   Buy/Sell coins locally.  Meet other bitcoiners and develop your network.   Try localbitcoins.com or find or start a buttonwood / satoshi square in your area.  Pass it on!
panonym
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250

Help and Love one another ♥


View Profile
January 05, 2014, 01:01:28 AM
Last edit: January 05, 2014, 01:43:43 AM by panonym
 #232

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.
btc4ever
Sr. Member
****
Offline Offline

Activity: 321
Merit: 250


View Profile
January 05, 2014, 01:19:51 AM
 #233

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.

Psst!!  Wanna make bitcoin unstoppable? Why the Only Real Way to Buy Bitcoins Is on the Streets. Avoid banks and centralized exchanges.   Buy/Sell coins locally.  Meet other bitcoiners and develop your network.   Try localbitcoins.com or find or start a buttonwood / satoshi square in your area.  Pass it on!
aTriz
Hero Member
*****
Offline Offline

Activity: 896
Merit: 666


send and receive money instantly, with no hidden c


View Profile
January 05, 2014, 01:20:31 AM
 #234

Windows installer update? Smiley

██▄                      ▄██
▀███▄                  ▄███▀
  ▀███▄              ▄███▀
██▄ ▀███▄          ▄███▀
▀███▄ ▀███▄      ▄███▀
  ▀██   ▀██    ▄███▀
             ▄███▀
             ▀███▄
        ▄██    ▀███▄
      ▄███▀      ▀███▄
    ▄███▀          ▀███▄
  ▄███▀              ▀███▄
▄███▀                  ▀███▄
██▀                      ▀██

X.C.A.R.DTM
.SEND AND RECEIVE MONEY.
.INSTANTLY, WITH NO........
.HIDDEN COSTS............

▄████████████████████████████████████▄
██▀                                ▀██
██  ▄▄▄▄▄▄  ▄▄▄▄▄▄▄    ▄▄▄▄▄▄▄▄▄▄   ██
██                     █        █   ██
██  ▀ ▀▀▀ ▀▀ ▀▀▀ ▀▀    █        █   ██
██                     █▄▄▄▄▄▄▄▄█   █▀
██
██
██  ▄▄▄▄▄▄  ▄▄▄▄▄▄  ▄▄▄▄▄▄  ▄▄▄▄▄▄  ██
██  █    █  █    █  █    █  █    █  ██
██  █▄▄▄▄█  █▄▄▄▄█  █▄▄▄▄█  █▄▄▄▄█  ██
██▄                                ▄██
▀████████████████████████████████████▀
.SPEND ANYWHERE,....
.ANY CRYPTOCURRENCY,.
.ANY PAYMENT CARD....

████
██
██
██
██
██
██
██
██
██
██
██
██
████

IEO
Q4 2019

████
  ██
  ██
  ██
  ██
  ██
  ██
  ██
  ██
  ██
  ██
  ██
  ██
████

▄▄████████▄▄
▄████████████████▄
▄████████████████████▄
███████████████▀▀  █████
████████████▀▀      ██████
▐████████▀▀   ▄▄     ██████▌
▐████▀▀    ▄█▀▀     ███████▌
▐████████ █▀        ███████▌
████████ █ ▄███▄   ███████
████████████████▄▄██████
▀████████████████████▀
▀████████████████▀
▀▀████████▀▀


▄██████████████████▄
██▀              ▀██
██                ██
██                ██
██    ▄▄▄▄▄▄▄▄    ██
██    ▀▀▀▀▀▀▀▀    ██
██   ▄▄▄▄▄▄▄▄▄▄   ██
██   ▀▀▀▀▀▀▀▀▀▀   ██
██
██
██                ██
██▄              ▄██
▀██████████████████▀
.
WP
▀ ▀▀▀



panonym
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250

Help and Love one another ♥


View Profile
January 05, 2014, 01:26:31 AM
 #235

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.
BldSwtTrs
Legendary
*
Offline Offline

Activity: 971
Merit: 1002


View Profile
January 05, 2014, 01:37:25 AM
 #236

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?
LeoC
Full Member
***
Offline Offline

Activity: 154
Merit: 100


View Profile
January 05, 2014, 01:42:13 AM
 #237

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

panonym
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250

Help and Love one another ♥


View Profile
January 05, 2014, 01:56:30 AM
Last edit: January 05, 2014, 02:22:36 AM by panonym
 #238

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
PhantomPhreak
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250

Counterparty Chief Scientist and Co-Founder


View Profile
January 05, 2014, 02:03:37 AM
 #239

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.
PhantomPhreak
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250

Counterparty Chief Scientist and Co-Founder


View Profile
January 05, 2014, 02:10:02 AM
 #240

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.
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 60 61 62 ... 661 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!