Bitcoin Forum
May 08, 2024, 05:57:56 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 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 ... 661 »
  Print  
Author Topic: [ANN][XCP] Counterparty - Pioneering Peer-to-Peer Finance - Official Thread  (Read 1276301 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.
panonym
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250

Help and Love one another ♥


View Profile
January 09, 2014, 06:30:22 AM
 #541

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...
1715147876
Hero Member
*
Offline Offline

Posts: 1715147876

View Profile Personal Message (Offline)

Ignore
1715147876
Reply with quote  #2

1715147876
Report to moderator
1715147876
Hero Member
*
Offline Offline

Posts: 1715147876

View Profile Personal Message (Offline)

Ignore
1715147876
Reply with quote  #2

1715147876
Report to moderator
1715147876
Hero Member
*
Offline Offline

Posts: 1715147876

View Profile Personal Message (Offline)

Ignore
1715147876
Reply with quote  #2

1715147876
Report to moderator
"With e-currency based on cryptographic proof, without the need to trust a third party middleman, money can be secure and transactions effortless." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715147876
Hero Member
*
Offline Offline

Posts: 1715147876

View Profile Personal Message (Offline)

Ignore
1715147876
Reply with quote  #2

1715147876
Report to moderator
1715147876
Hero Member
*
Offline Offline

Posts: 1715147876

View Profile Personal Message (Offline)

Ignore
1715147876
Reply with quote  #2

1715147876
Report to moderator
mtbitcoin
Legendary
*
Offline Offline

Activity: 876
Merit: 1000


Etherscan.io


View Profile
January 09, 2014, 08:03:57 AM
Last edit: January 09, 2014, 08:18:01 AM by mtbitcoin
 #542

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.com

There 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


EtherScan::Ethereum Block Explorer | BlockScan::Coming Soon
bitcoinpaul
Hero Member
*****
Offline Offline

Activity: 910
Merit: 1000



View Profile
January 09, 2014, 08:12:34 AM
 #543

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 Offline

Activity: 1232
Merit: 1001


View Profile
January 09, 2014, 09:23:56 AM
 #544

Another bug report

Quote
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

Quote
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?

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 09, 2014, 11:08:36 AM
 #545

Quote
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.com

There 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

Quote
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

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

Activity: 155
Merit: 100


View Profile
January 09, 2014, 11:28:20 AM
 #546

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 Offline

Activity: 882
Merit: 1000



View Profile
January 09, 2014, 11:43:05 AM
 #547

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.com

There 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.   Cheesy

I think I really need to squeeze some time to learn bootstrap.
xibeijan
Legendary
*
Offline Offline

Activity: 1232
Merit: 1001


View Profile
January 09, 2014, 11:50:18 AM
 #548

Another bug report

Quote
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

Quote
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?

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

Activity: 876
Merit: 1000


Etherscan.io


View Profile
January 09, 2014, 11:58:34 AM
 #549

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.com

There 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.   Cheesy

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 Cheesy

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

EtherScan::Ethereum Block Explorer | BlockScan::Coming Soon
BitThink
Legendary
*
Offline Offline

Activity: 882
Merit: 1000



View Profile
January 09, 2014, 12:27:43 PM
 #550

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. Smiley
Chang Hum
Hero Member
*****
Offline Offline

Activity: 714
Merit: 502


View Profile
January 09, 2014, 12:28:25 PM
 #551

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 Offline

Activity: 882
Merit: 1000



View Profile
January 09, 2014, 12:30:52 PM
 #552

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 Offline

Activity: 1708
Merit: 1000


Reality is stranger than fiction


View Profile
January 09, 2014, 12:32:09 PM
 #553

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 Offline

Activity: 882
Merit: 1000



View Profile
January 09, 2014, 12:36:07 PM
 #554

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 Offline

Activity: 1708
Merit: 1000


Reality is stranger than fiction


View Profile
January 09, 2014, 12:39:24 PM
 #555

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
Hero Member
*****
Offline Offline

Activity: 910
Merit: 1000



View Profile
January 09, 2014, 12:44:33 PM
 #556

I try to do this with blockchain.info wallet.

http://counterpartyd-build.readthedocs.org/en/latest/HowToBurn.html
Quote
If 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 Offline

Activity: 1232
Merit: 1001


View Profile
January 09, 2014, 01:19:33 PM
 #557

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


Notable projects 2019: Semux, Dero, Wagerr, BEAM
NxtChoice
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
January 09, 2014, 03:04:12 PM
 #558


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 Offline

Activity: 1386
Merit: 1000



View Profile
January 09, 2014, 05:54:44 PM
 #559

Following
mtbitcoin
Legendary
*
Offline Offline

Activity: 876
Merit: 1000


Etherscan.io


View Profile
January 09, 2014, 06:06:05 PM
 #560


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



EtherScan::Ethereum Block Explorer | BlockScan::Coming Soon
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 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 ... 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!