Author

Topic: [ANN][XCP] Counterparty - Pioneering Peer-to-Peer Finance - Official Thread - page 613. (Read 1276933 times)

hero member
Activity: 700
Merit: 500
So for all the folks that just burnt BTC like... 10 burns lost forever ? I just burned 1 BTC and it shows on blockscan.com but no XCP given.... wtf   Cry Cry Cry Cry Cry

Blockscan will have to rebuild it's database once the source code got updated. I guess that all burns are safe, they are recorded in the blockchain after all.
full member
Activity: 224
Merit: 100
CabTrader v2 | crypto-folio.com
From what I'm seeing on Blockscan, the last 20 burns didn't go through.
sr. member
Activity: 476
Merit: 300
Counterparty Chief Scientist and Co-Founder
Are there any plans to implement a voting system, in order to allow the community to express their opinion on protocol or client changes?

AFAIK DAC's should allow this.

Will be nice to hear dev's opinion about this, so the community could decide together on important decisions in a truly democratic fashion.

I would very much like to see that happen eventually, yes.
sr. member
Activity: 476
Merit: 300
Counterparty Chief Scientist and Co-Founder
Error in a transaction in block 280807. Just before I was going to do a burn. Typical  Roll Eyes

Code:
Block: 280807
Traceback (most recent call last):
  File "/home/jeremy/counterpartyd_build/dist/counterpartyd/counterpartyd.py", line 618, in
    blocks.follow(db)
  File "/home/jeremy/counterpartyd_build/dist/counterpartyd/lib/blocks.py", line 516, in follow
    raise e
  File "/home/jeremy/counterpartyd_build/dist/counterpartyd/lib/blocks.py", line 509, in follow
    parse_block(db, block_index)
  File "/home/jeremy/counterpartyd_build/dist/counterpartyd/lib/blocks.py", line 57, in parse_block
    issuance.parse(db, tx, message)
  File "/home/jeremy/counterpartyd_build/dist/counterpartyd/lib/issuance.py", line 108, in parse
    validity)
OverflowError: Python int too large to convert to SQLite INTEGER

It seems someone tried to create asset "NEXT" in block 280807:
https://blockchain.info/tx/acddcd5bc59349de709b0031e95c5610c233728548e8b308e32efb5d50385ee9

This asset was created with a very large quantity of 2^63 (9223372036854775808) which seems to cause this error.

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.
hero member
Activity: 700
Merit: 500
Error in a transaction in block 280807. Just before I was going to do a burn. Typical  Roll Eyes

Code:
Block: 280807
Traceback (most recent call last):
  File "/home/jeremy/counterpartyd_build/dist/counterpartyd/counterpartyd.py", line 618, in
    blocks.follow(db)
  File "/home/jeremy/counterpartyd_build/dist/counterpartyd/lib/blocks.py", line 516, in follow
    raise e
  File "/home/jeremy/counterpartyd_build/dist/counterpartyd/lib/blocks.py", line 509, in follow
    parse_block(db, block_index)
  File "/home/jeremy/counterpartyd_build/dist/counterpartyd/lib/blocks.py", line 57, in parse_block
    issuance.parse(db, tx, message)
  File "/home/jeremy/counterpartyd_build/dist/counterpartyd/lib/issuance.py", line 108, in parse
    validity)
OverflowError: Python int too large to convert to SQLite INTEGER

It seems someone tried to create asset "NEXT" in block 280807:
https://blockchain.info/tx/acddcd5bc59349de709b0031e95c5610c233728548e8b308e32efb5d50385ee9

This asset was created with a very large quantity of 2^63 (9223372036854775808) which seems to cause this error.

legendary
Activity: 1050
Merit: 1000
So can anybody help me? I folowed the steps and installed counterpartyd (Win 32) and while trying to run it says 'could not connect to bitcoin-qt'. I am running bitcoin in testnet as a server.

I assume its to do with counterpartyd.conf?
hero member
Activity: 756
Merit: 502
Are there any plans to implement a voting system, in order to allow the community to express their opinion on protocol or client changes?

AFAIK DAC's should allow this.

Will be nice to hear dev's opinion about this, so the community could decide together on important decisions in a truly democratic fashion.
newbie
Activity: 58
Merit: 0
Error in a transaction in block 280807. Just before I was going to do a burn. Typical  Roll Eyes

Code:
Block: 280807
Traceback (most recent call last):
  File "/home/jeremy/counterpartyd_build/dist/counterpartyd/counterpartyd.py", line 618, in
    blocks.follow(db)
  File "/home/jeremy/counterpartyd_build/dist/counterpartyd/lib/blocks.py", line 516, in follow
    raise e
  File "/home/jeremy/counterpartyd_build/dist/counterpartyd/lib/blocks.py", line 509, in follow
    parse_block(db, block_index)
  File "/home/jeremy/counterpartyd_build/dist/counterpartyd/lib/blocks.py", line 57, in parse_block
    issuance.parse(db, tx, message)
  File "/home/jeremy/counterpartyd_build/dist/counterpartyd/lib/issuance.py", line 108, in parse
    validity)
OverflowError: Python int too large to convert to SQLite INTEGER

Same here. Except it is on block 280518 for me.
sr. member
Activity: 262
Merit: 250
Error in a transaction in block 280807. Just before I was going to do a burn. Typical  Roll Eyes

