panonym
Sr. Member
Offline
Activity: 266
Merit: 250
Help and Love one another ♥
|
|
January 09, 2014, 06:30:22 AM |
|
About burning: Send a maximum of 1 BTC. If you send 1 BTC, that will subtract 1.0001 BTC. The present cost is 0.0001 BTC for every transaction. Note that you will need BTC on this same address to be able to move your XCP. So keep some. About security: I think the best method to ensure safety is to use an always-offline computer to sign the transaction, like the Armony offline wallet.
Yes but it only works for bitcoin as of now. Raw transaction can also be made manually, but it's way too complex for most people. Not even possible for XCP as of now, despite it's close link. There is room for improvement on that important matter. For all crypto. The values of feeds are, as it were, manually chosen, and bets are made only on feeds. That still pops red warning trust-issue in my mind...
|
|
|
|
mtbitcoin
Legendary
Offline
Activity: 876
Merit: 1000
Etherscan.io
|
|
January 09, 2014, 08:03:57 AM Last edit: January 09, 2014, 08:18:01 AM by mtbitcoin |
|
Hi Just as a heads up.. I started working on a XCP CounterParty block explorer shortly after the project was publicly posted, and I would like to announce that I have a live beta version available at http://www.blockscan.comThere is some basic search functionality to allow you to look up your block balance easily and also to see the transaction history for burned blocks. At the moment this only included confirmed blocks as per the CounterParty client If you have any suggestions, feedback or bug reports do let me know. Cheers
|
|
|
|
bitcoinpaul
|
|
January 09, 2014, 08:12:34 AM |
|
How can I burn a bitcoin for XCP using Electrum? I don't have Bitcoin-qt installed and downloading the fullblockchain will take ages on my internet connection.
Electrum isn't supported (currently). You can use Blockchain.info to burn, however. Thank you. Reading the guide to burn via Blockchain.info, I think I understand all of the steps and I am going to try a test amount first but what I don't understand is how to claim my XCP after I have burned my BTC? Can you please explain this? Where is this guide?
|
|
|
|
xibeijan
Legendary
Offline
Activity: 1232
Merit: 1001
|
|
January 09, 2014, 09:23:56 AM |
|
Another bug report Traceback (most recent call last): File "./counterpartyd.py", line 465, in <module> deadline = round(datetime.timestamp(dateutil.parser.parse(args.deadline))) AttributeError: type object 'datetime.datetime' has no attribute 'timestamp' I have a patch for this diff --git a/counterpartyd.py b/counterpartyd.py index 779ee12..1bbf2bd 100755 --- a/counterpartyd.py +++ b/counterpartyd.py @@ -15,7 +15,8 @@ from prettytable import PrettyTable import time import dateutil.parser -from datetime import datetime +import datetime +import calendar from lib import (config, util, exceptions, bitcoin, blocks) from lib import (send, order, btcpay, issuance, broadcast, bet, dividend, burn, cancel, util) @@ -462,7 +463,7 @@ if __name__ == '__main__': json_print(bitcoin.transmit(unsigned_tx_hex)) elif args.action == 'bet': - deadline = round(datetime.timestamp(dateutil.parser.parse(args.deadline))) + deadline = calendar.timegm(dateutil.parser.parse(args.deadline).utctimetuple())
Look ok?
|
|
|
|
PhantomPhreak (OP)
Sr. Member
Offline
Activity: 476
Merit: 300
Counterparty Chief Scientist and Co-Founder
|
|
January 09, 2014, 11:08:36 AM |
|
Quote from: PhantomPhreak on January 08, 2014, 05:37:51 PM The values of feeds are, as it were, manually chosen, and bets are made only on feeds. That still pops red warning trust-issue in my mind... I have a suggestion to mitigate the feed trust issue. Instead of placing bets on the data from 1 feed, users could be allowed to place bets on the median of data from multiple feeds pointed to identical data, with transaction fees split and distributed among chosen feed providers. For even more security the bet could be on the median of medians from multiple feeds over a prolonged period of time, say 100 snapshots. A scammer would have to control 51% of the "feed network" to scam successfully, which would be prohibitively expensive given the transaction fees it costs to maintain a feed. EDIT: allowing multiple-feed bets also solves the issue of unexpected feed downtime as well as censorship (I'm sure Standard & Poor's would be unhappy to learn that someone is taking their market data for free and piping it into a crypto betting exchange for profit as the underlying for crypto-financial derivative contracts :-)) That won't work---all clients must agree on the exact value of a feed at any given time, and in your scenario, some clients might accept some feeds as valid, and reject others. I also don't think that we have to worry about censorship of the broadcasts from an address. It's very hard to stop a particular Bitcoin address from being the origin of certain transactions. Hi Just as a heads up.. I started working on a XCP CounterParty block explorer shortly after the project was publicly posted, and I would like to announce that I have a live beta version available at http://www.blockscan.comThere is some basic search functionality to allow you to look up your block balance easily and also to see the transaction history for burned blocks. At the moment this only included confirmed blocks as per the CounterParty client If you have any suggestions, feedback or bug reports do let me know. Cheers That looks great! Thanks! I'm not sure how easy it is to do anything but burns with Counterparty and unconfirmed blocks, because of the great dependence of the protocol on the order of the transactions within a block. How deterministic is Bitcoind's arrangement of the pool of unconfirmed transactions? (Does anyone know?) Nitpick: it should be 'Counterparty' in the website header, not 'CounterParty'. How can I burn a bitcoin for XCP using Electrum? I don't have Bitcoin-qt installed and downloading the fullblockchain will take ages on my internet connection.
Electrum isn't supported (currently). You can use Blockchain.info to burn, however. Thank you. Reading the guide to burn via Blockchain.info, I think I understand all of the steps and I am going to try a test amount first but what I don't understand is how to claim my XCP after I have burned my BTC? Can you please explain this? Where is this guide? See http://counterpartyd-build.readthedocs.org/en/latest/HowToBurn.html. Another bug report Traceback (most recent call last): File "./counterpartyd.py", line 465, in <module> deadline = round(datetime.timestamp(dateutil.parser.parse(args.deadline))) AttributeError: type object 'datetime.datetime' has no attribute 'timestamp' I have a patch for this diff --git a/counterpartyd.py b/counterpartyd.py index 779ee12..1bbf2bd 100755 --- a/counterpartyd.py +++ b/counterpartyd.py @@ -15,7 +15,8 @@ from prettytable import PrettyTable import time import dateutil.parser -from datetime import datetime +import datetime +import calendar from lib import (config, util, exceptions, bitcoin, blocks) from lib import (send, order, btcpay, issuance, broadcast, bet, dividend, burn, cancel, util) @@ -462,7 +463,7 @@ if __name__ == '__main__': json_print(bitcoin.transmit(unsigned_tx_hex)) elif args.action == 'bet': - deadline = round(datetime.timestamp(dateutil.parser.parse(args.deadline))) + deadline = calendar.timegm(dateutil.parser.parse(args.deadline).utctimetuple())
Look ok? Is there any reason to prefer calendar over datetime here, generally? That is, will we not have other problems with this new version?
|
|
|
|
voldemort628
|
|
January 09, 2014, 11:28:20 AM |
|
i need some helps please, i followed the guide on this link http://counterpartyd-build.readthedocs.org/en/latest/BuildingFromSource.html to build from source, everything went fine until the last command when i hit c:/python33/python.exe setup.py, an error msg was return saying something like command failed: 'pushd %temp% && c:/python33/python.exe setup.py c:/counterpartyd_build/dist/windows/ez_setup.py && popd can someone tell me what i should do to fix it :|
|
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ ▐ CRYPTI▐ a Node.JS coin built from scratch. With Proof of Time, Purchase and Identity. Custom blockchains and much more! ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
|
|
|
BitThink
Legendary
Offline
Activity: 882
Merit: 1000
|
|
January 09, 2014, 11:43:05 AM |
|
Hi Just as a heads up.. I started working on a XCP CounterParty block explorer shortly after the project was publicly posted, and I would like to announce that I have a live beta version available at http://www.blockscan.comThere is some basic search functionality to allow you to look up your block balance easily and also to see the transaction history for burned blocks. At the moment this only included confirmed blocks as per the CounterParty client If you have any suggestions, feedback or bug reports do let me know. Cheers Very cool site. Much better than my version. I think I really need to squeeze some time to learn bootstrap.
|
|
|
|
xibeijan
Legendary
Offline
Activity: 1232
Merit: 1001
|
|
January 09, 2014, 11:50:18 AM |
|
Another bug report Traceback (most recent call last): File "./counterpartyd.py", line 465, in <module> deadline = round(datetime.timestamp(dateutil.parser.parse(args.deadline))) AttributeError: type object 'datetime.datetime' has no attribute 'timestamp' I have a patch for this diff --git a/counterpartyd.py b/counterpartyd.py index 779ee12..1bbf2bd 100755 --- a/counterpartyd.py +++ b/counterpartyd.py @@ -15,7 +15,8 @@ from prettytable import PrettyTable import time import dateutil.parser -from datetime import datetime +import datetime +import calendar from lib import (config, util, exceptions, bitcoin, blocks) from lib import (send, order, btcpay, issuance, broadcast, bet, dividend, burn, cancel, util) @@ -462,7 +463,7 @@ if __name__ == '__main__': json_print(bitcoin.transmit(unsigned_tx_hex)) elif args.action == 'bet': - deadline = round(datetime.timestamp(dateutil.parser.parse(args.deadline))) + deadline = calendar.timegm(dateutil.parser.parse(args.deadline).utctimetuple())
Look ok? Is there any reason to prefer calendar over datetime here, generally? That is, will we not have other problems with this new version? Portability: datetime.timestamp is Python 3.3 only, whereas calendar.timegm works in both 2 and 3.3, AFAIK. N.B. calendar.timegm expects the time to be in UTC. What time does the XCP exchange use?
|
|
|
|
mtbitcoin
Legendary
Offline
Activity: 876
Merit: 1000
Etherscan.io
|
|
January 09, 2014, 11:58:34 AM |
|
Hi Just as a heads up.. I started working on a XCP CounterParty block explorer shortly after the project was publicly posted, and I would like to announce that I have a live beta version available at http://www.blockscan.comThere is some basic search functionality to allow you to look up your block balance easily and also to see the transaction history for burned blocks. At the moment this only included confirmed blocks as per the CounterParty client If you have any suggestions, feedback or bug reports do let me know. Cheers Very cool site. Much better than my version. I think I really need to squeeze some time to learn bootstrap. Thank you I wasn't aware you were working on a block explorer too or I might have given this a pass But I had already started this earlier and it was a good opportunity to play with bootstrap. Anyway it's always good to have alternate sites and backups Cheers
|
|
|
|
BitThink
Legendary
Offline
Activity: 882
Merit: 1000
|
|
January 09, 2014, 12:27:43 PM |
|
No, yours is much better. I actually don't have enough time to polish mine and just want to setup an usable tool as soon as possible. Now with yours online I can safely leave it as it is, and hopefully it is still useful as a backup and a double check.
|
|
|
|
Chang Hum
|
|
January 09, 2014, 12:28:25 PM |
|
Note that you will need BTC on this same address to be able to move your XCP. So keep some.
I've emptied a (several) blockchain wallets to burn, is this an issue? do I need to add some bitcoin to them?
|
|
|
|
BitThink
Legendary
Offline
Activity: 882
Merit: 1000
|
|
January 09, 2014, 12:30:52 PM |
|
Note that you will need BTC on this same address to be able to move your XCP. So keep some.
I've emptied a (several) blockchain wallets to burn, is this an issue? do I need to add some bitcoin to them? No need. You could not use XCP with blockchain wallet anyway. Later, you need to export your private key to bitcoind and use couterparyd to use them.
|
|
|
|
wizzardTim
Legendary
Offline
Activity: 1708
Merit: 1000
Reality is stranger than fiction
|
|
January 09, 2014, 12:32:09 PM |
|
Note that you will need BTC on this same address to be able to move your XCP. So keep some.
I've emptied a (several) blockchain wallets to burn, is this an issue? do I need to add some bitcoin to them? I'd like to know that too, but my wallets are in qt. If some bitcoin are needed, I'd like to know the minimum amount.
|
Behold the Tangle Mysteries! Dare to know It's truth.
- Excerpt from the IOTA Sacred Texts Vol. I
|
|
|
BitThink
Legendary
Offline
Activity: 882
Merit: 1000
|
|
January 09, 2014, 12:36:07 PM |
|
Any transaction needs at least 0.0001 BTC as the miner fee.
You can send BTC to your address anytime, so no worry.
|
|
|
|
wizzardTim
Legendary
Offline
Activity: 1708
Merit: 1000
Reality is stranger than fiction
|
|
January 09, 2014, 12:39:24 PM |
|
Any transaction needs at least 0.0001 BTC as the miner fee.
You can send BTC to your address anytime, so no worry.
thank you
|
Behold the Tangle Mysteries! Dare to know It's truth.
- Excerpt from the IOTA Sacred Texts Vol. I
|
|
|
bitcoinpaul
|
|
January 09, 2014, 12:44:33 PM |
|
I try to do this with blockchain.info wallet. http://counterpartyd-build.readthedocs.org/en/latest/HowToBurn.htmlIf you want to burn X BTC (where X <= 1 BTC) from address A, then make sure that there is exactly X + .0001 BTC in address A. (And that you haven’t already burned more than 1 BTC - X BTC at that address.)
So my blockchain wallet must have the exact amount of BTC I want to burn + 0.0001 BTC? That of course makes sure this wallet has no BTC left. Am I right?
|
|
|
|
xibeijan
Legendary
Offline
Activity: 1232
Merit: 1001
|
|
January 09, 2014, 01:19:33 PM |
|
Another issue
$ ./counterpartyd.py -h Traceback (most recent call last): File "./counterpartyd.py", line 22, in <module> from lib import (config, api, util, exceptions, bitcoin, blocks) File "./counterpartyd/lib/api.py", line 9, in <module> from jsonrpc import JSONRPCResponseManager, dispatcher ImportError: cannot import name JSONRPCResponseManager $ lsb_release -cs saucy $ cat /etc/issue Ubuntu 13.10 \n \l
|
|
|
|
NxtChoice
|
|
January 09, 2014, 03:04:12 PM |
|
Newbie into XCP, so I have some questions:
Do I need to run Counterpartyd 24/7 to keep alive for the network?
If I burn the coins, will I get XCP right now or after the burning period? Will XCP be hardcoded by the creator after burning period ends? If not, can I change the parameter in the python code for XCP rewarding to get more XCP?
Thanks.
|
|
|
|
psybits
Legendary
Offline
Activity: 1386
Merit: 1000
|
|
January 09, 2014, 05:54:44 PM |
|
Following
|
|
|
|
mtbitcoin
Legendary
Offline
Activity: 876
Merit: 1000
Etherscan.io
|
|
January 09, 2014, 06:06:05 PM |
|
Newbie into XCP, so I have some questions:
Do I need to run Counterpartyd 24/7 to keep alive for the network?
If I burn the coins, will I get XCP right now or after the burning period? Will XCP be hardcoded by the creator after burning period ends? If not, can I change the parameter in the python code for XCP rewarding to get more XCP?
Thanks.
1. No 2. You will get them now after 1 block confirmation
|
|
|
|
|