Post
Topic
Board Announcements (Altcoins)
Re: [ANN][XCP] Counterparty Protocol, Client and Coin (built on Bitcoin) - Official
by
panonym
on 06/01/2014, 06:30:48 UTC
'tried to transfert XCP.
Problem before the expected problem:

Code:
user@home:~$ xcp send --from=send --from=myaddresswithXCP --quantity=1 --asset=XCP --to=safeBTCaddress
Confirm? (y/N) y
Traceback (most recent call last):
  File "/home/user/counterpartyd_build/dist/counterpartyd/counterpartyd.py", line 426, in
    json_print(bitcoin.transmit(unsigned_tx_hex))
  File "/home/user/counterpartyd_build/dist/counterpartyd/lib/bitcoin.py", line 260, in transmit
    return rpc('sendrawtransaction', [signed_tx_hex])
  File "/home/user/counterpartyd_build/dist/counterpartyd/lib/bitcoin.py", line 64, in rpc
    raise exceptions.BitcoindError('{}'.format(error))
lib.exceptions.BitcoindError: {'code': -22, 'message': 'TX rejected'}
Same error without the --from=send

I expected the command to work,
but then never see the XCP arrive in my safeaddress 'coz even Eligius doesn't process OP_RETURN before v0.9.
So I kind of willingly risked to lose 1XCP, but fail.
(curious: does anyone know an easy way to cancel a transmission that has never been confirmed? be BTC, XCP or whatever)

Did anyone succeed using the send command?
Must have someone who tried before Eligius stopped, or on testnet.
What do I do wrong?

edit: tried to add -paytxfee=0.0001 (error: unrecognized arguments)

Code improvement needed: 'doesn't show BTC balance ? ? ?
Code:
xcp address myXCPaddresswithBTC
Balances
+-------+------------+
| Asset |   Amount   |
+-------+------------+
|  BTC  |    ???     |      
|  XCP  | okvalue    |
+-------+------------+