Official Counterparty Dev Chat

Official Counterparty Dev Chat

Public archive of Telegram messages.

  • 2025

    • May 2025 (15)
    • Apr 2025 (44)
    • Mar 2025 (567)
    • Feb 2025 (44)
    • Jan 2025 (33)
  • 2024

    • Dec 2024 (947)
    • Nov 2024 (189)
    • Oct 2024 (1045)
    • Sep 2024 (112)
    • Aug 2024 (69)
    • Jul 2024 (257)
    • Jun 2024 (25)
    • May 2024 (340)
    • Apr 2024 (439)
    • Mar 2024 (128)
    • Feb 2024 (393)
    • Jan 2024 (2274)
  • 2023

    • Dec 2023 (397)
    • Nov 2023 (466)
    • Oct 2023 (173)
    • Sep 2023 (118)
    • Aug 2023 (158)
    • Jul 2023 (55)
    • Jun 2023 (1081)
    • May 2023 (2154)
    • Apr 2023 (594)
    • Mar 2023 (401)
    • Feb 2023 (270)
    • Jan 2023 (139)
  • 2022

    • Dec 2022 (115)
    • Nov 2022 (459)
    • Oct 2022 (479)
    • Sep 2022 (361)
    • Aug 2022 (518)
    • Jul 2022 (254)
    • Jun 2022 (67)
    • May 2022 (77)
    • Apr 2022 (349)
    • Mar 2022 (107)
    • Feb 2022 (71)
  • 03 March 2024 (1 messages)
  • @6370143984 #11934 02:51 PM, 03 Mar 2024
    From Ouziel: 22h21mn to catch up block 832661 in a 8 years i7 with 8go RAM.. I say not bad :-))
    🤯
  • 04 March 2024 (3 messages)
  • @rarepepetrader ↶ Reply to #11934 #11935 02:54 AM, 04 Mar 2024
    that's excellent... looking forward to giving it a crack on my 8 yrs old i7 with 32GB RAM :)
  • @6939325237 #11936 05:34 AM, 04 Mar 2024
    Joined.
  • @ABlue0ne #11937 12:34 PM, 04 Mar 2024
    Hammer please
  • 05 March 2024 (3 messages)
  • @joebarba #11938 04:43 AM, 05 Mar 2024
    Joined.
  • @6285504166 #11939 06:06 PM, 05 Mar 2024
    Joined.
  • @6285504166 #11940 06:06 PM, 05 Mar 2024
    i need to aviod so many bans
  • 08 March 2024 (2 messages)
  • @7056546632 #11941 04:29 AM, 08 Mar 2024
    Joined.
  • @7056546632 #11942 04:29 AM, 08 Mar 2024
    i need to convert in a string?
  • 14 March 2024 (5 messages)
  • @377777703 #11945 10:03 AM, 14 Mar 2024
    I think there's a bug where FW confuses bitcoins with sats while initiating transactions (sends, orders..etc.), Has anyone experienced this as well? I'm trying to replicate it
  • @davesta ↶ Reply to #11945 #11946 10:09 AM, 14 Mar 2024
    if you can replicate it and it is a wallet thing, post the process and details in the FW github: https://github.com/jdogresorg/freewallet-desktop/issues
    Issues Ā· jdogresorg/freewallet-desktop

    Desktop wallet for Win/Mac/Linux which supports Bitcoin and Counterparty - Issues Ā· jdogresorg/freewallet-desktop

  • @davesta #11947 10:10 AM, 14 Mar 2024
    also make sure to post what version you are using (most recent Desktop version is 0.9.29)
  • @377777703 ↶ Reply to #11947 #11948 10:11 AM, 14 Mar 2024
    ya latest. will do
  • @davesta #11949 10:11 AM, 14 Mar 2024
    we discuss FW issues in a specific tg too where we troubleshoot stuff, post the issue link in there when youre done too im sure alot of folks would like to know if there is an issue:

    https://t.me/freewallet_io
    Freewallet.io Chat

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

  • 15 March 2024 (3 messages)
  • @6370143984 #11950 07:55 PM, 15 Mar 2024
    Hi everyone! Super excited to announce the alpha release of counterparty-core v10.0.0: https://github.com/CounterpartyXCP/counterparty-core/releases/tag/v10.0.0-alpha

    A huge thank you to everyone who contributed, especially Ouziel Slama, who put forth a heroic effort to get this done!
    Release v10.0.0-alpha Ā· CounterpartyXCP/counterparty-core

    Release Notes - Counterparty Core v10.0.0-alpha Counterparty Core v10.0.0 is a very large release comprising many improvements across different portions of the codebase. ā€œCounterparty Coreā€ is also...

  • @might_be_larping #11951 07:56 PM, 15 Mar 2024
    Awesome stuff! Can’t wait to check it out
  • @raretruck ↶ Reply to #11945 #11952 08:17 PM, 15 Mar 2024
    Tabbing through fields instead of clicking through can make a difference, try that
  • 20 March 2024 (1 messages)
  • @6370143984 #11953 08:37 PM, 20 Mar 2024
    v10.0.0-beta.1 is out (https://github.com/CounterpartyXCP/counterparty-core/releases/tag/v10.0.0-beta.1)

    Changes from v10.0.0-alpha:
    * Run automatic software version every 24h rather than on every block (with dither)
    * Add the possibility to reparse from a given block on minor version change
    * Add warning with confirmation dialogue to bootstrap command and --no-confirm flag
    * Add checkpoints for mainnet up to block 834,500 and for testnet up to block 2,580,000
    * Re-enable additional tests (testnet "test book") in CI
    * Automate Docker image build and publish
    * Increase AddrIndexRs required version to v0.4.4
    * Accept config args both before and after the command
    * Fixed a bug in v10.0.0-alpha that broke Docker Compose deployments (e.g. with SimpleNode)

    Only 3 open issues remaining (of 106!) before we get a v10.0.0 release candidate. (https://github.com/CounterpartyXCP/counterparty-core/milestone/12)
    Release v10.0.0-beta.1 Ā· CounterpartyXCP/counterparty-core

    Release Notes - Counterparty Core v10.0.0-beta.1 Counterparty Core v10.0.0 is a very large release comprising many improvements across different portions of the codebase. ā€œCounterparty Coreā€ is als...

  • 22 March 2024 (19 messages)
  • @ffmad #11954 07:04 AM, 22 Mar 2024
    GM! Has anyone done an installation of the v10 with bootstrap file?
  • @ffmad #11955 07:05 AM, 22 Mar 2024
    I did that and it seems my message index is way lower than what it was before, and my binding in my messages have no values inside šŸ˜…. Not sure it's this or something else
  • @teysol #11956 10:47 AM, 22 Mar 2024
    @ffmad would you mind filing a github issue with examples of what you're seeing?
  • @ffmad ↶ Reply to #11956 #11957 10:48 AM, 22 Mar 2024
    yes, but before doing it, I would like to check fast that it's not just some error on my part that doesn't need an issue
  • @ffmad #11958 10:51 AM, 22 Mar 2024
    when I check a message in the DB I get something like that:

    sqlite> SELECT * FROM messages WHERE message_index = 100;
    100|278767|insert|burns|['block_index', 'burned', 'earned', 'source', 'status', 'tx_hash', 'tx_index']|1711097817"

    Where the binding part doesn't contain any data
  • @ffmad #11959 10:52 AM, 22 Mar 2024
    Can you validate that it's not a normal behavior?
  • @teysol #11960 10:53 AM, 22 Mar 2024
    yeah that doesn't look right
  • @ffmad #11961 10:54 AM, 22 Mar 2024
    Thanks. To do a new sync, I drop the database and start again? (I don't sync reparse fixed anything for me)
  • @teysol #11963 10:58 AM, 22 Mar 2024
    I doubt a reparse will fix this issue
  • @teysol #11964 10:58 AM, 22 Mar 2024
    but yes, just delete the db (and the wal and shm files)
  • @ffmad #11965 11:01 AM, 22 Mar 2024
    What are theses 2 files for?
  • @ffmad #11966 11:13 AM, 22 Mar 2024
    I still have the same problem with the new parsing (after removing the previous database), could be some configuration problem šŸ¤”
  • @teysol #11967 11:32 AM, 22 Mar 2024
    I doubt it. looks like a regression
  • @teysol #11968 11:32 AM, 22 Mar 2024
    file an issue! :)
  • @ffmad #11969 11:45 AM, 22 Mar 2024
    I've done the manual installation, so it could be some connection problem between the different parts. Checking that
  • @teysol #11970 11:49 AM, 22 Mar 2024
    that's not how it's supposed to work... if it's *possible* to screw up the installation, it's a critical bug
  • @teysol #11971 11:49 AM, 22 Mar 2024
    https://github.com/CounterpartyXCP/counterparty-core/issues/1546
  • @teysol #11972 11:51 AM, 22 Mar 2024
    in general, *any* unexpected (and undocumented) behavior is a bug. https://en.wikipedia.org/wiki/Principle_of_least_astonishment
  • @ffmad #11973 12:11 PM, 22 Mar 2024
    Thanks, I will follow on the issue
  • 23 March 2024 (13 messages)
  • @ffmad #11974 05:26 PM, 23 Mar 2024
    Gm! Anyone else tried to install v10 and got the full database?
  • @6370143984 #11975 05:29 PM, 23 Mar 2024
    Not sure I understand the question šŸ™‚are you asking if anyone has successfully synced to the current block height?
  • @ffmad ↶ Reply to #11975 #11976 05:31 PM, 23 Mar 2024
    Yeah, without my bug (no data in bindings)
  • @6370143984 #11977 05:34 PM, 23 Mar 2024
    I did a full sync a few weeks ago but without docker, directly on the host.
  • @ffmad #11979 05:35 PM, 23 Mar 2024
    I did it without docker either
  • @6370143984 #11980 05:39 PM, 23 Mar 2024
    i was having addrindexrs trouble (started from scratch even though I had already indexed the whole blockchain and maxed out my disk) but i'll blast addrindexrs away and try again with latest version and lyk if I run into the same bug.
  • @ffmad ↶ Reply to #11980 #11981 05:42 PM, 23 Mar 2024
    Thx. I might also try an older version of addrindexrs
  • @teysol #11982 05:43 PM, 23 Mar 2024
    the messages bug is almost certainly not related to docker or to addrindexrs
  • @teysol ↶ Reply to #11981 #11983 05:44 PM, 23 Mar 2024
    there's a minimum req version of v0.4.4 to avoid consensus breaks (fixes an old source of non-determinism)
  • @teysol ↶ Reply to #11982 #11984 07:41 PM, 23 Mar 2024
    fixed here! https://github.com/CounterpartyXCP/counterparty-core/pull/1549
    Fix 'bindings' field in 'messages' table by ouziel-slama Ā· Pull Request #1549 Ā· CounterpartyXCP/counterparty-core

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

  • @ffmad ↶ Reply to #11984 #11985 08:44 PM, 23 Mar 2024
    testing this!
  • @ffmad ↶ Reply to #11983 #11986 09:11 PM, 23 Mar 2024
    Just saw that I had an older version (v0.4.3)
  • @ffmad #11987 09:11 PM, 23 Mar 2024
    As it didn't restarted well after upgraded, I'm reparsing from start
  • 24 March 2024 (11 messages)
  • @ffmad #11988 04:28 AM, 24 Mar 2024
    After addrindexrs reparsing I tried to reparse from 0 and from bootstrap
  • @ffmad #11989 04:29 AM, 24 Mar 2024
    from 0: database seems ok
    from bootstrap: same error as before, bootstrap probably needs to be updated
  • @teysol #11990 11:13 AM, 24 Mar 2024
    yep, definitely. will do
  • @ffmad #11991 11:25 AM, 24 Mar 2024
    Any idea how much time is needed for a "classic" full sync? ^^
  • @ffmad #11992 11:54 AM, 24 Mar 2024
    In 1h it went from 367837 to 377708. So I think it will take something like 2-3 days
  • @herpenstein #11993 01:01 PM, 24 Mar 2024
    Before the latest updates, close to 2 weeks
  • @ffmad ↶ Reply to #11993 #11994 01:09 PM, 24 Mar 2024
    I think it would have taken even longer for me ^^
  • @teysol #11995 01:35 PM, 24 Mar 2024
    yeah we haven't benchmarked it. it's still not at all optimized. we're working on that now as part of the effort to kill addrindexrs
  • @6370143984 #11996 01:43 PM, 24 Mar 2024
    @teysol wondering about the e2e time to sync a counterparty node w/o addrindexrs. when addrindexrs is killed will the indexing we need still have to be done serially b/t bitcoind and counterparty-server syncing?
  • @teysol #11997 02:05 PM, 24 Mar 2024
    so it'll be a pipeline with some async code and some synchronous code. the only code that needs to be synchronous, and run sequentially, is 1) the parsing of counterparty transactions qua counterparty transactions (e.g. send, issuance), and (2) some dispenser logic. the fetching of the blocks from bitcoind, the indexing of the transactions, etc. can all be done concurrently
  • @6370143984 #11998 02:06 PM, 24 Mar 2024
    great news.
  • 25 March 2024 (11 messages)
  • @ffmad #11999 03:52 PM, 25 Mar 2024
    GM! Today I'm at block 525412, so it's more like 5500 blocks/hours. So probably still 3days of sync
  • @6370143984 #12000 03:53 PM, 25 Mar 2024
    hm
  • @6370143984 #12001 03:53 PM, 25 Mar 2024
    did you do kickstart?
  • @6370143984 #12002 03:54 PM, 25 Mar 2024
    I just completed a sync in < 24 hrs
  • @ffmad ↶ Reply to #12001 #12003 03:57 PM, 25 Mar 2024
    Nope I wanted to check how much time a full sync would take
  • @6370143984 #12004 03:58 PM, 25 Mar 2024
    kickstart is a full sync, it just reads from the block files directly, bypassing the rpc interface
  • @teysol #12005 04:02 PM, 25 Mar 2024
    yeah we still support non-kickstart though
  • @ffmad ↶ Reply to #12004 #12006 05:10 PM, 25 Mar 2024
    The Bitcoin node needs to be stopped for that?
  • @teysol #12007 05:39 PM, 25 Mar 2024
    yup
  • @ffmad #12008 05:40 PM, 25 Mar 2024
    For the full sync or just the start?
  • @teysol #12009 05:42 PM, 25 Mar 2024
    for the full sync
  • 26 March 2024 (2 messages)
  • @ffmad ↶ Reply to #11999 #12011 06:15 PM, 26 Mar 2024
    Reaching 640813 now. It's a challenge to not stop and kickstart šŸ˜‚ (but I want to know the sync time without it šŸ˜…)
  • @6370143984 #12012 06:18 PM, 26 Mar 2024
    lol, best of luck and keep us posted!
  • 27 March 2024 (19 messages)
  • @ffmad ↶ Reply to #12011 #12013 05:12 PM, 27 Mar 2024
    reaching 723376. 'Only' 113000 blocks left šŸ˜¶ā€šŸŒ«
  • @6370143984 #12014 05:15 PM, 27 Mar 2024
    ah yeah expect slowdown from here
  • @ffmad #12015 05:21 PM, 27 Mar 2024
    Yup, much more on-chain activity
  • @6370143984 #12016 05:31 PM, 27 Mar 2024
    dispensers are the big performance hit
  • @ffmad #12017 05:35 PM, 27 Mar 2024
    So maybe up to 2 more days? šŸ¤”
  • @ffmad #12018 05:36 PM, 27 Mar 2024
    Let's see
  • @6370143984 #12019 05:40 PM, 27 Mar 2024
    idk! I never tried start from scratch!
  • @6370143984 #12020 05:46 PM, 27 Mar 2024
    how many days in are you @ffmad ? is it faster up to the current block height than it was with 9.61?
  • @ffmad ↶ Reply to #12020 #12021 05:48 PM, 27 Mar 2024
    For me it wasn't syncing at all
  • @6370143984 #12022 05:49 PM, 27 Mar 2024
    ? you got stuck at the first block?
  • @ffmad #12023 05:50 PM, 27 Mar 2024
    It was much more advanced but not syncing
  • @6370143984 #12024 05:50 PM, 27 Mar 2024
    got it, okay. yeah i don't think you'll get _stuck_
  • @6370143984 #12025 05:50 PM, 27 Mar 2024
    i ran start from block 820k
  • @6370143984 #12026 05:50 PM, 27 Mar 2024
    was slow but for the most part a few seconds/block
  • @ffmad #12027 05:50 PM, 27 Mar 2024
    It started on 24th
  • @ffmad #12028 05:51 PM, 27 Mar 2024
    So I think it should be done on Friday
  • @6370143984 #12029 05:51 PM, 27 Mar 2024
    very cool, thank you for the update! lmk if you run into any issues!
  • @ffmad #12030 05:52 PM, 27 Mar 2024
    Yup
  • @ffmad #12031 05:53 PM, 27 Mar 2024
    I'm hoping to have my node running with up to date Nakamotos at NYC next week ^^
  • 29 March 2024 (32 messages)
  • @ffmad #12032 09:45 AM, 29 Mar 2024
    Gm. Today's block: 827553. Less than 10k blocks left šŸ‘€
  • @6370143984 #12033 10:01 AM, 29 Mar 2024
    yep should just be a few hours. you're past the last big slowdown.
  • @herpenstein #12034 03:03 PM, 29 Mar 2024
    Is there any good reason why there isn’t a group of people who use a multisig to

    1) create an asset called cpBTC (or something similar)
    2) create a dispenser for the asset that sells it at 1:1 parity with btc
    3) use the funds received to make a btcpay order to buy all the cpBTC back at say 99% the price of btc (1% profit for the multisig custodians)
  • @herpenstein #12035 03:04 PM, 29 Mar 2024
    Users on other platforms are used to use wrapped assets
  • @herpenstein #12036 03:05 PM, 29 Mar 2024
    And you can create a single tx that buys cpBTC from the verified dispenser and executes a dex buy in one tx
  • @herpenstein #12037 03:06 PM, 29 Mar 2024
    For a new user buying cp assets, one click that buys the wrapped asset and used it to buy the NFT is a big ux advantage
  • @herpenstein #12038 03:06 PM, 29 Mar 2024
    Then if they want their btc back, we just need a somewhat slick btcpay ui
  • @reinamora_137 #12039 03:09 PM, 29 Mar 2024
    Wouldn’t that require a dispenser that auto fluctuates in price?
  • @herpenstein #12040 03:10 PM, 29 Mar 2024
    The dispenser is denominated in btc
  • @herpenstein #12041 03:10 PM, 29 Mar 2024
    So 1 cpBTC == 1 BTC
  • @ffmad #12042 03:10 PM, 29 Mar 2024
    wBTC, wETH or USDcp would be great
  • @herpenstein #12043 03:11 PM, 29 Mar 2024
    I think the btc one would be doable, the others would require variable dispensers
  • @hodlencoinfield #12044 03:11 PM, 29 Mar 2024
    there would need to be someone at the trigger to match every btcpay tx
  • @herpenstein #12045 03:11 PM, 29 Mar 2024
    Ah that’s the rub
  • @herpenstein #12046 03:11 PM, 29 Mar 2024
    Every order would need the multisig to sign off
  • @herpenstein #12047 03:12 PM, 29 Mar 2024
    Who signs what in btc pay?
  • @herpenstein #12048 03:12 PM, 29 Mar 2024
    I thought it was seller posts order, then buyer post request then buyer sends funds?
  • @hodlencoinfield #12049 03:12 PM, 29 Mar 2024
    yeah, still an imperfect solution to offramp the BTC
  • @hodlencoinfield #12050 03:13 PM, 29 Mar 2024
    this is always the weakpoint for all wrapped non-native coins
  • @hodlencoinfield #12051 03:13 PM, 29 Mar 2024
    but with psbts… might be something there
  • @herpenstein #12052 03:14 PM, 29 Mar 2024
    @hodlencoinfield In the current setup, If the theoretical multisig holds 1 btc, can’t they post a single btcpay order for 1 cpBTC
  • @herpenstein #12053 03:14 PM, 29 Mar 2024
    And then other parties sign txs to fulfil it until it’s complete?
  • @ffmad #12054 03:14 PM, 29 Mar 2024
    I wonder why there was no usdt on Counterparty
  • @ffmad #12055 03:15 PM, 29 Mar 2024
    It was more used than Omni
  • @6370143984 ↶ Reply to #12042 #12056 03:20 PM, 29 Mar 2024
    or USDerp
  • @herpenstein #12057 03:31 PM, 29 Mar 2024
    Trying to figure out why people aren’t doing things like this.
  • @ffmad #12058 03:33 PM, 29 Mar 2024
    Because of the centralization it brings probably
  • @herpenstein #12059 03:37 PM, 29 Mar 2024
    Yeah, you would be trusting the custodians of a multisig.
  • @herpenstein #12060 03:37 PM, 29 Mar 2024
    That’s how wbtc works on eth
  • @hodlencoinfield ↶ Reply to #12059 #12061 03:42 PM, 29 Mar 2024
    its expensive to be fully in compliance and the current users of the protocol are mostly artists and devs
  • @hodlencoinfield #12062 03:42 PM, 29 Mar 2024
    i thought about doing something like this with an emblem vault when shannon teased making counterparty asset vaults
  • @teysol #12063 03:47 PM, 29 Mar 2024
    I dunno, it makes sense to me!
  • 30 March 2024 (3 messages)
  • @6370143984 #12064 08:56 PM, 30 Mar 2024
    @marceh0le just updated the docs to show how to run kickstart with Docker: https://github.com/CounterpartyXCP/Documentation/blob/bc5416136e3b6797fc6eed60bbd5619895ce83b1/docs/advanced/how-to/docker-kickstart.md

    As said several times, kickstart is going away with v11 (i.e. in a month or two) but for those who want to use docker now have at it.
    Documentation/docs/advanced/how-to/docker-kickstart.md at bc5416136e3b6797fc6eed60bbd5619895ce83b1 Ā· CounterpartyXCP/Documentation

    Official Documentation of the Counterparty Project - CounterpartyXCP/Documentation

  • @teysol #12065 09:26 PM, 30 Mar 2024
    first update to the latest pre-release version, v10.0.0-rc.1
  • @teysol #12066 09:26 PM, 30 Mar 2024
    https://github.com/CounterpartyXCP/counterparty-core/releases
    Releases Ā· CounterpartyXCP/counterparty-core

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

  • 03 Mar 2024 (1)
  • 04 Mar 2024 (3)
  • 05 Mar 2024 (3)
  • 08 Mar 2024 (2)
  • 14 Mar 2024 (5)
  • 15 Mar 2024 (3)
  • 20 Mar 2024 (1)
  • 22 Mar 2024 (19)
  • 23 Mar 2024 (13)
  • 24 Mar 2024 (11)
  • 25 Mar 2024 (11)
  • 26 Mar 2024 (2)
  • 27 Mar 2024 (19)
  • 29 Mar 2024 (32)
  • 30 Mar 2024 (3)