- 01 October 2024 (9 messages)
-
Joined.
-
With the 'subasset on numeric asset' upgrade, will you be able to issue a subasset from a subasset? I'm asking since subassets are a kind of numeric asset.
-
UTXO Support: can you attach an "asset ownership" to a utxo, or are only tokens supported?
-
But can you create a subasset from a subasset of a subasset of a subasset
-
There is only one subasset column in the db, but it can be 255 chars long on subassets
-
Think parent.sub.asset where the sub.asset with the period is the single subasset containing a period as a fake sub sub asset or moar
-
In that case you could create a sub sub sub asset where the sub sub asset doesnt exist because there is nothing on it to enforce
-
Opening up trading of token ownership is key! This question is very smart imo
-
Oh that would be juicy !!
- 02 October 2024 (41 messages)
-
https://docs.counterparty.io/docs/basics/getting-started/
Are the docs for running a node up-to-date?Getting Started | CounterpartyInstall Counterparty Core
-
Yes! I used these recently.
-
yup!
-
Nope, just the assets themselves. If this is something that would be very valuable, we can look into adding it for the next protocol upgrade
-
Are there any existing cp transactions that will be retroactively tied to a utxo automatically?
-
Its opt-in
-
Will vote for 🐸🫂
-
Hey guys if I send btc to my main addy and it has a dispenser does that friggen send an asset to the cex ??
-
Yeah
-
How do you get btc in that adress then.
-
Don’t use your main addy for dispensing
-
Ya I thought that’s the new plan haha 😂
Great way to burn supply haha 😂 -
Personally I consider it a feature not a bug. But I enjoy foistering my assets upon people 🐸🤷
-
Distribute 🤣🙏
-
Haha 😂 ya Ndax will love a bunch of my danks and I guess it shows in the history as a dispense haha
-
Fuckin funny
-
Can anyone tell me if this is a cex ? https://tokenscan.io/address/BC1QMAK6EJWEFZJ28JWEJ7KRU88NZW6CZK9GEYALWY
-
Looks like they opened a dispenser so maybe not ?
-
I’m not sure if I’m right about this, but I don’t think it’s usual that exchanges use legacy addresses
-
Ya seems odd but the btc I sent did trigger the assets to be sent to them
And it shows a year ago they opened an oxbt dispenser ? On that addy
So they trading ?? Xcp assets threw. A cex ?? -
Ndax is the one
I sent them an email hmm
🤔 love to hear what they. Say -
Crazy that addy opened a dispenser for oxbt
And sold it for 13 btc haha
https://tokenscan.io/tx/546dd14ccf266574840983ff6f332d325e45de8439381c87e6ecf476695dd921 -
Someone exploited the fact that an exchange had published their new cold storage addresses and opened dispensers on them
-
Kind of a funny idea, but it was 90% of the activity for a long time
-
A quirk that will be a thing of the past with the update
-
How does that work?
Can anyone just set up a dispenser to send assets from the exchange's wallet? -
Ya I think maybe aomthing hinky going on there support contacted me
-
I guess if you want to burn your assets or show fake sales ya they could
-
It is possible to open up a dispenser on an any address with no activity, but that will no loger be possible
-
I would be okay with my blunder if I didn’t see that the adress has debits and credits to dispensers and it opened a dispenser too
Under a different addy
I wonder if some nerd somewhere figure that out ? -
And that scares me for loading my addy up with btc will this keep happening?
-
The update will prevent that from happening
-
my dispensers don't even work no more. You call that a update?
-
where is the tutorial video from the parties that changed it without asking ?
-
How is "no activity" defined in this case?
-
It's simply an address with no transaction history. This individual saw a tweet by the cex I believe where they would publish their addresses for transparency and he opened up a bunch of dispensers at wild prices
-
So they guy opening a dispenser at a CEX address was using his own assets (he deposited them at the CEX address?)?
-
Yeah
-
It hasn’t been updated yet…this is a you problem
-
implemented the decoding of counterparty-data just to get a feel for how data is embedded. Now when I look at my result I am wondering how I can get the Type, the Asset name and the Status? I used Jp Janssens decoder as an example so I knew that type was "Dispenser" for example and what the Asset name and status was.
-
(sorry status is irrelevant obv - need mapping for asset name and type only)
- 03 October 2024 (1 messages)
-
Hahha yup and there returning them also some hinky shit happend on there end
- 05 October 2024 (28 messages)
-
-
-
-
I’ve got btc wandering around in the atmosphere right now ??
-
-
-
-
-
Haha and now it’s finally sent lol sorry
-
-
-
-
🎊 Announcing Counterparty Core v10.4.3 🎊
This is a minor release with a number of bugfixes and minor improvements to the API. No special upgrade procedure. (Reminder: you must have upgraded to >= v10.4.0 in the next ~10 days!) Full release notes available on GitHub: https://github.com/CounterpartyXCP/counterparty-core/releases/tag/v10.4.3 💙 -
-
Thank you... found another one... not consistent, but still causing issues.. I can prolly work around it, but pls check into why get_running_info returns null data for last_block at times under 10.4
-
-
-
-
-
FYI... updated to 10.4.3 on my local node api01.coindaddy.io... still getting the last_block: null periodically on my local node... even after a restart... api.counterparty.io seems to be returning last_block fine... not sure why my local node is not passing last_block at times.. any ideas appreciated...
-
-
-
I tested this out 1000 times against my local node without reproducing.
The path where you could end up will NULL is here:
https://github.com/CounterpartyXCP/counterparty-core/blob/6bfc1a34f420929e03806c2f7b665ab8b94bfee8/counterparty-core/counterpartycore/lib/api/api_v1.py#L832
so one thing you could try would be directly running the query it's trying against the local db with a sql client.
"""SELECT * FROM blocks WHERE block_index = ?""",counterparty-core/counterparty-core/counterpartycore/lib/api/api_v1.py at 6bfc1a34f420929e03806c2f7b665ab8b94bfee8 · CounterpartyXCP/counterparty-coreCounterparty Protocol Reference Implementation. Contribute to CounterpartyXCP/counterparty-core development by creating an account on GitHub.
-
upgraded thanks!
-
yup. it's all live on testnet
-
-
Here's a step by step of how to do this. This line appears to be querying for something it already knows: util.CURRENT_BLOCK_INDEX. so @teysol could probably just get rid of this extra database query altogether, and set last_block to util.CURRENT_BLOCK_INDEX, unless I'm missing some subtlety.
Assuming you're on a default config, otherwise replace it with wherever your API database is.
sqlite3 counterparty-core/storage/counterparty-docker-data/counterparty/counterparty.api.db
sqlite> SELECT block_index FROM blocks WHERE ledger_hash IS NOT NULL ORDER BY block_index DESC LIMIT 1;
864327
sqlite> SELECT * FROM blocks WHERE block_index = 864327;
this should have at the 0th index the same number you queried for. -
- 06 October 2024 (1 messages)
-
yep i did reproduce it locally leaving the test on for a longer period of time
- 07 October 2024 (6 messages)
-
-
-
-
-
So that's a bug above. I filed it here: https://github.com/CounterpartyXCP/counterparty-core/issues/2316
But I think it should also be avoided by this open PR: https://github.com/CounterpartyXCP/counterparty-core/pull/2315
We have a testnet node at api.counterparty.io:14000 it's just been having difficulty staying up with testnet under attack recently, and possibly because of the above issues. -
- 08 October 2024 (2 messages)
-
-
- 09 October 2024 (9 messages)
-
when do the dispensers come back online?
-
Dispensers work right now
-
I just bought a RARETODDPEPE a couple hours ago
-
Ok I'm going to open a dispenser now
-
Haha fantastic
-
I can't open it already open
-
so my question is am i going to face a new process next time i open a dispenser??
-
If you have an actual bug report please file a ticket.
-
Otherwise protocol changes have not yet activated.
- 10 October 2024 (1 messages)
-
- 11 October 2024 (5 messages)
-
Joined.
-
Hello!
My name is Sako from the Zaif System Development Department.
I apologise for the delay in contacting customer support, but I was unable to join the Counterparty Slack workspace.
We are in the process of preparing our response to the upcoming upgrade. -
-
Thank you so much for your hard work on upgrading the node software and for taking the time to reach out to the community 🙏🙏🙏
-
fyi having another stability issue with both prod and dev testnet. open issue: https://github.com/CounterpartyXCP/counterparty-core/issues/2335
- 12 October 2024 (20 messages)
-
-
Also any way anyone knows this person
I got front run on an. Xcp dispenser and would love the xcp or $ back -
-
i can't see your history and it doesn't show on the blockchain where u sent btc to the dispenser
-
i could probably see it if you posted your whole address that photo is cutt off
-
One sec
-
Blockstream Block Explorer
Blockstream Explorer is an open source block explorer providing detailed blockchain data across Bitcoin, Testnet, and Liquid. Supports Tor and tracking-free.
-
It’s there received my btc but dispenser got emptied before my low fee transaction happened
-
-
@CosimaTacro
Any chance boss man of getting that btc back !? Let me know
Or if you have some more xcp I’ll take that ?! -
Any one know him ?! Them ?
-
-
I think 🤔 maybe the money came back lol I have to look I’m at volleyball
-
What is that ?
-
Yup it came out and I did not receive my .00484 btc back.
So I would love it if someone could have a look see if they know that adress ?! Any fair person would return that btc -
Houston Burrus (@neweramuzic) on X
Pump the #bass louder indigenous #tokenized RWAs got #power to discharge. #factsoverfiction !!!
-
I hear some what what your saying say more ? !
You talking. About this ? -
Or !?
-
Hmm 🤔 cool
-
Hmm 8 dispenses the rest look like sends
And also we are In the wrong chat for tokens - 13 October 2024 (6 messages)
-
-
-
Hi, Cody
Just to confirm, are you saying that you sent 0.00484 BTC but haven't received the XCP yet? -
Hi yes 🙌
I put low fees on it and it got emptied before my transaction went threw is all
But it was a lot of $ for me haha -
If you have more xcp I’d be fine to accept that or btc back ?! Even if xcp a higher price now
-
I dmed details if you need
- 14 October 2024 (33 messages)
-
I checked my wallet history and dispenses and confirmed the receipt of 0.00484 BTC.
-
-
Could you please confirm your wallet address?
-
Yes mine is 1lsb
1 Assets I’ve made determinpepe
1LSbNkNGUidmQavQPqbqPR1MxqmHzwwEuY -
I didn’t realize the issue and already transferred the funds to BYBIT EXCHANGE. The withdrawal fee from BYBIT is 0.000139 BTC, and I would greatly appreciate it if you could cover this cost.
-
Oh yes just send the remainder after the transfer I get it thanks 🙏🏼
-
Oh k I can send back the .000139
-
Send back to the same adress as received from ?!
-
I appreciate you ! For fixing this and I apologize. For the inconvenience.
Xcp is hot and I should always use larger fees haha 😂 -
Thank you so much for your understanding. I truly appreciate it!
YOUR ADDRESS:
1LSbNkNGUidmQavQPqbqPR1MxqmHzwwEuY
AMOUNT:
0.00484 - 0.000139 = 0.004701BTC
Is everything okay with this?
I will proceed with the transfer from BYBIT as soon as the final confirmation is complete. -
Oh yes if you just deduct that amount for transfer that’s fine thanks 🙏🏼
-
Glad you guys settled it but I think the main room is better for non dev conversations vs here
Plus more people will see it -
Sorry that’s was running around in my head
-
This will be my final post regarding this matter.
Txid:
f35c7f26b29a9dc5d908714f9c54fa8493254299738e2c777453cee6e7f635a5 -
DMs
-
@teysol Can you please add the Header set Access-Control-Allow-Origin: * to the next release? making requests to api.counterparty.io from a browser is failing due to this flag missing. The Pre-flight check request does not return this header, so no additional request is made, end result is that users who want to query the CP API from a browser to generate a tx are not able to.
-
-
Use JS and bypass it
-
-
-
-
-
Only need does in JS the cors error is because u are calling from u server to an external server
-
-
-
-
-
-
Dunno what to tell you other than it isn't working on public.tokenscan.io which just does a simple jquery request (same as it did to 9.61.3)... the ONLY difference (and the reason the request is failing) is because there is no Access-Control-Allow-Origin: * header being returned on the pre-flight check request or the actual request.
-
-
-
-
- 15 October 2024 (7 messages)
-
-
-
Counterparty Core API · Apiary
A place where APIs are kept.
-
So what happens to dispensers already opened ?!
-
So had my first message is this a payment to a dispenser that’s new ?! On rare pepe wallet i assume so you can use main addy as a dispenser eh
-
-
Hmm
- 16 October 2024 (77 messages)
-
Joined.
-
That's odd —- any idea why anyone would attack a testnet?
Is it possible they are practicing or looking for vulnerabilities they could exploit on the mainnet? -
-
-
Hey guys so am I gonna loose my assets if I send them lol
I have no idea if they are attached to utxos or not and how would I tell
And then. If there are what do you Do ?! -
Scary messages about loosing my assets in rare pepe wallet lol
Spooked me out of sending and buying
Others have been asking me too like I have any clue -
Nope you can send and buy as usual, no changes happening there.
-
All upcoming UTXO attachment changes will be handled carefully in the wallet UI, and you will have to OPT IN. This is a feature you will have to manually use yourself, you won’t just start losing assets Willy nilly.
-
Haha okay how could I tell if an asset is attached to a utxo?
Would that only be until the transactions fully clear ? -
Wallets and Explorer ui
-
No asset is binded..unless requested by user
-
Case use- market places, atomic
-
Lol if you don’t know what it is then don’t worry about it
-
It’s a preemptive warning
-
-
Haha sounds good
-
So if a user choses to bind an asset to a UTXO, what is to prevent that user from "accidentally" spending that UTXO in transaction? Are there any protections against accidental spending of the UTXO and sending the asset somewhere it wasn't intended... or is the only safeguard "Gotta have tight control of UTXO management in the wallet"?
-
I think there can't be any such safeguards without compromising the whole feature, at least at the protocol level. The goal is to be able to move your assets just like Bitcoin UTXOs, or like Rare Sats or whatever. There could be safeguards in the wallet, however.
-
text messaging
-
Utxo smart wallets
-
Unisat shows you if assets are in utxos that are about to be spent
-
Wallet avoids drawing payment from dust balance utxos
-
I’ve been thinking about the best way to handle in the wallet and I’m leaning toward using the change address associated with each wallet address via derivation path as the designated holder of utxos
-
thats why each address in the wallet should have its own set of private keys
-
Don't they already...
-
Each address has its own private key
-
what good is that going to do when it has the same 12 passwords ?
-
Sir
-
great, so your naturally going to come out with some type of guide on how to "safely" manage utxos for wallet developers who want to build wallets on the platform right?.... It would certainly seem to be unfair to add a feature to the platform, then only build it in your wallet... I realize your a for-profit company building for-profit projects.... but, your also building on a "community" platform... so, as such, I would expect some type of guidance to be put out on how to integrate fairmints and utxo binding in wallets.... (I am aware how to do it, just pointing out that without some guidance for "OTHER" devs, could be seen as unfair and sketcy.... even moreso than a "for-profit" company maintaining the "community" platform and private explorer and wallet).... not trying to be a jerk, just trying to make it clear how this could appear to an outsider.
-
A lot of this info is in the apiary doc
-
links? all I see is API docs (endpoints and params), not how to manage utxos... provide links pls
-
-
As I said, all I am seeing is endpoints and params...
https://counterpartycore.docs.apiary.io/#/introduction/events-reference/utxo-support
https://counterpartycore.docs.apiary.io/#/reference/compose/compose-attach
https://counterpartycore.docs.apiary.io/#/reference/compose/compose-detach
https://counterpartycore.docs.apiary.io/#/reference/compose/compose-movetoutxo
Dont see any sort of documentation or guidance on wallet/UTXO management, warnings about not to spend UTXOs with assets attached to them accidentally, warnings to only use compatible wallets, etc.
What is to stop a user from attaching an asset to a UTXO, then importing their private key into say, electrum, and sending some BTC to a different address? If I am not mistaken (which I may be), in the referenced case, the asset-bound UTXO would be spent, and the asset would be unintentionally sent along with the UTXO? Correct?Counterparty Core API · ApiaryA place where APIs are kept.
-
I mean those warnings are all over wallets before signing, also on Explorers when minting or buying from Dispensers....
-
But these are fair educational seminars for users
-
Alot of the practice is carried from other protocol requirements, so it's kind of becoming a space standard
-
As a new feature/tool educational seminars would be useful by community
-
I agree with that
-
what is to prevent someone from using "Horizon wallet" to attach an asset to a UTXO... then that same user using "Freewallet" to do a normal send via CP API... what safeguards are in place to prevent the unintentional spending of the UTXO? Does the counterparty-core automatically check for asset-bound utxos and NOT include them in transactions when generating txs to sign unless explicitly told to do so?
-
No this would be the users disclosure. User must be aware of which wallet or assets being used
-
Same way we juggle ordinals/runes on our leather or unisat
-
Ux needs to be there
-
Ui
-
I don't think it's the protocols job to not allow the spending of assets.....
-
forcing all the UTXO management up to the wallet level seems like a mistake... seems like you would want to, at the very least, enforce this rule I mentioned, so that anyone USING the CP API to generate transactions as they have in the past, do not accidentally spend an asset-bound UTXO..... shouldn't be that tough to tweak the UTXO selection method in counterparty-core to exclude UTXOS which have assets bound to them (if this is not already happening)
-
I know users who spend runes all the time, airdropped tokens or mints that went no where
-
Would suck if protocol stopped you from using those utxos
-
I mean if the idea is to stay in a corner with only xcp assets.
-
Brrr Guy if this doesn't happen people can potentially loose "money" correct?
-
Atomic is to open cross protocol swaps, and these warning and disclosures will be needed
-
but until recently, counterparty was an ADDRESS based protocol... now it is moving to a UTXO and ADDRESS based protocol... so, seems like there should be SOME basic protections in place on a protocol level... I understand if someone uses a UTXO on a non-CP compatible wallet, its the wild west... but if someone uses the CP API to generate a transaction which unintentionally spends a asset-bound UTXO, that is no good..... IMO you gotta at least do some "good faith efforts" to protect users on a protocol level from making mistakes.
-
correct.. 100% people will lose money if they use asset UTXO binding and then unintentionally spend that utxo
-
Will wait for a reply from @teysol on this 🙂
-
Interesting take.
-
But I mean for example Leather, OKX, and Tap/Universe Wallet are all preparing for such
-
If it's separation of assets or utxo management
-
elaborate what are they doing ?
-
But I do understand the difference from a CounterParty designated wallet and a multi protocol support
-
do they all use a centralized API to generate their transactions for signing? Counterparty does.... no wallets except for rarepepewallet.com generate their own txs... ALL of them use the CP API via (compose) functions to generate txs to sign in the wallet... all i'm saying is the CP API should have some basic protections... tweaking the UTXO selection model to exclude UTXOs that have assets bound to them is at least SOME level of protection
-
Things to continue learning. Did not know that was the only case
-
I do know hitting the api is most efficient
-
In terms of integration
-
counterparty is the foundation everywhere
-
-
They support stamps/src20s
-
Also Mintify made a comment of supporting xcp tokens
-
drop the link
-
So there is wallet developers across the Bitcoin Space watching
-
Why do you want to protect THIS at the protocol level but not dispensers, where users CONSTANTLY accidentally lose funds. Makes no sense
-
-
oh there's more than that watching....
-
Dime... lets focus on one thing at a time... dispensers fight is over.... I am now asking why not put some basic tweaks on the CP protocol to protect users from unintentionally spending utxos.... NOT doing so seems to be bad form... My interest is in protecting users from losing funds and assets (the ONLY reason I decided to update to 10.4 instead of fork).... lets keep this focused on the topic at hand... the new UTXO feature and how to protect users who use the CP API to generate transactions (everyone) from unintentionally spending UTXOs and losing funds
-
Fair mints information is somewhat out but not specifically how to do it in the wallets just a bunch of techie info lol 99 percent of us users and “buyers” and card makers are not up on GitHub info I mean just look at the GitHub follower counts there super low hah
So if fair mints starts tomorrow what do I do and how can I mint
Fairly ?! Im interested -
tweaking UTXO selection model to exclude asset-bound-utxos is easy to do... and, not interested in debating it back and forth... will wait for a definitive answer from @teysol .... not interested in wasting time/energy fighting on something.... just saying how I see things, offering suggestions on how to offer some basic protection on a protocol level, and will let the core dev give his reply. thx.
-
There’s an “exclude_utxos” parameter you can use with compose to filter out any asset-bound utxo
-
Until there are wallets implementing utxo binding it’s not going to be an issue, now is the time to determine best practices etc
-
cool, where is the endpoint I can use to get a list of all the asset-bound-utxos? it is on the wallet dev to dump a list of all the asset-bound-utxos, then add every one of those UTXOs to the exclusion list? What is your objection to tweaking the UTXO selection model in the CP API to automatically prevent using asset-bound-utxos except in the case where specifically using UTXO management endpoints attach/detach/moveto?
- 17 October 2024 (265 messages)
-
An exclude_utxos_with_assets parameter seems fine to me, no objections here
-
-
yeah this sounds great. does anyone know of an easy way to query runes/ordinals to see if someting is attached to a utxo? sounds cumbersome checking all potentials, but curious. ie if i have a utxo tx_hash, check x api's to see if something is there.
I would also presume the CP api calls like create_dispense would not select at least a CP bound utxo? -
I wouldn’t assume anything lol
-
Gotta just run tests against the api with some asset bound utxos
-
Until the tools are built normal users won’t have to worry about it
-
so Counterparty Core ideally shouldn't be doing *any* UTXO selection. that's properly the responsibility of a wallet. however, for historical reasons it does, and other wallets rely on that (including, for the moment, Horizon Wallet, which is... open source). in the long run, we should all move away from that architecture; but for the foreseeable future we'll of course maintain backwards compatibility. I don't think it's unreasonable to consider the safety implications of that. I've created a GitHub issue to require passing a flag to the compose API endpoints to allow spending UTXOs with assets attached: https://github.com/CounterpartyXCP/counterparty-core/issues/2375
-
So are you calling me normal thanks no one has ever called me that !
-
Good stuff !!
-
Joined.
-
Thank you sir👍🏻
-
Okay so the first bit of absolute goofiness just happened.
I sent to a dispenser I alway use and then I got a dispenser sale for hodlepet
That I never made don’t even know what the fuck that is but it took .002 btc from me ?? What the hell ?!
You can see they happened at the same second
Couldn’t buy two things like that if I tried !
So ? Was hodlepet also tied to the utxo of the dank meme cash I bought or ? -
-
-
Figure that one. Out ?
-
Interesting description on hodlpet
https://hodlpet.github.io/hodlpet -
-
-
I guess hodlpet is gonna be a fantastic little new tech trophy haha ? lol 😂
-
-
-
-
-
-
-
-
-
-
-
over an hour and a half and still not an acknowledgement of any issues from anyone on the core dev team.... am switching tokenscan.io and public.tokenscan.io back to using 9.61.3 for now... so FreeWallet users are at least able to keep generating transactions, and tokenscan.io users are at least able to have a working explorer... You guys can figure out the rest when you wake up and make it a priority to get the 10.4.XXX protocol and APIs back to a working state.
-
-
-
Joined.
-
Basic Node Telemetry · Issue #1522 · CounterpartyXCP/counterparty-core
So Counterparty nodes don't talk to each other directly. This means that there's currently no way of knowing even the most basic telemetry for who's running what version, etc. which is ...
-
-
-
-
-
-
-
Joined.
-
Thanks for the link.... I dont want my node sending any data to any other systems (and feel that should be disabled by default).... In the issue you linked I see Obviously all of this data is 100% anonymous and there'll be a flag to disable it entirely..... Yet I see no information on how to disable this feature... I would like info on how to disable this feature, as promised
-
-
-
-
-
2. Curious how all these mints from all these different addresses are taking place (thousands of them), all without any CP nodes being up... Its not a protocol issue per-se... just something to note that a ton of "MINTS" are being minted... and probably not by normal end-users.
-
Droplister announced that, could be him
-
-
-
yup, figured it is him, but didn't want to point fingers... just make ppl aware to make a mental note that the first "fair mint" on CP was done by an individual and not lots of users minting from lots of places (as the mints appearing from lots of addresses would indicate.
-
-
Nope, I switched to api.counterparty.io for the activation block since I was sleeping, will update mine in a couple hours
-
-
I found this on GitHub (tbc - haven't tested it myself):
NO_TELEMETRY = False
Look for the above line in your config.py file and change to True -
-
so I have to manually tweak a core file config.py in counterparty-core then recompile? vs using a simple flag when starting up? also, AFAIK counterparty releaes use docker images now (I see docker images being pulled every update), so... this isn't really a solution, manually editing a file... I would prefer to wait until we get some official answers from @teysol rather than accepting your semi-technical answers (no offense, but not sure your exactly aware of how counterparty-core operates and how running/updating a node work)
-
-
-
-
so you're the brave buying hodlpet 😂 looks like a ded projet now (no news from dev since many months), however welcome 😁
-
Not sure if anyone solved this already but I'm getting this
-
-
Should get the kinks worked out this am
-
Ok.. thanks ser
-
🚨 UPDATE 🚨
There was a bug with v10.4.x that caused the node to start processing blocks extremely slowly, causing downtime for wallets and other applications. We've released a new version v10.4.6 which addresses this issue, but there was unfortunately a regression in that version too. To get it to work, you need to pass --wsgi-server=werkzeug on the CLI, or add it to your Docker Compose config. We'll be releasing a new version shortly that addresses the issue more definitively. -
None
-
10.4.4 seems to be running fine on my two nodes. 10.4.6 is successful to upgrade with the regression or best to just wait it out?
-
I'm on 10.4.4 and it seems to be working fine too. Better to wait for 10.4.7?
-
-
Weird my v10.4.4 stopped at block 865999
-
yeah i'm surprised mine survived. on pretty low end vm's
-
-
Fair eh lol 😂 lmfao 🤣
-
It was some kind of accident?? Haha if you can screw something up I’m the guy to do it lol
-
No idea I will send you dm to not pollute this tg😁
-
Joined.
-
🚨 **v10.4.7 Hotfix Released** 🚨
There was a bug with v10.4.x that caused a large number of nodes to slow to a halt when processing transactions for UTXO support. We've released a new version v10.4.7 which completely addresses this issue and is fully backwards-compatible. If you're having issues with your node, please upgrade.
Release: https://github.com/CounterpartyXCP/counterparty-core/releases/tag/v10.4.7 -
None
-
Joined.
-
-
-
-
-
-
-
-
-
was the only fix from .6 to .7 the wsgi parameter?
-
-
cool, ill stick with .6
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
okay, v10.4.7 image is on Docker Hub 👌 https://hub.docker.com/layers/counterparty/counterparty/v10.4.7/images/sha256-606c2e564577061960cf2bba18a0ec0cbf31d976fb1673a44e551f5b1dc05035?context=repo
-
"no healthy upstream"
-
-
-
-
my api also just went down
-
-
its still parsing tho
-
my 10.4.4 went down. 10.4.7 coming online atm.
-
-
-
interesting, i don't see that, but i manually set the rpcuser and rpcpassword to something specific and not rely on what ends up in the bitcoin.conf. could be related i guess.
-
i got an error when restarting my node so im upgrading to 10.4.7 now
-
-
i noticed when i updated to 10.4.7 that it didnt have the wsgi parameter in the docker-compose
-
interesting, with get_running_info on 10.4.7 i get {"error": "Counterparty not ready"}
even though the logs on the container show it's caught up. -
did you just enable it by default or something
-
yep thats where im at with 10.4.7
-
{"error": "Counterparty not ready"}
-
-
but my API calls arent registering with counterparty-core
-
-
counterparty-core-1 | INFO:werkzeug:172.18.0.1 - - [17/Oct/2024 16:12:19] "POST /v1/ HTTP/1.0" 200 - is usually what i’ll see
-
and more verbose for v2
-
but im not seeing that at all when im getting this error
-
so right now v1 and v2 arent working
-
-
-
yeah v1 and v2 give me 'counterparty not ready'. but the logs look like it's caught up and talking to bitcoin core:
2024-10-17T16:13:50.282+00:00 - [ INFO] - Starting API Server...
2024-10-17T16:13:51.165+00:00 - [ INFO] - Starting API Server v1...
2024-10-17T16:13:51.165+00:00 - [ INFO] - Catching up...
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.10/dist-packages/counterpartycore/lib/api/api_watcher.py", line 942, in run
catch_up(self.api_db, self.ledger_db, self)
File "/usr/local/lib/python3.10/dist-packages/counterpartycore/lib/api/api_watcher.py", line 679, in catch_up
parse_event(api_db, next_event, catching_up=True)
File "/usr/local/lib/python3.10/dist-packages/counterpartycore/lib/api/api_watcher.py", line 659, in parse_event
update_assets_info(api_db, event)
File "/usr/local/lib/python3.10/dist-packages/counterpartycore/lib/api/api_watcher.py", line 417, in update_assets_info
if not existing_asset["issuer"]: # first issuance
TypeError: 'NoneType' object is not subscriptable
2024-10-17T16:14:04.591+00:00 - [ INFO] - RS Fetcher - Indexer initializing...
2024-10-17T16:14:04.592+00:00 - [ INFO] - RS Fetcher - Connecting to database: /data/counterparty/fetcherdb
2024-10-17T16:14:04.658+00:00 - [ INFO] - RS Fetcher - Connected
2024-10-17T16:14:04.658+00:00 - [ INFO] - RS Fetcher - Initialized
2024-10-17T16:14:04.658+00:00 - [ INFO] - RS Fetcher - First database op: GetMaxBlockHeight...
2024-10-17T16:14:04.658+00:00 - [ INFO] - RS Fetcher - First database op: GetMaxBlockHeight took 21.781µs
2024-10-17T16:14:04.658+00:00 - [ INFO] - RS Fetcher - First Bitcoin client op: GetBlockchainHeight...
2024-10-17T16:14:05.219+00:00 - [ INFO] - RS Fetcher - First Bitcoin client op: GetBlockchainHeight took 560.310673ms
2024-10-17T16:14:05.219+00:00 - [ INFO] - RS Fetcher - Starting at block height: 866080
2024-10-17T16:14:05.219+00:00 - [ INFO] - RS Fetcher - Targeting block height: 866080
2024-10-17T16:14:05.219+00:00 - [ INFO] - RS Fetcher - Fetcher started
2024-10-17T16:14:05.601+00:00 - [ INFO] - RS Fetcher - Entering reorg window
2024-10-17T16:14:06.627+00:00 - [ INFO] - Block 866080
2024-10-17T16:14:08.719+00:00 - [ INFO] - Block 866080 - 100000000000 MINTS minted for 0 XCP by 18Vtu2K7WLYmXAnzLYwB1iCLEy8FwPdWpX
2024-10-17T16:14:08.771+00:00 - [ INFO] - Block 866080 - 100000000000 MINTS minted for 0 XCP by 19gy8S8iEFsQz7UxQw27VD9r3Jm6Kddr6J
2024-10-17T16:14:08.817+00:00 - [ INFO] - Block 866080 - 100000000000 MINTS minted for 0 XCP by 1PmDiLb9CPDvB5NvqRqQMsoDBbQCo55WBv -
with one seemingly minor exception 🙂
-
-
-
yes same here, everything parsing just fine, just no communication via API
-
im seeing the same error you’re getting too
counterparty-core-1 | parse_event(api_db, next_event, catching_up=True)
counterparty-core-1 | File "/usr/local/lib/python3.10/dist-packages/counterpartycore/lib/api/api_watcher.py", line 659, in parse_event
counterparty-core-1 | update_assets_info(api_db, event)
counterparty-core-1 | File "/usr/local/lib/python3.10/dist-packages/counterpartycore/lib/api/api_watcher.py", line 417, in update_assets_info
counterparty-core-1 | if not existing_asset["issuer"]: # first issuance
counterparty-core-1 | TypeError: 'NoneType' object is not subscriptable -
-
-
{"result": {"server_ready": false, "network": "mainnet", "version": "10.4.7", "backend_height": 866086, "counterparty_height": 866077, "documentation": "https://counterpartycore.docs.apiary.io/", "routes": "http://api.counterparty.wtf/v2/routes", "blueprint": "https://raw.githubusercontent.com/CounterpartyXCP/counterparty-core/refs/heads/master/apiary.apib”}}Counterparty Core API · Apiary
A place where APIs are kept.
-
its interesting that the api can be behind but the node isnt
-
-
gotcha, is it just a caching thing then that it gives a result with the wrong block for counterparty_height?
-
-
-
ah ok
-
-
appreciate the update
-
there are three known issues: https://github.com/CounterpartyXCP/counterparty-core/milestone/39v10.4.8 Milestone · CounterpartyXCP/counterparty-core
Counterparty Protocol Reference Implementation. Contribute to CounterpartyXCP/counterparty-core development by creating an account on GitHub.
-
some endpoints still work oddly
-
-
-
so that works on v2 AND on v1
-
-
-
-
ah ok so makes sense it would let the blocks call through
-
-
yeah maybe not all calls to /blocks...
-
its still behind tho, just the API not the node itself
-
node is on Block 866087 but the get_blocks call only gives me through 866078
-
counterparty-core-1 | 2024-10-17T17:40:54.663+00:00 - [ ERROR] - Bitcoin Core ZeroMQ notifications are incorrectly configured. The following notification must be enabled: ['pubrawtx', 'pubhashtx', 'pubsequence', 'pubrawblock']
counterparty-core-1 | 2024-10-17T17:40:54.663+00:00 - [ WARNING] - Sleeping 5 seconds, catching up again, then retrying...
counterparty-core-1 | 2024-10-17T17:40:59.668+00:00 - [ INFO] - Catching up...
counterparty-core-1 | 2024-10-17T17:41:01.178+00:00 - [ INFO] - Catch up complete. -
-
not here, i did notice the zmq wasn't setup in the bitcoin.conf which seemed odd to me tho
-
👀....
-
-
fwiw im not seeing that
-
docker-compose.yml is the same as my 10.2.0 backup
-
could be possible to share it?
-
its whats in the counterparty-core release
-
i do have a couple extra flags for counterparty-core zmq
-
which also doesnt appear to be working
-
another weird thing with the blocks call is null hashes for 866078
-
"result": [
{
"block_index": 866078,
"block_hash": "00000000000000000002e51e276363d707cc1750b99e2c3a88ccf920b74a757b",
"block_time": 1729180747,
"previous_block_hash": "00000000000000000002b8b8caaded272bd77a2c034160f7ca47b3553a7e42c7",
"difficulty": 386076365,
"ledger_hash": null,
"txlist_hash": null,
"messages_hash": null,
"transaction_count": null,
"confirmed": true
},
{ -
but when you call the block all the messages are in there
-
-
v2/blocks
-
so another funky thing
-
{"result": {"block_index": 866078, "block_hash": "00000000000000000002e51e276363d707cc1750b99e2c3a88ccf920b74a757b", "block_time": 1729180747, "previous_block_hash": "00000000000000000002b8b8caaded272bd77a2c034160f7ca47b3553a7e42c7", "difficulty": 386076365, "ledger_hash": null, "txlist_hash": null, "messages_hash": null, "transaction_count": null, "confirmed": true}}
-
this is the result of v2/blocks/866078
-
but there is an old v1 call
-
"method": "get_blocks",
"jsonrpc": "2.0",
"params": {
"block_indexes" : [866078]
},
"id": 0
} -
and that will return a message list
-
and this is the last message in the list when you call the tx…
-
"result": [
{
"tx_index": 2764174,
"tx_hash": "1bd7ad0f3582b0cf03f91a56382ae131447b2d9add0e7b363ee91e27e213e790",
"block_index": 866078,
"block_hash": "00000000000000000002e51e276363d707cc1750b99e2c3a88ccf920b74a757b",
"block_time": 1729180747,
"source": "1MZUaVy6y7vmwh2MqMKTFy2JiqXteyevpN",
"destination": "",
"btc_amount": 0,
"fee": 100000,
"data": "5a464149525354414d507c50455045454d4252594f7c307c317c3130303030307c313030303030303030307c307c307c307c307c307c307c307c317c317c307c275354414d503a2f396a2f34414151536b5a4a5267414241514141415141424141442f3277424441414d434167494341674d434167494441774d44424159454241514542416747426755474351674b43676b4943516b4b4441384d4367734f43776b4a4452454e44673851454245514367775345784951457738514542442f3277424441514d4441775144424167454241675143776b4c454241514542415145424151454241514542415145424151454241514542415145424151454241514542415145424151454241514542415145424151454241514542442f7741415243414143414149444152454141684542417845422f38514146414142414141414141414141414141414141414141414143502f4541427751414149434177454241414141414141414141414141414543417755454278454142762f45414255424151454141414141414141414141414141414141414159482f38514149684542414145444167634241414141414141414141414141514944424155414551595449535178513146792f396f4144414d424141495241784541507741783747754c614c595030386364706c6f69584f6171717337414143642041447668567278586e2052447671336739732f6e36314a7350663364624857395370566b795951565a4b71784e31642071362f2f32513d3d27",
"supported": true,
"utxos_info": "1bd7ad0f3582b0cf03f91a56382ae131447b2d9add0e7b363ee91e27e213e790:0"
}
],
"id": 0,
"jsonrpc": "2.0"
} -
no destination
-
very strange
-
hmm maybe not, if its asset creation
-
i'm just confused why we are seeing new trx coming in while everyones node is down lol. where is that mysterious node?
-
At least a couple were me lol
-
I’m building txs in the client so don’t need the node
-
You can go around nodes?
-
Send me that inbox please
-
👻 **v10.4.8 Hotfix Released** 👻
Following the activation of the protocol changes at block 866,000 the network has been experiencing intermittent outages, due to a number of bugs not caught by our testing. We've just released a new version of the node software—Counterparty Core v10.4.8—which addresses all known issues and is completely backwards-compatible. All users should upgrade as soon as possible. Thanks everyone for the patience with the downtime. 🙏
Detailed release notes: https://github.com/CounterpartyXCP/counterparty-core/releases/tag/v10.4.8 -
None
-
counterparty-core-1 | 2024-10-17T19:59:49.003+00:00 - [ WARNING] - Sleeping 5 seconds, catching up again, then retrying...
counterparty-core-1 | 2024-10-17T19:59:54.008+00:00 - [ INFO] - Catching up...
counterparty-core-1 | 2024-10-17T19:59:54.080+00:00 - [ INFO] - Catch up complete.
counterparty-core-1 | 2024-10-17T19:59:54.082+00:00 - [ ERROR] - Bitcoin Core ZeroMQ notifications are incorrectly configured. The following notification must be enabled: ['pubrawtx', 'pubhashtx', 'pubsequence', 'pubrawblock'] -
-
-
-
-
when counterwallet back online?
-
-
-
In case you missed it — https://t.me/Counterparty_XCP/241602Adam in Official Counterparty Chat
🎊 ANNOUNCEMENT 🎊 Unspendable Labs has just launched *Horizon Wallet*, a modern Counterparty wallet available at https://wallet.unspendablelabs.com Right now it's a pure web wallet, but it'll soon be a downloadable web extension that lives in your browser, and we'll also be releasing a native mobile version soon. Current functionality is basically just Send + Issue, but you'll be able to import your seed phrase / private keys from Counterwallet or any other Counterparty wallet. Over the coming months we'll be implementing all of the core functionality of Counterparty, including the Atomic Swaps feature that was just released and will activate in a few weeks (see https://github.com/CounterpartyXCP/counterparty-core/releases). Also be sure to check out Horizon Explorer (https://explorer.unspendablelabs.com), which has been improving incrementally since its launch.
-
-
-
4.8 is the one
-
6 unconfirmed actions are they going to confirm ? lol what’s the time on those
-
-
on v10.4.8 I'm getting a good result:
> http GET 'localhost:4000/v2/blocks/866078'
HTTP/1.1 200 OK
Alt-Svc: clear
Content-Length: 554
access-control-allow-headers: *
access-control-allow-methods: *
access-control-allow-origin: *
content-type: application/json
date: Thu, 17 Oct 2024 20:30:54 GMT
server: Werkzeug/3.0.1 Python/3.10.12
via: 1.1 google
x-bitcoin-height: 866103
x-counterparty-height: 866103
x-counterparty-ready: True
x-counterparty-version: 10.4.8
{
"result": {
"block_hash": "00000000000000000002e51e276363d707cc1750b99e2c3a88ccf920b74a757b",
"block_index": 866078,
"block_time": 1729180747,
"confirmed": true,
"difficulty": 386076365,
"ledger_hash": "c96b85abb8254ec9ff0ecfd8b4fe93930632e7977d25308c679a67d1f09fbe88",
"messages_hash": "3e0dd298209e8c2cf0e17c5c2e3b65a775001bd9a5c3447d69841659d27169e7",
"previous_block_hash": "00000000000000000002b8b8caaded272bd77a2c034160f7ca47b3553a7e42c7",
"transaction_count": 49,
"txlist_hash": "1acd0b7b50c095a9bf42a2c083a5c6110e38a509485dd4ebd8796f41b0bf321a"
}
} -
Yeah all good here
-
Stamps back to indexing validating a node on a full parse too
-
-
-
V1 and v2 apis confirmed as well
-
-
-
what is the command to run via docker compose?
-
-
-
-
-
-
btw, still seeing:
'no healthy upstream' on api.counterparty.io -
i can dig in some more on the api construction, but any thoughts on why the fairminter create api endpoint would bork up a base64 string and change the data when it adds to the description field?
input: /9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/2wBDAQMDAwQDBAgEBAgQCwkLEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBD/wAARCAACAAIDAREAAhEBAxEB/8QAFAABAAAAAAAAAAAAAAAAAAAACP/EABwQAAIBBQEAAAAAAAAAAAAAAAECAwAEBQYHIf/EABUBAQEAAAAAAAAAAAAAAAAAAAAH/8QAHhEBAAIBBAMAAAAAAAAAAAAAAQIDEQAEITEFBkH/2gAMAwEAAhEDEQA/ABJtHXOrwbNl4YOnbZHHHfXCoi5q5CqokYAAB/BV5j634XcBbbs6pSlyrXBVeVVMqvbpZVXTNrriERwAYAOgPga//9k=
output (with spaces added and an extra ' at the end of the description.
/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/2wBDAQMDAwQDBAgEBAgQCwkLEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBD/wAARCAACAAIDAREAAhEBAxEB/8QAFAABAAAAAAAAAAAAAAAAAAAACP/EABwQAAICAwEBAAAAAAAAAAAAAAECAwUEBxEABv/EABUBAQEAAAAAAAAAAAAAAAAAAAYH/8QAIhEBAAEDAgcBAAAAAAAAAAAAAQIDBAUAEQYTISQxQ1Fy/9oADAMBAAIRAxEAPwAx7GuLaLYP08cdploiXOaqqs7AACd ADvhVrxXn RDvq3g9s/n61JsPf3dbHW9SpVkyYQVZKqxN1d q6//2Q==' -
kind of odd if it changes regular text strings as well.
-
back to p2wsh for data 🙂
-
you can add data to a fairminter?
-
should work yes, this data is not processed by counterparty afaik
-
the description field.
-
aka stamp:base64 encoding=multisig
-
-
the stamp: came through ok and detected as a stamp, but the description got mangled somewhere along the way
-
next up unprunable fairmint stamps 😉
-
result": [
{
"tx_hash": "1bd7ad0f3582b0cf03f91a56382ae131447b2d9add0e7b363ee91e27e213e790",
"tx_index": 2764174,
"block_index": 866078,
"source": "1MZUaVy6y7vmwh2MqMKTFy2JiqXteyevpN",
"asset": "A13917892337457772759",
"asset_parent": "PEPEEMBRYO",
"asset_longname": "PEPEEMBRYO.FAIRSTAMP",
"description": "'STAMP:/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/2wBDAQMDAwQDBAgEBAgQCwkLEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBD/wAARCAACAAIDAREAAhEBAxEB/8QAFAABAAAAAAAAAAAAAAAAAAAACP/EABwQAAICAwEBAAAAAAAAAAAAAAECAwUEBxEABv/EABUBAQEAAAAAAAAAAAAAAAAAAAYH/8QAIhEBAAEDAgcBAAAAAAAAAAAAAQIDBAUAEQYTISQxQ1Fy/9oADAMBAAIRAxEAPwAx7GuLaLYP08cdploiXOaqqs7AACd ADvhVrxXn RDvq3g9s/n61JsPf3dbHW9SpVkyYQVZKqxN1d q6//2Q=='",
"price": 0,
"quantity_by_price": 1,
"hard_cap": 1000000000,
"burn_payment": false,
"max_mint_per_tx": 100000,
"premint_quantity": 0,
"start_block": 0,
"end_block": 0,
"minted_asset_commission_int": 0,
"soft_cap": 0,
"soft_cap_deadline_block": 0,
"lock_description": true,
"lock_quantity": true,
"divisible": false,
"pre_minted": false,
"status": "open",
"earned_quantity": null,
"commission": null,
"paid_quantity": null,
"confirmed": true
},
description is wrapped with ' -
ooooh so its a fairmint of a new asset
-
as opposed to MINTS
-
fairmint of an existing asset
-
fml.... spamming the UTXO set with "forever" entries is def going to get stamps a bad name... also why I think it can't scale long-term... your abusing the UTXO set, requiring every node to have more RAM to hold these "unprunable" UTXOs in memory... I can sorta see a value prop to having the IMAGE data stored in utxos... but storing every mint in a forever UTXO IMO is just really abusive... but what do I know 😂️️️️️️
-
yeah i guess the quotes were a problem. this was the api call
https://api.counterparty.io:4000/v2/addresses/1MZUaVy6y7vmwh2MqMKTFy2JiqXteyevpN/compose/fairminter?asset=ORTUS&encoding=multisig&lock_quantity=true&divisible=false&max_mint_per_tx=100000&hard_cap=1000000000&description='STAMP:/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/2wBDAQMDAwQDBAgEBAgQCwkLEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBD/wAARCAACAAIDAREAAhEBAxEB/8QAFAABAAAAAAAAAAAAAAAAAAAACP/EABwQAAIBBQEAAAAAAAAAAAAAAAECAwAEBQYHIf/EABUBAQEAAAAAAAAAAAAAAAAAAAAH/8QAHhEBAAIBBAMAAAAAAAAAAAAAAQIDEQAEITEFBkH/2gAMAwEAAhEDEQA/ABJtHXOrwbNl4YOnbZHHHfXCoi5q5CqokYAAB/BV5j634XcBbbs6pSlyrXBVeVVMqvbpZVXTNrriERwAYAOgPga//9k='&allow_unconfirmed_inputs=true&exact_fee=100000&lock_description=true
however i'm super confused how it ended up with spaces in the base64 -
kinda like you stamps guys were doing when you were doing an issuance for every "MINT" tx... aka "shitting in the sink".. but alas, I digress... this is what CP is for now I guess since we now embrace that type of abusive behavior on bitcoin.. lol... now back to updating tokenscan.io
-
lol. i seriously doubt anyone will do these. if they do it will likely be on P2WSH for the 'deploy' but at least any transfer or sale on atomic swap won't impact the utxo set.
-
plus the mints don't need to be multisig, just the deploy or fairminter trx
-
-
just fkn around anyway. more concerned why the description would get mangled.
-
3 random spaces and actual chars converted into something completely different
-
Curious tho why we have the same data stored in the fairmints table and issuances tables.... kinda seems like we're unnecessarily storing data twice in CP... @teysol ... any insight into why you didn't just store the data in the fairmints table and are also writing the same data to issuances table?
-
-
back to: no healthy upstream