cityglut
|
|
January 04, 2014, 10:15:43 PM |
|
Question: what if you forget which bitcoin address you used? I don't see a command equivalent to listtransactions or getinfo in bitcoind. 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.
|
|
|
|
PhantomPhreak (OP)
Sr. Member
Offline
Activity: 476
Merit: 300
Counterparty Chief Scientist and Co-Founder
|
|
January 04, 2014, 10:23:02 PM |
|
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
Activity: 114
Merit: 10
|
|
January 04, 2014, 10:41:48 PM |
|
I may have missed something easy, but I followed the instructions here: http://counterpartyd-build.readthedocs.org/en/latest/SettingUpBitcoind.htmlfor 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
Activity: 266
Merit: 250
Help and Love one another ♥
|
|
January 04, 2014, 10:43:09 PM |
|
bitcoin.conf erase testnet
|
|
|
|
xibeijan
Legendary
Offline
Activity: 1232
Merit: 1001
|
|
January 04, 2014, 11:10:58 PM |
|
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?
|
|
|
|
xnova
Sr. Member
Offline
Activity: 390
Merit: 254
Counterparty Developer
|
|
January 04, 2014, 11:52:02 PM |
|
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)!
|
|
|
|
xnova
Sr. Member
Offline
Activity: 390
Merit: 254
Counterparty Developer
|
|
January 05, 2014, 12:21:17 AM |
|
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
|
|
|
|
panonym
Sr. Member
Offline
Activity: 266
Merit: 250
Help and Love one another ♥
|
|
January 05, 2014, 12:32:03 AM |
|
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 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 (OP)
Sr. Member
Offline
Activity: 476
Merit: 300
Counterparty Chief Scientist and Co-Founder
|
|
January 05, 2014, 12:34:55 AM Last edit: January 05, 2014, 01:15:03 AM by PhantomPhreak |
|
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): 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 (OP)
Sr. Member
Offline
Activity: 476
Merit: 300
Counterparty Chief Scientist and Co-Founder
|
|
January 05, 2014, 12:42:11 AM |
|
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 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
|
|
January 05, 2014, 12:58:59 AM |
|
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. 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
Activity: 266
Merit: 250
Help and Love one another ♥
|
|
January 05, 2014, 01:01:28 AM Last edit: January 05, 2014, 01:43:43 AM by panonym |
|
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 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
|
|
January 05, 2014, 01:19:51 AM |
|
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
|
|
January 05, 2014, 01:20:31 AM |
|
Windows installer update?
|
|
|
|
panonym
Sr. Member
Offline
Activity: 266
Merit: 250
Help and Love one another ♥
|
|
January 05, 2014, 01:26:31 AM |
|
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
Activity: 861
Merit: 1010
|
|
January 05, 2014, 01:37:25 AM |
|
Hi, I try to install counterpatyd following the step there : http://counterpartyd-build.readthedocs.org/en/latest/BuildingFromSource.htmlBut I am stuck at : cd C:\ git clone https://github.com/xnova/counterpartyd_build cd counterpartyd_build C:\Python33\python.exe setup.py When I write : 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
|
|
January 05, 2014, 01:42:13 AM |
|
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
Activity: 266
Merit: 250
Help and Love one another ♥
|
|
January 05, 2014, 01:56:30 AM Last edit: January 05, 2014, 02:22:36 AM by panonym |
|
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 (OP)
Sr. Member
Offline
Activity: 476
Merit: 300
Counterparty Chief Scientist and Co-Founder
|
|
January 05, 2014, 02:03:37 AM |
|
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 (OP)
Sr. Member
Offline
Activity: 476
Merit: 300
Counterparty Chief Scientist and Co-Founder
|
|
January 05, 2014, 02:10:02 AM |
|
Hi, I try to install counterpatyd following the step there : http://counterpartyd-build.readthedocs.org/en/latest/BuildingFromSource.htmlBut I am stuck at : cd C:\ git clone https://github.com/xnova/counterpartyd_build cd counterpartyd_build C:\Python33\python.exe setup.py When I write : 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.
|
|
|
|
|