Bitcoin Forum
May 05, 2024, 02:34:49 PM *
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 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 ... 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.
PhantomPhreak (OP)
Sr. Member
****
Offline Offline

Activity: 476
Merit: 300

Counterparty Chief Scientist and Co-Founder


View Profile
January 16, 2014, 05:23:18 PM
 #981

Yes, my hackish solution from two days ago was off by one, and someone exploited that. I think that I've figured out the correct fix, however, but it requires a DB rebuild, so it'll be a few minutes before I can test it properly and push the commit.

Would appreciate if you can post a quick update once the commit has been pushed.

cheers

Sure. I'm still wrestling with SQLite3 and I have to go AFK for a couple of hours. I'll fix the problem soon!

The fix is up.
If you see garbage posts (off-topic, trolling, spam, no point, etc.), use the "report to moderator" links. All reports are investigated, though you will rarely be contacted about your reports.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714919689
Hero Member
*
Offline Offline

Posts: 1714919689

View Profile Personal Message (Offline)

Ignore
1714919689
Reply with quote  #2

1714919689
Report to moderator
maxmint
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500



View Profile
January 16, 2014, 05:25:19 PM
 #982

The fix is up.

I guess we have to rebuild the database for this to get effective, right?

My PGP-Key: 462D02D8
Verify my messages using keybase: https://keybase.io/maxmint
PhantomPhreak (OP)
Sr. Member
****
Offline Offline

Activity: 476
Merit: 300

Counterparty Chief Scientist and Co-Founder


View Profile
January 16, 2014, 05:28:42 PM
 #983

The fix is up.

I guess we have to rebuild the database for this to get effective, right?

Actually, I ended up altering the database  schema not for this change (SQLite3 simply cannot do unsigned integers!), but for something unrelated (and actually rather unimportant---making the supported column of the transaction table a proper bool).
panonym
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250

Help and Love one another ♥


View Profile
January 16, 2014, 05:43:23 PM
 #984

Ouch -__-
I'd REALLY appreciate this time if you could upload the new database when your computer finish it in 30min.
It's very light, quickly done.
New database mean I cannot use your soft for yet another 36h with my 2GBram/crappy hardware.
maxmint
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500



View Profile
January 16, 2014, 06:15:17 PM
 #985

Ouch -__-
I'd REALLY appreciate this time if you could upload the new database when your computer finish it in 30min.
It's very light, quickly done.
New database mean I cannot use your soft for yet another 36h with my 2GBram/crappy hardware.

A downloadable database would of course be convenient but how could you be sure that the source can be trusted?

My PGP-Key: 462D02D8
Verify my messages using keybase: https://keybase.io/maxmint
maxmint
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500



View Profile
January 16, 2014, 07:16:32 PM
 #986

I rebuilt the database and catched up with the last block. When trying to burn BTC I get this error now:
Code:
Traceback (most recent call last):
  File "./counterpartyd.py", line 529, in <module>
    json_print(bitcoin.transmit(unsigned_tx_hex, unsigned=args.unsigned))
  File "/Users/Max/counterpartyd/lib/bitcoin.py", line 298, in transmit
    if ask and not is_api:
NameError: global name 'is_api' is not defined

My PGP-Key: 462D02D8
Verify my messages using keybase: https://keybase.io/maxmint
jimhsu
Sr. Member
****
Offline Offline

Activity: 364
Merit: 264


View Profile
January 16, 2014, 08:52:17 PM
 #987

I rebuilt the database and catched up with the last block. When trying to burn BTC I get this error now:
Code:
Traceback (most recent call last):
  File "./counterpartyd.py", line 529, in <module>
    json_print(bitcoin.transmit(unsigned_tx_hex, unsigned=args.unsigned))
  File "/Users/Max/counterpartyd/lib/bitcoin.py", line 298, in transmit
    if ask and not is_api:
NameError: global name 'is_api' is not defined

Same error occurs when attempting to issue.

