• 01 December 2023 (2 messages)
  • @jdogresorg #8792 08:02 PM, 01 Dec 2023
    Release v9.61.1 · CounterpartyXCP/counterparty-lib

    9.61.1 Release Notes This is a hotfix release which fixes a parsing issue which stops counterparty from parsing. Fixed invalid null description on first issuance (PR #1283) Fixed issue with transa...

  • @jdogresorg #8793 08:08 PM, 01 Dec 2023
    Counterparty encountered a parsing issue with the new issuance IDs and doing a first issuance with description set to null...

    Javier and I identified the issue immediately after 9.61.0 activation in block #819,301. The issue was identified in my testing of the new issuance formats on mainnet.

    Counterparty API servers were down for a total of 31 minutes while Javier and I diagnosed/debugged the issue, got a fix in place, tested it, and deployed it to the API servers.

    Additionally, I have also done a bunch of tests of the new issuance formats (asset/subasset ids 22/23) on mainnet... issue, reset, lock, transfer, etc.... all seem to be working as expected... so, putting out this hotfix release ASAP.
  • 02 December 2023 (24 messages)
  • @FinanceAdvisorNFT #8794 06:57 AM, 02 Dec 2023
    Joined.
  • @FinanceAdvisorNFT #8795 06:58 AM, 02 Dec 2023
    Hey, after updating to hotfix, im still getting errors. On addrindexrs:
    Wrong addrindexrs version: 0.4.1 is needed but 0.4.0 was found
  • @FinanceAdvisorNFT #8796 07:07 AM, 02 Dec 2023
    And another question, does anybody succesfully launched fednode on virtual machine, like vmware environment? Now currently i was able to launch it on hardware directly, running ubuntu
  • @jdogresorg #8797 09:35 AM, 02 Dec 2023
    Make sure you follow the steps to upgrade to 9.61.0… sounds like you skipped updating addrindexrs
  • @FinanceAdvisorNFT #8798 09:36 AM, 02 Dec 2023
    What about running on virtual env? Is it possible?
  • @jdogresorg #8799 09:38 AM, 02 Dec 2023
    Not sure of ur environment… I run all my fednode on dedicated hardware.
  • @jdogresorg #8801 09:38 AM, 02 Dec 2023
    cd federatednode/
    git pull
    fednode stop
    fednode update
    fednode stop
    fednode rebuild bitcoin bitcoin-testnet --no-cache
    fednode rebuild addrindexrs addrindexrs-testnet --no-cache
    fednode rebuild counterparty counterparty-testnet --no-cache
    fednode stop
    sudo su
    rm -rf data/addrindexrs/*
    rm -rf data/counterparty/*
    exit
    fednode start
  • @jdogresorg #8802 09:39 AM, 02 Dec 2023
    Run those commands to update ur fednode n rebuiild addrindexrs n u should be good👍🏻
  • @FinanceAdvisorNFT #8803 09:39 AM, 02 Dec 2023
    Thanks!
  • @jdogresorg #8804 09:39 AM, 02 Dec 2023
  • @sn_noop2 #8805 12:09 PM, 02 Dec 2023
    Hi, I have an issue with closing a dispenser.

    From Freewallet, when I attempt to close a dispenser from open_address, CP returns the error "no asset X dispenser from this addy"

    I know there was an update on it and so I've tried to close from source, creating the same tx as the open dispenser but with "escrow 0, give 0, status 10" and broadcast it.

    Dispenser is not open anymore but in "pending" state, no assets return =/ have I made something wrong?

    disp: https://xchain.io/tx/83e4691b7021494712a226adfd3e7084bd695362139bb4a8ff289784d757817d

    close tx:
    https://blockstream.info/tx/1a9dca6ff78a27da6906176ab284753d46f917bd3eea64da083925a0c68a25db
    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.

  • "result": {
    "tx_index": 2541221,
    "tx_hash": "83e4691b7021494712a226adfd3e7084bd695362139bb4a8ff289784d757817d",
    "block_index": 819191,
    "source": "bc1qmpnde0wl2quf0kmzvnf7q5mhpkt92ytm96v6yf",
    "asset": "A241301190000000002",
    "give_quantity": 1,
    "escrow_quantity": 200,
    "mainchainrate": 27000,
    "fiat_price": "",
    "fiat_unit": "",
    "oracle_price": "",
    "satoshi_price": "",
    "status": 10,
    "give_remaining": 0,
    "oracle_address": null,
    "oracle_price_last_updated": "",
    "asset_longname": null
    },
    "id": 0,
    "jsonrpc": "2.0"
    }
  • @hodlencoinfield #8807 02:36 PM, 02 Dec 2023
    showing as closed
  • @hodlencoinfield #8808 02:36 PM, 02 Dec 2023
    there is a 5 block delay now on closing so thats probly what the pending was
  • @sn_noop2 #8811 03:53 PM, 02 Dec 2023
    Oh sorry thx, forgot there was this "security". Awesome 🔥 gg for this great feat
  • @jdogresorg #8812 04:49 PM, 02 Dec 2023
    FYI... issue was a display issue on xchain.io which has been resolved.... your dispenser should now show "Closed"... I also added the origin field to the dispenser page.... should make it easier to see exactly what address funded a dispenser... and when a dispenser is closed, make it easier to track where the escrowed dispenser funds went (either to source or origin address)
  • @jdogresorg #8813 04:50 PM, 02 Dec 2023
    I see in this transaction you were using the new origin field to close the dispenser and return the funds to origin... so figured origin address might be a good thing to add 😛
  • @jdogresorg #8814 04:50 PM, 02 Dec 2023
    you can see when you closed the dispenser, the escrowed funds were credited back to the origin address 🙂
  • @sn_noop2 #8816 04:53 PM, 02 Dec 2023
    This is awesome, no more need to send back assets or send funds to the dispenser without enough funds to close/send back. 💪

    May need to update FW with this tho
  • @jdogresorg #8817 04:58 PM, 02 Dec 2023
    yeah... i'll make some updates to FW to make managing addresses from origin a bit easier.... the FW update I put out a couple days ago DOES do away with passing the description forward in issuances... so, asset transfers are really cheap now for users and they dont lose their asset description... so latest release takes advantage of SOME of the new features... will work on adding more to FW, as always ;)
  • @jdogresorg #8818 04:59 PM, 02 Dec 2023
    I believe joe is going to be building some address management stuff into RPW as well... this origin update (Joes idea) is amazing 🙂
  • @hodlencoinfield #8819 05:00 PM, 02 Dec 2023
    this also allows dispensers to go direct to cold storage
  • 03 December 2023 (65 messages)
  • This is great for all 0 asset stamps where the only way to sell would be through ownership transfer on the issuance.

    Otherwise stamps with assets only key off the issuer/creator/artist field and rely on ownership of the underlying tokens. Transferring ownership at the issuance level serves no real purpose on anything > 1 qty.

    We relied on this expensive mechanism to help prevent users doing such things previously, but now the doors are open for more 0 issuances in reality since they can be cheaply sold/traded.
  • @reinamora_137 #8821 12:15 AM, 03 Dec 2023
    Whose idea was this in a world where 0 issuances are seen as spam?
  • @reinamora_137 #8822 12:17 AM, 03 Dec 2023
    I’d seriously vote to roll that feature back to avoid more controversy
  • @hodlencoinfield #8823 12:21 AM, 03 Dec 2023
    It’s to the benefit of stamps that they don’t need to be restamped on transfer, but really it’s just an expected behavior, if you aren’t changing a description in your message there’s no reason to have to rewrite it
  • @reinamora_137 #8824 12:22 AM, 03 Dec 2023
    Now all src-20 tokens and similar become tradable on the issuance level further incentivizing such behavior of spamming
  • @hodlencoinfield #8825 12:22 AM, 03 Dec 2023
    They always were just slightly more expensive
  • @reinamora_137 #8826 12:23 AM, 03 Dec 2023
    There is zero benefit here realistically as described
  • @hodlencoinfield #8827 12:23 AM, 03 Dec 2023
    The benefit is for stamps that aren’t src20 and anything with a long description
  • @reinamora_137 #8828 12:24 AM, 03 Dec 2023
    It serves no purpose. Stamps are immutable. Creator/issuer can not be changed and all ownership is at the asset layer. The owner field on the issuance is ignore for a reason on anything but 0 issuance
  • @reinamora_137 #8829 12:25 AM, 03 Dec 2023
    So now that src-20 are easily transferred they can now be usable on CP so the spam argument disappears
  • @hodlencoinfield #8830 12:25 AM, 03 Dec 2023
    They’ve always been transferrable
  • @reinamora_137 #8831 12:26 AM, 03 Dec 2023
    But the cost made it not worthwhile
  • @hodlencoinfield #8832 12:26 AM, 03 Dec 2023
    Really? Isn’t an src20 small?
  • @reinamora_137 #8833 12:26 AM, 03 Dec 2023
    Even so they are usable on CP so the spam argument is even more nonsense now
  • @hodlencoinfield #8834 12:27 AM, 03 Dec 2023
    But it’s really beside the point
  • @reinamora_137 #8835 12:27 AM, 03 Dec 2023
    Not really. This was a bad idea and encourages more 0 issuance which are frowned upon
  • @hodlencoinfield #8836 12:27 AM, 03 Dec 2023
    It’s not an update for stamps, it’s an update for all of counterparty
  • @reinamora_137 #8837 12:28 AM, 03 Dec 2023
    Oh well he specifically mentioned stamps above.
  • @hodlencoinfield #8838 12:28 AM, 03 Dec 2023
    Assets that use arweave for example, the description is too long to use opreturn
  • @reinamora_137 #8839 12:28 AM, 03 Dec 2023
    I’m sure it’s fine for CP just not well thought through on the position of anti-spam
  • @hodlencoinfield #8840 12:29 AM, 03 Dec 2023
    I wouldn’t call it an anti spam mechanism
  • @reinamora_137 #8841 12:29 AM, 03 Dec 2023
    Well this encourages “spam” through more 0 issuances
  • @reinamora_137 #8842 12:31 AM, 03 Dec 2023
    Spam is ok if it’s not stamps basically is what I’m hearing lol
  • @hodlencoinfield #8843 12:31 AM, 03 Dec 2023
    I guess we’ll see then, you know more why someone would do these types of txs
  • @reinamora_137 #8845 12:32 AM, 03 Dec 2023
    Yeah and as I say it drastically increases the usefulness of 0 issuance stamps or not. From prior chats 0 issuances are considered spam
  • @reinamora_137 #8846 12:32 AM, 03 Dec 2023
    I mean it did open up a lot of potential for us to build some creative things but I fear it would create more fire alarms of spam.
  • @hodlencoinfield #8847 12:32 AM, 03 Dec 2023
    Imagine src 20 used shorter descriptions where they fit with an opreturn anyway then this has zero effect
  • @reinamora_137 #8848 12:33 AM, 03 Dec 2023
    Then they wouldn’t be immutable and the whole thing is ded
  • @hodlencoinfield #8849 12:33 AM, 03 Dec 2023
    What?
  • @hodlencoinfield #8850 12:33 AM, 03 Dec 2023
    Opreturn not immutable?
  • @reinamora_137 #8851 12:34 AM, 03 Dec 2023
    As tied to the stamp meme
  • @reinamora_137 #8852 12:34 AM, 03 Dec 2023
    Not an option really
  • @hodlencoinfield #8853 12:34 AM, 03 Dec 2023
    I mean you guys can make up your own memes whatever, this update just happens to help you because you use long descriptions for your memes
  • @reinamora_137 #8854 12:35 AM, 03 Dec 2023
    Nbd just fair warning if zero issuance flood the table again. This makes it a ton easier
  • @hodlencoinfield #8855 12:35 AM, 03 Dec 2023
    I’m not about to have that argument lol
  • @reinamora_137 #8856 12:36 AM, 03 Dec 2023
    This encourages them
  • @hodlencoinfield #8857 12:36 AM, 03 Dec 2023
    If that’s a side effect then I guess we’ll find out
  • @hodlencoinfield #8858 12:36 AM, 03 Dec 2023
    Sounds like you were gonna do it anyway
  • @hodlencoinfield #8859 12:36 AM, 03 Dec 2023
    I don’t know why a couple dollars would change your mind either way
  • @hodlencoinfield #8860 12:37 AM, 03 Dec 2023
    If it’s for the meme then do it or not
  • @reinamora_137 #8861 12:37 AM, 03 Dec 2023
    Wouldn’t do unless something like this came along to open up more potential lol
  • @hodlencoinfield #8862 12:37 AM, 03 Dec 2023
    I’m glad the update is a positive for you!
  • @jdogresorg ↶ Reply to #8854 #8863 12:37 AM, 03 Dec 2023
    if zero issuances flood again, the community and maintainers of the project can decide what the best tactic is to deal with them.... a.) Add an XCP fee on every issuance, not just first, including numerics.... or b.) add a rule that new issuances must issue at least 1 supply.... point is, as spam comes up, CP community can react quickly and appropriately.
  • @hodlencoinfield #8864 12:37 AM, 03 Dec 2023
    That’s what I was trying to tell everyone, all good stuff people want
  • @reinamora_137 #8865 12:38 AM, 03 Dec 2023
    as long as it doesn’t create more arguments later it is
  • We can’t predict that
  • @hodlencoinfield #8867 12:38 AM, 03 Dec 2023
    Plus there will always be arguments
  • @hodlencoinfield #8868 12:38 AM, 03 Dec 2023
    They will never end
  • @reinamora_137 #8869 12:39 AM, 03 Dec 2023
    Lol. How come we don’t have any arguments on stamp dev. Too early to find them I guess.
  • You’re all chasing the dragon still
  • @hodlencoinfield #8871 12:40 AM, 03 Dec 2023
    Arguments are good imo
  • @hodlencoinfield #8873 12:40 AM, 03 Dec 2023
    It means people care and want to stick around
  • @jdogresorg #8874 12:40 AM, 03 Dec 2023
    maybe cuz you left the channel? 🤷️️️️️️
  • @hodlencoinfield #8875 12:40 AM, 03 Dec 2023
    Easier to leave then argue
  • Lol that was your channel for trolling not the actual stamps dev group.
  • @jdogresorg #8877 12:42 AM, 03 Dec 2023
    ahh... my bad... your right it was the channel I created on day 2 of stamps and invited all the devs to to try and coordinate.... sorry you saw it as a trolling channel... water under the bridge... lets move past it
  • @6517313784 #8878 01:06 AM, 03 Dec 2023
    this issuance thing is a big problem. Ispent $24 btc on the last one. How do i get this thing to actually issue the tokens instead of just keep taking my bitcoin?
  • My main point here is please do not claim something is good for stamps when it has zero impact or even a negative impact to the stamps community by making it easier to waste fees on changing a db value that is not used in the stamps ecosystem. And when it is it’s only on the 0 issuance which are always of contention so this is a very confusing claim.
  • @jdogresorg #8880 01:27 AM, 03 Dec 2023
  • @reinamora_137 #8881 01:28 AM, 03 Dec 2023
    I suppose a simpler request to digest would be just remove the word stampers from your post lol
  • @jdogresorg #8882 02:01 AM, 03 Dec 2023
    comment here edited to remove the word "stampers"... it now says... "so, asset transfers are really cheap now for users and they dont lose their asset description".
  • @jdogresorg #8883 02:01 AM, 03 Dec 2023
  • @reinamora_137 #8884 03:58 AM, 03 Dec 2023
    🤗
  • 04 December 2023 (61 messages)
  • @jp_janssen #8885 03:05 PM, 04 Dec 2023
    Long descriptions must be encoded on transfer to make the DB impact propositional to the BTC fee. Please don't tell me this is not the case anymore.
  • @reinamora_137 #8886 03:06 PM, 04 Dec 2023
    Haha my point exactly. Was an anti spam mechanism.
  • @reinamora_137 #8887 03:11 PM, 04 Dec 2023
    inconsistent arguments saying some things are spam on issuances, but making it cheaper and easier to spam the table in other types of transactions.
  • @jdogresorg ↶ Reply to #8885 #8888 03:31 PM, 04 Dec 2023
    If we see issuance spam becoming a problem, we can address it by instituting a per-issuance XCP fee (which your in support of last time I checked)

    Cheaper asset transfers without messing with the existing asset description is a net positive for end-users (smaller/cheaper tx)

    Had I been able to institute CIP31, to limit asset descriptions to 1024 characters in the database, spam/bloat potential would be greatly limited…. But ppl wanted to push back on that update…. These updates were meant to be rolled out together…. so yeah, we are where we are🤷🏻‍♂️

    https://github.com/CounterpartyXCP/counterparty-lib/pull/1276

    If/when we have an issue with spam/bloat, we can address the issue when it presents itself as a problem…

    TLDR, yes asset transfers don’t require asset description to be re-encoded in a tx… if that’s a problem for the community at large (not just a couple devs) it can be changed 👍🏻
    CIP31 - Enhanced File Encoding Support by pataegrillo · Pull Request #1276 · CounterpartyXCP/counterparty-lib

    Counterparty Protocol Reference Implementation. Contribute to CounterpartyXCP/counterparty-lib development by creating an account on GitHub.

  • @hodlencoinfield #8889 03:33 PM, 04 Dec 2023
    There’s no additional impact to the db on transfer, in fact there’s less because you don’t need to duplicate description
  • @hodlencoinfield #8890 03:34 PM, 04 Dec 2023
    The asset exists with a description, all that changes with this update is that on transfer if a new description isnt specified the previous description remains
  • @hodlencoinfield #8891 03:35 PM, 04 Dec 2023
    If src20 wants to transfer assets around this doesn’t change anything, they’ve always been able to do that and reference the initial description even if counterparty says it disappeared, I mean you made up your own protocol so there’s nothing stopping you from changing more parsing logic
  • @hodlencoinfield #8892 03:37 PM, 04 Dec 2023
    You don’t restamp every time you send a stamp
  • @jp_janssen ↶ Reply to #8889 #8893 03:54 PM, 04 Dec 2023
    Really? The db duplicates the description in a new row. After an optimization this might not be a problem. But as of now we have a situation where you can duplicate stamps over and over almost for free and bloat the db.

    Or am i missing something?
  • @jdogresorg #8894 03:57 PM, 04 Dec 2023
    yup, descriptions are copied in the database from last issuance... so your correct, descriptions duplicated... prolly should been able to limit it to 1024 characters like I wanted to..... again, if this becomes a problem. we can address..... but, seems like right now lots of being upset without any actual problem yet.... and if a problem happens, we can easily fix with a per-issuance XCP fee.
  • @jdogresorg #8895 03:58 PM, 04 Dec 2023
    also another option would be to change the way that CP looks up asset description... so that we stop storing the duplicate description in the database, and instead lookup the last issuance with a description... easy fix/tweak to solve this "spam" problem which we dont have yet
  • @hodlencoinfield #8896 03:59 PM, 04 Dec 2023
    oof
  • @hodlencoinfield #8897 04:00 PM, 04 Dec 2023
    is description is stored in any table besides issuances?
  • @jdogresorg #8898 04:00 PM, 04 Dec 2023
    nope
  • @hodlencoinfield #8899 04:00 PM, 04 Dec 2023
    why not just put the null in the issuance tx then?
  • @hodlencoinfield #8900 04:00 PM, 04 Dec 2023
    and the API would refer to the newest one that isnt null
  • @jdogresorg #8901 04:00 PM, 04 Dec 2023
    we could do that... but would require changing the logic to lookup the asset description.... not the route we went, but a simple tweak should you guys decide to go that route
  • @hodlencoinfield #8902 04:01 PM, 04 Dec 2023
    do you know off the top of your head which API calls are affected?
  • @hodlencoinfield #8903 04:02 PM, 04 Dec 2023
    is it just get_asset_info?
  • @hodlencoinfield #8904 04:03 PM, 04 Dec 2023
    should be a pretty simple change, and its non-consensus
  • @jdogresorg #8905 04:03 PM, 04 Dec 2023
    would just be some custom sql query logic on top of the standard get_{table} logic (hate putting hacks in there.. prefer we keep it standardized to dump data direct from table as it is in database, with no tweaks to output)...... to change would need to add some additional SQL query logic on top of get_issuances to pull out the last issuance with description != null
  • @hodlencoinfield #8906 04:04 PM, 04 Dec 2023
    get_asset_info has to query multiple tables tho
  • @jdogresorg #8907 04:04 PM, 04 Dec 2023
    lol... ur too fast
  • @jdogresorg #8908 04:05 PM, 04 Dec 2023
    only talking about get_tables now... havent had a chance to dig into get_asset_info... but yeah, would require tweaks there too 🙂
  • @hodlencoinfield #8909 04:05 PM, 04 Dec 2023
    what would need to change in the issuances table?
  • @hodlencoinfield #8910 04:05 PM, 04 Dec 2023
    just store null
  • @reinamora_137 #8911 04:05 PM, 04 Dec 2023
    so basically you are swapping BTC fees for XCP fees in this case
  • @hodlencoinfield #8912 04:05 PM, 04 Dec 2023
    no
  • @hodlencoinfield #8913 04:05 PM, 04 Dec 2023
    there was never an xcp fee for asset transfers
  • @reinamora_137 #8914 04:05 PM, 04 Dec 2023
    in what j-dog mentioned anyway "if it's a problem"
  • @jdogresorg #8915 04:06 PM, 04 Dec 2023
    just would need to start storing null instead of asset description... then have SQL queries that lookup asset info to pull the latest issuance where description != null
  • @hodlencoinfield #8916 04:06 PM, 04 Dec 2023
    well JP pointed out that it is a problem and its a pretty easy fix
  • yes exactly
  • @hodlencoinfield #8918 04:06 PM, 04 Dec 2023
    but its just that one query i think
  • @reinamora_137 #8919 04:06 PM, 04 Dec 2023
    and we all know XCP fees simply force a fork lol
  • @hodlencoinfield #8920 04:06 PM, 04 Dec 2023
    are you having a separate conversation?
  • @hodlencoinfield #8921 04:07 PM, 04 Dec 2023
    im just confused where XCP fees came in related to asset transfers
  • @reinamora_137 #8922 04:07 PM, 04 Dec 2023
    J-Dog "and if a problem happens, we can easily fix with a per-issuance XCP fee."
  • @hodlencoinfield #8923 04:07 PM, 04 Dec 2023
    i disagree that would be "easy"
  • @hodlencoinfield #8924 04:07 PM, 04 Dec 2023
    we saw the fiasco in may when that was brought up, not a pill most people want to swallow
  • @jdogresorg ↶ Reply to #8916 #8925 04:08 PM, 04 Dec 2023
    I'm supportive of this change.... didn't have the energy to push forward any more changes myself... but I have no objections to storing null instead of the asset description again... and tweaking some sql queries to pull out correct asset description... pretty simple tweak... could be 9.61.2 n rolled out with some additional updates/tweaks (database optimization with indexes) in the next release 🙂
  • @hodlencoinfield #8926 04:08 PM, 04 Dec 2023
    but the current issue with duplicating descriptions IS an easy fix
  • @jdogresorg ↶ Reply to #8923 #8927 04:08 PM, 04 Dec 2023
    saying code implementation would be easy... community reaction / pushpack... not so much 🙂
  • @hodlencoinfield #8928 04:08 PM, 04 Dec 2023
    yeah plus we need to add transaction_outputs table query too
  • @hodlencoinfield #8929 04:09 PM, 04 Dec 2023
    these are non-consensus updates so i def support getting them rolled out next
  • @jdogresorg ↶ Reply to #8921 #8930 04:10 PM, 04 Dec 2023
    I believe when we were talking about putting on the flat XCP fee on numerics... JP mentioned that ppl could still spam issuances pretty easily... and that perhaps a per-issuance fee might be a better long-term plan.... I think he proposed like 0.01 XCP per issuance or something... thats where that reference is coming from 🙂
  • @hodlencoinfield #8931 04:10 PM, 04 Dec 2023
    gotcha
  • @hodlencoinfield #8932 04:10 PM, 04 Dec 2023
    IMO the focus should be on db optimization first
  • @hodlencoinfield #8933 04:11 PM, 04 Dec 2023
    at the end of the day all the data we need is stored in bitcoin block dat files
  • @jdogresorg #8934 04:12 PM, 04 Dec 2023
    zero quantity records / database purge · Issue #1113 · CounterpartyXCP/counterparty-lib

    Still seeing issues with 0 quantity records being created... this is bloating the database unnecessarily.

  • @jdogresorg #8935 04:13 PM, 04 Dec 2023
    removing zero quantity records, purging the database of them, and adding database indexes would reduce CP footprint and make parsing/querying faster.. 🙂
  • @jdogresorg #8936 04:13 PM, 04 Dec 2023
    Fixed primary keys not being created because of duplicate names by pataegrillo · Pull Request #1281 · CounterpartyXCP/counterparty-lib

    Counterparty Protocol Reference Implementation. Contribute to CounterpartyXCP/counterparty-lib development by creating an account on GitHub.

  • @jdogresorg ↶ Reply to #8933 #8937 04:14 PM, 04 Dec 2023
    absolutely... Javier and I were talking about addrindexrs and counterparty... and we SHOULD be able to tweak addrindexrs to store a bit more data.... but then Counterparty wouldn't need to talk to bitcoin to pull tx data anyore... addrindexrs would have it all.... SO, a FULL PARSE (currently 2 weeks of parsing) should take as long as a REPARSE (24 hours)..... perhaps someday 🙂
  • @jdogresorg #8938 04:15 PM, 04 Dec 2023
    would be nice to have the full parse vs reparse drama go away... make a full parse faster 🙂
  • @hodlencoinfield #8939 04:16 PM, 04 Dec 2023
    yeah that would be awesome
  • why would zero qty issuances need to be purged? there are many times artists create even a named asset with 0 qty to later add art and increase the qty. wouldn't this destroy that historical record, or how would these then be queried?
  • @hodlencoinfield #8941 04:23 PM, 04 Dec 2023
    not the issuances
  • @hodlencoinfield #8942 04:24 PM, 04 Dec 2023
    you're misunderstanding the problem here, its related to purging zero quantity balances from addresses
  • @reinamora_137 #8943 04:24 PM, 04 Dec 2023
    ah ok thx
  • @hodlencoinfield #8944 04:25 PM, 04 Dec 2023
    essentially once you've held an asset in your wallet a reference to it always remains, it just goes to 0 qty after you send it
  • @hodlencoinfield #8945 04:26 PM, 04 Dec 2023
    thats why if you sweep a big collection that had a lot of activity you might see a lot of 0 balances
  • 05 December 2023 (10 messages)
  • @jp_janssen #8946 07:44 AM, 05 Dec 2023
    I opened a github issue regarding null descriptions. https://github.com/CounterpartyXCP/counterparty-lib/issues/1287
    `null` asset description and DB bloat · Issue #1287 · CounterpartyXCP/counterparty-lib

    New behavior in 9.61 is that a special null asset description set in the CNTRPRTY message makes Counterparty duplicate the previous asset description. This is a concern as the BTC fee of updating a...

  • @B0BSmith #8947 10:34 AM, 05 Dec 2023
    When closing a dispenser using the api do you specify the escrow quantity when the dispenser was initially opened or the current amount still in escrow? or can you exclude that field? ... I am guessing its source, asset, give_quantity mainchainrate znd open_address that are required fields and escrow_quantity isnt playing role in a close ? due to the fact it can change between when a close tx was broadcast and when it gets confirmed
  • @sn_noop2 #8948 02:39 PM, 05 Dec 2023
    I've put everything at 0, with status 10. Dunno what's required but it worked
  • @B0BSmith #8949 02:51 PM, 05 Dec 2023
    I have found 'give_quantity', 'escrow_quantity' and 'mainchainrate' can all be 0 when closing a dispenser opened on a 'open_address'

    So the API call only needs to know the 'asset' and 'open_address' to create a close transaction (status: 10) from the source
  • @jp_janssen ↶ Reply to #8947 #8950 02:54 PM, 05 Dec 2023
    I dont know about api but here is the opreturn msg for closing dispenser: https://jpja.github.io/Electrum-Counterparty/decode_tx?tx=6bef5be1766b87f90f94de1f01fee0613248b9aed7a1e164e11667783eea6221

    Closing dispenser has the same message id as for opening, 13

    Then 8 bytes with asset id.

    Then 48 zeros.

    Then 0a, meaning status close.

    I havent looked into how it works when closing dispenser on another address. I guess the address then is encoded in the next 21 bytes.
  • @jdogresorg ↶ Reply to #8949 #8951 04:01 PM, 05 Dec 2023
    also... be careful when closing oracled dispensers to NOT include the oracle_address field in the API call to close the dispenser..... found an issue in testing where CP tries to re-include the oracle fee in the closing tx (paying the oracle again... which is not desired)... https://github.com/CounterpartyXCP/counterparty-lib/issues/1271
    paying oracle fee when closing dispensers · Issue #1271 · CounterpartyXCP/counterparty-lib

    In testing dispensers, I discovered that when closing a dispenser, if you specify the oracle_address in the API request, then the resulting TX includes the oracle fee in the tx. CP should only coll...

  • @jdogresorg #8952 04:01 PM, 05 Dec 2023
    will get this fixed in the next release 🙂
  • @B0BSmith #8953 05:54 PM, 05 Dec 2023
    thank you .. I am not using oracle's at this time .. but appreciate the info
  • @6517313784 #8954 11:24 PM, 05 Dec 2023
    So um question is the devs effecting the FW bc the transactions aren't even working normally?
  • @6517313784 #8955 11:25 PM, 05 Dec 2023
    and what is this error? Error composing send transaction via API: Insufficient BTC at address XXXXXXXXXXXXXXXXXXXXX. (Need approximately 0.0002148 BTC.) To spend unconfirmed coins, use the flag --unconfirmed. (Unconfirmed coins cannot be spent from multi‐sig addresses.)
  • 06 December 2023 (11 messages)
  • @herpenstein #8956 03:21 AM, 06 Dec 2023
    Fées have been crazy high today. Is your btc tied up in a pending transaction in the mempool?
  • @B0BSmith ↶ Reply to #8950 #8957 08:19 AM, 06 Dec 2023
    I really do need to get my head around the op_returns so as not to be as API dependant .. its on my list and your work is a great help in understanding.
  • @B0BSmith ↶ Reply to #8955 #8958 08:21 AM, 06 Dec 2023
    do you have many small utxos? if so then consolidate them
  • @UNSH00K #8959 09:19 AM, 06 Dec 2023
    Best method to consolidate utxos?
  • @sn_noop2 ↶ Reply to #8959 #8960 12:44 PM, 06 Dec 2023
    Any wallet allowing you to "send all btc", like wallet.xcp.ninja or electrum but NOT TODAY. At 250/vB, any utxo under 40k sats is dust, 18k for segwit
  • @sn_noop2 #8961 12:47 PM, 06 Dec 2023
    eg: dust means it cost more in gas than the utxo balance to use it
  • @ABlue0ne ↶ Reply to #8944 #8962 01:50 PM, 06 Dec 2023
    Is this what the big deal is about? Thanks for eli5.
  • @ABlue0ne ↶ Reply to #8950 #8963 01:55 PM, 06 Dec 2023
    These types of posts are pure gold. Thanks.
  • It’s not a big deal really, it’s more a big opportunity to clean up the db
  • @reinamora_137 #8965 03:19 PM, 06 Dec 2023
    An easy fix to support and implement in a minor release at least 🙂
  • @6721746102 #8967 05:22 PM, 06 Dec 2023
    Joined.
  • 07 December 2023 (6 messages)
  • @ABlue0ne #8968 07:13 PM, 07 Dec 2023
    BTNS has a Rug action? Am I reading this correctly? Showing previous rug dispensers?
  • @ABlue0ne #8969 07:14 PM, 07 Dec 2023
    I’m reading on the technical differences re: XCP vs BTNS. Any thoughts?
  • @jdogresorg #8972 07:31 PM, 07 Dec 2023
    BTNS is a token playground... ppl get rugged all the time.. so figured why not build a fun "rug" feature... ppl can lock tokens against it easily... but could be some fun projects that use self-exploding tokens, etc... goal with BTNS was to just have fun experimenting with what is possible... anyway.. if you have any more BTNS specific questions, prolly best to ask in the BTNS channel... https://t.me/BTNS420
    Official BTNS Chat (EN)

    This channel is for discussing the Broadcast Token Name System (BTNS) and the platform's features. Site: btns.wtf Wallet: t.me/freewallet_io Explorer: btns.xchain.io Twitter: x.com/BTNS420 English : https://t.me/BTNS420 Chinese : https://t.me/BTNS420CN

  • @6517313784 #8973 07:47 PM, 07 Dec 2023
    You is not defined to do this. This could be injurious and or present serious risks frauds!!!
  • @ABlue0ne ↶ Reply to #8972 #8974 08:51 PM, 07 Dec 2023
    Thanks. I’ll try to read through the past to catch up.
  • 08 December 2023 (1 messages)
  • 09 December 2023 (9 messages)
  • @sn_noop2 #8976 10:41 AM, 09 Dec 2023
    Hey correct me if I'm wrong but multi dispense has been enabled for a while no?

    It means if I do a send btc to multiple dispensers, I'll be credited for all of them?
  • @B0BSmith ↶ Reply to #8976 #8977 10:43 AM, 09 Dec 2023
    it was mentioned in regard to latest Counterparty update
  • @B0BSmith ↶ Reply to #8976 #8978 10:44 AM, 09 Dec 2023
    allow triggering of dispensers by all tx outputs, not just the first output by pataegrillo · Pull Request #1222 · CounterpartyXCP/counterparty-lib

    Counterparty Protocol Reference Implementation. Contribute to CounterpartyXCP/counterparty-lib development by creating an account on GitHub.

  • @sn_noop2 #8979 10:51 AM, 09 Dec 2023
    I do see activation block 819300, was just wondering if anyone tested it or if I have to

    And if so, sharing me some tx to check this out.

    Great feature @CP-devs btw
  • @B0BSmith #8980 10:56 AM, 09 Dec 2023
    JDog performed tests on testnet and documented them in the pull
  • @Pav_Dank ↶ Reply to #8979 #8981 03:29 PM, 09 Dec 2023
    I have unsuccessfully did a pay to many before when trying to hit multiple dispensers didn't work out great for me from what I recall this was around a year ago
  • @sn_noop2 #8982 04:01 PM, 09 Dec 2023
    Ofc it wasn't released until last update I believe. It was on dev for a couple months now (~march I believe)
  • @Pav_Dank #8983 04:06 PM, 09 Dec 2023
    Good to know
  • @sn_noop2 #8984 04:09 PM, 09 Dec 2023
    I'll make some tests myself and come back to you if I have good results

    (if someone has a working it would be waaaay better, thx)
  • 10 December 2023 (8 messages)
  • @teysol #8987 10:06 PM, 10 Dec 2023
    Joined.
  • @jdogresorg ↶ Reply to #8987 #8988 10:52 PM, 10 Dec 2023
    🔥🔥🔥
  • @teysol #8989 10:53 PM, 10 Dec 2023
    👋👋👋
  • @jdogresorg #8990 10:55 PM, 10 Dec 2023
    Everyone, this is Adam Krellenstein, one of the original founders of counterparty and dev who wrote most of the codebase.

    Happy and honored to have you here Adam.
  • @jdogresorg #8991 10:56 PM, 10 Dec 2023
  • @AryanJab #8992 10:56 PM, 10 Dec 2023
    Whoa.
  • @teysol #8994 10:57 PM, 10 Dec 2023
    aha thanks! just poking my head in the channel to see what's up!
  • 11 December 2023 (30 messages)
  • @nutildah ↶ Reply to #8994 #8995 02:11 AM, 11 Dec 2023
    Hi Adam! I've been a fan of yours since the early days on Bitcointalk. Great to see you around. Hope all's been well with you.
  • @682780739 ↶ Reply to #8994 #8996 02:14 AM, 11 Dec 2023
    people here in china are talking about counterparty a lot these days everyone get so excited about you back
  • @sn_noop2 #8997 03:30 AM, 11 Dec 2023
    Hey, don't know if anyone can sort me out but I have a tx opening a dispenser that don't look to appear in
    xchain and api.counterparty.io

    https://mempool.space/tx/935dfc25d13223409da34341c5083e83a357fc3077abffb07a040d74e987c902

    fetch("http://api.counterparty.io:4000/", {
    "headers": {
    "authorization": "Basic cnBjOnJwYw==",
    "content-type": "application/json; charset=UTF-8"
    },
    "body": "{\"method\":\"get_dispenser_info\",\"params\":{\"tx_hash\":\"935dfc25d13223409da34341c5083e83a357fc3077abffb07a040d74e987c902\"},\"jsonrpc\":\"2.0\",\"id\":0}",
    "method": "POST"
    });

    Note in CP api, it randomly answers an empty response or not, same using tx_index: "2547505"

    Any thought?
  • @jdogresorg #8998 01:33 PM, 11 Dec 2023
    Not storing [dispenser] tx [935dfc25d13223409da34341c5083e83a357fc3077abffb07a040d74e987c902]: invalid: cannot open on another address if it has any confirmed bitcoin txs
  • @jdogresorg #8999 01:34 PM, 11 Dec 2023
    Looks like the dispenser failed to be created because the address had already been used (got error message from logs).
  • @Niftyboss1 #9000 01:46 PM, 11 Dec 2023
    Joined.
  • @Niftyboss1 ↶ Reply to #8996 #9001 01:47 PM, 11 Dec 2023
    Do we know what triggered the sudden BTNS craze, 7 months after launch?
  • Could be that the Bitcoin Pump led to everything pumping. We saw a massive resurgence with Stamps and SRC20. BRC20 as well.
  • @mikeinspace #9003 02:01 PM, 11 Dec 2023
    Degens seeking new alpha
  • @682780739 ↶ Reply to #9001 #9004 02:07 PM, 11 Dec 2023
    Some media start reporting history of Bitcoin, dig through counterparty op return war ...to get some ideas Abt what goona happen to ordinals war ...BTNS maybe is one of the solution
  • @sn_noop2 ↶ Reply to #8999 #9006 02:19 PM, 11 Dec 2023
    Ok make sense thx
  • @sn_noop2 #9007 02:21 PM, 11 Dec 2023
    @jdogresorg It looks xchain is out of sync, am I wrong?
  • @jdogresorg #9008 02:23 PM, 11 Dec 2023
    yup... check main cp channel.. I mention it there... related to BTNS ppl spamming like 30k broadcasts over the course of a few hours...
  • @jdogresorg #9010 02:24 PM, 11 Dec 2023
    parsing is working on getting caught up... gotta take my son to school.. .will be back in 2 hours.... xchain will keep parsing blocks until it comes back up to current 🙂
  • @sn_noop2 #9011 02:25 PM, 11 Dec 2023
    Thanks sorry for not having checked the other 🙏
  • @jdogresorg #9012 02:26 PM, 11 Dec 2023
    sawl good.. I have troubles keeping all the chats straight myself 🙂
  • @XCERXCP ↶ Reply to #9008 #9013 04:41 PM, 11 Dec 2023
    30k 🤯
  • @teysol ↶ Reply to #9013 #9014 06:49 PM, 11 Dec 2023
    what fraction of daily Bitcoin transactions is it now? 🤔😁
  • @Niftyboss1 ↶ Reply to #9008 #9015 09:02 PM, 11 Dec 2023
    More like ~52k broadcasts it seems! (counting both valid + invalid confirmed broadcasts)

    Source: xchain broadcast data
  • @Niftyboss1 ↶ Reply to #9014 #9016 09:27 PM, 11 Dec 2023
    Over the past 24 h there were ~530,000 confirmed BTC transactions so that would be almost 10% Counterparty transactions, believe it or not 🔥
  • @Niftyboss1 #9017 09:27 PM, 11 Dec 2023
    But it's a pretty unusual day for sure, typical levels are way lower
  • @Niftyboss1 ↶ Reply to #9016 #9018 09:33 PM, 11 Dec 2023
    that would mean Counterparty users (well, mostly the China BTNS crowd) just paid about 400,000 USD in miner fees (guesstimate)
  • @Niftyboss1 #9019 09:48 PM, 11 Dec 2023
    Still reviewing those figures as this is wild
  • @6517313784 #9020 10:11 PM, 11 Dec 2023
    so the fees go to bitcoin miners to process the transactions not to the counterparty foundation?
  • @AryanJab #9021 10:26 PM, 11 Dec 2023
    Yes
  • @AryanJab #9022 10:26 PM, 11 Dec 2023
    There is no Counterparty foundation.
  • @6517313784 #9023 10:50 PM, 11 Dec 2023
    wait. what happened to it?
  • @davesta ↶ Reply to #9023 #9024 11:03 PM, 11 Dec 2023
    It dissolved a couple years back
  • @682780739 ↶ Reply to #9022 #9025 11:29 PM, 11 Dec 2023
    Soon ...
  • 12 December 2023 (13 messages)
  • @guess_tx #9026 08:03 AM, 12 Dec 2023
    Joined.
  • @6370143984 #9027 04:53 PM, 12 Dec 2023
    Joined.
  • @6370143984 #9028 04:58 PM, 12 Dec 2023
    Hey all, this is Evan, one of the founders of Counterparty along with Adam. Nice to see such an active community!
  • @jdogresorg #9029 05:08 PM, 12 Dec 2023
    Welcome Evan 🙂 So.... OG cp devs are joinig the dev channel.... you guys intersted in coming back to work on the codebase and push things forward again... or here as mostly passive observers?
  • @6370143984 #9030 05:08 PM, 12 Dec 2023
    Just observing ATM :)
  • @jdogresorg #9031 05:33 PM, 12 Dec 2023
    IMO CP is at a crossroads... at a point where ppl want to experiment with new features (like open/free mint)... but CP dev is pretty stagnant... pushing anything forward is damn near impossible (we even get devs objecting to updating to the latest version of bitcoin-core)... Given the current state of dev, i dont see a path forward for taproot support or adding new features like OPEN MINT anytime soon.... Over the last couple years I have become very frustrated with the lack of dev support.

    Earlier this year I wrote BTNS as a way to show stamps guys how they could do "src-20" stamps on CP if they wanted... they went their own route.

    Since then, I built out the basic Broadcast Token Naming System (BTNS) as an hobby project / pseudo-CP side-chain where myself and ppl could experiment with various features... I did my best to respect CP ledger and community (reserved BTNS token names for holders on XCP) and cause as little confusion as possible (preventing multiple RAREPEPE cards from being isssued on different platforms, etc)

    BTNS is basically just a lightweight version of CP where all the encoding/decoding logic is (currently) handled by CP via broadcasts... but the actual consensus logic / code lives in an indexer that just has to talk to the database to get tx data and determine tx status.... this model allows for having support for a bunch of different blockchains (BTC, LTC, ETH, etc) while still only having to maintain one codebase to determine tx status across many chains.... MUCH easier than having to maintain a "counterparty" fork for every chain (Dogeparty, Monaparty, Dashparty, Unparty, etc).

    Feel free to review the basic BTNS Spec and indexer I wrote as well (only have ISSUE, MINT, LIST, and SEND working currrently)

    https://github.com/jdogresorg/broadcast-Token-Naming-System/

    https://btns.xchain.io

    https://t.me/BTNS420
    GitHub - jdogresorg/Broadcast-Token-Naming-System: Broadcast Token Naming System (BTNS) specs, docs, and tools

    Broadcast Token Naming System (BTNS) specs, docs, and tools - GitHub - jdogresorg/Broadcast-Token-Naming-System: Broadcast Token Naming System (BTNS) specs, docs, and tools

  • @jdogresorg #9032 05:34 PM, 12 Dec 2023
    So.... my dilema now... Work on BTNS, rebrand it to something else (entirely new platform separate from CP with a new/clean ledger and allow CP ppl a grace period to register their asset names)..... or wait for CP dev to make leaps n bounds forward and be open to tryign out new ideas like LISTS (to support AML/KYC compliant token issuances, etc)...

    My goal is not to create a competing platform... but rather, to push forward with new ideas and protocol changes that I dont see CP moving forwad on anytime soon.

    I'm here to dev and have fun and try out experimental features and see waht works and doesn't... n seems like maybe CP is too "established" now to take chances on dev like open mint and such.

    Any general thoughts or advice (from the OGs n co-founders) would be appreciated... open to DMs as well if you prefer 🙂
  • @jdogresorg ↶ Reply to #9028 #9033 05:41 PM, 12 Dec 2023
    any way to confirm/validate this is you Evan? with Adam... I had message history so I know its him... You and I didn't interact much in the early days of Counterparty... so tough for me to validate you are who you say you are.
  • @6370143984 #9034 05:42 PM, 12 Dec 2023
    @teysol Would you do the honors, please :)
  • @teysol #9035 05:42 PM, 12 Dec 2023
    yep confirmed!
  • @jdogresorg #9036 05:42 PM, 12 Dec 2023
    Perfect...will give you admin now 🙂
  • if you end up rebranding or pullling it off CP it could be cool to combine forces on the next release of SRC-20 with atomic swappability and cross chain support. Many of the reasons we chose not to continue within those limitations you describe.

    CP is definitely a great platform to experiment on, and there are quire a few more devs getting involved lately. I'm glad to see some OG's rejoining for some more historical perspective as a relative newcomer myself.

    Just opened up a load balanced public node today we are testing and plan to do hash validations against xchain (coindaddy,counterparty) to make sure everything maintains consensus moving forward. Hope this can be an additional resource for the community at large.
  • @hodlencoinfield #9038 06:01 PM, 12 Dec 2023
    need to have a dev summit or something
  • 13 December 2023 (1 messages)
  • @therealmunehisahonma #9039 03:04 AM, 13 Dec 2023
    Joined.
  • 14 December 2023 (16 messages)
  • @6772479821 #9041 02:12 AM, 14 Dec 2023
    Joined.
  • @AryanJab ↶ Reply to #9041 #9042 02:25 AM, 14 Dec 2023
    Welcome to the second Counterparty chat.
  • @6772479821 ↶ Reply to #9042 #9043 02:26 AM, 14 Dec 2023
    wen 3rd
  • there are plenty more :)
  • @AryanJab ↶ Reply to #9043 #9045 02:27 AM, 14 Dec 2023
    Just you wait for the Counterparty Foundation chat to start.
  • @6772479821 ↶ Reply to #9044 #9046 02:28 AM, 14 Dec 2023
    I lost my og tg chats when I was recently mugged at gunpoint in Colombia. Appreciate any dank chat invites I know I'm missing a ton
  • @AryanJab ↶ Reply to #9046 #9047 02:28 AM, 14 Dec 2023
    https://t.me/+Y8cTAoHurtowODhh

    That's it. That's the one.
    Scarce City Banter

    FINE BITCOIN GOODS Telegram: https://t.me/+Y8cTAoHurtowODhh Telegram Update Bot: https://t.me/scarce_city_sucks Twitter: https://twitter.com/scarcedotcity Twitter Update Bot: https://twitter.com/scarcecitybot

  • I'm sorry to hear that and I'm also impressed at your exotic incident
  • @6772479821 ↶ Reply to #9047 #9051 02:29 AM, 14 Dec 2023
    holy i didn't rejoin scarce yet wow
  • @AryanJab ↶ Reply to #9048 #9052 02:29 AM, 14 Dec 2023
    Are we watching someone watching you get got in Colombia?
  • @AryanJab ↶ Reply to #9048 #9053 02:30 AM, 14 Dec 2023
    This is some mugception shit.
  • @AryanJab ↶ Reply to #9048 #9054 02:30 AM, 14 Dec 2023
    "He doesn't know that my true net worth is stored in jpegs."
  • @rarepepetrader #9055 02:31 AM, 14 Dec 2023
    everyone should have a 12 word seed phrase with some PDM assets in it, just to surrender to muggers
  • @6772479821 ↶ Reply to #9052 #9056 02:32 AM, 14 Dec 2023
    yes literally outside my hotel lol, security vid refilmed
  • @AryanJab ↶ Reply to #9056 #9057 02:32 AM, 14 Dec 2023
    Lmao damn. You were so close.
  • 15 December 2023 (17 messages)
  • @lili13285 #9058 10:44 AM, 15 Dec 2023
    Joined.
  • @lili13285 #9059 10:48 AM, 15 Dec 2023
    freewallet can't see tx when receive sat token
  • @B0BSmith ↶ Reply to #9059 #9060 10:57 AM, 15 Dec 2023
    This isn’t the right forum as src20 is not on Counterparty.
  • @AryanJab #9061 05:12 PM, 15 Dec 2023
    Does anyone have some dank testnet tokens they can send to mzRvu4782U3teTxgngujAj8RGVwNnSyNyK ?
  • @AryanJab #9062 05:12 PM, 15 Dec 2023
    mzRvu4782U3teTxgngujAj8RGVwNnSyNyK
  • @AryanJab #9063 05:13 PM, 15 Dec 2023
    Also, for testnet, what token is needed to mint?
  • @AryanJab #9064 05:14 PM, 15 Dec 2023
    Disregard, found the XCP
  • @jdogresorg #9065 05:18 PM, 15 Dec 2023
    you can still burn on BTC for XCP on testnet... so thats how you get it 🙂
  • @jdogresorg #9066 05:18 PM, 15 Dec 2023
    lmk if ya need some testnet btc
  • @AryanJab #9067 05:21 PM, 15 Dec 2023
    I'm an absolute testnet baller.
  • @jdogresorg #9068 05:21 PM, 15 Dec 2023
    lol... yeah, wish I had as much BTC as I do testnet btc 😛
  • @AryanJab #9069 05:21 PM, 15 Dec 2023
    I just bought 50 tXCP. lfg
  • @jdogresorg #9070 05:22 PM, 15 Dec 2023
    FYI... just synced master branch to develop and closed all the open pull requests for counterparty-lib with the following message:
  • @jdogresorg #9071 05:22 PM, 15 Dec 2023
    Closing this pull request against master branch.

    Going forward all development should take place on the develop branch.

    If this is a PR you would still like to submit for consideration, please re-submit this pull requests against the develop branch.
  • @jdogresorg #9072 05:25 PM, 15 Dec 2023
    we need to get back to using develop to develop, and merging there instead of master.. and only merge PRs to master for full releases and hotfix releases.... now that multiple devs are involved again, much cleaner way to dev 🙂
  • @jdogresorg #9074 08:53 PM, 15 Dec 2023
    For the past week or so counterwallet has been down because counterblock (counterwallets backend) has been choking on parsing blocks.

    There is a problem introduced with the dispensers close delay. Everything works correctly in counterparty-lib except for the block_index in the message bindings. Instead of inserting the block_index of the actual closure, the block_index of the original tx that marked the dispenser to be close is used. This is generating a non-correlated block_index in the messages table, so now it cannot be assumed that greater the messsage_index equal or greater is the block_index.

    Javier and I spent the past week looking into the counterblock parsing issue and trying out potential fixes to get counterblock parsing again without the need for an update to counterparty-lib. However, we have come to the conclusion that in order to get counterblock parsing again, the simplest solutions are to make updates to counterparty-lib.

    Neither Javier or I feel this issue rises to the level required for us to do an immediate hotfix release without community/dev feedback (ie. not an emergency).

    We have put together 3 PRs and present 2 potential solutions.

    Solution #1
    - Update counterparty-lib to correct block_index correlation (messages ledger will change)
    https://github.com/CounterpartyXCP/counterparty-lib/pull/1293

    Solution #2
    - Update counterparty-lib get_blocks function to work with non-correlated block_index
    https://github.com/CounterpartyXCP/counterparty-lib/pull/1292

    - Update counterblock to handle the dispenser close delay.
    https://github.com/CounterpartyXCP/counterblock/pull/196

    It is up to the community and the core maintainers how they would like to address this issue.
    Correct `block_index` Used for Dispensers Closing Delay by pataegrillo · Pull Request #1293 · CounterpartyXCP/counterparty-lib

    THIS FIX IS FOR REFERENCE ONLY! This fixs the wrong block_index used when closing a dispenser with delay. With this fix there is no need to use the recent counterparty and counterblock PRs to fix t...

  • 16 December 2023 (25 messages)
  • @AryanJab #9075 12:44 AM, 16 Dec 2023
    Am I missing something here? I've got like 1M sats in this address...
  • @B0BSmith ↶ Reply to #9075 #9076 12:45 AM, 16 Dec 2023
    it happens retry n it should be OK
  • @AryanJab #9077 12:46 AM, 16 Dec 2023
    I had to "allow_unconfirmed_input" which feels wrong but worked just fine.
  • @B0BSmith ↶ Reply to #9077 #9078 12:47 AM, 16 Dec 2023
    I always allow unconfirmed n it still happens
  • @AryanJab #9079 12:49 AM, 16 Dec 2023
    Another question, if I'm looking to send XCP (which is divisible), shouldn't the quantity be in sats:

    {
    "method": "create_send",
    "params": {
    "asset": "XCP",
    "destination":"n4JvsKuK3cxrhvm45uG2egFLnQ1EC7jkit",
    "quantity":1,
    "source": "mzRvu4782U3teTxgngujAj8RGVwNnSyNyK"
    },
    "jsonrpc": "2.0",
    "id": 0
    }

    This resulted in https://testnet.xchain.io/tx/82c8cfeac393b4a80737bec3224bdaba56dd5430bc749c4e369fad8129ea6039 which has a quantity of 1 (I would've imagined 0.00000001 or whatever).

    What am I missing?
  • @B0BSmith ↶ Reply to #9079 #9080 12:49 AM, 16 Dec 2023
    xcp is divisible so amount is in sats
  • @AryanJab #9082 12:50 AM, 16 Dec 2023
    Maybe it'll change upon confirmation?
  • @B0BSmith #9084 12:51 AM, 16 Dec 2023
    send 1 pepecash like that n 0.0000001 wil be sent
  • @AryanJab ↶ Reply to #9084 #9085 12:51 AM, 16 Dec 2023
    What's the difference b/w PEPECASH adn XCP?
  • @B0BSmith ↶ Reply to #9082 #9086 12:51 AM, 16 Dec 2023
    yeah usually shows sats for xcp like dispensers etc
  • @B0BSmith ↶ Reply to #9085 #9087 12:52 AM, 16 Dec 2023
    nothing as far as I know .. was a multisend including 1 pepecash that resulted in me sending 0.0000001 n learning ahh yeah sats for divisibles
  • @AryanJab #9089 12:53 AM, 16 Dec 2023
    xchain shows divisble unconfirmed one way and confirmeds another.
  • @AryanJab #9090 12:53 AM, 16 Dec 2023
    (not complaining or anything, J-Dizzle, just stating)
  • @B0BSmith #9091 12:54 AM, 16 Dec 2023
    yeah unconfirmed is sats value has been that way a while
  • @AryanJab #9092 12:54 AM, 16 Dec 2023
    TIL
  • @B0BSmith #9093 12:54 AM, 16 Dec 2023
    you see it on xcp dispenser openings in mempool
  • @6098069683 #9094 07:13 AM, 16 Dec 2023
    Joined.
  • @jp_janssen ↶ Reply to #9074 #9095 11:31 AM, 16 Dec 2023
    As a core maintainer just want to inform im unavailable until Monday. I support whatever solution you and other maintainers think is best.
  • @6517313784 ↶ Reply to #9077 #9096 04:35 PM, 16 Dec 2023
    where do you find the option for that?
  • @jdogresorg #9098 04:37 PM, 16 Dec 2023
    its an API flag... if your using freewallet.io.. then all txs to CP API already use that flag... so most likely, you dont have to worry about it.... been an issue open for a couple years to get the --unconfirmed message removed from the BTC balance error... as it is misleading... https://github.com/CounterpartyXCP/counterparty-lib/issues/1151
    Remove unconfirmed message from btc balance error message · Issue #1151 · CounterpartyXCP/counterparty-lib

    remove the unconfirmed transaction portion of the error message when user has btc balance issue and unconfirmed flag has already been passed (freewallet always passed unconfirmed flag but cp api st...

  • @6517313784 #9099 04:39 PM, 16 Dec 2023
    very misleading it makes users think they doing something wrong
  • @AryanJab ↶ Reply to #9099 #9100 05:16 PM, 16 Dec 2023
    Good thing it's an OSS protocol that anyone can try and make PRs to.
  • 18 December 2023 (3 messages)
  • @jp_janssen #9101 05:44 AM, 18 Dec 2023
    New CIP
    - like stamps but 50% cheaper
    - easy on nodes; file stored in p2wsh outputs but not in counterparty db
    - test it out; links to tx builder for electrum and decoder

    https://github.com/CounterpartyXCP/cips/discussions/126
    CIP33 – File Storage in P2WSH Outputs · CounterpartyXCP/cips · Discussion #126

    Use this tread to discuss CIP33 – File Storage in P2WSH Outputs.

  • @6398089181 #9102 09:53 AM, 18 Dec 2023
    Joined.
  • @mikeinspace #9103 05:04 PM, 18 Dec 2023
    Created a Scaling Counterparty chat just to throw around some ideas given the current and, potentially sustained, high fee environment. Ideas range from pegging into Liquid to exploring John Villar's Hazama concept. Let's chat and see if something fruitful comes of it!

    https://t.me/+x9n9Jjd0ifQzNmVh
    Scaling Counterparty

    Mike In Space invites you to join this group on Telegram.

  • 19 December 2023 (10 messages)
  • @Jpcryptos #9104 09:52 AM, 19 Dec 2023
    I am having a problem obtaining the description and metadata of each asset.... what is the standard for this?
  • @Jpcryptos #9105 10:12 AM, 19 Dec 2023
    get_asset_info(asset, assets)

    Found it
  • @Niftyboss1 #9106 10:41 AM, 19 Dec 2023
    There seems to be a sync issue - last block parsed 18h ago

    https://xchain.io/blocks
  • @Niftyboss1 #9107 10:42 AM, 19 Dec 2023
    Not sure if it's a counterparty or xchain-specific issue
  • @XJA77 #9108 10:42 AM, 19 Dec 2023
    seems xchain issue as counterparty api is returning good results
  • @jdogresorg #9109 01:41 PM, 19 Dec 2023
    Heading off to yoga will check into it when I get back in about an hour….
  • @jdogresorg #9110 04:03 PM, 19 Dec 2023
    Devon weller came up with a cool idea many years ago for batching/compressing CP txs to reduce costs... called it Multiparty Counterparty Aggregate Transaction (MCAT)... he submitted a PR 6+ years ago, dunno how this happened... but unfortunately his PR was overlooked until now.... I noticed that CIP13 was not in the CIP repo and merged Devon's pull request this morning.... CIP13 is now in the CIP repo.... Its a great proposal that I think everyone should read and consider / discuss https://github.com/CounterpartyXCP/cips/blob/master/cip-0013.md
    cips/cip-0013.md at master · CounterpartyXCP/cips

    Counterparty Improvement Proposals. Contribute to CounterpartyXCP/cips development by creating an account on GitHub.

  • @jdogresorg #9111 04:04 PM, 19 Dec 2023
    Also, JP has done some additional work on reducing TX costs via compression / bundling... https://github.com/CounterpartyXCP/cips/discussions/127
    Bundled Txs = 80% Lower Fees · CounterpartyXCP/cips · Discussion #127

    By bundling multiple Counterparty messages from several users into one Bitcoin transaction, I believe it can be possible to reduce fees by >80%. Key assumptions: A bitcoin address can be recover...

  • @jdogresorg ↶ Reply to #9106 #9112 05:00 PM, 19 Dec 2023
    Should be caught up now.... syncing was delayed due to an issue in counterparty2mysql and a borked SQL statement operating on the new dispenser_refills table.... related fix is https://github.com/jdogresorg/counterparty2mysql/commit/f20dbf3f779e19b863ea9abe6755f7dc22743151
    updates to get `dispenser_refills` table populating · jdogresorg/counterparty2mysql@f20dbf3

    PHP script that populates a MySQL database with Counterparty data - updates to get `dispenser_refills` table populating · jdogresorg/counterparty2mysql@f20dbf3

  • @Niftyboss1 ↶ Reply to #9112 #9113 05:41 PM, 19 Dec 2023
    Awesome thanks 🔥
  • 21 December 2023 (27 messages)
  • @reinamora_137 #9114 03:23 AM, 21 Dec 2023
    Can someone explain why this transaction

    https://xchain.io/tx/b21a7fd319377d7678ea6ae99435fd664a8401ad72a699e522bdfce22e61558a
    (now looks like a dispenser there)

    but the transaction has keyburn sigops which are indicitive of a stamp
    https://www.blockchain.com/explorer/transactions/btc/b21a7fd319377d7678ea6ae99435fd664a8401ad72a699e522bdfce22e61558a

    and previously showed on xchain/CP nodes as a stamp.

    Unfortunately I upgraded both of my nodes already so can't compare the differences, both are bootstrapped
  • @jdogresorg #9115 03:35 AM, 21 Dec 2023
    shows up as a dispense everywhere I look (including on Juan's 9.60.3 explorer which has done full parse)
  • @jdogresorg #9116 03:35 AM, 21 Dec 2023
    9.61.1
    https://www.xcp.dev/tx/b21a7fd319377d7678ea6ae99435fd664a8401ad72a699e522bdfce22e61558a
    https://xchain.io/tx/b21a7fd319377d7678ea6ae99435fd664a8401ad72a699e522bdfce22e61558a
    https://memepool.wtf/tx/b21a7fd319377d7678ea6ae99435fd664a8401ad72a699e522bdfce22e61558a

    9.60.3
    https://960.xcp.dev/tx/b21a7fd319377d7678ea6ae99435fd664a8401ad72a699e522bdfce22e61558a
  • @jdogresorg #9117 03:36 AM, 21 Dec 2023
    As far as why it has keyburn sigops? dunno... just know CP detected it as a dispenser payment.
  • @reinamora_137 #9118 03:36 AM, 21 Dec 2023
    Strange dispenses would use keyburn from stamps tho
  • @mikeinspace #9119 03:41 AM, 21 Dec 2023
    @B0BSmith you doing some crazy experiment?
  • @reinamora_137 #9120 03:43 AM, 21 Dec 2023
    Haha Bob hacking the matrix with multisig keyburn dispenses
  • @reinamora_137 #9121 03:49 AM, 21 Dec 2023
    here's a regular dispense tx output on

    130c1a92610b430d3a1076c2fb25ebe010503b509b0b63290668d29b113d6f4d

    "outputs": [
    {
    "address": "1BPFXdmiCAQZeV95QcGRPvPnTfmvDSgqGo",
    "pkscript": "76a91471e689585b167e9bdf54cf5c88ea6b2ef05b451a88ac",
    "value": 1200000,
    "spent": true,
    "spender": {
    "txid": "c27c32c3b293546eca85e1c2bb0e5cb34a3a9e062ff68ffa686141edabb7cfe6",
    "input": 0
    }
    },
    {
    "address": "15YshMrGDJVHhv6fa9znCHLx9fBjTTzcXP",
    "pkscript": "76a91431e7b77acbc8b54c5f11bc595f29e27d20d40c3b88ac",
    "value": 2515000,
    "spent": false,
    "spender": null
    }
    ],
    "block": {
    "height": 822115,
    "position": 3501
    },

    and the dispense in questions output:

    "outputs": [
    {
    "address": "bc1qyjs878wa5scugdmerwzujq5ygt9gs90ren5a59",
    "pkscript": "001424a07f1ddda431c437791b85c9028442ca8815e3",
    "value": 800,
    "spent": true,
    "spender": {
    "txid": "90add27bc5344da99a18da406c8137df170e73a65dab4f7ecdbc8b8ffdede6cb",
    "input": 12
    }
    },
    {
    "address": null,
    "pkscript": "512103b9f8085fc19009e6cfc6e1866bdcb36c49f3245f43da0a686d228b52fd543d30210276a19411a8d995d28434f358d4cf8919bcf61b9256e2c0e975798f82bc17f8332102020202020202020202020202020202020202020202020202020202020202020253ae",
    "value": 801,
    "spent": false,
    "spender": null
    },
    {
    "address": null,
    "pkscript": "51210398d9cbb0a439d494c0da02de861980fd78c031e6dd2d8d93cff5f5259c0b9f8a2103c123ff9ef70dca49092868dfc4db2904319d442c669575d7aaad8b22fef96a932102020202020202020202020202020202020202020202020202020202020202020253ae",
    "value": 801,
    "spent": false,
    "spender": null
    },

    perhaps blockchain.com is pulling the information wrong off chain. i'll do some more digging on a btc node directly to deconstruct tomorrow.
  • @reinamora_137 #9122 03:53 AM, 21 Dec 2023
    i do know i got different results from CP when querying for that transaction a couple/three weeks ago - it didn't show as a dispense at least.
  • @B0BSmith #9123 09:20 AM, 21 Dec 2023
    I not done any experiments but doesn't counterparty let you use multisig if you want for any message
  • @B0BSmith #9124 09:39 AM, 21 Dec 2023
    so yeah you can use burn keys to do a dispenser .. thats well within normal counterparty spec
  • @XJA77 ↶ Reply to #9124 #9125 09:40 AM, 21 Dec 2023
    but is not a dispenser opening is a dispense payment
  • @B0BSmith #9126 09:41 AM, 21 Dec 2023
    a diapense payment? .. dispensers don't create onchain transaction when paying out
  • @B0BSmith #9127 09:42 AM, 21 Dec 2023
    they run in cp as a result of a incoming dispense request that is on chain
  • @B0BSmith #9128 09:42 AM, 21 Dec 2023
    show me a dispense payment tx that is from a Dispenser to a buyer on chain ????
  • @B0BSmith #9129 09:44 AM, 21 Dec 2023
    dispensers act on btc received .. there is nothing stopping anyone putting anything into a tx that has a output paying a dispenser
  • @B0BSmith #9130 09:45 AM, 21 Dec 2023
    so has someone done a cp message containing tx whilst also sending to a dispenser
  • @XJA77 #9131 09:46 AM, 21 Dec 2023
    yep this is he strange part of this
  • @XJA77 #9132 09:46 AM, 21 Dec 2023
    it should be decoded if there are a cp message right?
  • @XJA77 #9133 09:50 AM, 21 Dec 2023
    ah no worry i was checking wrong tx
  • @XJA77 #9134 09:50 AM, 21 Dec 2023
    jejeje
  • @B0BSmith #9135 09:52 AM, 21 Dec 2023
    you would think cp would decode if if its a cp message

    is there a restriction on cp only decoding 1st outputs? but recently dispensers were tweaked to now work on all outputs
  • @B0BSmith #9136 09:52 AM, 21 Dec 2023
    so you could do a tx that has a multisig encoded tx issuance or send or destroy whilst still also sending money to a dispenser in another output
  • @B0BSmith #9137 09:54 AM, 21 Dec 2023
    tx id please anyone n we can look closer n not just guess
  • @B0BSmith #9138 10:51 AM, 21 Dec 2023
    This tx has burnkeys

    https://www.blockchain.com/explorer/transactions/btc/ed02ab78a10f2ad771692a71c2ace245dfd09c2fcd1394117d20b9c53fd196f4

    but is apparently has no counterparty data
    https://jpja.github.io/Electrum-Counterparty/decode_tx.html

    So could it be a SRC20 tx .. I have no idea how that stuff is encoded
    Transaction: ed02ab78a10f2ad771692a71c2ace245dfd09c2fcd1394117d20b9c53fd196f4 | Blockchain.com

    The easiest and most trusted transaction search engine and block explorer.

  • @jp_janssen #9139 11:02 AM, 21 Dec 2023
    If you open in debug mode and view console you might find out more.
  • @B0BSmith #9140 11:07 AM, 21 Dec 2023
    * API DATA * decode_tx.html
    ed02ab78a10f2ad771692a71c2ace245dfd09c2fcd1394117d20b9c53fd196f4 decode_tx.html
    815530 decode_tx.html
    4F21AzKCFKuNmizpuGKkihD4mr7V4jmkfd decode_tx.html:94:17
    utxo: 758166ffbc06c3c9181f3f858478ea479b0ca6649ad169a1933ad8a7468d54b7 decode_tx.html
    pay-to-witness-pubkey-hash decode_tx.html
    ? decode_tx.html
    ? decode_tx.html
    pay-to-multi-pubkey-hash decode_tx.html
    512102ceb3e1deb2dd136e05c3702c21f1186f11677bcdf400deb5bfe2eeccd58135292102cbe8ca0d4b0cf036c54e4b02d239e181055ab4ddeb0bcd04ad17700b899d6c332102222222222222222222222222222222222222222222222222222222222222222253ae decode_tx.html
    0 decode_tx.html
    pay-to-multi-pubkey-hash decode_tx.html
    512102fea32f96190240351f20911065bf14a8626490a99b41d7052752785cd0df99d32102a8ece6c056c542187473e0f50ccdf521b6d05ef34d0d9e4cfc381b3d9bfff2942103333333333333333333333333333333333333333333333333333333333333333353ae decode_tx.html
    0 decode_tx.html
    pay-to-witness-pubkey-hash decode_tx.html
    ? decode_tx.html
    ? decode_tx.html
    msig 0 decode_tx.html
    msig 48 decode_tx.html
  • 22 December 2023 (28 messages)
  • @WalleChen #9142 04:27 AM, 22 Dec 2023
    Joined.
  • @ABlue0ne #9143 04:04 PM, 22 Dec 2023
    Who is admin of counterparty.io?
  • @ABlue0ne #9144 04:06 PM, 22 Dec 2023
    nm,. thats jdog
  • @jdogresorg #9145 04:08 PM, 22 Dec 2023
    I control the domain name... but @hodlencoinfield has access/control to the domain name in case i die... and, happy to point it to wherever the community wants... just holding it for the community... . but yeah, counterparty.io website is run by me currently
  • @ABlue0ne #9146 04:11 PM, 22 Dec 2023
    Cool. I was asking to see if there was a quick redirect or include or path error that could be rectified to get the docs back up. They have been down quite a while. This has to hurt adoption.
  • @jdogresorg #9147 04:12 PM, 22 Dec 2023
    counterparty.io... main toolbar "Docs" links to docs.counterparty.io which is current... prolly some old/dead links on the counterparty.io site... but, did my best to drive ppl to the current docs by changing the main menu item to point to the current docs
  • @jdogresorg #9148 04:13 PM, 22 Dec 2023
    the site needs a revamp.... I started on a quick/dirty revamp a few years ago but never found time to circle back and fix the copy, features, etc.... new.counterparty.io
  • @jdogresorg #9149 04:14 PM, 22 Dec 2023
    an updated / modern website would def help... CPs website is old/outdated and is not a good impression when ppl first arrive
  • @ABlue0ne ↶ Reply to #9149 #9151 04:42 PM, 22 Dec 2023
    Google has deep links to the wrong URL's. The sitemap.xml is outdated and pointing to the dead links. https://counterparty.io/sitemap.xml https://counterparty.io/docs-sitemap.xml WP can do dynamic redirects and Cpanel can help too.
  • @ABlue0ne #9152 04:43 PM, 22 Dec 2023
    Google is showing results that counterparty.io says to show per the sitemap
  • @jdogresorg #9153 04:44 PM, 22 Dec 2023
    got it... if someone else wants to take over handling the website, im all for it... but, fixing old wordpress stuff is not a priority for me
  • @jdogresorg #9154 04:45 PM, 22 Dec 2023
    @ffmad had a website design he was having worked on a couple years ago... maybe that is the route to go... the site looked pretty minimalistic / simple from what I recall... might be worth checking in with him 🙂
  • @ABlue0ne #9155 04:45 PM, 22 Dec 2023
    robots.txt and sitemap are not exactly wordpress, there are multiple ways to fix. DM me if you want to share admin creds.
  • @jdogresorg #9156 04:46 PM, 22 Dec 2023
    happy to do simple updates like drop files in place (robots.txt, sitemap.xml, etc)... but not gonna spend a bunch of time in wordpress (nor I do want others to do so... the site is old/outdate and framework it is built on breaks on even the most simple edits).... so, prefer we just focus on getting a new site than waste time trying to "tweak" an old wordpress theme from 2014
  • @ABlue0ne ↶ Reply to #9156 #9157 04:50 PM, 22 Dec 2023
    You could quickly update a robots.txt and the sitemap.xml to reference https://docs.counterparty.io/sitemap.xml
  • @jdogresorg #9158 04:51 PM, 22 Dec 2023
    cool send them over to me and i'll drop them in place
  • @jdogresorg #9159 04:51 PM, 22 Dec 2023
  • @jdogresorg #9161 04:51 PM, 22 Dec 2023
    pls send files
  • @jdogresorg #9162 04:52 PM, 22 Dec 2023
    wanna just save files and push to server n be done with it... thx 🙂
  • @ABlue0ne #9163 04:52 PM, 22 Dec 2023
    ssh terminal vi but ok
  • @jdogresorg #9164 04:52 PM, 22 Dec 2023
    yes... could do it
  • @ABlue0ne #9165 04:52 PM, 22 Dec 2023
    :wq!
  • @jdogresorg #9166 04:52 PM, 22 Dec 2023
    prefer to do it when I have time and not do it now.... working on testing dogeparty release now
  • @ABlue0ne #9167 04:52 PM, 22 Dec 2023
    j-doge
  • @ABlue0ne ↶ Reply to #9156 #9168 05:01 PM, 22 Dec 2023
    Best I can do it a robots.txt file BC the counterparty.io sitemap is generated on the fly by a WP Plugin called 'All in One SEO' The plugin would need to be configured by a wpadmin to reference the sitemap.xml for the docs. Check you DM for the updated robots.txt, it only adds "Sitemap: https://counterparty.io/sitemap.xml" to the bottom of the existing robots.txt I could generate a static sitemap from the existing sitemap and modify it to reflect the correct docs sitemap, but then the sitemap would not be 'dynamic' or the SEO plugin will override any change.
  • @jdogresorg #9169 05:02 PM, 22 Dec 2023
    I put file on server https://counterparty.io/robots.txt
  • @ABlue0ne ↶ Reply to #9169 #9170 05:28 PM, 22 Dec 2023
    I assumed that because docs.counterparty.io was 'current' that the sitemap for docs.counterparty.io would be too, it is not. All of the links on the docs.counterparty.io/sitemap.xml point to a defunct github.io page.

    The current github page for docs (https://github.com/CounterpartyXCP/Documentation) points back to the old website. What a hydra. Now search engines are indexing two incorrect sitemaps.

    If docs.counterparty.io could generate an accurate sitemap, or if if github will answer the URL's provided in the docs sitemap, search engine results would self correct over time.
    GitHub - CounterpartyXCP/Documentation: Official Documentation of the Counterparty Project

    Official Documentation of the Counterparty Project - CounterpartyXCP/Documentation

  • 23 December 2023 (20 messages)
  • @AryanJab #9172 04:59 AM, 23 Dec 2023
    Outside of https://public.coindaddy.io:14001, are there other public testnet Counterparty servers?
  • @AryanJab #9173 05:01 AM, 23 Dec 2023
    Am getting {"code": -32000, "message": "Server error", "data": "Counterparty database is behind backend."} when running

    curl 'https://public.coindaddy.io:14001/api/' \
    -H 'authorization: Basic cnBjOjEyMzQ=' \
    --data-raw '{"method":"get_balances","params":{"filters":[{"field":"address","op":"==","value":"n4JvsKuK3cxrhvm45uG2egFLnQ1EC7jkit"}]},"jsonrpc":"2.0","id":0}' \
    --compressed
  • @jdogresorg #9174 05:39 AM, 23 Dec 2023
    api.counterparty.io
  • @jdogresorg #9176 05:44 AM, 23 Dec 2023
    hrm... looks like testnet down there too... will look into it
  • @sn_noop2 #9177 02:40 PM, 23 Dec 2023
    Hi, it looks like to be a bug with dividend.

    This dividend tx (and a few others):
    https://xchain.io/tx/ea24079048c48af92a3c80ad1a3a05180d816f512ca53b91d8dd07ae5f6d70a1

    Has distributed assets to the dispenser:
    https://xchain.io/address/bc1qhscr8aemxc7lde006xc53twnq0wv6njt6sfmv0

    I've checked a few times, did the same actions as before last CP release, behavior looks different and doesn't look intended.
  • @jdogresorg #9179 02:41 PM, 23 Dec 2023
    AFAIK that is not a bug.... dividends pay out to holders of a coin... including paying out on tokens that are escrowed in the DEX or in dispensers.
  • @jdogresorg #9180 02:43 PM, 23 Dec 2023
    if I created a token supply of 100... put the entire supply in an order or dispenser.. then tried to pay a dividend 1:1 on that token... would have issues cuz not everyone is "holding" the coin... so dividends pay out to where the tokens are held.
  • @jdogresorg #9181 02:44 PM, 23 Dec 2023
    I believe this has always been the behavior.... the only recent change to dividends was to support paying out dividends on tokens that were "reset" (token divisibility reset)
  • @sn_noop2 #9182 02:44 PM, 23 Dec 2023
    Ok thanks, that's a bit odd to me, the dispenser don't really "hold" the assets. Guessing it's giving to all supply the origin doesn't hold. I'll deal with that thx
  • @sn_noop2 #9183 02:45 PM, 23 Dec 2023
    My bad, I've always closed dispensers prior dividend, this was the first without closing. Thx
  • @jdogresorg ↶ Reply to #9173 #9186 04:42 PM, 23 Dec 2023
    FYI... spent some time looking into this and it appears as if someone rolled out their own broadcast tx (not generated via the API), and crashed testnet with the malformed broadcast tx.

    Javier and I have identified the issue and put forth a PR with a fix for this issue.

    https://github.com/CounterpartyXCP/counterparty-lib/pull/1295
    Invalidate Broadcasts with Malformed Text by pataegrillo · Pull Request #1295 · CounterpartyXCP/counterparty-lib

    I don't know why there wasn't a single broadcast with a malformed text before, but counterparty testnet crashed because the length marked in the first byte was not the same as the length of...

  • @jdogresorg #9187 04:42 PM, 23 Dec 2023
    I have applied the above fix to all the CP servers I am running to get testnet up and parsing txs again... and all is parsing again as expected.

    It is suprising that in the full history of counterparty, no one has done a malformed broadcast like this before, but it was bound to happen eventually with more usage (over 50K+ broadcasts in past few weeks)

    IMO this is not an issue where counterparty mainnet is down/dead, so I don't feel it is appropriate to push an emergency hotfix release without community dev/feedback.

    It is my suggestion to the community and other core maintainers, that the best path forward is to issue a 9.61.2 hotfix release which includes just the fix for the broadcast parsing issue.
  • @AryanJab ↶ Reply to #9186 #9188 05:20 PM, 23 Dec 2023
    Thank you, sir. This is why I mistakenly yelled out "FIRE" yesterday when it was only a fire drill. Heh.
  • @jp_janssen #9189 05:52 PM, 23 Dec 2023
    Which tx id broke testnet?
    Want to check if it was someone using my script
  • @jp_janssen #9190 06:17 PM, 23 Dec 2023
    Look at this: https://github.com/Jpja/Electrum-Counterparty/blob/master/decode_tx.html

    Line 557

    When i wrote the tx decoder, texts were a headache because sometimes the first byte was a length byte, sometimes it was the first text character. .

    Not only for broadcast texts but also issuance descriptions. Seems the issuances length byte disapperared with 9.60. For subasset (different msg type) there has never been a length byte.

    Mystery to me. Good to get to the root of this.
    Electrum-Counterparty/decode_tx.html at master · Jpja/Electrum-Counterparty

    Generate OP_RETURN for sending Counterparty tokens from Electrum - Jpja/Electrum-Counterparty

  • @ABlue0ne ↶ Reply to #9190 #9191 06:22 PM, 23 Dec 2023
    Your code looks beautiful. Indented, plainly worded and with comments! Someone give this man a promotion.
  • @ABlue0ne ↶ Reply to #9192 #9193 07:46 PM, 23 Dec 2023
    Address history shows several bt: broadcast’s related to leon. Leonardo?
  • @jp_janssen ↶ Reply to #9192 #9195 10:08 PM, 23 Dec 2023
    Length byte hex:3b = 59
    The actual text was 35 bytes. Likely that length byte > text length caused it to crash.

    Still a mystery to me why length byte sometimes is included, sometimes excluded.

    I wouldn't be surprised if other message types can crash too. Destructions, sends, sweeps, issuances .. all have text fields.
  • 24 December 2023 (1 messages)
  • @wxgpt #9196 02:48 AM, 24 Dec 2023
    None
  • 26 December 2023 (3 messages)
  • @AryanJab #9201 09:06 PM, 26 Dec 2023
    Is there a testnet xcp.ninja? @sn_noop2 ?
  • @sn_noop2 #9202 09:45 PM, 26 Dec 2023
    Nope
  • @sn_noop2 #9203 09:50 PM, 26 Dec 2023
    We are working on migrating out from xchain, crossed fingers for early 2024. Thanks for the remark, we will think on a way to easily plug testnet on it or any other btc-like chain.

    NB: this is not in our plan atm, servers have a cost and we would need to duplicate all infrastructure for each chain.
  • 27 December 2023 (2 messages)
  • @6772479821 #9204 03:32 PM, 27 Dec 2023
    Dogeparty (@DogepartyXDP) on X

    Should Dogeparty implement a 0.1 XDP fee for numeric assets? Pros: prevention of numeric asset spam & abuse, requires users to have a minimal investment in the success of XDP Cons: impacts Dogecoin Stamps creators & other users of numeric assets Feel free to discuss below! 🐶

  • @6772479821 ↶ Reply to #9204 #9205 03:33 PM, 27 Dec 2023
    wen for counterparty🙌
  • 28 December 2023 (3 messages)
  • @ZNNBANYAMA #9206 12:14 AM, 28 Dec 2023
    Joined.
  • @Snowkidind ↶ Reply to #9203 #9207 05:14 PM, 28 Dec 2023
    Pardon me, just stumbled across this, who is “We”
  • @sn_noop2 #9208 11:41 PM, 28 Dec 2023
    stamped.ninja and xcp.ninja . I've expected you knew me 😅 I'm not that famous
  • 29 December 2023 (1 messages)
  • @jsteezy1 #9209 01:04 AM, 29 Dec 2023
    Joined.