[quote author=TreeLeaves link=topic=22.msg221#msg221 date=1391640526]
[pre]Thanks for taking a look Jimshu.
I dont have a batch file. The only file I edited was the Counterpartyd conf to change the rpc password.
The actual send command I used was
counterpartyd send --from=[XXXXxx] --to=[XXXXX] --asset=XCP --quantity=100
What would you suggest?
[/pre]
[/quote]
counterpartyd send --source [XXXXxx] --destination [XXXXX] --asset XCP --quantity 100
Try that.
[quote author=jimhsu link=topic=22.msg219#msg219 date=1391639393]
[quote author=TreeLeaves link=topic=22.msg218#msg218 date=1391638455]
I require some help please
I am trying to use the send command and I get the following result
C:\>echo off
usage: counterpartyd send [-h] --source SOURCE --destination DESTINATION
--quantity QUANTITY --asset ASSET
counterpartyd send: error: argument --source is required
Is this implying the blockchain is not updated?
[/quote]
I think you’re using some sort of batch file. Can you post the contents of it? It seems like your command syntax is incorrect.
[/quote]
FYI, on windows, using the build system, “counterpartyd” actually runs a batch file called counterpartyd.bat in C:\windows, which will proxy the command to run.py in the C:\counterpartyd_build\ directory. I added this so that we wouldn’t have to manually run run.py on Windows, with different semantics than on Linux.
[quote author=jimhsu link=topic=22.msg222#msg222 date=1391643213]
[quote author=TreeLeaves link=topic=22.msg221#msg221 date=1391640526]
[pre]Thanks for taking a look Jimshu.
I dont have a batch file. The only file I edited was the Counterpartyd conf to change the rpc password.
The actual send command I used was
counterpartyd send --from=[XXXXxx] --to=[XXXXX] --asset=XCP --quantity=100
What would you suggest?
[/pre]
[/quote]
counterpartyd send --source [XXXXxx] --destination [XXXXX] --asset XCP --quantity 100
Try that.
[/quote]
Cheers - it works now - much appreciated
I have another error when I make an order:c:\\counterpartyd_build>counterpartyd order --source 1XXX --get-quantity 20 --get-asset BTC --give-quantity 200 --give-asset XCP --expiration 5000 --fee_required 0.01<br /><br /><br />c:\\counterpartyd_build>echo off<br />Transaction (unsigned): 010000000191bc9ad6c118669cb9ef0425310793357f2d42d7e27ad6c040908b1210ce22520200000000ffffffff036c2a0000000000006751410424e0d192e25d4eea9ef8ba4f32d45a025d0aa80172c45580762f3d417b<br />6eb804d8d7f3e1ee43863a165ae507bbf67b15bf137ed0d5072f1334e489cb6368c14d2120434e5452505254590000000a000000000000000100000004a817c8000000000052ae6c2a0000000000006751410424e0d192e25d4eea9ef8ba4f32d45a025d<br />0aa80172c45580762f3d417b6eb804d8d7f3e1ee43863a165ae507bbf67b15bf137ed0d5072f1334e489cb6368c14d2116000000000000000077359400138800000000000f42400000000000000000000052ae95847402000000001976a914779835a784<br />adb00b7cc20357da16ad282c6ff88588ac00000000<br />Traceback (most recent call last):<br /> File "c:\\counterpartyd_build\\dist\\counterpartyd\\counterpartyd.py", line 522, in <module><br /> print(unsigned_tx_hex) if args.unsigned else json_print(bitcoin.transmit(unsigned_tx_hex))<br /> File "c:\\counterpartyd_build\\dist\\counterpartyd\\lib\\bitcoin.py", line 382, in transmit<br /> if input('Confirm? (y/N) ') != 'y':<br />AttributeError: 'UnicodeOutput' object has no attribute 'errors'
How to fix the ‘no attribute ‘errors’’?
My counterpartyd is up-to-date by the way.
Also posted on bitcointalk: [font=Verdana][size=78%]https://bitcointalk.org/index.php?topic=395761.msg4993509#msg4993509[/size][/font]
[quote author=520Bit link=topic=22.msg283#msg283 date=1391768872]
I have another error when I make an order:c:\\counterpartyd_build>counterpartyd order --source 1XXX --get-quantity 20 --get-asset BTC --give-quantity 200 --give-asset XCP --expiration 5000 --fee_required 0.01<br /><br /><br />c:\\counterpartyd_build>echo off<br />Transaction (unsigned): 010000000191bc9ad6c118669cb9ef0425310793357f2d42d7e27ad6c040908b1210ce22520200000000ffffffff036c2a0000000000006751410424e0d192e25d4eea9ef8ba4f32d45a025d0aa80172c45580762f3d417b<br />6eb804d8d7f3e1ee43863a165ae507bbf67b15bf137ed0d5072f1334e489cb6368c14d2120434e5452505254590000000a000000000000000100000004a817c8000000000052ae6c2a0000000000006751410424e0d192e25d4eea9ef8ba4f32d45a025d<br />0aa80172c45580762f3d417b6eb804d8d7f3e1ee43863a165ae507bbf67b15bf137ed0d5072f1334e489cb6368c14d2116000000000000000077359400138800000000000f42400000000000000000000052ae95847402000000001976a914779835a784<br />adb00b7cc20357da16ad282c6ff88588ac00000000<br />Traceback (most recent call last):<br /> File "c:\\counterpartyd_build\\dist\\counterpartyd\\counterpartyd.py", line 522, in <module><br /> print(unsigned_tx_hex) if args.unsigned else json_print(bitcoin.transmit(unsigned_tx_hex))<br /> File "c:\\counterpartyd_build\\dist\\counterpartyd\\lib\\bitcoin.py", line 382, in transmit<br /> if input('Confirm? (y/N) ') != 'y':<br />AttributeError: 'UnicodeOutput' object has no attribute 'errors'
How to fix the ‘no attribute ‘errors’’?
My counterpartyd is up-to-date by the way.
Also posted on bitcointalk: [font=verdana][size=78%]https://bitcointalk.org/index.php?topic=395761.msg4993509#msg4993509[/size][/font]
[/quote]
This has been fixed. Please pull newest code from github master.
[quote author=xnova link=topic=22.msg288#msg288 date=1391790741]
[quote author=520Bit link=topic=22.msg283#msg283 date=1391768872]
I have another error when I make an order:c:\\counterpartyd_build>counterpartyd order --source 1XXX --get-quantity 20 --get-asset BTC --give-quantity 200 --give-asset XCP --expiration 5000 --fee_required 0.01<br /><br /><br />c:\\counterpartyd_build>echo off<br />Transaction (unsigned): 010000000191bc9ad6c118669cb9ef0425310793357f2d42d7e27ad6c040908b1210ce22520200000000ffffffff036c2a0000000000006751410424e0d192e25d4eea9ef8ba4f32d45a025d0aa80172c45580762f3d417b<br />6eb804d8d7f3e1ee43863a165ae507bbf67b15bf137ed0d5072f1334e489cb6368c14d2120434e5452505254590000000a000000000000000100000004a817c8000000000052ae6c2a0000000000006751410424e0d192e25d4eea9ef8ba4f32d45a025d<br />0aa80172c45580762f3d417b6eb804d8d7f3e1ee43863a165ae507bbf67b15bf137ed0d5072f1334e489cb6368c14d2116000000000000000077359400138800000000000f42400000000000000000000052ae95847402000000001976a914779835a784<br />adb00b7cc20357da16ad282c6ff88588ac00000000<br />Traceback (most recent call last):<br /> File "c:\\counterpartyd_build\\dist\\counterpartyd\\counterpartyd.py", line 522, in <module><br /> print(unsigned_tx_hex) if args.unsigned else json_print(bitcoin.transmit(unsigned_tx_hex))<br /> File "c:\\counterpartyd_build\\dist\\counterpartyd\\lib\\bitcoin.py", line 382, in transmit<br /> if input('Confirm? (y/N) ') != 'y':<br />AttributeError: 'UnicodeOutput' object has no attribute 'errors'
How to fix the ‘no attribute ‘errors’’?
My counterpartyd is up-to-date by the way.
Also posted on bitcointalk: [font=verdana][size=78%]https://bitcointalk.org/index.php?topic=395761.msg4993509#msg4993509[/size][/font]
[/quote]
This has been fixed. Please pull newest code from github master.
[/quote]
Thanks, it works now after update to the latest git.
Issue Description
Sent 100 XCP in Block 286081.
100 XCP was deducted from my account, however only 51.80585696 XCP shows up in the transaction.
Detailed Description
Sent from: 1HEhGXgv8zNk7uno6vdMabA4rrmhVNhQcN
Sent to: 1846VNWpm2kYRWugCJsShWfe4epsuv4hct (my poloniex deposit address)
Block number: 286081
Sent Amount: 100 XCP
CounterParty Logs/Console Window Output for Block 286081
You can confirm using the below logs that 100 XCP was indeed sent on Block 286081. (by [font=verdana][size=78%]1HEhGXgv8zNk7uno6vdMabA4rrmhVNhQcN)[/size][/font]
Block: 286081
Order: buy 7.0 BTC at 0.0100 BTC/XCP in 120 blocks, with a provided fee of 0.0504 BTC and a required fee of 0.0 BTC (6aa2c548dd341c03750fe1d258e3f85e857cea0c3e77d5a0bcede74b6d15edbb)
Order Match: 0.0 BTC for 2E-8 XCP at 0.0000 BTC/XCP (ca8ab2696ba2e0e4fd402cda120700e122e7935c96847371e0d3830941f9a1506aa2c548dd341c03750fe1d258e3f85e857cea0c3e77d5a0bcede74b6d15edbb)
Order Match: 7.0 BTC for 700.0 XCP at 0.0100 BTC/XCP (498754ba54bf5306a66f0e5524d62832c41d9e53b21a88e564eef4e3b206cefb6aa2c548dd341c03750fe1d258e3f85e857cea0c3e77d5a0bcede74b6d15edbb)
Order: buy 0.79 BTC at 0.0100 BTC/XCP in 800 blocks, with a provided fee of 0.00563507 BTC and a required fee of 0.0 BTC (f6582eba619b54611816ec3618b0371ca8d94944bab72dd2b7605227a038d6c8)
Send: 100.0 of asset XCP from 1HEhGXgv8zNk7uno6vdMabA4rrmhVNhQcN to 1846VNWpm2kYRWugCJsShWfe4epsuv4hct (3820dd66c89c9c215a7b5d1ff08a35bdbe03cb28f700bd7cd01d884138d1f36c)
Send: 210.0 of asset XCP from 1MZmG3CbtW7WF8YACMaexypNPXUJtJHxQ to 14skYEfj2SfLkMYQEM7FcRWsAmXBjaSzCk (cafddf6741ae9154c713637b16277982bbe9e514cc76dcb4390a6889dc2b2171)
Block: 286082
********
However, now look at the Blockscan.com
http://www.blockscan.com/address.aspx?q=1HEhGXgv8zNk7uno6vdMabA4rrmhVNhQcN
You will find that only 51.8 XCP is registered in the transaction.
4129 286081 2014-02-16 00:53:33 1HEhGXgv8zNk7uno6vdMabA4rrmhVNhQcN 1846VNWpm2kYRWugCJsShWfe4epsuv4hct
Received 51.80585696 XCP 0.0001086 0.0001
Even though 100XCP was deducted from my address.
NOTE: I have made multiple transactions from this address for 100 and one for 50 XCP(later in the day), in other blocks. However, this block 286081, was clearly 100 XCP (however 51.8 shows up).
Also, block scan is showing the balance of zero on 1HEhGXgv8zNk7uno6vdMabA4rrmhVNhQcN. While my counterpartyd client shows 990.
NOTE: I used a short wallet unlock time for bitcoind, could this be triggering this.
After a try to install counterpartyd from source, I got the following error to start it. [font=verdana]It seems some auth problem between counterpartyd and bitcoind. [/font][font=verdana]BTW, my system is Win7. [/font]<br /><br />C:\\counterpartyd_build>counterpartyd server<br /><br />C:\\counterpartyd_build>echo off<br />Traceback (most recent call last):<br /> File "C:\\counterpartyd_build\\dist\\counterpartyd\\counterpartyd.py", line 494, i<br />n <module><br /> util.bitcoind_check(db)<br /> File "C:\\counterpartyd_build\\dist\\counterpartyd\\lib\\util.py", line 303, in bit<br />coind_check<br /> block_count = bitcoin.rpc('getblockcount', [])<br /> File "C:\\counterpartyd_build\\dist\\counterpartyd\\lib\\bitcoin.py", line 75, in r<br />pc<br /> raise exceptions.BitcoindRPCError(str(response.status_code) + ' ' + response<br />.reason)<br />lib.exceptions.BitcoindRPCError: 401 Authorization Required<br /><br /><br />C:\\counterpartyd_build><br />
Worked fine until now. Updated to 5.0. Later error occured. No connection. Later updated to 5.3 - same problem.
Of course internet connection is OK, bitcoin-qt running and synced fine.
But server command give me that:
C:\counterpartyd_build>counterpartyd server
C:\counterpartyd_build>echo off
Traceback (most recent call last):
File “C:\Python32\Lib\json\decoder.py”, line 369, in raw_decode
obj, end = self.scan_once(s, idx)
StopIteration
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “C:\counterpartyd_build\dist\counterpartyd\lib\util.py”, line 278, in ver
sions_check
versions = json.loads(response.text)
File “C:\Python32\Lib\json\init.py”, line 319, in loads
return _default_decoder.decode(s)
File “C:\Python32\Lib\json\decoder.py”, line 353, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File “C:\Python32\Lib\json\decoder.py”, line 371, in raw_decode
raise ValueError(“No JSON object could be decoded”)
ValueError: No JSON object could be decoded
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “C:\counterpartyd_build\dist\counterpartyd\counterpartyd.py”, line 489, i
n
util.versions_check(db)
File “C:\counterpartyd_build\dist\counterpartyd\lib\util.py”, line 280, in ver
sions_check
raise exceptions.DatabaseVersionError(‘Unable to check client, database vers
ions. How’s your Internet access?’)
lib.exceptions.DatabaseVersionError: Unable to check client, database versions.
How’s your Internet access?
Any ideas?
Update: Just fixed itself. Probably something was down in client version check…
[quote author=Jimmy link=topic=22.msg580#msg580 date=1392559928]
After a try to install counterpartyd from source, I got the following error to start it. [font=verdana]It seems some auth problem between counterpartyd and bitcoind. [/font][font=verdana]BTW, my system is Win7. [/font]<br /><br />C:\\counterpartyd_build>counterpartyd server<br /><br />C:\\counterpartyd_build>echo off<br />Traceback (most recent call last):<br /> File "C:\\counterpartyd_build\\dist\\counterpartyd\\counterpartyd.py", line 494, i<br />n <module><br /> util.bitcoind_check(db)<br /> File "C:\\counterpartyd_build\\dist\\counterpartyd\\lib\\util.py", line 303, in bit<br />coind_check<br /> block_count = bitcoin.rpc('getblockcount', [])<br /> File "C:\\counterpartyd_build\\dist\\counterpartyd\\lib\\bitcoin.py", line 75, in r<br />pc<br /> raise exceptions.BitcoindRPCError(str(response.status_code) + ' ' + response<br />.reason)<br />lib.exceptions.BitcoindRPCError: 401 Authorization Required<br /><br /><br />C:\\counterpartyd_build><br />
[/quote]
Can you check your bitcoin rpc password vs the config file to make sure it’s the same? Watch out for things like upper/lower case, spaces, etc.
I updated the client from the git repository
now it says that “market” is invalid
C:\Windows\System32>C:\Python32\python.exe c:\counterpartyd_build\run.py market
usage: counterpartyd [-h] [-V] [-v] [–force] [–testnet] [–testcoin]
[–unsigned] [–data-dir DATA_DIR]
[–database-file DATABASE_FILE]
[–config-file CONFIG_FILE] [–log-file LOG_FILE]
[–bitcoind-rpc-connect BITCOIND_RPC_CONNECT]
[–bitcoind-rpc-port BITCOIND_RPC_PORT]
[–bitcoind-rpc-user BITCOIND_RPC_USER]
[–bitcoind-rpc-password BITCOIND_RPC_PASSWORD]
[–rpc-host RPC_HOST] [–rpc-port RPC_PORT]
[–rpc-user RPC_USER] [–rpc-password RPC_PASSWORD]
{server,potentials,send,order,btcpay,issuance,broadcast,bet,dividend,burn,cancel,callback,balances,asset,wallet,pending,reparse,rollback}
…
counterpartyd: error: argument action: invalid choice: ‘market’ (choose from ‘server’, ‘potentials’, ‘send’, ‘order’, ‘btcpay’, ‘issuance’, ‘broadcast’, ‘bet’, ‘dividend’, ‘burn’, ‘cancel’, ‘callback’, ‘balances’, ‘asset’, ‘wallet’, ‘pending’, ‘reparse’, ‘rollback’)
I finally got through the counterpartyd build instructions and ran “counterpartyd server” at the command line. It proceeded to count through blocks from 278xxx all the way to the current 287xxx block, which took several hours. During that time, I tried using the send command to test things out and see if I could send any XCP. I kept getting an error that the database was not up to date. So I let the entire block count finish and then tried again. It then bitched at me that I wasn’t running the latest version. OK.
So I ran C:\Python32\python.exe setup.py update and then ran counterpartyd server again. And once again, it started counting blocks, all the way back from 278xxx… I then killed the process because I’m simply not going to watch this damn thing count all the blocks all over again for another twelve hours.
What the heck am I doing wrong here? I’ve been trying to set this system up for days so I can send XCP. That’s all I want to do–just use the counterpartyd send command.
[quote author=RobBase link=topic=22.msg783#msg783 date=1393049089]
I finally got through the counterpartyd build instructions and ran “counterpartyd server” at the command line. It proceeded to count through blocks from 278xxx all the way to the current 287xxx block, which took several hours. During that time, I tried using the send command to test things out and see if I could send any XCP. I kept getting an error that the database was not up to date. So I let the entire block count finish and then tried again. It then bitched at me that I wasn’t running the latest version. OK.
So I ran C:\Python32\python.exe setup.py update and then ran counterpartyd server again. And once again, it started counting blocks, all the way back from 278xxx… I then killed the process because I’m simply not going to watch this damn thing count all the blocks all over again for another twelve hours.
What the heck am I doing wrong here? I’ve been trying to set this system up for days so I can send XCP. That’s all I want to do–just use the counterpartyd send command.
[/quote]
The database format has indeed changed a couple of times in the past few versions, so rebuilding it again is a must. (I remember seeing a comment that there was coming an improvement that would lessen the need for rebuilds in the future, but don’t know if that’s implemented yet?)
I am a bit curious though why it does take that long. I get that it’s going through the whole blockchain and that it’s a lot of data, but I’m just not seeing the bottleneck on any system stats (CPU under 30%, disk I/O under 2 MB/s, memory under 50%, load average about 1.5; Intel Atom N2800, 3 GB memory and blockchain on external usb (2.0) hard drive).
<br />Microsoft Windows [Version 6.1.7600]<br />Copyright (c) 2009 Microsoft Corporation. All rights reserved.<br /><br /><br />C:\\Users\\Peled>counterpartyd.exe -V<br />counterpartyd v6.0<br /><br /><br />C:\\Users\\Peled>counterpartyd.exe send --source="1EU6VM7zkA9qDw8ReFKHRpSSHJvbuXYN<br />hq" --destination="1L2RvHFHoviCzk2CVJWhyKKYh8kzo3sbnq" --quantity=1 --asset="XCP<br />"<br />Traceback (most recent call last):<br /> File "C:\\counterpartyd_build\\env\\lib\\site-packages\\requests\\packages\\urllib3\\u<br />til.py", line 625, in ssl_wrap_socket<br />IOError: [Errno 2] No such file or directory<br /><br /><br />During handling of the above exception, another exception occurred:<br /><br /><br />Traceback (most recent call last):<br /> File "C:\\counterpartyd_build\\env\\lib\\site-packages\\requests\\adapters.py", line<br /> 324, in send<br /> File "C:\\counterpartyd_build\\env\\lib\\site-packages\\requests\\packages\\urllib3\\c<br />onnectionpool.py", line 478, in urlopen<br /> File "C:\\counterpartyd_build\\env\\lib\\site-packages\\requests\\packages\\urllib3\\c<br />onnectionpool.py", line 285, in _make_request<br /> File "C:\\Python32\\Lib\\http\\client.py", line 983, in request<br /> self._send_request(method, url, body, headers)<br /> File "C:\\Python32\\Lib\\http\\client.py", line 1021, in _send_request<br /> self.endheaders(body)<br /> File "C:\\Python32\\Lib\\http\\client.py", line 979, in endheaders<br /> self._send_output(message_body)<br /> File "C:\\Python32\\Lib\\http\\client.py", line 824, in _send_output<br /> self.send(msg)<br /> File "C:\\Python32\\Lib\\http\\client.py", line 762, in send<br /> self.connect()<br /> File "C:\\counterpartyd_build\\env\\lib\\site-packages\\requests\\packages\\urllib3\\c<br />onnection.py", line 95, in connect<br /> File "C:\\counterpartyd_build\\env\\lib\\site-packages\\requests\\packages\\urllib3\\u<br />til.py", line 629, in ssl_wrap_socket<br />requests.packages.urllib3.exceptions.SSLError: [Errno 2] No such file or directo<br />ry<br /><br /><br />During handling of the above exception, another exception occurred:<br /><br /><br />Traceback (most recent call last):<br /> File "C:\\counterpartyd_build\\dist\\counterpartyd\\lib\\util.py", line 277, in ver<br />sions_check<br /><br /><br /> File "C:\\counterpartyd_build\\env\\lib\\site-packages\\requests\\api.py", line 55,<br />in get<br /> File "C:\\counterpartyd_build\\env\\lib\\site-packages\\requests\\api.py", line 44,<br />in request<br /> File "C:\\counterpartyd_build\\env\\lib\\site-packages\\requests\\sessions.py", line<br /> 382, in request<br /> File "C:\\counterpartyd_build\\env\\lib\\site-packages\\requests\\sessions.py", line<br /> 485, in send<br /> File "C:\\counterpartyd_build\\env\\lib\\site-packages\\requests\\adapters.py", line<br /> 379, in send<br />requests.exceptions.SSLError: [Errno 2] No such file or directory<br /><br /><br />During handling of the above exception, another exception occurred:<br /><br /><br />Traceback (most recent call last):<br /> File "C:\\Python32\\lib\\site-packages\\cx_Freeze\\initscripts\\Console3.py", line 2<br />7, in <module><br /> File "C:\\counterpartyd_build\\dist\\counterpartyd\\counterpartyd.py", line 489, i<br />n <module><br /> args.unsigned)<br /> File "C:\\counterpartyd_build\\dist\\counterpartyd\\lib\\util.py", line 280, in ver<br />sions_check<br /> host = 'https://raw2.github.com/PhantomPhreak/counterpartyd/master/versions.<br />json'<br />lib.exceptions.DatabaseVersionError: Unable to check client, database versions.<br />How's your Internet access?<br /><br /><br />C:\\Users\\Peled>
I upgraded to V6.0 and i have this issue also.
can anyone help?
How can I get current orders, since market disappeared?
And don’t tell me to look on blockscan. It’s not updated and it’s not supposed to rely on centralized website to get the orders. (blockscan somehow do get the orders from counterpartyd)
[quote author=sulate link=topic=22.msg793#msg793 date=1393109557]
[quote author=RobBase link=topic=22.msg783#msg783 date=1393049089]
I finally got through the counterpartyd build instructions and ran “counterpartyd server” at the command line. It proceeded to count through blocks from 278xxx all the way to the current 287xxx block, which took several hours. During that time, I tried using the send command to test things out and see if I could send any XCP. I kept getting an error that the database was not up to date. So I let the entire block count finish and then tried again. It then bitched at me that I wasn’t running the latest version. OK.
So I ran C:\Python32\python.exe setup.py update and then ran counterpartyd server again. And once again, it started counting blocks, all the way back from 278xxx… I then killed the process because I’m simply not going to watch this damn thing count all the blocks all over again for another twelve hours.
What the heck am I doing wrong here? I’ve been trying to set this system up for days so I can send XCP. That’s all I want to do–just use the counterpartyd send command.
[/quote]
The database format has indeed changed a couple of times in the past few versions, so rebuilding it again is a must. (I remember seeing a comment that there was coming an improvement that would lessen the need for rebuilds in the future, but don’t know if that’s implemented yet?)
I am a bit curious though why it does take that long. I get that it’s going through the whole blockchain and that it’s a lot of data, but I’m just not seeing the bottleneck on any system stats (CPU under 30%, disk I/O under 2 MB/s, memory under 50%, load average about 1.5; Intel Atom N2800, 3 GB memory and blockchain on external usb (2.0) hard drive).
[/quote]
Due to the security fixes, there have been a number of complete rebuilds required. This is not “normal” and it should be settling down shortly, with just a reparse necessary on some of the updates.
The reason a rebuild takes so long is largely due to the fact that when rebuilding, counterpartyd essentially has to make an API call for every single transaction on the blockchain, as it rebuilds its database. Phantom looked into an intermediate database option, where we would store all multisig/OP_RETURN txns (there aren’t many and most are counterparty txns actually) in the counterpartyd DB, and then do all but the full, full rebuilds off of that). We sided against that for now as it would add complexity. It may happen in the future…depends on a number of factors.
[quote author=supervine link=topic=22.msg808#msg808 date=1393158151]
How can I get current orders, since market disappeared?
And don’t tell me to look on blockscan. It’s not updated and it’s not supposed to rely on centralized website to get the orders. (blockscan somehow do get the orders from counterpartyd)
[/quote]
We’re exploring options on listing the market (either returning the market command, or making it an external utility, as was originally planned when it was taken out).
Jah’s GUI may list this (or he will be adding it). Counterwallet will also provide this list for any arbitrary asset pair.
[quote author=peled1986 link=topic=22.msg794#msg794 date=1393109638]<br />Microsoft Windows [Version 6.1.7600]<br />Copyright (c) 2009 Microsoft Corporation. All rights reserved.<br /><br /><br />C:\\Users\\Peled>counterpartyd.exe -V<br />counterpartyd v6.0<br /><br /><br />C:\\Users\\Peled>counterpartyd.exe send --source="1EU6VM7zkA9qDw8ReFKHRpSSHJvbuXYN<br />hq" --destination="1L2RvHFHoviCzk2CVJWhyKKYh8kzo3sbnq" --quantity=1 --asset="XCP<br />"<br />Traceback (most recent call last):<br /> File "C:\\counterpartyd_build\\env\\lib\\site-packages\\requests\\packages\\urllib3\\u<br />til.py", line 625, in ssl_wrap_socket<br />IOError: [Errno 2] No such file or directory<br /><br /><br />During handling of the above exception, another exception occurred:<br /><br /><br />Traceback (most recent call last):<br /> File "C:\\counterpartyd_build\\env\\lib\\site-packages\\requests\\adapters.py", line<br /> 324, in send<br /> File "C:\\counterpartyd_build\\env\\lib\\site-packages\\requests\\packages\\urllib3\\c<br />onnectionpool.py", line 478, in urlopen<br /> File "C:\\counterpartyd_build\\env\\lib\\site-packages\\requests\\packages\\urllib3\\c<br />onnectionpool.py", line 285, in _make_request<br /> File "C:\\Python32\\Lib\\http\\client.py", line 983, in request<br /> self._send_request(method, url, body, headers)<br /> File "C:\\Python32\\Lib\\http\\client.py", line 1021, in _send_request<br /> self.endheaders(body)<br /> File "C:\\Python32\\Lib\\http\\client.py", line 979, in endheaders<br /> self._send_output(message_body)<br /> File "C:\\Python32\\Lib\\http\\client.py", line 824, in _send_output<br /> self.send(msg)<br /> File "C:\\Python32\\Lib\\http\\client.py", line 762, in send<br /> self.connect()<br /> File "C:\\counterpartyd_build\\env\\lib\\site-packages\\requests\\packages\\urllib3\\c<br />onnection.py", line 95, in connect<br /> File "C:\\counterpartyd_build\\env\\lib\\site-packages\\requests\\packages\\urllib3\\u<br />til.py", line 629, in ssl_wrap_socket<br />requests.packages.urllib3.exceptions.SSLError: [Errno 2] No such file or directo<br />ry<br /><br /><br />During handling of the above exception, another exception occurred:<br /><br /><br />Traceback (most recent call last):<br /> File "C:\\counterpartyd_build\\dist\\counterpartyd\\lib\\util.py", line 277, in ver<br />sions_check<br /><br /><br /> File "C:\\counterpartyd_build\\env\\lib\\site-packages\\requests\\api.py", line 55,<br />in get<br /> File "C:\\counterpartyd_build\\env\\lib\\site-packages\\requests\\api.py", line 44,<br />in request<br /> File "C:\\counterpartyd_build\\env\\lib\\site-packages\\requests\\sessions.py", line<br /> 382, in request<br /> File "C:\\counterpartyd_build\\env\\lib\\site-packages\\requests\\sessions.py", line<br /> 485, in send<br /> File "C:\\counterpartyd_build\\env\\lib\\site-packages\\requests\\adapters.py", line<br /> 379, in send<br />requests.exceptions.SSLError: [Errno 2] No such file or directory<br /><br /><br />During handling of the above exception, another exception occurred:<br /><br /><br />Traceback (most recent call last):<br /> File "C:\\Python32\\lib\\site-packages\\cx_Freeze\\initscripts\\Console3.py", line 2<br />7, in <module><br /> File "C:\\counterpartyd_build\\dist\\counterpartyd\\counterpartyd.py", line 489, i<br />n <module><br /> args.unsigned)<br /> File "C:\\counterpartyd_build\\dist\\counterpartyd\\lib\\util.py", line 280, in ver<br />sions_check<br /> host = 'https://raw2.github.com/PhantomPhreak/counterpartyd/master/versions.<br />json'<br />lib.exceptions.DatabaseVersionError: Unable to check client, database versions.<br />How's your Internet access?<br /><br /><br />C:\\Users\\Peled>
I upgraded to V6.0 and i have this issue also.
can anyone help?
[/quote]
Try the newest version. Is this still an issue?
[quote author=xnova link=topic=22.msg821#msg821 date=1393196678]
Try the newest version. Is this still an issue?
[/quote]
No - its working good.
Thanks for the help.
Whenever I try to place an order, I get this message:
Traceback (most recent call last):
File “C:\Git\cmd\dist\counterpartyd\counterpartyd.py”, line 419, in
bitcoin.bitcoind_check(db)
File “C:\Git\cmd\dist\counterpartyd\lib\bitcoin.py”, line 40, in bitcoind_ch
k
block_count = rpc(‘getblockcount’, [])
File “C:\Git\cmd\dist\counterpartyd\lib\bitcoin.py”, line 120, in rpc
raise exceptions.BitcoindError(’{}’.format(response_json[‘error’]))
lib.exceptions.BitcoindError: {‘code’: -32601, ‘message’: ‘Method not found’}
Does this mean that I need to download more blocks through Bitcoind? I noticed that Bitcoind stopped downloading blocks after block 287246, but Counterparty synced up to this same block number and stopped. Do both Bitcoind and Counteryparty need to be synced up to the latest block in realtime?
Also, is it possible to speed up the sync process by renaming the database file from the Counterparty app directory to the latest one? PhantomPhreak keeps churning out new releases and while that’s awesome, my computer is too slow (I’m too embarrassed to even state the specs) to sync up that by the time I finally catch up and try to place an order… there’s a new version of Counteryparty. So that leads me to my last question: Is the Counterparty sync process a CPU or RAM intensive activity or does it not matter?