Dans les champs de l'observation le hasard ne favorise que les esprits préparé
PhantomPhreak (OP)
Sr. Member
****
Offline Offline

Activity: 476
Merit: 300

Counterparty Chief Scientist and Co-Founder


View Profile
January 16, 2014, 08:53:19 PM
 #988

I rebuilt the database and catched up with the last block. When trying to burn BTC I get this error now:
Code:
Traceback (most recent call last):
  File "./counterpartyd.py", line 529, in <module>
    json_print(bitcoin.transmit(unsigned_tx_hex, unsigned=args.unsigned))
  File "/Users/Max/counterpartyd/lib/bitcoin.py", line 298, in transmit
    if ask and not is_api:
NameError: global name 'is_api' is not defined

Same error occurs when attempting to issue.

I'm on it. Thanks.
xnova
Sr. Member
****
Offline Offline

Activity: 390
Merit: 254

Counterparty Developer


View Profile
January 16, 2014, 09:00:20 PM
 #989

I rebuilt the database and catched up with the last block. When trying to burn BTC I get this error now:
Code:
Traceback (most recent call last):
  File "./counterpartyd.py", line 529, in <module>
    json_print(bitcoin.transmit(unsigned_tx_hex, unsigned=args.unsigned))
  File "/Users/Max/counterpartyd/lib/bitcoin.py", line 298, in transmit
    if ask and not is_api:
NameError: global name 'is_api' is not defined

Same error occurs when attempting to issue.

I'm on it. Thanks.

The fix for this is in one of my recent commits. Please pull from git and try again.

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 16, 2014, 09:11:18 PM
Last edit: January 16, 2014, 09:28:38 PM by panonym
 #990

Ouch -__-
I'd REALLY appreciate this time if you could upload the new database when your computer finish it in 30min.
It's very light, quickly done.
New database mean I cannot use your soft for yet another 36h with my 2GBram/crappy hardware.

A downloadable database would of course be convenient but how could you be sure that the source can be trusted?

If the dev upload it on their git page or on counterpartyd-build.readthedocs.org
It is enough for me now.

(to be 100% trusted: PhantomPhreak could post his PGP key here, sign everything, blablabla. Welcomed, but not necessary for now.
Just a quick upload in the next 12h & habit of updating it each time rebuild-from-start-is-needed)
yuyu123
Newbie
*
Offline Offline

Activity: 40
Merit: 0


View Profile
January 16, 2014, 10:16:27 PM
Last edit: January 16, 2014, 10:40:13 PM by yuyu123
 #991



Warning: You must use counterpartyd to send the BTC or the burn will not be recognized.


I am bit confused. Can I get XCP by sending funds to the unspendable address from blockchain.info wallet by these instructions? http://counterpartyd-build.readthedocs.org/en/latest/HowToBurn.html#blockchain-info-my-wallet  


(I am seeing that now the warning is scratched, so I guess I can send funds from blockchain.info wallet using the instructions above)
maxmint
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500



View Profile
January 16, 2014, 10:18:05 PM
 #992

The fix for this is in one of my recent commits. Please pull from git and try again.
Everything working now again – thanks for the quick fix.

My PGP-Key: 462D02D8
Verify my messages using keybase: https://keybase.io/maxmint
sumantso
Legendary
*
Offline Offline

Activity: 1050
Merit: 1000



View Profile
January 16, 2014, 10:31:39 PM
 #993

When I run from source its working fine, but when I try making the installer it says (after doing a lot of stuff)
File not found error [Errno 2] No such file or directory: 'C:\\counterpartyd_build\\bin\\exe.win-i386-3.3'

Also, where do I check the testnet XCP?

kdrop22
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
January 16, 2014, 10:52:32 PM
 #994



Warning: You must use counterpartyd to send the BTC or the burn will not be recognized.


I am bit confused. Can I get XCP by sending funds to the unspendable address from blockchain.info wallet by these instructions? http://counterpartyd-build.readthedocs.org/en/latest/HowToBurn.html#blockchain-info-my-wallet  