Code:
Block: 280807
Traceback (most recent call last):
  File "/home/jeremy/counterpartyd_build/dist/counterpartyd/counterpartyd.py", line 618, in
    blocks.follow(db)
  File "/home/jeremy/counterpartyd_build/dist/counterpartyd/lib/blocks.py", line 516, in follow
    raise e
  File "/home/jeremy/counterpartyd_build/dist/counterpartyd/lib/blocks.py", line 509, in follow
    parse_block(db, block_index)
  File "/home/jeremy/counterpartyd_build/dist/counterpartyd/lib/blocks.py", line 57, in parse_block
    issuance.parse(db, tx, message)
  File "/home/jeremy/counterpartyd_build/dist/counterpartyd/lib/issuance.py", line 108, in parse
    validity)
OverflowError: Python int too large to convert to SQLite INTEGER
legendary
Activity: 882
Merit: 1000
180+ coins burnt today, if this project and MSC fail, 1CounterXX, and 1Exodus would be in the alltime memes of btc history.
1CounterXX is, but not 1Exodus since its just a normal address and all the funds inside will be spent at last. The funds in 1CouterXXX..., however, will be there forever, no matter counterparty succeeds or fails. Smiley
legendary
Activity: 1078
Merit: 1002
Bitcoin is new, makes sense to hodl.
180+ coins burnt today, if this project and MSC fail, 1CounterXX, and 1Exodus would be in the alltime memes of btc history.
legendary
Activity: 882
Merit: 1000
Might be a stupid question, but can I burn twice from the same address? i.e. just send 0.01 BTC as a test, then send the rest
Yes, but make sure that address still has enough BTC. Otherwise, if the client combine the inputs from multiple addresses, you will lose what you have burnt. Of course, you will be safe if you are burning with the counterpartyd.
hero member
Activity: 840
Merit: 1000
Might be a stupid question, but can I burn twice from the same address? i.e. just send 0.01 BTC as a test, then send the rest
Yes, as long as it doesn't exceed 1BTC, but you can send 0.01BTC as a test and 0.99BTC afterwards.

Great, thanks.
hero member
Activity: 683
Merit: 500
Might be a stupid question, but can I burn twice from the same address? i.e. just send 0.01 BTC as a test, then send the rest
Yes, as long as it doesn't exceed 1BTC, but you can send 0.01BTC as a test and 0.99BTC afterwards.
sr. member
Activity: 364
Merit: 264
Sorry guys, looks I broke something again ....  :'(

Apparently 100,000,000,000 is too big of a number for coins.

"I was just trying to recreate DOGE .... *slinks away*"

(Wow, how many bugfixes did I cause in github today? lol)
Still .. better that these things happen now than in the future, where things will seriously break.

Note: I would suggest a max cap, because no matter what datatype you use, someone could simply issue 999999999999999999999999999.... coins as an attack.

I haven't tested non-alphanumeric characters in the asset name yet -- is there support for that or will I crash something again?

Absolutely. Keep 'em comin'.

I fixed the code so that it will run, but this same problem may exist elsewhere, so hold off on re-creating the problem for another twenty-four hours, maybe.

Asset names should only be upper-case alphabetic, but the code should catch all violations of that rule.
Are there any other restrictions to asset names?
I ran into: raise exceptions.AssetError('Bad asset name.')

Besides the uppercase is there a minimum amount/limit on characters or certain asset names that are not valid like BTC, EUR, XAU,...

No less than 4 and no more than ... ??? upper case characters. (the actual restrictions are based on conversion of the string into an int, so that's why something like "AAAAA" doesn't work, and why there is no "max length".)
hero member
Activity: 840
Merit: 1000
Might be a stupid question, but can I burn twice from the same address? i.e. just send 0.01 BTC as a test, then send the rest
hero member
Activity: 683
Merit: 500
Sorry guys, looks I broke something again ....  Cry

Apparently 100,000,000,000 is too big of a number for coins.

"I was just trying to recreate DOGE .... *slinks away*"

(Wow, how many bugfixes did I cause in github today? lol)
Still .. better that these things happen now than in the future, where things will seriously break.

Note: I would suggest a max cap, because no matter what datatype you use, someone could simply issue 999999999999999999999999999.... coins as an attack.

I haven't tested non-alphanumeric characters in the asset name yet -- is there support for that or will I crash something again?

Absolutely. Keep 'em comin'.

I fixed the code so that it will run, but this same problem may exist elsewhere, so hold off on re-creating the problem for another twenty-four hours, maybe.

Asset names should only be upper-case alphabetic, but the code should catch all violations of that rule.
Are there any other restrictions to asset names?
I ran into: raise exceptions.AssetError('Bad asset name.')

Besides the uppercase is there a minimum amount/limit on characters or certain asset names that are not valid like BTC, EUR, XAU,...
full member
Activity: 219
Merit: 102
What is situation of official XCP wallet now? When its about coming?
legendary
Activity: 882
Merit: 1000
I am having trouble with my internet connection while running counterparty. Especially when it is building the Database. Between the "Block: xxxx" i always get a "Could not connect to Bitcoinind." This shows up 5-10 times then it continues.

My Internet ist very slow and not reacting for a few seconds while running coutnerparty.

Anyone know why and may have a solution?
May not just the Internet issue. Counterparty connects to Bitcoind locally. Have you checked your CPU usage when running counterparty?
Jump to: