PhantomPhreak (OP)
Sr. Member
Offline
Activity: 476
Merit: 300
Counterparty Chief Scientist and Co-Founder
|
|
January 16, 2014, 05:23:18 PM |
|
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.
|
|
|
|
maxmint
|
|
January 16, 2014, 05:25:19 PM |
|
The fix is up.
I guess we have to rebuild the database for this to get effective, right?
|
|
|
|
PhantomPhreak (OP)
Sr. Member
Offline
Activity: 476
Merit: 300
Counterparty Chief Scientist and Co-Founder
|
|
January 16, 2014, 05:28:42 PM |
|
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
Activity: 266
Merit: 250
Help and Love one another ♥
|
|
January 16, 2014, 05:43:23 PM |
|
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
|
|
January 16, 2014, 06:15:17 PM |
|
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?
|
|
|
|
maxmint
|
|
January 16, 2014, 07:16:32 PM |
|
I rebuilt the database and catched up with the last block. When trying to burn BTC I get this error now: 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
|
|
|
|
jimhsu
|
|
January 16, 2014, 08:52:17 PM |
|
I rebuilt the database and catched up with the last block. When trying to burn BTC I get this error now: 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
Activity: 476
Merit: 300
Counterparty Chief Scientist and Co-Founder
|
|
January 16, 2014, 08:53:19 PM |
|
I rebuilt the database and catched up with the last block. When trying to burn BTC I get this error now: 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
Activity: 390
Merit: 254
Counterparty Developer
|
|
January 16, 2014, 09:00:20 PM |
|
I rebuilt the database and catched up with the last block. When trying to burn BTC I get this error now: 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.
|
|
|
|
panonym
Sr. Member
Offline
Activity: 266
Merit: 250
Help and Love one another ♥
|
|
January 16, 2014, 09:11:18 PM Last edit: January 16, 2014, 09:28:38 PM by panonym |
|
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
Activity: 40
Merit: 0
|
|
January 16, 2014, 10:16:27 PM Last edit: January 16, 2014, 10:40:13 PM by yuyu123 |
|
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
|
|
January 16, 2014, 10:18:05 PM |
|
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.
|
|
|
|
sumantso
Legendary
Offline
Activity: 1050
Merit: 1000
|
|
January 16, 2014, 10:31:39 PM |
|
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
|
|
January 16, 2014, 10:52:32 PM |
|
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
|
|
January 16, 2014, 10:53:44 PM |
|
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
Activity: 390
Merit: 254
Counterparty Developer
|
|
January 16, 2014, 10:54:16 PM |
|
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).
|
|
|
|
sumantso
Legendary
Offline
Activity: 1050
Merit: 1000
|
|
January 16, 2014, 10:55:54 PM Last edit: January 16, 2014, 11:28:16 PM by sumantso |
|
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 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
Activity: 390
Merit: 254
Counterparty Developer
|
|
January 16, 2014, 10:59:26 PM |
|
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.
|
|
|
|
jimhsu
|
|
January 16, 2014, 11:14:29 PM |
|
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
Activity: 224
Merit: 100
CabTrader v2 | crypto-folio.com
|
|
January 16, 2014, 11:21:16 PM |
|
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
|
|
|
|