xnova
Sr. Member
Offline
Activity: 390
Merit: 254
Counterparty Developer
|
|
February 16, 2014, 03:04:33 PM |
|
I have a problem sending XCP from one address to another. I'm using the latest counterpartyd (v5.0) and database is up to date. Here's the error I get: Traceback (most recent call last): File "./counterpartyd.py", line 503, in <module> print(unsigned_tx_hex) if args.unsigned else json_print(bitcoin.transmit(unsigned_tx_hex)) File "/Users/Max/counterpartyd/lib/bitcoin.py", line 404, in transmit return rpc('sendrawtransaction', [signed_tx_hex]) File "/Users/Max/counterpartyd/lib/bitcoin.py", line 103, in rpc raise exceptions.BitcoindError('{}'.format(response_json['error'])) lib.exceptions.BitcoindError: {'code': -22, 'message': 'TX rejected'} I consolidated XCP holdings of around 30 addresses in one address and now I'm trying to send the complete balance of this address to another one. Any help on this would be greatly appreciated. You probably just need to wait for transaction confirmations. Tell me if this issue doesn't resolve itself. Also see https://counterparty.co/faqs/i-got-an-error-tx-rejected-code-22-what-is-that/
|
|
|
|
|
|
|
|
According to NIST and ECRYPT II, the cryptographic algorithms used in
Bitcoin are expected to be strong until at least 2030. (After that, it
will not be too difficult to transition to different algorithms.)
|
|
|
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
|
xnova
Sr. Member
Offline
Activity: 390
Merit: 254
Counterparty Developer
|
|
February 16, 2014, 03:05:49 PM |
|
Hi all,
I just installed the counterparty deamon for windows x64, using the installer. However, when I try to run it using
"C:\Program Files\counterpartyd\counterpartyd.exe" --log-file=-
an error: "Too few arguments" occurs.
Any insights?
Try "C:\Program Files\counterpartyd\counterpartyd.exe" wallet or other command like send, order, etc. You should just be able to type "counterpartyd" at the command line...i.e. "counterpartyd server" or "counterpartyd wallet". No need for a path (as long as you chose the "Add to PATH" option when installing).
|
|
|
|
xnova
Sr. Member
Offline
Activity: 390
Merit: 254
Counterparty Developer
|
|
February 16, 2014, 03:10:00 PM |
|
Successfully set up counterpartyd.conf and bitcoin.conf in the %USER%\Appdata\Roaming\... Folders?
Seems to me that your counterpartyd cannot connect to bitcoind via RPC...
Thanks. bitcoin.conf rpuser=rpc rpcpassword=rpcpw1234 server=1 daemon=1 txindex=1
counterpartyd.conf [Default] bitcoind-rpc-connect=localhost bitcoind-rpc-port=8332 bitcoind-rpc-user=rpc bitcoind-rpc-password=rpcpw1234 rpc-host=localhost rpc-user=rpcuser rpc-password=xcppw1234
Hmm, that looks right. Try restarting bitcoind if you are still getting this issue and seeing if counterpartyd will connect again....also check for any weird characters at the ends of lines in the configs (I would think it would strip these normally, but just in case...)
|
|
|
|
520Bit
|
|
February 16, 2014, 03:11:00 PM |
|
|
|
|
|
xnova
Sr. Member
Offline
Activity: 390
Merit: 254
Counterparty Developer
|
|
February 16, 2014, 03:14:58 PM |
|
Hmmmm I cant get this running. I cloned counterpartyd_build, then installed the python file, then reindexed bitcoin qt. Seems to start with server command and is catching up blocks. However sending doesnt work: counterpartyd send --source=address1 --destination=address2 --quantity=100 --asset=XCP It says: Transaction (unsigned): "HUGE NUMBER!" Confirm? (y/N) y Transaction aborted. So why is transaction aborted? I have sufficient XCP on address1 and sufficient BTC to pay the fee. Also I have set up bitcoin.conf and counterpartyd.conf correctly... Some Ideas whats wrong here? Any hints on that plz? Developers? No matter what I enter, always says Still trying to figure out how to send XCP... Any Idea what could cause the transaction to abort? Is the server all caught up, or is it still processing blocks? If so, try running the command with the "--unsigned" switch after "counterpartyd" but before "send". Does it successfully produce output? Also, do you have a non-US keyboard configuration in use? Actually, you can just specify "--headless" as well, instead of "--unsigned" to skip that prompt in the first place.
|
|
|
|
bitcoinrocks
Legendary
Offline
Activity: 1372
Merit: 1000
|
|
February 16, 2014, 03:29:13 PM |
|
Counterparty just appeared on coinmarketcap.com and it looks like the 1BTC I burned a little while back is now worth almost 24BTC? Wow. Any particular news or achievements responsible for the appreciation?
Is XCP on any exchanges?
|
|
|
|
NxtChoice
|
|
February 16, 2014, 03:31:28 PM |
|
Successfully set up counterpartyd.conf and bitcoin.conf in the %USER%\Appdata\Roaming\... Folders?
Seems to me that your counterpartyd cannot connect to bitcoind via RPC...
Thanks. bitcoin.conf [b]rpuser[/b]=rpc rpcpassword=rpcpw1234 server=1 daemon=1 txindex=1
counterpartyd.conf [Default] bitcoind-rpc-connect=localhost bitcoind-rpc-port=8332 bitcoind-rpc-user=rpc bitcoind-rpc-password=rpcpw1234 rpc-host=localhost rpc-user=rpcuser rpc-password=xcppw1234
Hmm, that looks right. Try restarting bitcoind if you are still getting this issue and seeing if counterpartyd will connect again....also check for any weird characters at the ends of lines in the configs (I would think it would strip these normally, but just in case...) Thank you very much. Finally, I got it. I'm so sorry. There is a typo in bitcoin.conf. "rpuser" should be "rpcuser" in the first line.
|
|
|
|
cryptonikus
|
|
February 16, 2014, 03:49:17 PM |
|
Why is it falling so agressively, any ideas?
|
|
|
|
prabhu.str1
Newbie
Offline
Activity: 28
Merit: 0
|
|
February 16, 2014, 03:56:32 PM |
|
Why is it falling so agressively, any ideas?
Seems coinmarketcap has problems in getting price feed
|
|
|
|
Schollepetzer
Newbie
Offline
Activity: 17
Merit: 0
|
|
February 16, 2014, 04:03:48 PM |
|
Hmmmm I cant get this running. I cloned counterpartyd_build, then installed the python file, then reindexed bitcoin qt. Seems to start with server command and is catching up blocks. However sending doesnt work: counterpartyd send --source=address1 --destination=address2 --quantity=100 --asset=XCP It says: Transaction (unsigned): "HUGE NUMBER!" Confirm? (y/N) y Transaction aborted. So why is transaction aborted? I have sufficient XCP on address1 and sufficient BTC to pay the fee. Also I have set up bitcoin.conf and counterpartyd.conf correctly... Some Ideas whats wrong here? Any hints on that plz? Developers? No matter what I enter, always says Still trying to figure out how to send XCP... Any Idea what could cause the transaction to abort? Is the server all caught up, or is it still processing blocks? If so, try running the command with the "--unsigned" switch after "counterpartyd" but before "send". Does it successfully produce output? Also, do you have a non-US keyboard configuration in use? Actually, you can just specify "--headless" as well, instead of "--unsigned" to skip that prompt in the first place. Server stands at block 286203 which is right I think. Its not processing any more, only giving out the "oputput" from the blockchain. When I try with , its not asking the confirmation and outputs the transaction, but its not sending XCP actually. But when I try with its working!!!!!! Why is this so? I dont understand, but it seems to work this way. I have a germany keyboard layout, where y and z is swapped. But it also didnt work with pressing 'z' (supposing it would be the us 'y')... Thank you xnova for helping me...
|
|
|
|
busoni
Sr. Member
Offline
Activity: 364
Merit: 250
Owner of Poloniex
|
|
February 16, 2014, 04:06:28 PM |
|
Busoni
Poloniex is great but :
An XCP transfer costs 0.0002172 BTC at the moment (I don't know in the future if this will change) Even at a rate of 0.01BTC/XCP (to balance the risk of holding XCP) transfers should cost around 0.02 XCP to be fair.
I don't know about the reason why it's so high but this issue should be addressed (don't let another exchange steal your market share, you have the first mover advantage...)
A single XCP transfer costs about that much, but in order to deposit, XCP and BTC need to be transferred internally. Sometimes BTC needs to be transferred more than once because Counterparty randomly requires varying amounts of BTC. The withdrawal fees have to cover deposit costs, and people often make more deposits than withdrawals. I just lowered the fee to 0.35, but that seems like a lot, too. I think 0.1 will cover everything, so I'm going to lower it to that.
|
Poloniex.com - Fast crypto exchange with margin trading, advanced charts, and stop-limit orders
|
|
|
prophetx
Legendary
Offline
Activity: 1666
Merit: 1010
he who has the gold makes the rules
|
|
February 16, 2014, 04:10:24 PM |
|
what's the deal with the massive troll buy? http://blockscan.com/order.aspx?q=3594is there something being worked on to counteract this kind of stuff? Or at least make the tx fee proportional to btc sell offer for it to be valid?
|
|
|
|
cityglut
|
|
February 16, 2014, 04:18:15 PM |
|
what's the deal with the massive troll buy? http://blockscan.com/order.aspx?q=3594is there something being worked on to counteract this kind of stuff? Or at least make the tx fee proportional to btc sell offer for it to be valid? That has already been implemented: now fee_provided is a percentage of one's "BTC sell" purchase.
|
|
|
|
busoni
Sr. Member
Offline
Activity: 364
Merit: 250
Owner of Poloniex
|
|
February 16, 2014, 04:18:29 PM |
|
Is Poloniex starting to slow down for people?
|
Poloniex.com - Fast crypto exchange with margin trading, advanced charts, and stop-limit orders
|
|
|
freedomfighter
|
|
February 16, 2014, 04:20:20 PM |
|
Is Poloniex starting to slow down for people?
was very slow on refresh in the last 5-6 hrs
|
|
|
|
delulo
|
|
February 16, 2014, 05:01:58 PM |
|
I m on holidays an not up to date. XCP is listed on coinmarketscap. Does it also trade on a centralized exchange like cryptsy or something? Anyone have a quick answer for that?
|
|
|
|
JahPowerBit
Sr. Member
Offline
Activity: 335
Merit: 255
Counterparty Developer
|
|
February 16, 2014, 05:03:29 PM |
|
I m on holidays an not up to date. XCP is listed on coinmarketscap. Does it also trade on a centralized exchange like cryptsy or something? Anyone have a quick answer for that?
https://www.poloniex.com/exchange/btc_xcp
|
|
|
|
prophetx
Legendary
Offline
Activity: 1666
Merit: 1010
he who has the gold makes the rules
|
|
February 16, 2014, 05:07:51 PM |
|
what's the deal with the massive troll buy? http://blockscan.com/order.aspx?q=3594is there something being worked on to counteract this kind of stuff? Or at least make the tx fee proportional to btc sell offer for it to be valid? That has already been implemented: now fee_provided is a percentage of one's "BTC sell" purchase. ah ok cool. so this order is just a legacy valid order waiting on expiration? btw what is the fee %? also regarding matching if i place a sell at a lower price then this order, and it matches, (assuming the entity actually paid) does the match for payment happen at the btc sell offer price or the xcp sell offer price?
|
|
|
|
freedomfighter
|
|
February 16, 2014, 05:08:24 PM |
|
I m on holidays an not up to date. XCP is listed on coinmarketscap. Does it also trade on a centralized exchange like cryptsy or something? Anyone have a quick answer for that?
Always: you can click on coinmarketcap's given coin price and you'll get the exchange from which it is derived
|
|
|
|
delulo
|
|
February 16, 2014, 05:13:14 PM |
|
I m on holidays an not up to date. XCP is listed on coinmarketscap. Does it also trade on a centralized exchange like cryptsy or something? Anyone have a quick answer for that?
https://www.poloniex.com/exchange/btc_xcpthanks man. looks good!
|
|
|
|
|