(I am seeing that now the warning is scratched, so I guess I can send funds from blockchain.info wallet using the instructions above)

Yes, you can but you have to follow the instructions carefully. If you make a mistake like using two input addresses or sending more than 1 BTC from an address the transaction will be invalid.
jimhsu
Sr. Member
****
Offline Offline

Activity: 364
Merit: 264


View Profile
January 16, 2014, 10:53:44 PM
 #995

Is there a new dependency? If so, where do I find it?

C:\counterpartyd>python counterpartyd.py
Traceback (most recent call last):
  File "counterpartyd.py", line 11, in <module>
    import apsw
ImportError: No module named 'apsw'

Dans les champs de l'observation le hasard ne favorise que les esprits préparé
xnova
Sr. Member
****
Offline Offline

Activity: 390
Merit: 254

Counterparty Developer


View Profile
January 16, 2014, 10:54:16 PM
 #996

When I run from source its working fine, but when I try making the installer it says (after doing a lot of stuff)
File not found error [Errno 2] No such file or directory: 'C:\\counterpartyd_build\\bin\\exe.win-i386-3.3'

Also, where do I check the testnet XCP?

Can you tell me the name of the directory that was made under C:\counterpartyd_build\bin\   ?? (should start with exe.)? Then I could fix this bug (haven't had the chance to test the installer build under Windows i386).

Visit the official Counterparty forums: http://counterpartytalk.org
sumantso
Legendary
*
Offline Offline

Activity: 1050
Merit: 1000



View Profile
January 16, 2014, 10:55:54 PM
Last edit: January 16, 2014, 11:28:16 PM by sumantso
 #997

When I run from source its working fine, but when I try making the installer it says (after doing a lot of stuff)
File not found error [Errno 2] No such file or directory: 'C:\\counterpartyd_build\\bin\\exe.win-i386-3.3'

Also, where do I check the testnet XCP?

Can you tell me the name of the directory that was made under C:\counterpartyd_build\bin\   ?? (should start with exe.)? Then I could fix this bug (haven't had the chance to test the installer build under Windows i386).

exe.win32-3.3

I tried manually changing the name but I guess that was a noob move Grin
btw, I can't burn from counterpartd/bitcoind in testnet. I put that command line in a bat file and ran but nothing (the counterpartyd is running fine in both testnet and mainnet).

EDIT: Successfully burned 0.5 BTC on testnet. I guess I will wait till the updates for the big burn on mainnet?

xnova
Sr. Member
****
Offline Offline

Activity: 390
Merit: 254

Counterparty Developer


View Profile
January 16, 2014, 10:59:26 PM
 #998

Is there a new dependency? If so, where do I find it?

C:\counterpartyd>python counterpartyd.py
Traceback (most recent call last):
  File "counterpartyd.py", line 11, in <module>
    import apsw
ImportError: No module named 'apsw'

New database library for sqlite that will address some performance, etc issues we were having hopefully. I have to run out now but will be able to add support for it to the build system tomorrow. Until then folks may want to hold off from grabbing the newest commit.

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

Activity: 364
Merit: 264


View Profile
January 16, 2014, 11:14:29 PM
 #999

It seems that python 3.3 64-bit on windows doesn't work with apsw (after extensive searching on the apsw google group). Should I downgrade to 3.2 or wait for something to be done?

Dans les champs de l'observation le hasard ne favorise que les esprits préparé
halfcab123
Full Member
***
Offline Offline

Activity: 224
Merit: 100

CabTrader v2 | crypto-folio.com


View Profile
January 16, 2014, 11:21:16 PM
 #1000

I've got like 6,700 XCP on 5 different BTC addresses -_____-
Can someone please tell me how to consolidate this ?

DayTrade with less exposure to risk, by setting buy and sell spreads with CabTrader v2, buy now @ crypto-folio.com
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 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 ... 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!