• 01 October 2023 (39 messages)
  • @jdogresorg #8113 04:02 PM, 01 Oct 2023
    Imo we need to put forth a solution to address rugspencers. We continue to see ppl getting taken for funds via rugging dispensers…. So I think we need to take some action rather than sit by n let the scamming continue because we can’t agree on a perfect solution (there is no perfect solution).

    I think we should move forward with Joe’s idea to delay dispenser closes by 5 blocks to give any pending dispenses a chance to settle.

    https://forums.counterparty.io/t/cip21-dispensers/5488/14
  • @jdogresorg #8114 04:04 PM, 01 Oct 2023
    Unless there are some serious objections, I think we should delay dispenser closing by 5 blocks in the next release
  • @sn_noop2 #8116 04:20 PM, 01 Oct 2023
    5 blocks look short, except by putting very high fees it's kind of hard to get a tx confirmed that quick.
  • @AryanJab ↶ Reply to #8116 #8117 04:22 PM, 01 Oct 2023
    It's not.
  • @sn_noop2 #8118 04:25 PM, 01 Oct 2023
    We should close this issue then https://github.com/jdogresorg/freewallet-desktop/discussions/156

    I guess you must be true, everyone knows how to validate a tx in 5 blocks
    Show sat/vB and allow user to set fee rate · jdogresorg/freewallet-desktop · Discussion #156

    People often want to set the fee rate in sat/vB to know how quickly their transaction would confirm and how expensive it is relative to other transactions (regardless of # UTXOs used). The fee rate...

  • @jdogresorg #8119 04:31 PM, 01 Oct 2023
    Freewallet is not a Counterparty project, and as I mentioned yesterday I plan to redo fee estimation in freewallet in the next release or two.

    This is a chat room for discussions about changes to the CP protocol…. Discussions on freewallet updates can take place in the freewallet channel at https://t.me/freewallet_io
    Freewallet.io Chat

    This is a channel to discuss FreeWallet and ask questions and let the community answer

  • @hodlencoinfield #8120 04:32 PM, 01 Oct 2023
    We have a 10 block delay for btcpay txs I think
  • @hodlencoinfield #8121 04:32 PM, 01 Oct 2023
    I could be wrong I haven’t checked that number in a while
  • @sn_noop2 ↶ Reply to #8119 #8122 04:33 PM, 01 Oct 2023
    I'm aware, thx for the effort 💪
  • @hodlencoinfield #8123 04:34 PM, 01 Oct 2023
    20 blocks
  • @sn_noop2 #8124 04:34 PM, 01 Oct 2023
    It was just an illustration of why 5 blocks look short to me
  • @hodlencoinfield #8125 04:34 PM, 01 Oct 2023
    20 blocks from order match to btcpay
  • @AryanJab ↶ Reply to #8124 #8126 04:34 PM, 01 Oct 2023
    It looks short to you because there's an issue open asking for fee selection and display?
  • @AryanJab ↶ Reply to #8123 #8127 04:35 PM, 01 Oct 2023
    Feels long. Sucks if something in the market happens and you need to wait 3.5 hours to change prices.
  • I agree, maybe we change them both to 10 or something
  • @hodlencoinfield #8129 04:35 PM, 01 Oct 2023
    Feels like they should be in line since the effect is the same
  • @hodlencoinfield #8130 04:37 PM, 01 Oct 2023
    But I’m not too worried about it if we just roll with 5 block delay on dispensers for now
  • @hodlencoinfield #8131 04:37 PM, 01 Oct 2023
    It’s better than what we’ve got
  • @mikeinspace #8132 04:39 PM, 01 Oct 2023
    So closing would require 5 blocks regardless of pending txn or only if there’s pending txn? If there’s variance between mempools, how is that really established?
  • No just 5 blocks
  • Makes sense
  • @hodlencoinfield #8135 04:42 PM, 01 Oct 2023
    It’s an easy way to drastically reduce a scam method
  • @hodlencoinfield #8136 04:42 PM, 01 Oct 2023
    Everyone should be paying a next block fee for dispensers anyway
  • @jdogresorg ↶ Reply to #8122 #8137 04:42 PM, 01 Oct 2023
    Greatly appreciate ur feedback on GitHub n ur code suggestion.👍🏻 The only issue is I don’t make call to cp api until user confirms tx, so no way to display sats/byte until I know actual size of tx….. I’d need to redo the wallet logic to do pre-flight checks to CP api to integrate ur suggestion…. So imo better to focus on better overall fee estimation n base fee on actual tx size than try to do a quick hack to display sats/byte.

    Def will get better fee management in freewallet soon…. Tryna close up all the main cp issues n streamline freewallet before end of 2023👍🏻
  • Well this seems more like it would reduce innocent mistakes. Closing a dispenser without knowing. A malicious seller could still just front run
  • @AryanJab ↶ Reply to #8138 #8139 04:43 PM, 01 Oct 2023
    A ton harder to front-run if you gotta win by five blocks.
  • @hodlencoinfield #8140 04:43 PM, 01 Oct 2023
    Can still front run by activating the dispenser via dispense
  • Why would you have to win by 5 blocks? You just need to outcompete the buyer to buy it yourself
  • That’s more expensive tho
  • @AryanJab ↶ Reply to #8141 #8143 04:45 PM, 01 Oct 2023
    Yes, but now you need a bunch of coin to do that.
  • @jdogresorg ↶ Reply to #8140 #8145 04:45 PM, 01 Oct 2023
    Yes, malicious seller could still buy from their own dispenser from a different address n pay way high fee…. But at least makes it a bit more difficult to scam, and requires scammer to have more funds up front to scam (gotta buy out their dispenser at the price they are selling at)
  • @sn_noop2 ↶ Reply to #8137 #8146 04:45 PM, 01 Oct 2023
    DM to avoid dev talk pollution
  • @jdogresorg #8147 04:49 PM, 01 Oct 2023
    Ok, I'll work on it on monday
  • @jdogresorg #8148 04:50 PM, 01 Oct 2023
    Javier will have 5-block dispenser close delay PR ready on Monday n I’ll test this week along with a bunch of other fixes
  • @682780739 #8149 05:08 PM, 01 Oct 2023
    Provide 3rd party verified service via DID method "verified Seller" among with the target 🎯 addy
  • @AryanJab ↶ Reply to #8149 #8150 05:10 PM, 01 Oct 2023
    DID?
  • @682780739 #8151 05:17 PM, 01 Oct 2023
    Decentralized identifier (DID) can be a NFT or FT ....BTNS is easy to deploy this feature but counterparty is okay as well ...given token named verified Seller those who finished KYC attached specific token or subasset with his info....any dispenser without this kind of verified DID just pop up a Alert"❌❌❌..." 😂
  • @sn_noop2 #8152 05:26 PM, 01 Oct 2023
    Btw, for dispensers, I don't know a lot with P2SH but high level read makes me think it can be a solution. Am I delusional?
  • @jp_janssen ↶ Reply to #8148 #8153 06:44 PM, 01 Oct 2023
    Delayed closing will solve nothing, rather open up new problems.

    Im heading to bed now so cannot discuss more. Will write my reasoning on github tomorrow.
  • 02 October 2023 (34 messages)
  • @jp_janssen #8154 12:32 PM, 02 Oct 2023
    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...

  • @sn_noop2 #8155 01:02 PM, 02 Oct 2023
    I wonder, what happens if a seller closes a dispenser then sends all its assets to another addy?

    Its more complicated as it requires 2 txs but still.
  • @jdogresorg ↶ Reply to #8154 #8157 01:02 PM, 02 Oct 2023
    So your suggestion is the same as a year ago…. Change dispensers to a reservation system, requiring two txs…. Which defeats the whole point of dispensers…. Being able to buy in a single normal btc tx…. Not multiple payments.

    Imo we have sat in this issue for over 2 years worth ppl saying “we should do X”… and x being a substantial change…. So we sit and discuss more…. And more people get scammed…. And another year passes because we can’t agree on a decision.

    Hey, five block delay does not solve all the problems. What is a step in the right direction, is a simple change, is easy to understand for all users, and makes it a bit more costly for scammers to scam.

    Five block delay may not be your perfect solution … but it is a solution we can integrate now to address this problem. We can add additional features in the future if this continues to be a major issue.

    However , continuing to ignore this issue and let people get scammed out of tens of thousands of dollars each month is unacceptable, does not reflect well on the counter party platform, and needs to be addressed now.
  • @sn_noop2 #8158 01:08 PM, 02 Oct 2023
    The proposal is an option. But P2SH wouldn't be a way? I've only read high level description but it looks to a solution where seller would have to confirm a buy to get its money.
  • @jdogresorg #8159 01:10 PM, 02 Oct 2023
    Dispensers were created by John n myself to address the issue of using btc on CP and being able to pay in a single normal btc tx…. Any option which forces multiple transactions is a step backwards in my opinion…. Dispenser should always work by default with a single BTC payment… and yes, we can absolutely add a reservation system in the future, which requires two transactions for users who want to use that feature…. But dispensers should always remain single BTC payment to trigger as a default.

    Just my $0.02
  • @mikeinspace #8160 01:14 PM, 02 Oct 2023
    Real world dispensers (vending machines) dispense candy bars and soda which have a nominal cost so even if you get “scammed” because the machine malfunctions you’re only out a dollar or two. No one sells cars or equally valuable items through vending machines for a reason.

    Not saying a price ceiling should be instituted but I think some re-enforcement of what “dispensers” are meant to do could be helpful. Maybe it’s language or UI.
  • @B0BSmith #8161 01:16 PM, 02 Oct 2023
    reservation is a nice idea for high value dispensers but doesnt really work for low value ones plus there is nothing to stop a scammer reserving their own dispenser using a higher value fee after a legit buyer submits a reservation tx, sure they will only be able to scam the reservation amount and not the whole amount, but it is kinda the same as a scammer buying from themselves even if a delay is added .. its not possible to prevent front running when the mining fee being paid is public information
  • @sn_noop2 #8162 01:18 PM, 02 Oct 2023
    Reservation amount would be dust, logically lower than fees scammer would pay.
  • @B0BSmith #8163 01:34 PM, 02 Oct 2023
    If reservation cost is just dust then it becomes possible to render other peoples dispensers to not function for next to nothing
  • @hodlencoinfield #8164 01:37 PM, 02 Oct 2023
    For higher risk you should just use btcpay
  • @sn_noop2 #8165 01:38 PM, 02 Oct 2023
    Every 10 blocks, what an effort for no profit. idk, yes it can be an issue depending of dust size but better than high value btc send scam.
  • @hodlencoinfield #8166 01:38 PM, 02 Oct 2023
    Dispensers are the “easy” option, they should never be harder to use than btcpay
  • Dispensers are a trade off, they always have been
  • @sn_noop2 #8168 01:40 PM, 02 Oct 2023
    Was answering to malicious dispensers "lock" issue
  • @hodlencoinfield #8169 01:40 PM, 02 Oct 2023
    Having a delayed close just helps eliminate one vector that has been used for scamming
  • Gotcha, the thing is this is a simple incremental change that makes it more expensive for people to rug dispensers, we can discuss alternative ways to “fix” dispensers but that shouldn’t hold up trying to solve a current issue
  • You’re ignoring that the liquidity requirements of this attack is increased by adding the delay
  • @hodlencoinfield #8172 01:46 PM, 02 Oct 2023
    Right now it’s a Tx fee to rug any value dispense
  • @hodlencoinfield #8173 01:47 PM, 02 Oct 2023
    With a delay the requirement increases with the cost of the dispense
  • @hodlencoinfield #8174 01:48 PM, 02 Oct 2023
    Also you’re not considering the number of assets in the dispenser, you would need to purchase the entire balance of the dispenser to close it
  • @hodlencoinfield #8175 01:49 PM, 02 Oct 2023
    As opposed to a single low fee dispenser close Tx
  • @sn_noop2 #8176 01:51 PM, 02 Oct 2023
    If those are your own balance, wouldn't final cost exactly the same?
  • @hodlencoinfield #8177 01:55 PM, 02 Oct 2023
    It’s a liquidity requirement
  • @hodlencoinfield #8178 01:56 PM, 02 Oct 2023
    I would suggest any devs in here that want to “fix” dispensers just work on a better UI for btcpay, it “solves” the problem by matching the order first
  • @jp_janssen #8179 01:57 PM, 02 Oct 2023
    Im writing up a CIP. Aiming to get it ready today.
  • @hodlencoinfield #8180 01:57 PM, 02 Oct 2023
    We all know dispensers are risky, it’s a trade off to making them easy to use
  • I think that’s good but it shouldn’t hold back a fix that we can implement now to help alleviate the issue
  • @davesta ↶ Reply to #8181 #8182 02:56 PM, 02 Oct 2023
    I added an idea in the Github about having a "Reserved Dispenser" option to solve the questions a buyer usually has when hearing a seller offer an OTC trade... and that is the question of "how do I know someone won't buy this before I do?"

    https://github.com/CounterpartyXCP/cips/discussions/120#discussioncomment-7166131
    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...

  • @jp_janssen #8183 03:25 PM, 02 Oct 2023
    CIP draft up.

    https://github.com/CounterpartyXCP/cips/discussions/121
    CIP - Dispenser Reservation · CounterpartyXCP/cips · Discussion #121

    CIP 32 Abstract Reserve a dispenser for 10 blocks by sending a tiny amount of BTC dust to it. This is optional. Dispensers can be used without reservation as before. Backwards compatible. No change...

  • @jp_janssen #8184 03:29 PM, 02 Oct 2023
    As the CIP editor i don't want to approve my own draft. If it looks good, please reply in the thread whether you approve or what you think needs change.

    By cip rules you can disagree with it, yet that won't disqualify it. See cip01 for reference.
  • @jp_janssen ↶ Reply to #8159 #8185 03:36 PM, 02 Oct 2023
    Multiple transactions is optional. For sellers and buyers happy to pay all in one tx, nothing changes.
  • @jdogresorg #8186 04:12 PM, 02 Oct 2023
    I def am open to the idea of a reservation system... overall I think it is an improvement... tho think there needs to be a bit more discussion to flush out the implementation ( what % of BTC to send, how many blocks to 'reserve' the tokens for, etc), which will require some additional time...
  • @sn_noop2 #8187 04:27 PM, 02 Oct 2023
    Fixed value chosen between 5k-30k sats lgtm.

    As it will be only for highly priced dispensers, putting it in % wouldn't solve front run scammers if value is too high.

    Too low value may open dispensers "obstruction" behavior, or not engaged enough buyers.

    As a scammer would have to spend between 30 and 100/vB depending on current fees, frontrun would cost 4200-14000 sats.

    Hence fixed with 5k-30k, a scammer wouldn't bother stealing it.

    Also easy to code.
  • @jp_janssen #8188 05:05 PM, 02 Oct 2023
    That's good reasoning. I have not set a minimum (effectively the dust minimum of 546 sat) in the cip but open to changing it.
  • 03 October 2023 (1 messages)
  • @B0BSmith #8189 08:54 AM, 03 Oct 2023
    If you 'reserve' a dispenser with a partial payment, as described in JPs CIP you are in effect creating a delayed close situation on said dispenser, as you would assume a dispenser can no't be closed with a reserve payment in play so a partial / reservation payment necessitates delayed close
  • 04 October 2023 (36 messages)
  • @jdogresorg #8190 03:05 PM, 04 Oct 2023
    FYI... working on dynamic XCP fee on sweeps... moving from fixed 0.5 XCP fee per sweep to a dynamic XCP fee based on number of balances and issuances swept.... moving to a model where XCP fee is based on number of hits to database. https://github.com/CounterpartyXCP/counterparty-lib/issues/1220#issuecomment-1747037727
    Sweeps - dynamic XCP fee · Issue #1220 · CounterpartyXCP/counterparty-lib

    Currently sweeps are hardcoded at 0.5 XCP per sweep. https://github.com/CounterpartyXCP/counterparty-lib/blob/master/counterpartylib/lib/messages/sweep.py#L17-L18 We should change the formula used ...

  • @ordinariusprofessor #8191 07:12 PM, 04 Oct 2023
    I've been told just sending out the asset is not good enough and then I should "transfer ownership". can someone please point me to a spec or code where this happens? I looked in the freewallet codebase but couldn't find it. basically I need to properly transfer these:
    https://stamped.ninja/profile/1Lxj7kN5HyeNvKxn3YXAS5c5TzFEb1zbks/minted
  • Transfer requires you to input the description so for a stamp it would require re-stamping
  • Most of the minting services do it all in the same transaction to avoid the restamping penalty
  • @sn_noop2 ↶ Reply to #8193 #8195 07:52 PM, 04 Oct 2023
    Does it?
  • Yes
  • is it because I've sent the original assets out already?
  • I believe it also applies to increasing supply
  • No
  • @mikeinspace #8200 07:53 PM, 04 Oct 2023
    It’s because that’s how counterparty works
  • @ordinariusprofessor #8202 07:54 PM, 04 Oct 2023
    I don't follow. these assets are in my custody and I can't send them to someone else? is it a quirk of stamp tracking?
  • @hodlencoinfield #8204 07:54 PM, 04 Oct 2023
    No description
  • @jdogresorg #8205 07:54 PM, 04 Oct 2023
    Asset description deleted when `null` · Issue #1224 · CounterpartyXCP/counterparty-lib

    Joe Looney and a couple other users have reported that any issuances where the asset description is set to null results in the asset description being overwritten. This is undesirable behavior, as ...

  • @jdogresorg #8206 07:55 PM, 04 Oct 2023
    This wil be fixed in upcoming 9.60.3 release... so ppl can transfer stamps and just set "description" to null... and NOT have the description updated/touched... 🙂
  • @jdogresorg #8207 07:55 PM, 04 Oct 2023
    ie.. avoid the re-encoding cost 🙂
  • Hmmm… that actually has me thinking…. Stamps ignore description changes so transferring ownership with a blank description should be okay?
  • @ordinariusprofessor #8209 07:55 PM, 04 Oct 2023
    ah ok it's because stamp uses description field and then transfer ownership also requires it?
  • @sn_noop2 ↶ Reply to #8208 #8210 07:55 PM, 04 Oct 2023
    That's what I meant as he was linking a stamp
  • @ordinariusprofessor #8211 07:56 PM, 04 Oct 2023
    yeah assets in question are all stamps
  • @sn_noop2 #8212 07:58 PM, 04 Oct 2023
    Depend where you want to see your asset, if its only in stamp ecosystem you don't need the description.

    If it's in counterparty/xchain, or you need to resend the description, or wait for FreeWallet update.
  • @mikeinspace #8213 07:58 PM, 04 Oct 2023
    I think some users might be annoyed that the description field is blank but it doesn’t actually violate the protocol. It’s just how xchain presents an appended description.
  • @hodlencoinfield #8214 07:58 PM, 04 Oct 2023
    It’s just how Counterparty-lib interprets what the current description is
  • Not xchain, Counterparty-lib
  • All description updates are present on xchain but the very latest is “surfaced” … is this not a design choice?
  • @sn_noop2 #8217 08:00 PM, 04 Oct 2023
    Let's say both 😅
  • Not saying this is wrong btw
  • @sn_noop2 #8219 08:01 PM, 04 Oct 2023
    At least your stamps will still display in wallet.stamped.ninja even with empty transfer issuance
  • @sn_noop2 ↶ Reply to #8211 #8220 08:02 PM, 04 Oct 2023
    But imo you should wait for jdog's update to be CP compatible
  • In the early days people were transferring ownership before the output bug was fixed so each output had 10x the amount of sats. VERY EXPENSIVE.
  • yeah I pointed out that bug 🙂
  • @sn_noop2 #8223 08:05 PM, 04 Oct 2023
    👋💸
  • Description is a field provided by Counterparty api when querying assets
  • @hodlencoinfield #8225 08:13 PM, 04 Oct 2023
    Xchain is showing the same description Counterparty api shows as the “current” description
  • 06 October 2023 (1 messages)
  • @IndelibleTrade #8226 09:29 AM, 06 Oct 2023
    For ASS (assetic.io) I wanted people to transfer ownership to a burn address as a means to actually lock the description field - massive ballache though as of course people lose their descriptions when doing this transfer, so now I wrap that up in the minting process as an option, and now officially the ASS parser works by reading all the description updates and logging the last valid one as it’s active state - this is way too hard to describe to avg user people so effectively had to cut the ‘send ownership’ part out if they chose to not do that at the mint stage.
  • 10 October 2023 (10 messages)
  • @Lou_Z_W #8227 01:03 PM, 10 Oct 2023
    Is v2.0.0 JSON schema the format we should use?
  • @Lou_Z_W #8228 01:12 PM, 10 Oct 2023
    (For Enhanced Asset Information)
  • @jdogresorg ↶ Reply to #8227 #8232 02:34 PM, 10 Oct 2023
    I believe the spec your looking for is CIP25 - Enhanced Asset Information Spec

    https://github.com/CounterpartyXCP/cips/blob/master/cip-0025.md

    Here is alink to an asset CIPXXV which is using the CIP25 JSON example.... demonstrates how the JSON can be setup and what fields the JSON data render to on the xchain frontend 🙂

    https://xchain.io/asset/CIPXXV
    cips/cip-0025.md at master · CounterpartyXCP/cips

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

  • @Lou_Z_W #8233 02:38 PM, 10 Oct 2023
    Thank you 😊🙏
  • @jdogresorg #8234 02:47 PM, 10 Oct 2023
  • @herpenstein #8239 04:27 PM, 10 Oct 2023
    @jdogresorg spam ^^
  • @sn_noop2 #8243 04:51 PM, 10 Oct 2023
    @hodlencoinfield @jdogresorg someone? 🙏
  • @hodlencoinfield #8245 04:57 PM, 10 Oct 2023
  • 12 October 2023 (1 messages)
  • @6517313784 #8246 10:08 PM, 12 Oct 2023
    Joined.
  • 13 October 2023 (4 messages)
  • @jp_janssen #8247 09:41 AM, 13 Oct 2023
    I urge community members to weigh in on the pros and cons of batch-dispensers.
    https://github.com/CounterpartyXCP/counterparty-lib/issues/1148
    Just 1st dispenser dispenses when batch-sending sats to multiple dispensers · Issue #1148 · CounterpartyXCP/counterparty-lib

    This is the transaction (generated with a simple blue wallet) https://blockstream.info/tx/11eb2b730e2e383a657c51d7b04bd55271d1e86ac9a2c74d3e3f6c78e88e23ff where correct exact sats were sent to 5 di...

  • @jdogresorg #8249 02:35 PM, 13 Oct 2023
    You have been knighted as "Spammer Yeeter"... enjoy your new yeet powers
  • @AryanJab #8250 02:37 PM, 13 Oct 2023
    HELL YEAH.
  • 14 October 2023 (10 messages)
  • @Stampchainofficial #8251 08:25 PM, 14 Oct 2023
    Mobile wallet has been down for ages… just me?
  • @Stampchainofficial #8252 08:25 PM, 14 Oct 2023
    Server errors
  • @jdogresorg #8253 09:13 PM, 14 Oct 2023
    What mobile wallet? Freewallet mobile?
  • @Stampchainofficial #8254 10:20 PM, 14 Oct 2023
    Yessir… on iPad
  • @jdogresorg #8255 10:30 PM, 14 Oct 2023
    pls try again... seems public.coindaddy.io was having some issues (its on a 5+ year old server... so its slowish n outdated).... will be migrating coindaddy.io to a new server this month .... anyway... I just restarted public.coindaddy.io... so pls try again 🙂
  • @Stampchainofficial #8256 11:21 PM, 14 Oct 2023
    Will do thanks
  • @Stampchainofficial #8257 11:29 PM, 14 Oct 2023
    Seems to have worked, thanks
  • @Stampchainofficial #8260 11:39 PM, 14 Oct 2023
    One question it says I sent .15. I ony send .0119?
  • 15 October 2023 (2 messages)
  • @jdogresorg #8261 04:07 PM, 15 Oct 2023
    Look at the actual tx for amounts…. The wallet tries to display BTC amount but always look at the tx to confirm amounts…. Prolly just summing the amount wrong in history… I believe I used external api to get balance n the api just summed up the btc amount transferred (including change)…. Drilling into actual tx will reveal the true amount sent/spent
  • @jdogresorg #8262 04:07 PM, 15 Oct 2023
    Freewallet.io Chat

    This is a channel to discuss FreeWallet and ask questions and let the community answer

  • 16 October 2023 (1 messages)
  • @Stampchainofficial #8263 10:37 AM, 16 Oct 2023
    Thanks
  • 23 October 2023 (22 messages)
  • @sn_noop2 #8264 11:27 AM, 23 Oct 2023
    Hey, I have an issue with CP create_issuance route.

    It allowed to create, https://xchain.io/asset/A300300300300300300 then obviously ended as an invalid issuance.

    For recent asset id, I do have the correct error
    Error composing issuance transaction via API: ['issued by another address', 'locked asset and non‐zero quantity']

    Is that a known issue?
  • @jp_janssen ↶ Reply to #8264 #8265 11:37 AM, 23 Oct 2023
    A300300.. looks familiar. I might have issued it years ago. Should be listed on Coindaddy.
  • @sn_noop2 #8266 11:38 AM, 23 Oct 2023
    Yaya, the issue is that new issuance is logically invalid https://xchain.io/tx/2525269 but CP api accepted the request and created the TX
  • @reinamora_137 #8267 12:29 PM, 23 Oct 2023
    That’s typical. Need to check for existence before issuance. Ran into that before. Invalid issuances show up in the cp db so they could potentially be useful as spam lol
  • @reinamora_137 #8268 12:31 PM, 23 Oct 2023
    Invalid issuances - even more useless than 0 issuance valid assets lol spamming ninjas!
  • @hodlencoinfield #8269 12:39 PM, 23 Oct 2023
    Invalid issuances only show up in get_messages and none of the other API calls
  • @reinamora_137 #8270 12:39 PM, 23 Oct 2023
    Which is where we look for stamps btw
  • @hodlencoinfield #8271 12:57 PM, 23 Oct 2023
    Imo we probly should purge invalid messages every X blocks or something
  • @hodlencoinfield #8272 12:58 PM, 23 Oct 2023
    I do wonder if invalid messages are taken into account when calculating the message hash
  • @jdogresorg #8273 01:08 PM, 23 Oct 2023
    Fixed a similar issue in this upcoming release… with cp api generating issuance txs which are bound to fail…. https://github.com/CounterpartyXCP/counterparty-lib/pull/1260
    - Fixed numeric asset leading zero issuances not throwing an error when token exists by pataegrillo · Pull Request #1260 · CounterpartyXCP/counterparty-lib

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

  • Early on, Stamps were done exclusively on Counterwallet which doesn’t do the check and a number of stamps were created invalid in this way.

    Example: https://xcp.ninja/asset/A800800800800800800
    XCP Ninja, the counterparty reference.

    Explore a wide range of Counterparty assets through a powerful search engine. Tools such as minting, directories and more.

  • @jdogresorg ↶ Reply to #8272 #8275 01:09 PM, 23 Oct 2023
    Yes… hash is based off all data in messages table, which include all statuses not just valid
  • @hodlencoinfield #8276 01:12 PM, 23 Oct 2023
    Interesting, is the ledger hash only made up of valid data?
  • @jdogresorg #8277 01:42 PM, 23 Oct 2023
    i believe ledger hash is calculated based off all the tables populated by messages... messages hash is based off all data in messages table... txlist is based off hashing all the data in transactions table..... could be wrong tho, @pataegrillo would be able to say better
  • @jdogresorg #8278 01:45 PM, 23 Oct 2023
    side-note: in order to redefine "EMPTY" as meaning no BTC history, we have had to update addrindexrs to track the block_index associated with each tx (so we can easily/quickly check for the first tx for an adddress given a block index).... since we had to update addrindexrs to track this block_index data anyway.... addrindexrs now contains a bunch more data that we used to have to get from bitcoind.... so, TLDR, full parses and reparses should be MUCH faster now that we are able to benefit from using addrindexrs and data which is already indexed...... still working on a PR and testing, so still a week or two out... but, 9.60.3 should also parse a bit faster (already parsing 2 mins faster over 1000 blocks... but expect to see much faster parsing after testing)
  • @sn_noop2 ↶ Reply to #8274 #8279 02:00 PM, 23 Oct 2023
    Ya, seen the error, we'll update the parser to filter out not valid issuances.
  • yes, in fact, the ledger hash is calculated using the credits, debits and messages (the data on every detected tx)
  • @jdogresorg #8281 02:51 PM, 23 Oct 2023
    FYI... tx fees are pretty low... might be worthwhile to sweep old utxos... I did some tests over the past few days to gather up about 29,000 outputs (1000 sats each).... 500 inputs, 1 output, 1.6 sats/byte .... I did about 40 of these txs and all confirmed within 48 hours.... https://blockstream.info/tx/33de2dfc2b6e522100d5153b1839876ea11f14be200e6011a1616b3ba6f38c75
    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.

  • @sn_noop2 #8282 03:20 PM, 23 Oct 2023
    Only devs can do that lol. Electrum maybe? But yes 100% saving money if you have over 50 utxo
  • @hodlencoinfield #8283 03:32 PM, 23 Oct 2023
    sparrow makes it pretty easy to consolidate utxos
  • @jdogresorg ↶ Reply to #8282 #8284 03:54 PM, 23 Oct 2023
    Naww… too many utxos for electrum… I had to do it n bitcoin core.. wasn’t that tough…. All point n click
  • @sn_noop2 #8285 08:37 PM, 23 Oct 2023
    Sadly this addy was legacy, would save a lot with segwit, I've seen you made the switch in latest FW release
  • 24 October 2023 (1 messages)
  • @5029593698 #8286 11:01 AM, 24 Oct 2023
    Joined.
  • 26 October 2023 (9 messages)
  • @6815731507 #8287 02:34 AM, 26 Oct 2023
    Joined.
  • @Dawn_WMA #8288 12:18 PM, 26 Oct 2023
    Joined.
  • @Dawn_WMA #8289 12:19 PM, 26 Oct 2023
    Hi Im completely new to Counterparty and would be grateful for some help understanding how the dispenser works.
    I have a created a new Counterparty wallet. I have Bitcoin XCP and DOLLARCASH in the same wallet address.
    I created a dispenser with DOLLARCASH which is now showing in my wallet and is highlighted so seems active but I cant find anywhere to see where its being sold.
    Also is there any other way/place of selling as I have other counterparty asset tokens which I want to redeem eg my DOLLARCASH tokens, their Bitcoin value is $2.973 now and Id like to sell them.
    Thanks
  • Hello Dawn_WMA... this is a dev channel, not a general discussion group.

    What I can tell you for free though, nobody's buying DOLLARCASH.
  • @Dawn_WMA #8291 12:40 PM, 26 Oct 2023
    OK thanks for your reply
  • What even is that? A backed-stablecoin on Counterparty or just a scam?
  • @hodlencoinfield #8293 06:46 PM, 26 Oct 2023
    if it looks like a duck...
  • @sn_noop2 #8294 06:47 PM, 26 Oct 2023
    Goose Stamp Minting Tool

    Mint your own goose stamp with optimised file size. From https://goosegenerator.com by Dmitri Cherniak

  • Someone made it ages ago, did a bit of wash trading on it to give it a superficial appearance of value and left some dispensers up.
  • 31 October 2023 (2 messages)
  • @B0BSmith #8296 03:46 PM, 31 Oct 2023
    If I do a multisend using the CP API what is the derivation path for the p2sh address that is the output in the pre tx that is then spent in the 2nd tx ?

    I have the pretx and i feed that back to CPAPI to generate the second tx .. so igave unsigned hex for second tx , and I need the private key to sign it .. so how do I derive it ?
  • @hodlencoinfield #8297 03:47 PM, 31 Oct 2023
    the signature is the message data