• 25 February 2024 (122 messages)
  • @g0barry #7835 09:51 PM, 25 Feb 2024
    Or would work once developed
  • @hodlencoinfield #7836 09:51 PM, 25 Feb 2024
    i imagine a sort of multisend tx where you can send assets to multiple outputs created with that tx, then you can spend them into new outputs or into an address
  • @6370143984 #7837 09:52 PM, 25 Feb 2024
    you move assets in and out of UTXOs
  • @6370143984 #7838 09:52 PM, 25 Feb 2024
    Per Derp's CIP:
    >Since Counterparty assets used in this way aren't permanently tied a sat, but optionally bound and unbound, when it comes time to move an asset out of a UTXO and back into a users wallet, the updated send function will be used. It will take the asset containing UTXO and user payments as input. Outputs will include the function to move the asset from the UTXO to the users wallet and the users change output.
  • @g0barry #7839 09:53 PM, 25 Feb 2024
    Ok, I see
  • @XJA77 #7840 09:53 PM, 25 Feb 2024
    is like when creating the send there is a bind to an utxo
  • @6370143984 #7841 09:53 PM, 25 Feb 2024
    it's a major architectural change... like dispensers.
  • @6370143984 #7842 09:53 PM, 25 Feb 2024
    except awesome.
  • @6370143984 #7843 09:54 PM, 25 Feb 2024
    but back to the immediate issue at hand: is the dev/business/dapp/whatever community open to possibly reverting close delays?
  • @hodlencoinfield #7844 09:55 PM, 25 Feb 2024
    i think so
  • I don’t think you’ll face any resistance. I bet most people don’t even realize it exists
  • @uanbtc ↶ Reply to #7843 #7846 09:56 PM, 25 Feb 2024
    I would revert a couple of things 🤓
  • @XJA77 #7847 09:56 PM, 25 Feb 2024
    the patch dont solve the issue and creates other issues so yes..
  • def makes sense to include any other pressing issues
  • @6370143984 #7849 09:58 PM, 25 Feb 2024
    it's not user facing and doesn't solve the problem, so I think it's quite compelling.
  • @6370143984 #7850 09:58 PM, 25 Feb 2024
    BTW we got to checkpoint @ block 825k
  • @6370143984 #7851 09:58 PM, 25 Feb 2024
    very, very good news.
  • @hodlencoinfield #7852 09:58 PM, 25 Feb 2024
    almost there!
  • @6370143984 #7853 09:58 PM, 25 Feb 2024
    yes! I am honestly astounded, 6k blocks to go but if nothing changes no one will have lost money because of consensus breaks
  • @6370143984 #7854 09:59 PM, 25 Feb 2024
    and will not need to rewrite history.
  • @hodlencoinfield #7855 10:00 PM, 25 Feb 2024
    i had faith
  • @6370143984 #7856 10:00 PM, 25 Feb 2024
    I honestly didn't
  • @6370143984 #7857 10:00 PM, 25 Feb 2024
    but still super happy
  • @6370143984 #7858 10:00 PM, 25 Feb 2024
    don't want to jump the gun, ofc...
  • @hodlencoinfield #7859 10:02 PM, 25 Feb 2024
    whats 7000 blocks between friends
  • @6370143984 #7860 10:03 PM, 25 Feb 2024
    if it were between friends there'd be no need for a blockchain lol
  • @6370143984 #7861 10:04 PM, 25 Feb 2024
    [WIP] Pass checkpoint 800000 by ouziel-slama · Pull Request #1444 · CounterpartyXCP/counterparty-lib

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

  • @hodlencoinfield #7862 10:16 PM, 25 Feb 2024
    BAD_ADDRESSES is a great variable name
  • @XJA77 #7863 10:17 PM, 25 Feb 2024
    this is very weird bug...
  • @6370143984 #7864 10:20 PM, 25 Feb 2024
    counterparty-lib/counterpartylib/lib/blocks.py at master · CounterpartyXCP/counterparty-lib

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

  • @XJA77 #7865 10:21 PM, 25 Feb 2024
    script_pubkey[2:22] right?
  • @6370143984 #7866 10:21 PM, 25 Feb 2024
    yup
  • @6370143984 #7867 10:22 PM, 25 Feb 2024
    instead of throwing an error for an unsupported address type (p2wsh) the scriptpubkey was just truncated so it was a supported address type (p2wpkh)
  • @6370143984 #7868 10:23 PM, 25 Feb 2024
    what's neat is that when we release the fix the effect will be the opposite of what you'd expect from a consensus break: people will gain access to funds that had been effectively lost.
  • @XJA77 ↶ Reply to #7868 #7869 10:24 PM, 25 Feb 2024
    Yes lol
  • @XJA77 #7870 10:25 PM, 25 Feb 2024
    If all the addresses are invalid then is good
  • @XJA77 #7871 10:25 PM, 25 Feb 2024
    If some of the result address are valid and someone did some transaction with it then is problematic
  • @6370143984 #7872 10:25 PM, 25 Feb 2024
    i think mathematically it'd be impossible for any of these addresses to be valid.
  • @6370143984 #7873 10:26 PM, 25 Feb 2024
    sorry, they're *valid*, but unspendable.
  • @6370143984 ↶ Reply to #7872 #7874 10:26 PM, 25 Feb 2024
    can Mr Unspendable himself, @teysol, confirm pls.
  • @6370143984 ↶ Reply to #7815 #7875 10:32 PM, 25 Feb 2024
    sheesh i didn't even think about this; I assumed the way the seller rugged the buyer was by filling the order with a higher fee, but of course you're right, you can rug the buyer just by closing the dispenser. good grief.
  • @teysol ↶ Reply to #7874 #7876 11:03 PM, 25 Feb 2024
    that's correct
  • @davesta ↶ Reply to #7796 #7877 11:52 PM, 25 Feb 2024
    despite the dev team working on pbst... is it possible this protocol issue with 'minimum order amount' for BTCpay could be looked at? Alot of the users over many years have wanted to use this functionality (understanding the Auto BTC-pay and leaving FW open to do so).... but when they want to test it with low btc amounts, the protocol does not match orders

    https://github.com/CounterpartyXCP/counterparty-lib/issues/1278
    Bug for small BTC size order with BTCPAY · Issue #1278 · CounterpartyXCP/counterparty-lib

    Looking to see if this bug mentioned here CounterpartyXCP/cips#96 (comment) can get looked at and fixed to help new users wanting to use small amounts of BTC to be able to succesfully use the BTC/T...

  • @6370143984 #7878 11:55 PM, 25 Feb 2024
    I can't say what order things will be done in. Quite limited resources and there are still lots of problems, but if you ping Adam on GitHub he can assign a priority to it.

    I don't know what the upside of keeping BTCPay is if we have atomic swaps. Would be curious to hear others' thoughts.
  • @6370143984 #7879 11:56 PM, 25 Feb 2024
    I don't like being dramatic but you've got to understand that the code is basically in a pre-production ready state and hosts $1B of assets
  • @herpenstein #7880 11:58 PM, 25 Feb 2024
    I think users will still want a way to trade assets that aren’t bound to utxos.
  • @davesta ↶ Reply to #7878 #7881 11:58 PM, 25 Feb 2024
    its moreso an issue that has spanned multiple years without a fix... and in the meantime before atomic swap and psbt goes live users would love to use it and "have it work"... especially when its a trustless way to transact btc (and a very historical one as well that predates dispensers)
  • @6370143984 ↶ Reply to #7880 #7882 11:58 PM, 25 Feb 2024
    this is independent of BTCPay
  • @6370143984 #7883 11:58 PM, 25 Feb 2024
    dex will still exist
  • @davesta #7884 11:59 PM, 25 Feb 2024
    but overall was just looking to specifically have adam throw a priority status on it
  • @davesta #7885 11:59 PM, 25 Feb 2024
    dont want it to be lost and forgotten for another year....
  • 26 February 2024 (783 messages)
  • @6370143984 ↶ Reply to #7879 #7886 12:00 AM, 26 Feb 2024
    In order to reach MVP we've got to fix: consensus bugs (which exist!), performance, and deployment. Issues with the latter two are why the first went undetected for literally years...
  • @davesta #7887 12:02 AM, 26 Feb 2024
    don't forget the potholes us users have been driving around for many years ❤️
  • @davesta #7888 12:02 AM, 26 Feb 2024
    love yall, just saw it being discussed and thought i would bring it up
  • @6370143984 #7889 12:04 AM, 26 Feb 2024
    I hear you, but the potholes need to take a backseat to making sure that the bridge doesn't collapse in on itself while people are driving. User-facing problems are bad of course, but if the consensus system can't maintain consensus then everything else is moot.
  • @davesta #7890 12:05 AM, 26 Feb 2024
    understood, just dont forget about the potholes on the side roads when you build your fancy new highways ❤️
  • @6370143984 #7891 12:05 AM, 26 Feb 2024
    🤷‍♀️can't please everyone
  • @6370143984 #7892 12:07 AM, 26 Feb 2024
    we haven't come across any unfixable problems (except features of dispensers masquerading as bugs). The speed at which they're fixed though is a function of time and money.
  • @6370143984 ↶ Reply to #7880 #7893 12:15 AM, 26 Feb 2024
    @herpenstein this is an overly-subtle point. The question isn't whether we have a way to trade Counterparty assets for each other without binding them to UTXOs; that's what the dex is for and it's not going anywhere. The question rather is whether we should maintain a way to trade Counterparty assets for BTC without attaching them to UTXOs given the problems with BTCPay.
  • @6370143984 #7894 12:18 AM, 26 Feb 2024
    And I can imagine having both options causing serious UX headaches.
  • @hodlencoinfield #7895 12:36 AM, 26 Feb 2024
    the dex is suitable for asset to asset trading and has worked wonderfully for years, psbts are an asset to Bitcoin solution and are superior to both btcpay and dispensers
  • @hodlencoinfield #7896 12:36 AM, 26 Feb 2024
    They solve the shortcomings of both
  • @herpenstein #7897 12:36 AM, 26 Feb 2024
    So would replace both then?
  • @hodlencoinfield #7898 12:37 AM, 26 Feb 2024
    IMO yes
  • @6370143984 #7899 12:37 AM, 26 Feb 2024
    itshappening.gif
  • @herpenstein #7900 12:38 AM, 26 Feb 2024
    both features have been cause for various headaches
  • @hodlencoinfield #7901 12:39 AM, 26 Feb 2024
    Yes because they were trying to solve the difficult problem of trading btc for assets
  • @6370143984 #7902 12:39 AM, 26 Feb 2024
    but you guys figured it out. Derp Herpenstein and Hodlen Coinfeld
  • @hodlencoinfield #7903 12:39 AM, 26 Feb 2024
    Utxo binding plus psbts is the elegant solution
  • Well, ordinals figured it out
  • @hodlencoinfield #7905 12:39 AM, 26 Feb 2024
    To be fair
  • @6370143984 #7906 12:40 AM, 26 Feb 2024
    i just like saying silly names earnestly
  • @hodlencoinfield #7907 12:40 AM, 26 Feb 2024
    Its a bitcoin solution which means all the second layers can utilize it
  • @herpenstein #7908 12:41 AM, 26 Feb 2024
    I’m looking forward to the merging of the marketplaces in the ecosystem
  • @6370143984 #7909 12:41 AM, 26 Feb 2024
    samesies
  • @hodlencoinfield #7910 12:42 AM, 26 Feb 2024
    It’s such a stark contrast to eth too, I love it
  • @6370143984 #7911 12:42 AM, 26 Feb 2024
    increasing liquidity helps _everyone_
  • @6370143984 #7912 12:43 AM, 26 Feb 2024
    really looking fwd to it. New dev, who will be working on it in due time, made his first PRs this weekend btw
  • @6370143984 #7913 12:46 AM, 26 Feb 2024
    AFAICT once you enable UTXO binding atomic swaps are strictly better than BTCPay. If you couple that with a standardized off-chain way of doing dispensers I think you've got a pretty good setup.
  • It’s not trustless tho. You need to have your txn confirm within 20 blocks or you can get rugged in a very similar fashion to a dispenser (except maybe safer because you do have 20 blocks). Safer… but not trustless.
  • No one is going to miss BTCPay because literally no one uses it because of how bad the UX is
  • @davesta ↶ Reply to #7914 #7916 02:44 AM, 26 Feb 2024
    Whatchu mean if order doesn't match it can simply be cancelled like dex can
  • @davesta ↶ Reply to #7915 #7917 02:45 AM, 26 Feb 2024
    Though this is true... Only one wallet supports it and has a big bug in it
  • Bitcoin is unique on the dex. At some point the bitcoin txn is broadcast. You have 20 blocks for it to confirm to get the asset. If it takes 21 blocks you’ve sent the bitcoin but won’t get the asset
  • @davesta ↶ Reply to #7918 #7919 02:50 AM, 26 Feb 2024
    Which just leaves it as an open order on the DEX UI in FW... Which means cancelling the order would return the BTC .. though haven't tested that specifically.. was just my understanding of how that feature worked
  • Bitcoin isn’t escrowed by the protocol. Bitcoin txn gets broadcast. Now you could try double-spending it back, but you can’t “cancel” it because it was broadcast. You sent bitcoin to another address at the base layer. The base layer has no awareness of counterparty
  • @davesta ↶ Reply to #7920 #7921 02:53 AM, 26 Feb 2024
    Gotchya didn't know that
  • @6370143984 ↶ Reply to #7915 #7922 02:56 AM, 26 Feb 2024
    this makes sense. i know it's crazy to hear in 2024 but in 2013 people didn't worry about full blocks
  • @6370143984 #7923 02:57 AM, 26 Feb 2024
    Mike, I assume Stamps relies quite heavily on dispensers, is that right?
  • @6370143984 #7924 03:00 AM, 26 Feb 2024
    would moving them off-chain be very disruptive if you had atomic swaps in addtn?

    as an end-user I believe the only thing you really lose by taking dispensers off chain is the abilty to have the dispenser be both non-custodial and not require you to keep your wallet open.
  • @6370143984 #7925 03:00 AM, 26 Feb 2024
    (imo this is a bad reason to put logic on-chain. doesn't solve a trust issue, but just sort of outsources a business to the blockchain)
  • Yes, dispensers are the number 1 trading mechanism for Stamps - though tbf, src20 now makes up about 90% of stamps traffic and those don't use dispensers at all
  • @6370143984 #7927 03:01 AM, 26 Feb 2024
    how do you trade them?
  • @XJA77 #7928 03:02 AM, 26 Feb 2024
    at the moment therer are 2 different approach for it, stamped ninja relies on dispensers to trade stamps, also they use it as a way to send stamps to minters of src20, the other approach is openstamp that uses a custodial mechanism
  • Removing dispensers? That would be very disruptive to the broader CP community.
  • You're gonna laugh but its in the same insane way that BRC-20 are traded. You mint a "transfer" which is essentially its own stamp
  • @XJA77 #7931 03:03 AM, 26 Feb 2024
    having atomic swaps to replace them i think is a fair trade, also dispensers as i understand could be implemented offchain by anyone, just custodying assets, checking for incoming payment and sending asset right?
  • Trusted PSBT through marketplaces
  • @6370143984 ↶ Reply to #7930 #7933 03:03 AM, 26 Feb 2024
    🤷‍♀️this industry didn't develop as I thought it would at all
  • @6370143984 ↶ Reply to #7929 #7934 03:04 AM, 26 Feb 2024
    i'm not advocating it (though I think it's the right thing to do). atm i am trying to understand the community's needs. again, you wouldn't replace dispensers with nothing, but an off-chain solution. the only thing you'd lose AFAIK is non-custodial dispensers that don't require users to keep their wallet open. OTOH you get PSBTs
  • @6370143984 ↶ Reply to #7931 #7935 03:05 AM, 26 Feb 2024
    dispensers already were an offchain business at one point. OGs will recall Vennd[.]io
  • Then swapbots after that
  • would the new atomic swap method work with "supply"... or would the tokens need to be single supply?
  • @6370143984 #7938 03:05 AM, 26 Feb 2024
    I think there's some inside baseball I'm missing. @hodlencoinfield ?
  • @6370143984 #7939 03:06 AM, 26 Feb 2024
    idk what 'supply' is as a term of art.
  • @hodlencoinfield #7940 03:06 AM, 26 Feb 2024
    Most people cannot maintain the server infrastructure to run their own offchain solution like vennd or swapbots
  • Right, I get that. I think its more a cultural thing at this point. Its very ingrained into the culture.
  • @6370143984 ↶ Reply to #7940 #7942 03:06 AM, 26 Feb 2024
    yep, that's exactly the tradeoff
  • @hodlencoinfield #7943 03:07 AM, 26 Feb 2024
    I think if anything you need to ween people off of them by showing a better solution
  • @6370143984 #7944 03:07 AM, 26 Feb 2024
    I am going to speak out of turn and get berated privately I am sure but if I am not mistaken PSBTs and dispensers may be in conflict with each other, architecturally.
  • @mikeinspace #7945 03:08 AM, 26 Feb 2024
    With a dispenser you can set one up with 100 or even 1000 supply and just let it run. With an atomic swap would you need to set-up 100 of them?
  • Many artists use dispensers as their sales channel because for a one time cost of a Tx fee I can sell 100 editions
  • This is where dispensers still have an advantage
  • @mikeinspace #7948 03:08 AM, 26 Feb 2024
    right
  • @mikeinspace #7949 03:08 AM, 26 Feb 2024
    That's very much the culture. Selling editions with a single txn
  • @hodlencoinfield #7950 03:08 AM, 26 Feb 2024
    If they’re artist deployed then there’s no trust issue
  • @6370143984 #7951 03:09 AM, 26 Feb 2024
    could you do a decentralized minting thing as an ersatz for that
  • @hodlencoinfield #7952 03:09 AM, 26 Feb 2024
    That’s not a bad idea
  • @hodlencoinfield #7953 03:09 AM, 26 Feb 2024
    It is different tho and only works for new assets
  • @6370143984 #7954 03:10 AM, 26 Feb 2024
    I don't think there's going to be a perfect replacement
  • @6370143984 #7955 03:10 AM, 26 Feb 2024
    dispensers are unique precisely because of the tradeoffs they make
  • @6370143984 #7956 03:10 AM, 26 Feb 2024
    if you replace them with a solution that doesn't make those same tradeoffs you won't get the same perceived benefits.
  • @6370143984 #7957 03:11 AM, 26 Feb 2024
    There may be something clever you can do to keep it non-custodial, off-chain and solve the availability problem
  • @6370143984 #7958 03:12 AM, 26 Feb 2024
    You might be able to create a central order book but have users self-custody keys. Sellers sign txs, and a TTP broadcasts them when there's a matching buy.
  • @6370143984 #7959 03:13 AM, 26 Feb 2024
    idk just thinking outloud. might not make any sense.
  • Yea, I think there are def clever things with utxo binding we haven’t considered, functions in addition to “send to address”
  • @6370143984 #7961 03:14 AM, 26 Feb 2024
    the high-level requirements are: off-chain, non-custodial, and available.
  • @6370143984 #7962 03:15 AM, 26 Feb 2024
    we need Hodlen Coinfeld and Derp Herpenstein to have another revelation.
  • Yup that's basically what the Stamp marketplaces are doing "Trusted PSBT".
  • @6370143984 ↶ Reply to #7963 #7964 03:18 AM, 26 Feb 2024
    IMO this is a very reasonable middleground.
  • @6370143984 #7965 03:18 AM, 26 Feb 2024
    no one wants to custody keys. custodying signed txs OTOH...
  • @6370143984 #7966 03:20 AM, 26 Feb 2024
    TBH if there's no/minimal financial regulation around this it would be a _phenomenal_ business.
  • @6370143984 ↶ Reply to #7963 #7967 03:25 AM, 26 Feb 2024
    @mikeinspace who's the tx custodian in Stamps land?
  • The 2 marketplaces doing this are:

    openstamp.io

    stampscan.xyz
  • @6370143984 #7969 03:26 AM, 26 Feb 2024
    and those companies specificaly provide the service of custodying signed PSBTs and creating an order book?
  • Yes, and they take fee in the process. I think its free to list (and cancel) but if it sells, the signed txn gives them a cut
  • @6370143984 #7971 03:27 AM, 26 Feb 2024
    yeah, that's a phenomenal business model.
  • @6370143984 #7972 03:27 AM, 26 Feb 2024
    good for them.
  • @6370143984 #7973 03:28 AM, 26 Feb 2024
    Okay, I think I've done enough irresponsible brainstorming for one night lol. But it sounds like there are good options and middlegrounds.
  • actually it wouldn't be the signed txn giving them a cut it would be the buyer.
  • @hodlencoinfield #7975 03:29 AM, 26 Feb 2024
    magiceden was sending all their fees direct to their coinbase wallet so they didnt even have to pay to consolidate 😆
  • yeah that was brilliant. They stuck coinbase with the consolidation cost.
  • @hodlencoinfield #7977 03:30 AM, 26 Feb 2024
    so good
  • @mikeinspace #7978 03:30 AM, 26 Feb 2024
    Apparently, coinbase routinely loses a shit ton of money sometimes >100% value in the process
  • @hodlencoinfield #7979 03:31 AM, 26 Feb 2024
    yeah i saw something like 35 BTC extra over spend in fees
  • @hodlencoinfield #7980 03:31 AM, 26 Feb 2024
    for just the magiceden acct
  • I should do this with my dispensers... I just did a consolidation and it cost me about $30 due to all the inputs
  • @hodlencoinfield #7982 03:32 AM, 26 Feb 2024
    hahaha
  • 1.8 million USD isn't worth the effort to even fix the bug lol
  • @hodlencoinfield #7984 03:43 AM, 26 Feb 2024
    they’re printing money over there, thats barely a rounding error
  • @6370143984 #7985 04:00 AM, 26 Feb 2024
    a concern I have with an off-chain replacement involving a third party is that the latter of course would need to be paid for their services, whereas dispensers, as Counterparty users know them, are free. IMO that was a mistake: dispensers have a serious externalized cost (as is evidenced by how long block parsing takes) and should have had some sort of XCP fee associated with them.

    In any event, is paying for a dispensing service something the community could adjust to?
  • @1955573676 #7986 04:16 AM, 26 Feb 2024
    A new gas mechanism need to make infrastructure dev work and business sustainable on protocol level ...all event as long as cost cp resources need to pay gas
  • @1955573676 #7987 04:19 AM, 26 Feb 2024
    Gas collected partially can be used to support dev ...fully paid job makes work more fast and motivated
  • @6370143984 #7988 04:19 AM, 26 Feb 2024
    you can't do that without centralizing the project in a way that I at least would not be in support of.
  • @herpenstein #7989 04:27 AM, 26 Feb 2024
    With the current tx structure, a user would have to trust their counterparty to perform any trade in 1 tx.

    As things are now, a PSBT of an asset send in exchange for btc has the same downside as buying from a dispenser. If artists/buyers accept those risks, this structure can do something somewhat similar.
  • @herpenstein #7990 04:28 AM, 26 Feb 2024
    The artist would need x utxos and to sign x psbts
  • @herpenstein #7991 04:28 AM, 26 Feb 2024
    And if the artist doesn’t otherwise move the assets, anyone who executed a utxo would get the asset
  • @herpenstein #7992 04:29 AM, 26 Feb 2024
    Definitely more cumbersome, unless the ui allowed for bulk signing with a single click
  • @herpenstein #7993 04:31 AM, 26 Feb 2024
    And the expense of splitting utxos
  • @mikeinspace #7994 04:40 AM, 26 Feb 2024
    Regarding the gas fee, definitely appreciate the need for it. I also can't proclaim what would be the best "engineering" solution, but an alternative proposal has been discussed a bit that might satisfy the requirements (addressing externalized costs) while keeping user friction low.

    Essentially, user pays exclusively in Bitcoin and some of that Bitcoin is used to purchase xcp from the market and burn it (ideally all within a single txn). In this way, the gas situation is addressed while the user doesn't need to go through the friction of aquiring xcp.

    Candidly, such an approach does "help" stamps as its more aligned with the project's "ethos" but I think it also helps Counterparty by ensuring a low-friction environment (user growth) as well as create a constant demand for xcp.
  • @davesta ↶ Reply to #7985 #7995 06:29 AM, 26 Feb 2024
    if its in xcp and is able to deploy multiple dispensers on multiple addresses (even if more in xcp) it might be viable... but with recent prices i might do an educated guess of 0.05 xcp as a number to start with... im not sure how the community would take that tho.... being so used to dispensers and dex using just a btc tx fee
  • @davesta ↶ Reply to #7994 #7996 06:32 AM, 26 Feb 2024
    something 'similar' in theory was discussed in the github somewhat recently here: https://github.com/CounterpartyXCP/cips/discussions/92#discussioncomment-8561841
    Asset Issuances paying only BTC · CounterpartyXCP/cips · Discussion #92

    Currently in order to issue a Named asset or Subasset, an XCP anti-spam fee is required. One of the primary complaints I have heard over the years is that "Counterparty requires a shitcoin (XC...

  • @6370143984 #7997 08:31 AM, 26 Feb 2024
    It's 2024: if we don't have dynamic fees that scale with demand then we're hosed. I think as a rule no more hard-coded fees going fwd.
  • @6370143984 ↶ Reply to #7994 #7998 08:32 AM, 26 Feb 2024
    yep, Adam and I actually have built exactly this kind of tx chaining before. That was for a different kind of blockchain but pretty sure we can do it again.
  • @6370143984 #7999 08:39 AM, 26 Feb 2024
    @herpenstein good thoughts! thank you.
  • @jp_janssen ↶ Reply to #7828 #8000 08:40 AM, 26 Feb 2024
    Delayed Dispenser Closing · CounterpartyXCP/cips · Discussion #120

    It was suggested on Telegram that closing of dispensers should be delayed by five blocks. This to prevent an attack vector ("rugspenser") where seller detects incoming dispense and immedi...

  • @teysol #8001 08:42 AM, 26 Feb 2024
    yeah solution #2 there is to just reimplement BTCpay :)
  • @teysol #8002 08:43 AM, 26 Feb 2024
    but it's generally correct
  • @jp_janssen #8003 09:28 AM, 26 Feb 2024
    With psbt do the seller and buyer need to be online at the same time?
  • @teysol #8004 09:32 AM, 26 Feb 2024
    nope
  • @teysol #8005 09:32 AM, 26 Feb 2024
    and with the wallet solution, just the seller does (and if the seller goes offline, then it'll work again as soon as they come back)
  • @B0BSmith ↶ Reply to #7584 #8006 10:29 AM, 26 Feb 2024
    dbcache= setting in bitcoin.conf can help during initial sync

    Add as much dbcache as your setup/ram allows whilst doing the initial sync n then drop it back to normal once your at the chain tip
  • @robotlovecoffee #8007 11:35 AM, 26 Feb 2024
    832062 getting closer for those following along...
  • @6547712609 #8008 01:16 PM, 26 Feb 2024
    Joined.
  • @6370143984 #8009 01:16 PM, 26 Feb 2024
    the PR to pass checkpoint @ block 825k was merged: https://github.com/CounterpartyXCP/counterparty-lib/pull/1444
    [WIP] Pass checkpoint 800000 by ouziel-slama · Pull Request #1444 · CounterpartyXCP/counterparty-lib

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

  • @6370143984 ↶ Reply to #8007 #8010 01:35 PM, 26 Feb 2024
    This seems kind of slow for initial block download on AWS.About the same that I was getting with Starlink, while I was definitely being metered.
  • @robotlovecoffee #8011 01:36 PM, 26 Feb 2024
    ya perhaps it is the instance as it is not crazy big
  • @robotlovecoffee #8012 01:37 PM, 26 Feb 2024
    it is a t2.large
  • @robotlovecoffee #8013 01:38 PM, 26 Feb 2024
    but based on monitoring does not look over utilized
  • @6370143984 #8014 01:38 PM, 26 Feb 2024
    anyway, once bitcoind is caught up should be unaffected by network stuff.
  • @robotlovecoffee #8015 01:39 PM, 26 Feb 2024
    it is up todate now, so on to next step
  • @6370143984 #8016 01:39 PM, 26 Feb 2024
    @teysol just said this: "fyi I just did a kickstart on a GCP 4-core machine on mainnet and it took <24 hours to get to block 800k". @XJA77 what were the specs of the machine that catch-up took two weeks on?
  • @XJA77 ↶ Reply to #8016 #8017 01:40 PM, 26 Feb 2024
    Ryzen7 16gb
  • @XJA77 #8018 01:40 PM, 26 Feb 2024
    2tb
  • @6370143984 #8019 01:41 PM, 26 Feb 2024
    looking like a > 10x speedup on mainnet 😊
  • @6370143984 #8020 01:48 PM, 26 Feb 2024
    For anyone interested to see the externalized cost of dispensers, here's profiling done after extensive optimization.
  • @teysol #8021 02:26 PM, 26 Feb 2024
    it's even worse than than itlooks, because the whole reason we can't just run list_tx() in parallel is that the dispenser logic breaks an important abstraction boundary by writing to the DB when parsing vanilla bitcoin outputs
  • @6370143984 #8022 02:29 PM, 26 Feb 2024
    Right :/. Is there a way to quantify the corresponding performance hit to that limitation?
  • @6370143984 #8023 02:29 PM, 26 Feb 2024
    or is it basically just taking list_tx() down to zero
  • @teysol #8024 02:31 PM, 26 Feb 2024
    the latter
  • @teysol #8025 02:32 PM, 26 Feb 2024
    hopefully we'll still be able to parallelize the rest of list_tx(), but it's much harder
  • @6370143984 #8026 02:33 PM, 26 Feb 2024
    list_tx() and dispense() together account for 60% of block parsing time lol
  • @ABlue0ne ↶ Reply to #7934 #8027 02:33 PM, 26 Feb 2024
    Some people still trust.
  • @hodlencoinfield #8028 02:34 PM, 26 Feb 2024
    24 hours is on par with ord
  • @teysol #8029 02:34 PM, 26 Feb 2024
    ah great!
  • @hodlencoinfield #8030 02:34 PM, 26 Feb 2024
    even longer for ord if you enable sat-index
  • @teysol #8031 02:34 PM, 26 Feb 2024
    that's an excellent metric
  • @6370143984 #8032 02:35 PM, 26 Feb 2024
    does ord parsing also have to be done serially wrt bitcoind catch-up?
  • @hodlencoinfield #8033 02:35 PM, 26 Feb 2024
    yes, you wait til bitcoind is caught up before running ord
  • @6370143984 #8034 02:35 PM, 26 Feb 2024
    wow that's great for us
  • @6370143984 #8035 02:35 PM, 26 Feb 2024
    nice find @hodlencoinfield
  • @hodlencoinfield #8036 02:36 PM, 26 Feb 2024
    would know better running both on the same machine
  • @hodlencoinfield #8037 02:36 PM, 26 Feb 2024
    better comparison anyway
  • @6370143984 #8038 02:36 PM, 26 Feb 2024
    @teysol when we kill addrindexrs we'll be bringing the necessary indexing in-house, yeah?
  • @6547712609 #8039 02:37 PM, 26 Feb 2024
    👋
  • @6370143984 ↶ Reply to #8038 #8040 02:40 PM, 26 Feb 2024
    how do you imagine that change will affect performance?
  • @teysol #8041 02:43 PM, 26 Feb 2024
    so we're still digging to find all of the ways we *actually* use addrindexrs and what we really need it for
  • @teysol #8042 02:43 PM, 26 Feb 2024
    it might be the case that we don't need to index all transactions for all addresses for instance
  • @teysol #8043 02:44 PM, 26 Feb 2024
    it might be that we can trust a bunch of servers because we can locally verify the results perfectly
  • @6370143984 #8044 02:44 PM, 26 Feb 2024
    right.
  • @teysol #8045 02:44 PM, 26 Feb 2024
    but whatever indices we can't get rid of, yeah I think we'd build and store in our own local copy of RocksDB
  • @6370143984 ↶ Reply to #8043 #8046 02:44 PM, 26 Feb 2024
    aren't there privacy implications to this?
  • @6370143984 #8047 02:45 PM, 26 Feb 2024
    (I agree the security concerns are not real)
  • @teysol #8048 02:46 PM, 26 Feb 2024
    I don't think so, but it depends on how we use them
  • @teysol #8049 02:46 PM, 26 Feb 2024
    for instance, if we only need to ask for the pubkeyhash -> pubkey mapping before we construct a transaction, then there's no privacy leak because you're about to broadcast that same data to the blockchain :)
  • @teysol #8050 02:47 PM, 26 Feb 2024
    in any case we need to do more digging first
  • @hodlencoinfield #8051 02:47 PM, 26 Feb 2024
    obviously eliminating addrindexrs from the stack would be great since then counterparty-lib would only need bitcoind
  • @teysol #8052 02:47 PM, 26 Feb 2024
    yup exactly
  • @teysol #8053 02:47 PM, 26 Feb 2024
    I feel pretty confident we can do it *somehow*
  • @teysol #8054 02:48 PM, 26 Feb 2024
    and it'll be a major win for usability
  • @hodlencoinfield #8055 02:48 PM, 26 Feb 2024
    maybe just incorporate some of its functionality directly into counterparty-lib
  • @6370143984 ↶ Reply to #8053 #8056 02:48 PM, 26 Feb 2024
    targeting v11.0?
  • @teysol #8057 02:48 PM, 26 Feb 2024
    yup, not definite though
  • @hodlencoinfield #8058 02:48 PM, 26 Feb 2024
    the biggest benefit is for block explorers and wallets
  • @hodlencoinfield #8059 02:49 PM, 26 Feb 2024
    being able to query txs by address is a necessity for both of those
  • @6370143984 #8060 02:50 PM, 26 Feb 2024
    I think an issue is that if I'm not mistaken with 9.61addrindexrs became a consensus-critical dependency.
  • @robotlovecoffee #8061 02:50 PM, 26 Feb 2024
    i'm getting the following error as I used 8333 and not 8332 I think
  • @robotlovecoffee #8062 02:50 PM, 26 Feb 2024
    not sure how to reset and if I need to rebuild
  • @robotlovecoffee #8063 02:50 PM, 26 Feb 2024
    export ADDRINDEXRS_INDEXER_RPC_ADDR=0.0.0.0:8432
    export ADDRINDEXRS_DAEMON_RPC_ADDR=localhost:8332
  • not sure when it started tbh, im not sure how dispensers would work without utilizing that to some degree
  • @robotlovecoffee #8065 02:51 PM, 26 Feb 2024
    I think I need these to be 8332, sorry just the 2nd one
  • @hodlencoinfield #8066 02:51 PM, 26 Feb 2024
    i was under the impression it was a necessity prior to that which is why we always used the btcdrak patched core prior
  • @6370143984 #8067 02:52 PM, 26 Feb 2024
    I believe drak's patch was for wallet functionality, not consenus-y stuff
  • @hodlencoinfield #8068 02:52 PM, 26 Feb 2024
    but seems it was just for counterblock and counterwallet
  • @6370143984 #8069 02:52 PM, 26 Feb 2024
    @robotlovecoffee what is your error?
  • @robotlovecoffee #8070 02:52 PM, 26 Feb 2024
    WARN - failed to connect daemon at 127.0.0.1:8332: Connection refused (os error 111)
  • @robotlovecoffee #8071 02:52 PM, 26 Feb 2024
    running cargo run --release -- -vvv
  • @6370143984 #8072 02:53 PM, 26 Feb 2024
    do you have the right auth credentials?
  • @hodlencoinfield #8073 02:53 PM, 26 Feb 2024
    wallet functionality IS still important but yeah that was a misunderstanding i personnally had regarding why it was necessary
  • @6370143984 #8074 02:53 PM, 26 Feb 2024
    no argument here.
  • @teysol ↶ Reply to #8065 #8075 02:53 PM, 26 Feb 2024
    so the default bitcoind mainnet port is 8332; ADDRINDEXRS_DAEMON_RPC_ADDR tells addrindexrs what port to use to talk to bitcoind
  • @robotlovecoffee #8076 02:53 PM, 26 Feb 2024
    my .config is
  • @robotlovecoffee #8077 02:53 PM, 26 Feb 2024
    rpcallowip=127.0.0.1
    rpcuser=rpc
    rpcpassword=rpc
    server=1
    txindex=1
    rpcport=8333
    addresstype=legacy
    prune=0
    mempoolfullrbf=1
    listen=1
    dbcache=4000
  • @teysol #8078 02:54 PM, 26 Feb 2024
    ADDRINDEXRS_INDEXER_RPC_ADDR specifies the IP and port that addrindexrs uses to host *its* RPC server
  • @teysol #8079 02:54 PM, 26 Feb 2024
    we actually just deleted all of these config options from our recommended setup
  • @teysol #8080 02:54 PM, 26 Feb 2024
    now we rely on the defaults
  • @teysol #8081 02:54 PM, 26 Feb 2024
    :)
  • @6370143984 #8082 02:54 PM, 26 Feb 2024
    so he should pull develop for both addrindexrs and counterparty-lib and counterparty-cli, yeh?
  • @teysol #8083 02:55 PM, 26 Feb 2024
    no need
  • @6370143984 #8084 02:55 PM, 26 Feb 2024
    ah awesome!
  • @teysol #8085 02:55 PM, 26 Feb 2024
    he just needs to remove all specifications of the ports for all services (including the ENV variables in his .bashrc or whatever, and restart the shell)
  • @teysol #8086 02:57 PM, 26 Feb 2024
    if you don't specify any ports on the CLI, in ENV variables, or in the config files, then on mainnet:

    bitcoind is on 8332
    addrindexers is on 8432
    counterparty is on 4000

    and they should all connect just fine (at least if you're not using Docker)
  • @robotlovecoffee #8087 02:57 PM, 26 Feb 2024
    sorry for the lone windows dev here... I chaneg btc .config to remove most but not all right? I still need txindex
  • @6370143984 #8088 02:58 PM, 26 Feb 2024
    for btc config just remove the rpcport I think. everything else is fine
  • @robotlovecoffee #8089 02:58 PM, 26 Feb 2024
    restart shell is reboot instance?
  • @6370143984 #8090 02:58 PM, 26 Feb 2024
    nah
  • @robotlovecoffee #8091 02:58 PM, 26 Feb 2024
    just the BTC stop start
  • @6370143984 #8092 02:59 PM, 26 Feb 2024
    just open a new terminal, you didn't globally set those env vars
  • @robotlovecoffee #8093 02:59 PM, 26 Feb 2024
    to pull new vars
  • @robotlovecoffee #8095 03:00 PM, 26 Feb 2024
    so at the moment I ssh into my aws start a screen for btc node and run it, then I was trying to create another screen to get the addr working
  • @teysol #8096 03:00 PM, 26 Feb 2024
    and for counterparty/server.conf
  • @robotlovecoffee #8097 03:00 PM, 26 Feb 2024
    I assume I stop btc node to pull new .config
  • @6370143984 #8098 03:00 PM, 26 Feb 2024
    yep i think that's right
  • @teysol #8099 03:00 PM, 26 Feb 2024
    and for addrindexrs
  • @teysol #8100 03:01 PM, 26 Feb 2024
    afk
  • @6370143984 #8101 03:01 PM, 26 Feb 2024
    TXID_LIMIT 😭
  • does excuting this overwrite existing vars
  • @6370143984 #8103 03:01 PM, 26 Feb 2024
    yes
  • @robotlovecoffee #8104 03:01 PM, 26 Feb 2024
    ok
  • @6370143984 ↶ Reply to #8101 #8105 03:02 PM, 26 Feb 2024
    consensus-critical environment variable...
  • @robotlovecoffee #8106 03:05 PM, 26 Feb 2024
    INFO - NetworkInfo { version: 260000, subversion: "/Satoshi:26.0.0/" }
    INFO - BlockchainInfo { chain: "main", blocks: 832136, headers: 832136, bestblockhash: "000000000000000000015106f35ac24de60a371a2382cbf5b192a852f1837993", pruned: false, initialblockdownload: false }
    DEBUG - opening DB at "./db/mainnet"
  • @6370143984 #8107 03:06 PM, 26 Feb 2024
    all good!
  • @robotlovecoffee #8108 03:06 PM, 26 Feb 2024
    got something diff so think that might have worked
  • @6370143984 #8109 03:06 PM, 26 Feb 2024
    yep, give it a sec
  • @6370143984 #8110 03:06 PM, 26 Feb 2024
    addrindexrs logging is inconsistent and bad so don't read too much into it
  • @6370143984 ↶ Reply to #8106 #8111 03:07 PM, 26 Feb 2024
    this is the message that lets you know it's working. (NB: it'll write to directory mainnet if you're on testnet, so if you want to run a testnet instance probably should specify a new addrindexrs db-dir)
  • @6370143984 #8112 03:14 PM, 26 Feb 2024
    @robotlovecoffee just fyi addrindexrs does some compaction thing that gets its db down to ~132GB, but before that it's > 300GB. I think you should provision for 500GB
  • @robotlovecoffee #8113 03:20 PM, 26 Feb 2024
    i did a 1.5gb disk
  • @6370143984 #8114 03:20 PM, 26 Feb 2024
    TB?
  • @6370143984 #8115 03:21 PM, 26 Feb 2024
    1.5tb should be plenty.
  • @robotlovecoffee #8116 03:27 PM, 26 Feb 2024
    fck yes, T
  • @droplister ↶ Reply to #7764 #8117 03:33 PM, 26 Feb 2024
    If you know what commands would produce what you want I can expertly paste them.
  • @6370143984 #8118 03:37 PM, 26 Feb 2024
    lol all good! we got what we need. thank you, though!
  • @6370143984 #8119 04:30 PM, 26 Feb 2024
    @robotlovecoffee it's hard to know when addrindexrs is done but I think you should see a message that looks _something_ like this:
    DEBUG - applying 0 new headers from height 832149
    INFO - Indexer RPC server running on 127.0.0.1:8432 (protocol 1.4)
    would be great if someone else could confirm.
  • how long should I want to check?
  • @robotlovecoffee #8121 04:41 PM, 26 Feb 2024
    tomorrow?
  • @uanbtc ↶ Reply to #8032 #8122 05:28 PM, 26 Feb 2024
    Ord starts indexing in parallel with Bitcoin, not after
  • @hodlencoinfield #8123 05:31 PM, 26 Feb 2024
    that must be new
  • @hodlencoinfield #8124 05:33 PM, 26 Feb 2024
    i have to run ord index update any time i want to catch up to the current block
  • @uanbtc #8125 05:34 PM, 26 Feb 2024
    About the discussion of dispensers, I think it will be hard to replace with a better UX. So I think it should be about optimizing what currently exists:

    1. Only check the first output (multi outputs was added in the last release so we can include it as part of “reverting recent bad updates”)

    2. No more always open for free. Adding an XCP deposit for keeping the dispenser open. This XCP is deducted per block by X amount until depleted. Or if the dispenser is consumed, the XCP left is returned.
  • @uanbtc ↶ Reply to #8123 #8126 05:35 PM, 26 Feb 2024
    Maybe, is my experience with the latest version I’m running
  • @6370143984 ↶ Reply to #8125 #8127 05:52 PM, 26 Feb 2024
    So tentatively it seems that there may be some conflict between atomic swaps and dispensers. I can't opine on the details, will leave that to @teysol.

    RE: the optimizations you mentioned:
    1. doesn't work unfortunately, because of the design of dispensers. You can't break after the first is_dispensible() returns True, since dispensing addresses can call other dispensers.
    2. totally in favor of adding fees along the lines you described: I'd make it similar to a margin position, where the fee is in proportion to the value of the dispenser (way to determine that is itself TBD) and how long it's open. I think the performance impact of a dispenser also grows in the number of dispensers that address has opened, so I'd add a fee there, too. And yeah, I'd make it extremely expensive to close the dispenser. In any event, the fee system would mean that 'set-it-and-forget-it' dispensers are no longer a thing.

    (1) and (2) would massively degrade the UX of course, and would therefore make the argument for keeping the logic on-chain less compelling. But even if the UX were the same I am personally strongly opposed to putting applications on-chain if the only upside is UX (as it is with dispensers). I try not to be opinionated on how the blockchain is used, but dispensers make Counterparty worse for everybody else both directly (by wrecking the performance) and indirectly (by making the codebase much less maintainable).

    The real way to get the desired UX is for somebody to run a business doing off-chain what dispensers do on-chain. In the absence of that, we can do our best to approximate the UX of dispensers in a wallet. Will it be perfect? No. Is the tradeoff worth it? IMO absolutely.
  • @uanbtc #8128 06:22 PM, 26 Feb 2024
    Unfortunately the users, the sellers and buyers, don’t see any of the protocol performance issues. And buyers won’t see any UX difference, so I wouldn’t describe it as a massive degradation. And really, the buyers are the most important users to please in UX.

    For them, dispensers are great. And it is shown by their popularity.

    The only “negative” is the front running, but that is just part of it all as it also affects the most fundamental protocol action of issuing assets.

    And I’m in favor of adding new ways to sell assets offchain, maybe with better “deals” (clearly for sellers as they won’t have to burn XCP to keep them open) than dispensers. But removing dispenser’s buyer UX as it exist today is not practically feasable imo.
  • @6370143984 #8129 06:22 PM, 26 Feb 2024
    if there is a choice between atomic swaps and dispensers, which do we choose?
  • @uanbtc #8130 06:23 PM, 26 Feb 2024
    For the perspective of CP, dispensers are like an atomic swap
  • @6370143984 #8131 06:24 PM, 26 Feb 2024
    I am not sure I follow. So by that logic, it's okay to get rid of dispensers if we have atomic swaps, yes?
  • @6370143984 ↶ Reply to #8128 #8132 06:25 PM, 26 Feb 2024
    The buyers will see one important UX difference: fewer dispensers because punitive fees (and they don't make sense unless they're punitive) will price sellers out.
  • @teysol ↶ Reply to #8122 #8133 06:34 PM, 26 Feb 2024
    does anyone know how this is possible?
  • @uanbtc #8134 06:35 PM, 26 Feb 2024
    Well yea definitely less dispensers if they stop being free for sellers.

    The “atomic swap” happens when the recipient address receives enough BTC for the dispense. After confirmation, the BTC was exchanged for the asset in a single transaction
  • @uanbtc ↶ Reply to #8133 #8135 06:35 PM, 26 Feb 2024
    Haven’t studied those implementation details
  • @6370143984 ↶ Reply to #8134 #8136 06:36 PM, 26 Feb 2024
    I mean atomic swaps as detailed in Derp's CIP: https://github.com/CounterpartyXCP/cips/discussions/134
    PSBT Support via attaching assets to UTXOs · CounterpartyXCP/cips · Discussion #134

    CIP: XXX Title: PSBT Support via attaching assets to UTXOs Author: Derp Herpenstein Discussions-To: ?? Status: Draft Type: ?? Created: 2024-1-26 Definitions PSBT - Partially signed bitcoin transact...

  • its not a binary
  • @uanbtc ↶ Reply to #8130 #8138 06:36 PM, 26 Feb 2024
    Yeah that is why I said “like atomic swap” here
  • @hodlencoinfield #8139 06:37 PM, 26 Feb 2024
    you have to ween users off of dispensers and onto the better solution
  • @teysol #8140 06:37 PM, 26 Feb 2024
    Atomic swaps probably aren't going to be able to replicate the slick UX of dispensers. But if we can get wallets to implement the dispenser functionality without relying on the protocol message, we can ween users off
  • @teysol #8141 06:38 PM, 26 Feb 2024
    and then atomic swaps will complement that
  • @hodlencoinfield #8142 06:39 PM, 26 Feb 2024
    one thing to consider is that any offchain solution to dispensers incurs a lot of fees to the operator
  • @hodlencoinfield #8143 06:39 PM, 26 Feb 2024
    would be a tough sell
  • @teysol #8144 06:39 PM, 26 Feb 2024
    why would the fees be higher?
  • @6370143984 #8145 06:39 PM, 26 Feb 2024
    because the fees have been eaten by the nework as a whole up to now
  • @uanbtc #8146 06:39 PM, 26 Feb 2024
    Costs he means I think
  • @hodlencoinfield #8147 06:39 PM, 26 Feb 2024
    because the operator doesnt send individual assets out when they receive payments
  • @hodlencoinfield #8148 06:39 PM, 26 Feb 2024
    with dispensers
  • @uanbtc #8149 06:39 PM, 26 Feb 2024
    True
  • @hodlencoinfield #8150 06:40 PM, 26 Feb 2024
    so you could sell 100 editions for one tx fee
  • @hodlencoinfield #8151 06:40 PM, 26 Feb 2024
    or 100 editions for 100 tx fees
  • @teysol #8152 06:40 PM, 26 Feb 2024
    hm yeah that can be resolved with atomic swaps
  • @teysol #8153 06:40 PM, 26 Feb 2024
    it's going to be a complicated solution, with lots of user testing
  • @uanbtc #8154 06:41 PM, 26 Feb 2024
    I think it will be about options. Dispensers will have a cost for sellers now, so that gives the alternatives a way to compete
  • @hodlencoinfield #8155 06:41 PM, 26 Feb 2024
    yes, i think its def possible to be creative with the “binding” tx so that you can create 100 outputs and send 1 asset to each of those outputs in a single tx
  • @hodlencoinfield #8156 06:41 PM, 26 Feb 2024
    so yes it will be a higher fee than a dispenser creation but its still done in one tx
  • @hodlencoinfield #8157 06:42 PM, 26 Feb 2024
    and the selling point is that there’s zero risk of having to send funds back to people that sent btc to a high demand dispenser and didnt get anything
  • @uanbtc #8158 06:43 PM, 26 Feb 2024
    But front running won’t be solved right?
  • @hodlencoinfield #8159 06:43 PM, 26 Feb 2024
    it will be solved in the fact that the loser doesnt lose money
  • @hodlencoinfield #8160 06:43 PM, 26 Feb 2024
    their tx fails
  • @teysol #8161 06:43 PM, 26 Feb 2024
    front running would be solved by atomic swaps
  • @uanbtc #8162 06:44 PM, 26 Feb 2024
    Ok yeah that makes sense
  • @hodlencoinfield #8163 06:44 PM, 26 Feb 2024
    front running still would exist because thats how bitcoin works, but yeah either your tx is confirmed and you get the asset or its not confirmed and you dont
  • @hodlencoinfield #8164 06:45 PM, 26 Feb 2024
    but no funds lost
  • @uanbtc #8165 06:45 PM, 26 Feb 2024
    Well… I’m not fully understanding it yet. What if I do another psbt with a higher fee? I might be missing something…
  • @teysol #8166 06:45 PM, 26 Feb 2024
    it would be an auction in that case
  • @teysol #8167 06:45 PM, 26 Feb 2024
    and no one would lose money
  • @uanbtc ↶ Reply to #8163 #8168 06:45 PM, 26 Feb 2024
    Ok
  • @hodlencoinfield #8169 06:46 PM, 26 Feb 2024
    private mempools help mitigate that
  • @hodlencoinfield #8170 06:46 PM, 26 Feb 2024
    which is what the brc-20 community is finding out
  • @uanbtc #8171 06:46 PM, 26 Feb 2024
    How would having many dispensers in a single address work?
  • @uanbtc ↶ Reply to #8171 #8172 06:46 PM, 26 Feb 2024
    In the atomic swap alternative I mean
  • actually they probly make it worse lol
  • @6370143984 ↶ Reply to #8154 #8174 06:47 PM, 26 Feb 2024
    to be clear: the UTXO tracking necessary for Derp's CIP will have a substantial externalized cost, too, so an XCP fee for binding counterparty assets to UTXOs should be contemplated, as well. OTOH since they're trustless you don't need to make dishonest behavior prohibitively expensive.
  • there are no addresses, assets bound to utxos
  • @uanbtc ↶ Reply to #8173 #8176 06:47 PM, 26 Feb 2024
    But I’m ok with that. If I could mine a block I would put whatever I want in it 🤓
  • im against adding xcp here because of the extra friction
  • @6370143984 #8178 06:48 PM, 26 Feb 2024
    you can mitigate that with tx chaining
  • @hodlencoinfield #8179 06:48 PM, 26 Feb 2024
    you can send to many addresses or bind to utxos
  • @hodlencoinfield #8180 06:48 PM, 26 Feb 2024
    i dont see a reason for the 2nd to have an xcp fee
  • @6370143984 #8181 06:49 PM, 26 Feb 2024
    My position is that any use-case which has a disproportionate affect on the network should incur fees.
  • @hodlencoinfield #8182 06:49 PM, 26 Feb 2024
    you could say that about everything
  • @6370143984 #8183 06:49 PM, 26 Feb 2024
    ...
  • @6370143984 #8184 06:49 PM, 26 Feb 2024
    sure
  • @hodlencoinfield #8185 06:49 PM, 26 Feb 2024
    any feature adds computational cost
  • @hodlencoinfield #8186 06:49 PM, 26 Feb 2024
    we live in an age of indexers without native tokens, you want users to chose counterparty not add a layer of friction
  • @uanbtc ↶ Reply to #8175 #8187 06:50 PM, 26 Feb 2024
    Well then is totally different from dispensers. I wouldn’t call it a replacement, but a new way
  • @hodlencoinfield #8188 06:50 PM, 26 Feb 2024
    yes it is totally different
  • @6370143984 ↶ Reply to #8185 #8189 06:50 PM, 26 Feb 2024
    but in this case the change being contemplated breaks Counterparty's architecture in a new way, as a direct result of which performance takes a massive hit.
  • @hodlencoinfield #8190 06:50 PM, 26 Feb 2024
    not worth the cost of friction
  • @6370143984 #8191 06:51 PM, 26 Feb 2024
    I understand your opinion; I have mine
  • @uanbtc #8192 06:51 PM, 26 Feb 2024
    I think at least we can all agree that dispensers should not be unlimited time for free
  • wasnt too long ago we had a contentious fork because of wanting to add xcp fees 😛
  • @6370143984 #8194 06:53 PM, 26 Feb 2024
    I've said over and over that my opposition to that fork wasn't because it added xcp fees
  • @hodlencoinfield #8195 06:53 PM, 26 Feb 2024
    im just saying in general, not you specifically
  • @hodlencoinfield #8196 06:53 PM, 26 Feb 2024
    its a hot button topic
  • @6370143984 #8197 06:53 PM, 26 Feb 2024
    Oh sure.
  • @hodlencoinfield #8198 06:54 PM, 26 Feb 2024
    the goal of utxo binding is to eliminate a giant computational cost (dispensers) so on net you still come out on top keeping it free of an xcp fee
  • @uanbtc ↶ Reply to #8198 #8199 06:54 PM, 26 Feb 2024
    You will have to track utxos now right? So is not free either…
  • @6370143984 #8200 06:54 PM, 26 Feb 2024
    this is all assuming there's a future in which dispensers are free
  • @6370143984 #8201 06:54 PM, 26 Feb 2024
    which I disagree with
  • def not free
  • @hodlencoinfield #8203 06:55 PM, 26 Feb 2024
    on net if it results in dispensers being sunset then it will be
  • @6370143984 #8204 06:55 PM, 26 Feb 2024
    My thinking is pretty straightforward: this is a fee for using a feature which will tangibly degrade the network; that feature does not yet exist and therefore the fee isn't prejudiced against any specific use-case; that fee will be charged to existing users of the platform and therefore will not prevent new users from joining the network. the fee will be denominated in XCP, Counterparty's native currency, which was created in a provably fair and decentralized way. liquidity for the XCP will be provided by the feature itself, with the XCP/BTC trading pair.
  • @uanbtc #8205 06:55 PM, 26 Feb 2024
    I think the “assets available at an address” is too cool to be replaced lol
  • @hodlencoinfield #8206 06:55 PM, 26 Feb 2024
    its not hard to imagine the conversations if announce a new version with XCP fees on dispensers
  • @hodlencoinfield #8207 06:56 PM, 26 Feb 2024
    you dont have to sell me on XCP, ive been living with it for 10 years
  • @hodlencoinfield #8208 06:56 PM, 26 Feb 2024
    i understand the pros and cons
  • @6370143984 #8209 06:56 PM, 26 Feb 2024
    I'm not selling you on XCP or anything, I am explaining why I think this is a reasonable place for a fee.
  • @hodlencoinfield #8210 06:57 PM, 26 Feb 2024
    i get it but i also understand the reality of the landscape we find ourselves in
  • @hodlencoinfield #8211 06:58 PM, 26 Feb 2024
    its a good conversation to have regardless, would be interesting to get others thoughts
  • @6370143984 ↶ Reply to #8194 #8212 06:58 PM, 26 Feb 2024
    this is what was tough about the contentious fork drama: Counterparty _does_ have a free-rider problem; that free-rider problem is partly because Counterparty isn't sticky; Counterparty isn't sticky because it has nonsensical tokenomics.

    The above ofc has nothing to do with charging fees for numeric assets
  • @hodlencoinfield #8213 07:00 PM, 26 Feb 2024
    psbts create a huge opportunity for whoever wants to build that marketplace
  • @teysol #8214 07:00 PM, 26 Feb 2024
    people hear the word "fees" and think "friction". it's not that simple. fees can (and generally should be) dynamic, so that fees are very low as long as usage is low. and there are ways of making fee payments transparent to the user. but not all features have the same computational/storage cost, and BTC fees aren't enough for supporting heavier transactions
  • @hodlencoinfield #8215 07:01 PM, 26 Feb 2024
    the first question someone will ask is “why doesnt ord have this problem?"
  • @hodlencoinfield #8216 07:02 PM, 26 Feb 2024
    or any of the other indexers built on top of it
  • @hodlencoinfield #8217 07:03 PM, 26 Feb 2024
    you’ll need a VERY compelling argument
  • @6370143984 #8218 07:03 PM, 26 Feb 2024
    sure.
  • @hodlencoinfield #8219 07:04 PM, 26 Feb 2024
    IMO xcp fees make most sense for features that are unique to counterparty
  • @hodlencoinfield #8220 07:05 PM, 26 Feb 2024
    like issuing named assets and sweeps and dividends
  • @hodlencoinfield #8221 07:05 PM, 26 Feb 2024
    applying them to basic functions that other bitcoin based tokens can do without a native token fee would be just shooting ourselves in the foot
  • @6370143984 #8222 07:06 PM, 26 Feb 2024
    nothing better than having to beg for forgiveness for adding fees denominated in a fairly minted currency for a feature which has a direct impact on node operators, while everyone cheers on 'governance tokens'
  • @6370143984 ↶ Reply to #8221 #8223 07:06 PM, 26 Feb 2024
    this is a self-created problem because we've been crying mea culpa since day 1 for having created XCP in the first place.
  • @hodlencoinfield #8224 07:06 PM, 26 Feb 2024
    yes so lets not exacerbate it lol
  • @6370143984 #8225 07:07 PM, 26 Feb 2024
    that's not how it works
  • @6370143984 #8226 07:07 PM, 26 Feb 2024
    You don't change the narrative by conceding a faulty premise
  • @hodlencoinfield #8227 07:07 PM, 26 Feb 2024
    it wasnt faulty at the time
  • @hodlencoinfield #8228 07:07 PM, 26 Feb 2024
    things change
  • @hodlencoinfield #8229 07:07 PM, 26 Feb 2024
    its not conceding anything
  • @hodlencoinfield #8230 07:08 PM, 26 Feb 2024
    no one is asking to remove XCP fees from named issuances for example
  • @hodlencoinfield #8231 07:08 PM, 26 Feb 2024
    or sweeps or dividends
  • @6370143984 #8232 07:08 PM, 26 Feb 2024
    lol, that's because those fees were added without asking anyone
  • @hodlencoinfield #8233 07:08 PM, 26 Feb 2024
    all the more reason to ask for them to be removed
  • @6370143984 #8234 07:08 PM, 26 Feb 2024
    that is not how human psychology works
  • @hodlencoinfield #8235 07:09 PM, 26 Feb 2024
    sir
  • @6370143984 #8236 07:09 PM, 26 Feb 2024
    🤷‍♀️ idk what to say. I am fine with disagreeing on this point.
  • @hodlencoinfield #8237 07:09 PM, 26 Feb 2024
    hahaha me too
  • @hodlencoinfield #8238 07:09 PM, 26 Feb 2024
    better to get more opinions
  • @g0barry ↶ Reply to #8221 #8239 07:10 PM, 26 Feb 2024
    Imagine having to pay XCP to do a send
  • @g0barry #8240 07:10 PM, 26 Feb 2024
    would be terrible
  • @hodlencoinfield #8241 07:11 PM, 26 Feb 2024
    or make an order
  • @hodlencoinfield #8242 07:11 PM, 26 Feb 2024
    better analogy in this case
  • @g0barry #8243 07:11 PM, 26 Feb 2024
    Keeping fees to a few functions is more sane
  • @g0barry #8244 07:11 PM, 26 Feb 2024
    There is zero user benefit to adding more fees
  • @6370143984 ↶ Reply to #8244 #8245 07:12 PM, 26 Feb 2024
    by this same logic dispensers are perfect.
  • @g0barry #8246 07:12 PM, 26 Feb 2024
    How does a user benefit from additional XCP fees? If that were the case, we should put fees on every function, and increase existing fees 10x
  • @g0barry #8247 07:12 PM, 26 Feb 2024
    even better
  • @6370143984 #8248 07:13 PM, 26 Feb 2024
    the network exists for the users, to be sure, but the whole thing breaks if there isn't a virtuous cycle between the platform and the users.
  • @6370143984 ↶ Reply to #8248 #8249 07:13 PM, 26 Feb 2024
    (and to jump to the conclusion: yes, the platform is basically broken as of 9.61.1; and yes, I directly attribute that to Counterparty's broken tokenomics)
  • @herpenstein #8250 07:13 PM, 26 Feb 2024
    My opinion would be that fees should only be on functionality that has direct alignment of incentives with users.

    I think this is a good example of when a fee directly aligns. 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...

  • @6370143984 #8251 07:14 PM, 26 Feb 2024
    @herpenstein how about dispensers
  • @g0barry #8252 07:14 PM, 26 Feb 2024
    I mean, there is no direct link between the XCP token price, and the "platform"
  • you’re making xchain’s argument
  • @6370143984 #8254 07:14 PM, 26 Feb 2024
    *that* is broken tokenomics.
  • @hodlencoinfield #8255 07:15 PM, 26 Feb 2024
    stamps are a burden we need an xcp fee on numerics
  • @hodlencoinfield #8256 07:15 PM, 26 Feb 2024
    network cant handle it
  • @6370143984 #8257 07:15 PM, 26 Feb 2024
    they weren't a burden
  • @6370143984 #8258 07:15 PM, 26 Feb 2024
    that was not a real argument
  • @hodlencoinfield #8259 07:15 PM, 26 Feb 2024
    and neither are dispensers to the users
  • @hodlencoinfield #8260 07:15 PM, 26 Feb 2024
    and xchain makes reverse argument
  • @6370143984 #8261 07:15 PM, 26 Feb 2024
    lol, you surely understand why that is not apples-to-apples, but whatever.
  • @hodlencoinfield #8262 07:15 PM, 26 Feb 2024
    “dispensers just fine here"
  • @6370143984 #8263 07:16 PM, 26 Feb 2024
    if removing all barriers to entry were the best way to guarantee success then we'd all be using Open Transactions.
  • @hodlencoinfield #8264 07:16 PM, 26 Feb 2024
    everyone is using ord
  • @6370143984 #8265 07:16 PM, 26 Feb 2024
    there are cultural reasons for that
  • @hodlencoinfield #8266 07:16 PM, 26 Feb 2024
    and lower friction reasons
  • @g0barry #8267 07:16 PM, 26 Feb 2024
    I'm just pointing out, that pumping XCP, doesn't fund operations, and will make it more expensive for users
  • @g0barry #8268 07:16 PM, 26 Feb 2024
    It pumps the bagholders
  • @6370143984 #8269 07:17 PM, 26 Feb 2024
    _pumping XCP_ is no one's goal; coordinating XCP's utility with the network's usage absolutely _is_ a goal.
  • @hodlencoinfield #8270 07:17 PM, 26 Feb 2024
    what if it was just a higher btc fee for heavier txs
  • @hodlencoinfield #8271 07:17 PM, 26 Feb 2024
    accomplishes the same thing and doesnt pump XCP
  • @6370143984 #8272 07:18 PM, 26 Feb 2024
    Then Counterparty as a platform still atrophies.
  • @g0barry #8273 07:18 PM, 26 Feb 2024
    If this were any other system
  • @g0barry #8274 07:18 PM, 26 Feb 2024
    we would criticize attempts for scammy tokenomics
  • @g0barry #8275 07:19 PM, 26 Feb 2024
    XCP is already deflationary, name registration, subnames are burning XCP
  • @g0barry #8276 07:19 PM, 26 Feb 2024
    etc
  • @6370143984 #8277 07:19 PM, 26 Feb 2024
    if name registration isn't 'scammy tokenomics' then tying fees to computational load certainly isn't
  • @hodlencoinfield #8278 07:19 PM, 26 Feb 2024
    xchain argument
  • @6370143984 #8279 07:20 PM, 26 Feb 2024
    it just isn't joe
  • @6370143984 #8280 07:20 PM, 26 Feb 2024
    i don't know what to tell you
  • @6370143984 #8281 07:20 PM, 26 Feb 2024
    numeric issuances don't break Counterparty's entire transaction model
  • @g0barry #8282 07:20 PM, 26 Feb 2024
    At least with name registration, there is a legit reason, antispam to prevent mass registration and camping
  • @hodlencoinfield #8283 07:20 PM, 26 Feb 2024
    thats how it looks, most people dont understand nuance here
  • @6370143984 #8284 07:20 PM, 26 Feb 2024
    you keep flipflopping between how it looks and what it is. If you enjoy debating for its own sake this makes sense but it's not arguing in good faith.
  • no i think ive been consistent, im agreeing the argument is different from xchain argument but im not agreeing xcp is the solution
  • @6370143984 #8286 07:21 PM, 26 Feb 2024
    okay that's fine
  • @hodlencoinfield #8287 07:21 PM, 26 Feb 2024
    and im just pointing out from the surface it looks just like numeric asset argument
  • @hodlencoinfield #8288 07:21 PM, 26 Feb 2024
    so you’re fighting an uphill battle
  • @g0barry ↶ Reply to #8286 #8289 07:22 PM, 26 Feb 2024
    What do you feel needs to be "paid" for, or a fee charged for, in principle, so I understand ?
  • @hodlencoinfield #8290 07:22 PM, 26 Feb 2024
    and it does add friction, anyone thats used counterparty can attest to that, its one of the main reasons stamps uses numerics
  • @g0barry #8291 07:22 PM, 26 Feb 2024
    in addition to what is done currently
  • @6370143984 ↶ Reply to #8290 #8292 07:22 PM, 26 Feb 2024
    we can add tx chaining so that xcp purchase and utxo binding happen in the same block
  • @hodlencoinfield #8293 07:23 PM, 26 Feb 2024
    purchase from where?
  • @uanbtc #8294 07:23 PM, 26 Feb 2024
    The main problem with dispensers is in the backend. For users, they are great. That is a problem we need to figure out how to solve…

    Thinking that maybe we should just require dispense transactions to include a CNTRPRTY message and that will solve the backend’s performance issues and there will be no need to add a fee to dispensers.
  • @hodlencoinfield #8295 07:23 PM, 26 Feb 2024
    im def onboard with that
  • @6370143984 ↶ Reply to #8294 #8296 07:24 PM, 26 Feb 2024
    adam mentioned that to me before. but dispenses aren't even counterparty transactions...
  • @6370143984 ↶ Reply to #8293 #8297 07:24 PM, 26 Feb 2024
    I think you can do this with an onchain btc/xcp market.
  • @hodlencoinfield #8298 07:25 PM, 26 Feb 2024
    people need to send to dispenser from a counterparty aware wallet anyway
  • @hodlencoinfield #8299 07:25 PM, 26 Feb 2024
    so having a message included to make it valid makes sense
  • @hodlencoinfield #8300 07:25 PM, 26 Feb 2024
    and that would put them on par with an order
  • @hodlencoinfield #8301 07:26 PM, 26 Feb 2024
    as far as computational cost
  • @6370143984 ↶ Reply to #8289 #8302 07:26 PM, 26 Feb 2024
    As I've said at length, transactions which _by design_ (*not* numeric issuances e..g) have an *outsized* externalized cost should be more costly.
  • @6370143984 #8303 07:26 PM, 26 Feb 2024
    It's great that dispensers onboarded so many users, but they almost broke everything.
  • @g0barry ↶ Reply to #8302 #8304 07:27 PM, 26 Feb 2024
    But there is zero link between the platform, and XCP burned
  • @hodlencoinfield #8305 07:27 PM, 26 Feb 2024
    well we’re talking hypotheticals here anyway, why not wait to have the conversation until after you know what that cost is
  • @6370143984 #8306 07:27 PM, 26 Feb 2024
    because it came up...
  • @g0barry #8307 07:27 PM, 26 Feb 2024
    Burning XCP, doesn't pay to run a node
  • @6370143984 #8308 07:27 PM, 26 Feb 2024
    that isn't the only math that matters here
  • @6370143984 #8309 07:28 PM, 26 Feb 2024
    bitcoin node operators don't get paid to run nodes, but they do. but if btc were worthless, they wouldn't.
  • @g0barry #8310 07:28 PM, 26 Feb 2024
    I mean, are you worried about too many txs to process?
  • @g0barry #8311 07:28 PM, 26 Feb 2024
    Aren't the limits of btc L1 low enough to keep it reasonable?
  • @uanbtc ↶ Reply to #8296 #8312 07:28 PM, 26 Feb 2024
    Then we should make them. The simplest possible way, maybe even allow clear text CNTRPRTY by itself in the op return would be cool
  • @hodlencoinfield #8313 07:28 PM, 26 Feb 2024
    should add a message id
  • @hodlencoinfield #8314 07:29 PM, 26 Feb 2024
    make it clean
  • @6370143984 ↶ Reply to #8310 #8315 07:29 PM, 26 Feb 2024
    I am worried about the fact that there was a consensus bug exploited in the wild for 2.5 years and no one caught it. I think the reason for that is that users of Counterparty don't know they're using Counterparty for the most part and astonishingly there seems to be a consensus that that's a good thing.
  • @hodlencoinfield #8316 07:29 PM, 26 Feb 2024
    2014-2015 users are a much different breed than 2024 users
  • @uanbtc #8317 07:30 PM, 26 Feb 2024
    Well but the arc enconding is an issue for anyone not running cp aware wallets. Clear text can be much simpler for wallets to implement. And no id could just mean “counterparty read me please”
  • @g0barry ↶ Reply to #8315 #8318 07:30 PM, 26 Feb 2024
    How does fees figure into that?
  • @g0barry #8319 07:30 PM, 26 Feb 2024
    you lost me
  • @uanbtc ↶ Reply to #8315 #8320 07:31 PM, 26 Feb 2024
    Some specific exploit found?
  • @6370143984 ↶ Reply to #8316 #8321 07:31 PM, 26 Feb 2024
    there are more bitcoin nodes today than there were in 2014-2015
  • @6370143984 ↶ Reply to #8318 #8322 07:31 PM, 26 Feb 2024
    Periwig Reascends in Counterparty Developers

    bitcoin node operators don't get paid to run nodes, but they do. but if btc were worthless, they wouldn't.

  • @g0barry #8323 07:32 PM, 26 Feb 2024
    XCP has value
  • @g0barry #8324 07:32 PM, 26 Feb 2024
    Already does
  • @6370143984 ↶ Reply to #8320 #8325 07:32 PM, 26 Feb 2024
    the truncation issue. there was also a _divide by fucking zero_ error which was caught by the generic exception handling.
  • @g0barry #8326 07:33 PM, 26 Feb 2024
    I'm not a dev like you guys
  • @g0barry #8327 07:33 PM, 26 Feb 2024
    but I'm not getting it
  • @g0barry #8328 07:33 PM, 26 Feb 2024
    XCP is already deflationary
  • @g0barry #8329 07:33 PM, 26 Feb 2024
    Even though I don't own a bag of XCP, I plan to run a node
  • @6370143984 #8330 07:33 PM, 26 Feb 2024
    XCP's value is untethered to the network usage and there is a strong desire to keep it that way. My argument is that that's what nearly killed Counterparty.
  • @g0barry #8331 07:34 PM, 26 Feb 2024
    If XCP were 1k a token
  • @g0barry #8332 07:34 PM, 26 Feb 2024
    what would that fix?
  • @6370143984 #8333 07:35 PM, 26 Feb 2024
    I am not trying to be rude but I'm at a loss for a new way to state my view.
  • @g0barry #8334 07:35 PM, 26 Feb 2024
    Yeah, I'm just trying to understand