• 01 April 2024 (59 messages)
  • @6370143984 #10614 01:54 PM, 01 Apr 2024
    has anyone run into any more errors with v10?
  • @ffmad #10615 01:57 PM, 01 Apr 2024
    Gm! Were you able to find the cause of the difference in our message index?
  • @6370143984 #10616 01:59 PM, 01 Apr 2024
    ah thx for following up! not yet!
  • @6370143984 #10617 02:04 PM, 01 Apr 2024
    i'm running develop, you're running the beta release, right?
  • if so, this is why
  • @teysol #10619 02:14 PM, 01 Apr 2024
    between the beta and the rc, we started producing many more entries in the messages table (with additional fields as well)
  • @6370143984 #10620 02:15 PM, 01 Apr 2024
    generally it's a bad idea to compare message indexes/hashes between pre-release versions.
  • @teysol #10621 02:15 PM, 01 Apr 2024
    *bad to compare _any_ interface
  • @teysol #10624 02:18 PM, 01 Apr 2024
    (the changes in the messages table was a recent addition to the release notes 👆)
  • @ABlue0ne ↶ Reply to #10614 #10625 02:56 PM, 01 Apr 2024
    Still not kickstarting with manual installation.

    My issues were the bitcoind chainstate directory has an assumed parent directory and addrindexrs version mismatch (I somehow installed a newer version of addrindexrs than required in the code check)

    What do you recommend for a manual install?
  • @ABlue0ne ↶ Reply to #10624 #10626 02:57 PM, 01 Apr 2024
    Your documentation is great. Nice details. Keep up the good work.
  • @ABlue0ne #10627 04:11 PM, 01 Apr 2024
    @teysol Could counterwallet get the same MIT license as the rest of the project? Github has no license for Counterwallet at the moment.
  • @teysol ↶ Reply to #10627 #10628 05:56 PM, 01 Apr 2024
    good question. Robby was the main author of that codebase and he chose https://opensource.org/license/CDDL-1.0
    Common Development and Distribution License 1.0

    1. Definitions. 1.1. Contributor means each individual or entity that creates or contributes to the creation of Modifications. 1.2. Contributor Version means the combination of the Original Softwar…

  • @teysol #10629 05:56 PM, 01 Apr 2024
    feel free to reach out to him about it
  • @teysol ↶ Reply to #10625 #10630 05:56 PM, 01 Apr 2024
    I don't follow. what's the problem when you have the correct version of addrindexrs running?
  • @ABlue0ne ↶ Reply to #10630 #10631 06:02 PM, 01 Apr 2024
    Kickstart failed with a check. Expected 4.4.4 or 0.4.4. Afk right now.
  • @teysol #10632 06:07 PM, 01 Apr 2024
    yep, it's imperative that you use the correct version of addrindexrs
  • @teysol #10633 06:08 PM, 01 Apr 2024
    for -rc.1 that's v0.4.6 IIRC
  • @ffmad ↶ Reply to #10619 #10634 06:11 PM, 01 Apr 2024
    Thx. So I will need to rerun from the start? 🙂
  • @ABlue0ne #10635 06:11 PM, 01 Apr 2024
    I can check and/or execute any suggestions tomorrow and report back. Let me know if you want me to run any commands or check logs/versions.
  • @teysol ↶ Reply to #10634 #10636 06:11 PM, 01 Apr 2024
    if the software doesn't throw an error, it should be fine
  • @6370143984 #10637 06:12 PM, 01 Apr 2024
    @teysol he means if he wants to have the same messages as anyone running the final cut of v10
  • @teysol #10638 06:12 PM, 01 Apr 2024
    yeah I don't know why that'd be important
  • @teysol #10639 06:12 PM, 01 Apr 2024
    it's a backwards-compatible change
  • @6370143984 #10640 06:12 PM, 01 Apr 2024
    lol, that's a different question
  • @ffmad if this is your question then the answer is yes. But use kickstart next time. It's fast and easy.
  • @XJA77 ↶ Reply to #10422 #10642 06:15 PM, 01 Apr 2024
    i rollback this and now syncing again, updated in the way addrindexr as it was in a previous version
  • @6370143984 #10643 06:16 PM, 01 Apr 2024
    great
  • @6370143984 #10644 06:16 PM, 01 Apr 2024
    which pre-release are you using @XJA77 ?
  • @XJA77 #10645 06:20 PM, 01 Apr 2024
    mmmm i think the last one, not sure how to chek, i am in master in the repo, but as its pulling images from docker and not comiling the current code in the repo not sure
  • @6370143984 #10646 06:21 PM, 01 Apr 2024
    there's a --version cmd for counterparty-server but i don't personally know how to execute it from simplenode
  • @6370143984 #10647 06:22 PM, 01 Apr 2024
    if you can run counterparty-server cmds just share the output of counterparty-server --version
  • @XJA77 #10648 06:22 PM, 01 Apr 2024
    it says latest ues
  • @XJA77 #10649 06:22 PM, 01 Apr 2024
    in the docker image
  • @XJA77 #10650 06:22 PM, 01 Apr 2024
    let me check what says docker.io about
  • @6370143984 #10652 06:24 PM, 01 Apr 2024
    yep okay great so you shoulldn't hit the consensus hash mismatch this time around.
  • @XJA77 #10653 06:24 PM, 01 Apr 2024
    thats what dockerhub says i think should be -rc.2?
  • @XJA77 ↶ Reply to #10652 #10654 06:24 PM, 01 Apr 2024
    i hope so lol
  • @XJA77 #10655 06:25 PM, 01 Apr 2024
    but anyway im super happy is thousands times fastest than before
  • @XJA77 #10656 06:25 PM, 01 Apr 2024
    great job guys
  • @6370143984 #10657 06:25 PM, 01 Apr 2024
    addrindexrs is the root of the problem and is in the process of being killed courtesy of community-funded dev: https://github.com/CounterpartyXCP/counterparty-core/pull/1576
    WIP: counterparty-rs Indexer by adamkrellenstein · Pull Request #1576 · CounterpartyXCP/counterparty-core

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

  • @XJA77 #10658 06:25 PM, 01 Apr 2024
    im 500 blocks away of the missmatch so i let you know
  • @6370143984 #10659 06:25 PM, 01 Apr 2024
    ah are you running kickstart? great!!!
  • @XJA77 ↶ Reply to #10659 #10660 06:26 PM, 01 Apr 2024
    no ser, start, but faster anyway
  • @XJA77 #10661 06:26 PM, 01 Apr 2024
    as i had many blocks indexed and wanted to check if that rollback fixes the issue i didnt tested the kickstart for docker yet
  • @6370143984 #10662 06:27 PM, 01 Apr 2024
    Got it. It's like 5-10x faster than start so I really recommend using it!
  • @6370143984 #10663 06:27 PM, 01 Apr 2024
    the last kickstart for me had a 20-30% speedup over the prior one!
  • @XJA77 #10664 06:37 PM, 01 Apr 2024
    nice
  • @XJA77 ↶ Reply to #10657 #10665 06:39 PM, 01 Apr 2024
    i have one question regarding docker image generation, as i see it is in the github ci workflow but here has failed, it will be automatic each release?
  • @XJA77 #10666 06:40 PM, 01 Apr 2024
    i am planning to create a simplenode extended with the stamps indexer to easy deployment in all the machines and i would like to know what should be the process when a new version is detected, my unerstanding is that reparse counterparty db is enough but maybe im wrong
  • @XJA77 ↶ Reply to #10422 #10667 06:41 PM, 01 Apr 2024
    also, passed the missmatch block without issues, thanks :D
  • to clarify you're running rc.1; hashes are the same for it and latest
  • @6370143984 #10669 06:44 PM, 01 Apr 2024
    (afaik there's no rc.2)
  • @teysol ↶ Reply to #10665 #10670 07:41 PM, 01 Apr 2024
    yep, it's automatic on each release
  • @teysol ↶ Reply to #10666 #10671 07:43 PM, 01 Apr 2024
    so it depends on the version number change. we implement a scheme so a database rebuild is required precisely when the major or minor version number increments (historically, only a reparse was necessary on a minor version number bump, but dispensers breaks this)
  • @XJA77 #10672 08:26 PM, 01 Apr 2024
    okey will see how to automatice it
  • @XJA77 ↶ Reply to #10671 #10673 08:29 PM, 01 Apr 2024
    Thanks ser
  • 02 April 2024 (53 messages)
  • @ABlue0ne ↶ Reply to #10628 #10674 01:26 PM, 02 Apr 2024
    Thanks for the reply. I was looking over the counterwallet github and noticed there was no license chosen in the normal github license location, is the reason I said anything. I was looking for one and didn’t find it where I expected. Any license is what I was looking for, you all are the ones qualified and entitled to make the decisions about the licenses. Thanks.
  • @XJA77 #10675 02:19 PM, 02 Apr 2024
    hello! im full synced, but im having issues to interact with counterparty api using docker
  • @XJA77 #10676 02:19 PM, 02 Apr 2024
    has anyone experienced this error?
  • @XJA77 #10677 02:20 PM, 02 Apr 2024
    i cannot reach port 4000 within the machine or with the external one, but for example i can connect without problems with bitcoind
  • @teysol #10678 02:28 PM, 02 Apr 2024
    are you using the official docker compose template?
  • @XJA77 #10679 02:29 PM, 02 Apr 2024
    yes, just changed the ip value as i was getting errors, will pull and try again with last oficial one
  • @XJA77 #10680 02:37 PM, 02 Apr 2024
    was using simplenode one
  • @XJA77 #10681 02:42 PM, 02 Apr 2024
    looks like now it works
  • @XJA77 #10682 02:42 PM, 02 Apr 2024
    going to do some tests
  • @XJA77 #10683 02:42 PM, 02 Apr 2024
    thanks for the headsup
  • @ABlue0ne #10684 02:43 PM, 02 Apr 2024
    Docker can have problems with 127.0.0.1 vs localhost and working with dependencies that prefer one over the other.
  • @XJA77 #10685 03:28 PM, 02 Apr 2024
    another question, has changed the api responses for the bindings object in the get_blocks response under the _messages ??
  • @XJA77 #10686 03:33 PM, 02 Apr 2024
    yes... looks like has changed and now instead of return a json object with all the data returns just an array with the keys
  • @XJA77 #10687 03:33 PM, 02 Apr 2024
    NEW RESPONSE for {
    "method": "get_blocks",
    "params": {
    "block_indexes": [779652]
    },
    "jsonrpc": "2.0",
    "id": 0
    }
    {
    "result": [
    {
    "block_index": 779652,
    "block_hash": "00000000000000000002ea8eb5df114c3f198c7ef5851435e8a4d8e7bd33121c",
    "block_time": 1678151949,
    "previous_block_hash": "00000000000000000002124201cb18fe9fcbeb071115ac863f3d194469081376",
    "difficulty": 43053844193928.45,
    "ledger_hash": "2dd9dbd7b7edea619889f3584d318527936986037124b9c8f71faebc11584d24",
    "txlist_hash": "b68c784f9ccac2548241c2920ac1819f6df1b7e8306db593edd6204d7af65449",
    "messages_hash": "ecaa0e79eb8ff2529c5ca4653d6d9d80098e87f20f3020a6fc7208ce1b92196a",
    "_messages": [
    {
    "message_index": 4430651,
    "block_index": 779652,
    "command": "insert",
    "category": "sends",
    "bindings": "['asset', 'block_index', 'destination', 'memo', 'quantity', 'source', 'status', 'tx_hash', 'tx_index']",
    "timestamp": 1711554031,
    "event": null
    },
    {
    "message_index": 4430652,
    "block_index": 779652,
    "command": "insert",
    "category": "issuances",
    "bindings": "['asset', 'asset_longname', 'block_index', 'call_date', 'call_price', 'callable', 'description', 'divisible', 'fee_paid', 'issuer', 'locked', 'quantity', 'reset', 'source', 'status', 'transfer', 'tx_hash', 'tx_index']",
    "timestamp": 1711554031,
    "event": null
    },
    {
    "message_index": 4430653,
    "block_index": 779652,
    "command": "insert",
    "category": "issuances",
    "bindings": "['asset', 'asset_longname', 'block_index', 'call_date', 'call_price', 'callable', 'description', 'divisible', 'fee_paid', 'issuer', 'locked', 'quantity', 'reset', 'source', 'status', 'transfer', 'tx_hash', 'tx_index']",
    "timestamp": 1711554031,
    "event": null
    },
    {
    "message_index": 4430654,
    "block_index": 779652,
    "command": "insert",
    "category": "sends",
    "bindings": "['asset', 'block_index', 'destination', 'memo', 'quantity', 'source', 'status', 'tx_hash', 'tx_index']",
    "timestamp": 1711554032,
    "event": null
    },
    {
    "message_index": 4430655,
    "block_index": 779652,
    "command": "insert",
    "category": "sends",
    "bindings": "['asset', 'block_index', 'destination', 'memo', 'quantity', 'source', 'status', 'tx_hash', 'tx_index']",
    "timestamp": 1711554032,
    "event": null
    }
    ]
    }
    ],
    "id": 0,
    "jsonrpc": "2.0"
    }
  • @XJA77 #10688 03:35 PM, 02 Apr 2024
    PREVIOUS RESPONSE:
    {
    "result": [
    {
    "block_index": 779652,
    "block_hash": "00000000000000000002ea8eb5df114c3f198c7ef5851435e8a4d8e7bd33121c",
    "block_time": 1678151949,
    "previous_block_hash": "00000000000000000002124201cb18fe9fcbeb071115ac863f3d194469081376",
    "difficulty": 43053844193928.45,
    "ledger_hash": "2dd9dbd7b7edea619889f3584d318527936986037124b9c8f71faebc11584d24",
    "txlist_hash": "b68c784f9ccac2548241c2920ac1819f6df1b7e8306db593edd6204d7af65449",
    "messages_hash": "0c1791a755c55e765aadbbb3cef969e7c79c58610862e6f4e9dd21be652e7e0f",
    "_messages": [
    {
    "message_index": 9123590,
    "block_index": 779652,
    "command": "insert",
    "category": "debits",
    "bindings": "{\"action\": \"send\", \"address\": \"1KDf6ZbetZfWqeQmCddupnjMnQN7fZTiiB\", \"asset\": \"WOJAKPARTY\", \"block_index\": 779652, \"event\": \"3c9d2e9c3f46b6f053ff27e7a9d57c963550cc58ca49c9e95cc3b2fd69200970\", \"quantity\": 1}",
    "timestamp": 1705309510
    },
    {
    "message_index": 9123591,
    "block_index": 779652,
    "command": "insert",
    "category": "credits",
    "bindings": "{\"action\": \"send\", \"address\": \"1CCPbFbST8ruJrTGjm2Ss5aTAaqng4naBN\", \"asset\": \"WOJAKPARTY\", \"block_index\": 779652, \"event\": \"3c9d2e9c3f46b6f053ff27e7a9d57c963550cc58ca49c9e95cc3b2fd69200970\", \"quantity\": 1}",
    "timestamp": 1705309510
    },
    {
    "message_index": 9123592,
    "block_index": 779652,
    "command": "insert",
    "category": "sends",
    "bindings": "{\"asset\": \"WOJAKPARTY\", \"block_index\": 779652, \"destination\": \"1CCPbFbST8ruJrTGjm2Ss5aTAaqng4naBN\", \"memo\": null, \"quantity\": 1, \"source\": \"1KDf6ZbetZfWqeQmCddupnjMnQN7fZTiiB\", \"status\": \"valid\", \"tx_hash\": \"3c9d2e9c3f46b6f053ff27e7a9d57c963550cc58ca49c9e95cc3b2fd69200970\", \"tx_index\": 2262967}",
    "timestamp": 1705309510
    },
    {
    "message_index": 9123593,
    "block_index": 779652,
    "command": "insert",
    "category": "debits",
    "bindings": "{\"action\": \"issuance fee\", \"address\": \"1GotRejB6XsGgMsM79TvcypeanDJRJbMtg\", \"asset\": \"XCP\", \"block_index\": 779652, \"event\": \"17686488353b65b128d19031240478ba50f1387d0ea7e5f188ea7fda78ea06f4\", \"quantity\": 0}",
    "timestamp": 1705309510
    },
    {
    "message_index": 9123594,
    "block_index": 779652,
    "command": "insert",
    "category": "issuances",
    "bindings": "{\"asset\": \"A7337447728884561000\", \"asset_longname\": null, \"block_index\": 779652, \"call_date\": 0, \"call_price\": 0.0, \"callable\": false, \"description\": \"stamp:iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==\", \"divisible\": false, \"fee_paid\": 0, \"issuer\": \"1GotRejB6XsGgMsM79TvcypeanDJRJbMtg\", \"locked\": false, \"quantity\": 1, \"reset\": false, \"source\": \"1GotRejB6XsGgMsM79TvcypeanDJRJbMtg\", \"status\": \"valid\", \"transfer\": false, \"tx_hash\": \"17686488353b65b128d19031240478ba50f1387d0ea7e5f188ea7fda78ea06f4\", \"tx_index\": 2262968}",
    "timestamp": 1705309510
    },
    {
    "message_index": 9123595,
    "block_index": 779652,
    "command": "insert",
    "category": "credits",
    "bindings": "{\"action\": \"issuance\", \"address\": \"1GotRejB6XsGgMsM79TvcypeanDJRJbMtg\", \"asset\": \"A7337447728884561000\", \"block_index\": 779652, \"event\": \"17686488353b65b128d19031240478ba50f1387d0ea7e5f188ea7fda78ea06f4\", \"quantity\": 1}",
    "timestamp": 1705309510
    },
    {
    "message_index": 9123596,
    "block_index": 779652,
    "command": "insert",
    "category": "debits",
  • @XJA77 #10691 03:35 PM, 02 Apr 2024
    is this intentional? or is it a bug?
  • @XJA77 #10692 03:37 PM, 02 Apr 2024
    also i see less entries in one response than another, looks like debits and credits are not being there anymore?
  • @XJA77 #10693 03:40 PM, 02 Apr 2024
    going to open a Issue on github regarding this
  • @XJA77 #10694 03:45 PM, 02 Apr 2024
    Major api changes on get_blocks · Issue #1587 · CounterpartyXCP/counterparty-core

    Hello looks like there is son issue in the api: For the method: { "method": "get_blocks", "params": { "block_indexes": [779652] }, "jsonrpc": &quot...

  • @uanbtc #10695 04:15 PM, 02 Apr 2024
    @XJA77 thank you for being ahead. My simplenode has been in the 600k for 3 days now 😔

    The bindings with values are expected, and what actually make the messages table be reliable as a single source of truth.

    Can you check if the ‘command’ has update, and is not always insert?
  • @XJA77 ↶ Reply to #10695 #10696 04:18 PM, 02 Apr 2024
    looks like this is a fixed bug as @teysol mentions in the issue, maybe not updated in the docker image as i saw that sometimes didn't push good to docker hub, and yes will check but at the moment i just see inserts, in which case should be an update so i can find more specific? what im seeing is that debit and credits has disapeared in this new version
  • @XJA77 ↶ Reply to #10695 #10697 04:19 PM, 02 Apr 2024
    also now im not using the simplenode, im using the last docker-compose.yml file in the root of the repo, looks like simplenode folder doesnt exists anymore on the repo, i had to trick it to add the new info of docker-compose in to the simplenode/compose.yml file as i didnt wanted to loose my sync there
  • @teysol ↶ Reply to #10694 #10698 04:29 PM, 02 Apr 2024
    thank you for creating a GitHub issue. let's move the discussion there. (that looks like a bug that's already been fixed)
  • @teysol #10699 04:35 PM, 02 Apr 2024
    *Extremely few* bugs have been reported for any of the pre-release versions of v10.0.0... and we're planning on making the release soon. If you are running infrastructure and haven't fully tested everything yet (at least on a beta), please do so *ASAP*. Otherwise expect things to break horribly. There is nowhere near suffucient test coverage of the codebase yet to have any guarantees that there won't be accidental regressions.

    Don't wait to catch up using start. Use kickstart (just published these instructions for doing kickstart with Docker https://docs.counterparty.io/docs/advanced/how-to/docker-kickstart/) or bootstrap (to test the API).

    You can test it out at api0.counterparty.io.
  • @teysol ↶ Reply to #10699 #10700 04:35 PM, 02 Apr 2024
    None
  • @uanbtc ↶ Reply to #10699 #10702 04:47 PM, 02 Apr 2024
    Yes with the new docker there is no reason to continue running mine. Is also old code by now
  • @uanbtc ↶ Reply to #10696 #10703 04:47 PM, 02 Apr 2024
    @teysol are credits and debits being included in the fixed code?
  • @teysol ↶ Reply to #10703 #10704 04:51 PM, 02 Apr 2024
    what do you mean "credits and debits"?
  • @XJA77 ↶ Reply to #10688 #10705 04:53 PM, 02 Apr 2024
  • @XJA77 #10706 04:54 PM, 02 Apr 2024
    but in the new version there are not insert credit and insert debit messages
  • @XJA77 #10707 04:54 PM, 02 Apr 2024
    neither in get_blocks or get_messages call
  • @hodlencoinfield #10708 04:55 PM, 02 Apr 2024
    i thought the API wasnt changing for this new release
  • @teysol #10709 04:59 PM, 02 Apr 2024
    the API isn't changing (except in backwards-compatible ways). if it did change, that's a regression
  • @XJA77 #10712 05:10 PM, 02 Apr 2024
    just one question, maybe stupid one,doesnt makes sense havve the api as a different service? so makes easier to made changes without need to impact the core code?
  • @teysol #10713 05:10 PM, 02 Apr 2024
    yeah no that's not really feasible
  • @teysol #10714 05:11 PM, 02 Apr 2024
    and that'd be highly unconventional for this kind of backend process
  • @XJA77 #10715 05:11 PM, 02 Apr 2024
    okey
  • @uanbtc ↶ Reply to #10712 #10716 05:27 PM, 02 Apr 2024
    In my view, for Counterparty, something like this can make a lot of sense.

    I believe the core reference implementation protocol can focus mostly on the block parsing. Maybe include a basic http api.

    But mostly delegate the responsibility of HOW to read the DB tables to the applications.

    In essence, the main consensus is a hash. Then, data produces this hash. The data is in a DB. So, the interface is the DB. The http api is an additional layer of interface.

    My opinion.
  • @ABlue0ne ↶ Reply to #10633 #10717 05:53 PM, 02 Apr 2024
    I just updated to rc.1 and I am still getting this error when kickstarting.

    I believe it MAY be related to my bitcoind install storing blocks in a different folder than default while counterparty is using an assumed root directory to locate ../chainstate/, maybe. Counterparty is assuming that /blocks and /chainstate have the same root. In my instance they do not, but it is ok to run bitcoind that way and it is supported by bitcoin.conf via the blocksdir= option and not too uncommon.

    blue@blue:~/counterparty-core$ counterparty-server --version
    counterparty-server v10.0.0-rc.1; counterparty-lib v10.0.0-rc.1
    blue@blue:~/counterparty-core$ counterparty-server kickstart
    Running v10.0.0-rc.1 of Counterparty Core.
    Configuration file: /home/blue/.config/counterparty/server.conf
    Counterparty database: /home/blue/.local/share/counterparty/counterparty.db
    Writing log to file: /home/blue/.cache/counterparty/log/server.log
    Writing API accesses log to file: /home/blue/.cache/counterparty/log/server.access.log
    ------------------------------ kickstart ------------------------------

    Warnings:
    - Ensure addrindexrs is running and up to date.
    - Ensure that bitcoind is stopped.
    - The initialization may take a while.
    Proceed with the initialization? (y/N): y
    [OK] Connecting to addrindexrs...
    [OK] Getting last known block hash...
    [=   ] Checking database state...ERROR:root:SQLITE_LOG: recovered 31 frames from WAL file /home/blue/.local/share/counterparty/counterparty.db-wal (283) SQLITE_NOTICE_RECOVER_WAL
    [OK] Checking database state...
    [OK] Backing up database...
    Unhandled Exception
    Traceback (most recent call last):
      File "/home/blue/.local/bin/counterparty-server", line 8, in <module>
        sys.exit(server_main())
                 ^^^^^^^^^^^^^
      File "/home/blue/.local/lib/python3.11/site-packages/counterpartycli/__init__.py", line 20, in server_main
        server.main()
      File "/home/blue/.local/lib/python3.11/site-packages/counterpartycli/server.py", line 223, in main
        server.kickstart(
      File "/home/blue/.local/lib/python3.11/site-packages/counterpartylib/server.py", line 557, in kickstart
        kickstarter.run(
      File "/home/blue/.local/lib/python3.11/site-packages/counterpartylib/lib/kickstart/__init__.py", line 352, in run
        kickstart_db, block_count, tx_index, last_parsed_block = intialize_kickstart_db(
                                                                 ^^^^^^^^^^^^^^^^^^^^^^^
      File "/home/blue/.local/lib/python3.11/site-packages/counterpartylib/lib/kickstart/__init__.py", line 184, in intialize_kickstart_db
        first_kickstart_block = cursor.execute('SELECT block_index FROM kickstart_blocks ORDER BY block_index LIMIT 1').fetchone()['block_index']
                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
    TypeError: 'NoneType' object is not subscriptable

    Is there something I can do to help diagnose? I’m willing to try and can make small code changes on my side if anyone has suggestions.
  • @ABlue0ne #10718 06:20 PM, 02 Apr 2024
    Chainstate is now symlinked and files are where counterparty is looking. Still same error.
  • @6370143984 #10719 06:21 PM, 02 Apr 2024
    @ABlue0ne As I said before Counterparty does not currently support storing the chainstate and blocks dirs in different directories.

    This should be documented but it's a minor thing. If want to put up a PR adding this limitation to the documentation that'd be great.
  • @6370143984 #10720 06:24 PM, 02 Apr 2024
    Alternatively (or additionally) if you want Counterparty to support your setup then you can file an issue and the conversation can be picked up there.
  • @ABlue0ne ↶ Reply to #10719 #10721 06:27 PM, 02 Apr 2024
    See above, I typed an update while you typed this response. There is now a symlink. Counterparty should not know the difference anymore.
  • @6370143984 #10722 06:28 PM, 02 Apr 2024
    I am not sure what to say. You have an idiosyncratic setup. If you want to debug this that'd be great, but this isn't the sort of thing to block a release over.
  • @6370143984 #10723 06:28 PM, 02 Apr 2024
    Alternatively you can just file a ticket.
  • @ABlue0ne #10724 06:38 PM, 02 Apr 2024
    ‘NoneType object error is not subscriptable’ does not point towards my setup config but rather a variable returning None when something else is expected.

    Definitely dont block a release but production servers and security minded setups typically have idiosyncratic setups.

    I’m game to debug, let me know what to check/do if/when you’re interested. I’ll leave github comments and tickets alone until I can run a node.
  • @6370143984 #10725 06:40 PM, 02 Apr 2024
    If you want to try debugging you should start with deleting your counterparty db files. by default they're in $HOME/.local/share/counterparty
  • @6370143984 #10726 06:41 PM, 02 Apr 2024
    then just try running kickstart again.
  • @teysol #10727 06:42 PM, 02 Apr 2024
    yeah that type error points to a bug in the code but all of the kickstart logic is going to be killed soon, including that
  • @teysol #10728 06:42 PM, 02 Apr 2024
    this is a wontfix
  • @ABlue0ne ↶ Reply to #10725 #10729 07:22 PM, 02 Apr 2024
    Deleting db helps by getting fresh errors instead of same old.

    Blocks folder and chainstate are answering where they should via symlink to make counterparty happy; I keep getting other ‘NoneType’ object not subscriptable errors.

    What old version is installable manually?
  • @teysol #10730 08:38 PM, 02 Apr 2024
    doesn't sound like a versioning problem. it sounds like local config issue
  • 03 April 2024 (69 messages)
  • @uanbtc #10731 03:39 AM, 03 Apr 2024
    I see in the readme 1.5TB as minimum. How close is this to the actual DB sizes? In current nodes 1TB is enough…
  • @uanbtc #10732 03:57 AM, 03 Apr 2024
    Also reading that the docker compose uses the bootstrap…
  • @XJA77 ↶ Reply to #10732 #10733 06:12 AM, 03 Apr 2024
    For me it has not used it I think as has took 6 - 7 days and as I have understood with bootstrap takes less?
  • @teysol #10734 01:39 PM, 03 Apr 2024
    Docker Compose uses bootstrap by default (which should take ~5 minutes) because it's awkward to do kickstart in Docker
  • @teysol ↶ Reply to #10731 #10735 01:41 PM, 03 Apr 2024
    in my experience it's something closer to 1TB with just mainnet, but AddrIndexRs can be unpredictable in disk usage
  • @6370143984 #10736 01:56 PM, 03 Apr 2024
    it's roughly 1TB *after compaction*
  • @TitaniumP #10737 01:59 PM, 03 Apr 2024
    Joined.
  • @uanbtc #10738 02:58 PM, 03 Apr 2024
    Then I’ll see how far I can get with my current test setup, since is bootstrap anyway
  • @XJA77 #10739 02:59 PM, 03 Apr 2024
    is this normal logs when doing a reparse? i thought that was more dynamic logs
  • @XJA77 #10740 03:00 PM, 03 Apr 2024
    hard to know if is still working
  • @6370143984 #10741 03:03 PM, 03 Apr 2024
    it's been updated. looks like it's working. pls post more screenshots in a bit
  • @XJA77 #10742 03:03 PM, 03 Apr 2024
    ah okey
  • @XJA77 #10743 03:04 PM, 03 Apr 2024
    perfect thanks ser
  • @6370143984 #10744 03:04 PM, 03 Apr 2024
    Haven't done a reparse myself so can't say for certain but eg kickstart is much less noisy now than it was
  • @XJA77 #10745 03:04 PM, 03 Apr 2024
    it is there foralmos half an hour
  • @XJA77 #10746 03:04 PM, 03 Apr 2024
    ah noo looks like it is moving, the [ ==]
  • @6370143984 #10747 03:06 PM, 03 Apr 2024
    has the text changed? rollback has hung for me from time-to-time
  • @6370143984 #10748 03:07 PM, 03 Apr 2024
    also, does reparse use kickstart or start? why is it preferable to just running kickstart?
  • ( @teysol )
  • @XJA77
  • @XJA77 ↶ Reply to #10750 #10751 03:14 PM, 03 Apr 2024
    No... Text still in same step
  • @6370143984 #10752 03:14 PM, 03 Apr 2024
    ach hm okay.
  • @XJA77 #10753 03:14 PM, 03 Apr 2024
    Just the "loading bar" still moving sometimes
  • @6370143984 #10754 03:15 PM, 03 Apr 2024
    okay can you tail the logs?
  • @XJA77 #10755 03:15 PM, 03 Apr 2024
    I like tqdm python lib for loops, shows cool process bars with steps left
  • @6370143984 #10756 03:15 PM, 03 Apr 2024
    in $HOME/.cache/counterparty I think
  • @XJA77 ↶ Reply to #10739 #10757 03:16 PM, 03 Apr 2024
    That's the tail of the logs
  • @XJA77 ↶ Reply to #10756 #10758 03:16 PM, 03 Apr 2024
    Ah okey you mean the log file? Okey will check it
  • @XJA77 #10759 03:21 PM, 03 Apr 2024
    here shows more info yes, thanks ser
  • @6370143984 #10760 03:22 PM, 03 Apr 2024
    okay yeah. it should be fast :/
  • @XJA77 #10761 03:23 PM, 03 Apr 2024
    let see how much takes, at least i see is still working so matter of patience
  • @Jpcryptos #10762 04:44 PM, 03 Apr 2024
    Deserializando una transaccion de counterparty - BLOCKLACK.com

    Como decodificar una transaccion de counterparty en el protocolo de metascript de OP CODES de Bitcoin.

  • @Jpcryptos #10763 04:45 PM, 03 Apr 2024
    Simple tutorial in Spanish on how to deserialize a counterparty transaction
  • @teysol ↶ Reply to #10749 #10764 04:58 PM, 03 Apr 2024
    you can just do a kickstart again. the reparse operation is lighter-weight and faster (but still heavily unoptimized). am curious to know how long it takes to run for you
  • The banner image is generated by chatgpt, the prompt is something like: metaprotocol counterparty living in the OP return of bitcoin
  • @Jpcryptos #10766 04:59 PM, 03 Apr 2024
    lol
  • @Jpcryptos #10767 05:04 PM, 03 Apr 2024
    If someone wants to connect to a public node just use.

    https://nodes.blockvault.ai/counterparty

    https://nodes.blockvault.ai/counterparty-testnet

    https://nodes.blockvault.ai/bitcoin
  • @Jpcryptos #10768 05:05 PM, 03 Apr 2024
    just didn't fry my machine, it has 128 cores and hard bag of Ram
  • @teysol #10769 05:08 PM, 03 Apr 2024
    this is what I get when I click on those links (and bypass a cert error)
  • @Jpcryptos #10770 05:08 PM, 03 Apr 2024
    Sorry wrong url
  • @Jpcryptos #10771 05:08 PM, 03 Apr 2024
    .ai instead of .com
  • Fixed.
  • @teysol #10773 05:09 PM, 03 Apr 2024
    great, thanks!
  • @teysol #10774 05:10 PM, 03 Apr 2024
    what version are those servers running?
  • @Jpcryptos #10775 05:10 PM, 03 Apr 2024
    They are open so don't use access credentials, rpc:rpc
  • @ABlue0ne #10776 05:10 PM, 03 Apr 2024
    Did you get v10 running without docker?
  • the latest version, let me check and I'll tell you exactly.
  • I use docker and bootstrap.
  • @Jpcryptos #10779 05:15 PM, 03 Apr 2024
    tag: v10.0.0-beta.1, origin/master, origin/HEAD)
  • @Jpcryptos #10780 05:17 PM, 03 Apr 2024
    it would be nice to have an endpoint to bring that information something like /node-info. and you can know the version of the node, and if it has been synchronized using bootstrap or kickstart.
  • @Jpcryptos #10781 05:20 PM, 03 Apr 2024
    https://github.com/mempool/mempool/tree/master

    I have another machine, 36 cores with 4TB. I thought about doing a fork of mempool.space and add the counterparty transaction decoding on the front side, so I can have a bitcoin explorer and a XCP explorer at the same time, instead of writing a new explorer from scratch. the problem is that I haven't used angular for a long time and I'm too lazy.
    GitHub - mempool/mempool: Explore the full Bitcoin ecosystem with mempool.space, or self-host your own instance with one-click installation on popular Raspberry Pi fullnode distros including Umbrel, Raspiblitz, Start9, and more!

    Explore the full Bitcoin ecosystem with mempool.space, or self-host your own instance with one-click installation on popular Raspberry Pi fullnode distros including Umbrel, Raspiblitz, Start9, and ...

  • what does the rpc command get_running_info return?
  • @teysol ↶ Reply to #10780 #10784 07:18 PM, 03 Apr 2024
    this is a good idea
  • @XJA77 ↶ Reply to #10780 #10785 07:20 PM, 03 Apr 2024
    Also would be good to have a website that tracks public and private nodes available
  • @XJA77 #10786 07:21 PM, 03 Apr 2024
    So you can register your node, and if you want it to be public or not but as a way to track consensus and posible add notifications
  • @XJA77 #10787 07:21 PM, 03 Apr 2024
    So you know if your node is still on consensus with the network
  • @XJA77 #10788 07:22 PM, 03 Apr 2024
    If I remember good Juan in his apis calls return some data about the node version
  • @uanbtc ↶ Reply to #10788 #10789 07:25 PM, 03 Apr 2024
    Now is just part of the url, but is also at the “version root” https://api.xcp.dev/v9_61/
  • @teysol ↶ Reply to #10785 #10790 07:26 PM, 03 Apr 2024
    yep I was going to put a manually curated list on the website
  • @XJA77 ↶ Reply to #10790 #10791 07:32 PM, 03 Apr 2024
    That's cool too
  • @XJA77 #10792 07:33 PM, 03 Apr 2024
    So whenever someone enters in that webpage it calls the different node list and gets the important data (is online, node version, latency, etc)
  • @ABlue0ne #10793 07:52 PM, 03 Apr 2024
    @uanbtc Do you have a copy of 9.60 that can be installed manually? I want to work on the SPA while waiting on v10 The rename of the repo from cli to core removed the github link for old versions, I think.
  • @uanbtc ↶ Reply to #10793 #10794 08:02 PM, 03 Apr 2024
    If you want to work on the react app you can just run it locally. Use the same api endpoints as the current 960.xcp.dev website. No need to run your own server.

    Or is there a specific reason you also want to run the backend?
  • @ABlue0ne ↶ Reply to #10794 #10795 09:23 PM, 03 Apr 2024
    Thanks for that. Changing api.js api_host results in about 75% functionality on the spa, with ‘issuances’ bringing up errors or no results at Asset.fetchData bundje.js 3107:54

    I think there is a proxy setting somewhere I need to set also. Or api.js was the wrong place to start changing hosts.
  • @uanbtc ↶ Reply to #10795 #10796 10:02 PM, 03 Apr 2024
    So you got the frontend running locally, and you see that error where? The api shouldn’t return an error like that
  • @ABlue0ne #10797 10:33 PM, 03 Apr 2024
    The frontend running locally. Loading the spa locally in chrome from IDE opens home page successfully, but block transactions stays at loading. some pages/functions say 404 in their div (dispensers open/closed for example) some functions like asset details return runtime error basically saying spa is expecting its resources from localhost. I only changed the host in api.js. Is there a config location/file I’m missing?
  • @uanbtc ↶ Reply to #10797 #10798 10:44 PM, 03 Apr 2024
    First confirm whatever you are trying does work in current production.

    You must be in develop branch commit 31ae8b3 to have the same code as the website. Except for missing values in api.js. The main one being:

    const api_host = "https://97bhdwc2g0.execute-api.us-east-1.amazonaws.com";

    Wallet create stuff won’t work though.
  • @ABlue0ne #10799 10:52 PM, 03 Apr 2024
    That aws api host is resulting in expected spa behavior. I was using https://api.xcp.dev/v9_61 and getting partial success.
  • @uanbtc #10800 10:56 PM, 03 Apr 2024
    Yeah spa is using the old api. The most up to date code (the default xcp.dev) is in the genesis repo
  • 04 April 2024 (28 messages)
  • @ABlue0ne #10801 02:33 PM, 04 Apr 2024
    I just pulled updates, counterpartywallet looks new. Is this counterwallet renamed and updated?
  • @teysol #10802 02:40 PM, 04 Apr 2024
    @ABlue0ne what site are you referring to?
  • @ABlue0ne #10803 02:50 PM, 04 Apr 2024
    Counterparty-core, I pulled and saw counterparty-wallet created files.
  • @ABlue0ne #10804 02:51 PM, 04 Apr 2024
    I almost tagged you in that first comment but didnt want to bother you.
  • @teysol #10805 02:53 PM, 04 Apr 2024
    ah no counterparty-wallet is a CLI application
  • @ABlue0ne #10806 03:02 PM, 04 Apr 2024
    Cool. Better than nothing. Thanks.
  • @uanbtc ↶ Reply to #10767 #10807 03:22 PM, 04 Apr 2024
    Tried this json post body:

    {
    "method": "get_running_info",
    "params": {}
    }

    To https://nodes.blockvault.ai/counterparty

    And got this response:

    {
    "code": -32600,
    "message": "Invalid Request",
    "data": "Invalid JSON-RPC 2.0 request format"
    }
  • @teysol #10808 03:32 PM, 04 Apr 2024
    works for me using HTTPie like this:

    ~ > http POST https://rpc:rpc@nodes.blockvault.ai/counterparty/api/ jsonrpc="2.0" id=1 method="get_running_info"
    HTTP/1.1 200 OK
    Access-Control-Allow-Headers: DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization
    Access-Control-Allow-Methods: GET, POST, OPTIONS
    Access-Control-Allow-Origin: *
    Connection: keep-alive
    Content-Length: 889
    Content-Type: application/json
    Date: Thu, 04 Apr 2024 15:33:21 GMT
    Server: nginx/1.24.0 (Ubuntu)

    {
    "id": "1",
    "jsonrpc": "2.0",
    "result": {
    "api_limit_rows": 1000,
    "bitcoin_block_count": 837689,
    "db_caught_up": true,
    "indexd_blocks_behind": 0,
    "indexd_caught_up": true,
    "last_block": {
    "block_hash": "000000000000000000030909c6c3623d4695f4f391d6ec59aeba37e6171cd25e",
    "block_index": 837689,
    "block_time": 1712242483,
    "difficulty": 83126997340024.61,
    "ledger_hash": "d140f8127439fb6e3a13a811af41da8abd783793bdb3bd5c217ec9159b8848eb",
    "messages_hash": "a44609bcd87009b828cb8096b332d9a9ca2405514b41c88233efd1fa53168b32",
    "previous_block_hash": "00000000000000000000f43188863e1548c63ac13fbbdb2ebaff4edaa4c790a1",
    "txlist_hash": "ad3c6b784a5eeb89147f5617dc8e1578a593d97fe0481713b3cb1365f624208c"
    },
    "last_message_index": 5142401,
    "running_regtest": false,
    "running_testcoin": false,
    "running_testnet": false,
    "server_ready": true,
    "version_major": 10,
    "version_minor": 0,
    "version_revision": 0
    }
    }
  • @teysol #10809 03:33 PM, 04 Apr 2024
    the nodes need to have their DBs rebuilt though—they're running into https://github.com/CounterpartyXCP/counterparty-core/issues/1587
  • @uanbtc ↶ Reply to #10808 #10810 03:44 PM, 04 Apr 2024
    Got it, thanks!
  • @uanbtc ↶ Reply to #10695 #10811 04:12 PM, 04 Apr 2024
    Following up here. Yes, updates are still showing in as command! Awesome
  • @ABlue0ne ↶ Reply to #10805 #10812 04:34 PM, 04 Apr 2024
    I’m guessing you aren’t a fan of manual install and I understand the status of the code… fwiw here is some feedback from manual install/upgrade on Debian LTS today…

    Commit 9b66701 v10.0.1

    After pulling updates and reinstalling, kickstart fails with no on screen errors, errors were on screen before.

    Tailing the log shows NoneType object not subscriptable error re: lib/backend/addrindexrs.py line 469 index_check_version

    It appears that force=0 or 1 changes nothing with my situation. Also appears that no connection is made to addrindexrs where (i think) previously kickstart attempts did connect to addrindexrs, or at least tried and showed something when tailing addrindexrs, but nothing now.

    ‘Start’ does not work any more, but did for me prior to today, it was just slow. Throws the same error now as kickstart.

    ‘Start’ is not taking —bitcoind-dir= option at all. @XJA77 you had a docker issue/question about something similar above, it might not be a docker only problem.

    Lmk if you have questions that can help you, the project or the team. Thanks.
  • @uanbtc ↶ Reply to #10812 #10813 04:47 PM, 04 Apr 2024
    I’m planning on doing the manual install so all your notes will be greatly appreciated! Have you made an issue or pr about these?
  • @ABlue0ne ↶ Reply to #10813 #10814 04:56 PM, 04 Apr 2024
    Not yet. Maybe when I get a better idea on the errors. I could copy paste the above if that would help.
  • @uanbtc ↶ Reply to #10814 #10815 05:07 PM, 04 Apr 2024
    You can just make a general “manual install experience” issue I guess.

    Start with your machine specs and OS, add the commands you have used, etc…
  • @ABlue0ne ↶ Reply to #10815 #10816 05:48 PM, 04 Apr 2024
    Done
  • @ABlue0ne ↶ Reply to #10816 #10817 06:05 PM, 04 Apr 2024
    Is the genesis repo the same as SPA but without Johns eye candy?
  • @uanbtc #10818 06:16 PM, 04 Apr 2024
    Genesis is the original single repo with everything, web app and simple api backend.

    Spa is a fork, only focusing on the single page application. Api is also a fork, focusing only on the api.

    I’ve continued to work on the original (now genesis). The forks may get updated by me, but not sure when. Others are free to contribute obviously.

    To note is that at the time of the forks the code still didn’t have a license. Now genesis has an Unlicense license.
  • @teysol #10820 06:37 PM, 04 Apr 2024
    Manual install is fully supported. However there are definitely ways of breaking it with custom config
  • @Jpcryptos #10822 07:58 PM, 04 Apr 2024
    Full HD 40k LCD. for more pleasure
  • fecthing balances for Counterparty is too slow. 2 assets XCP and BCY, take more time than consulting the balance of 15 assets in ETH
  • @Jpcryptos #10824 08:05 PM, 04 Apr 2024
    Dispenserss have good performance
  • @6370143984 #10826 08:45 PM, 04 Apr 2024
    awesome!
  • @ABlue0ne #10827 10:07 PM, 04 Apr 2024
    Version checking is failingish when installing Ouziel’s commit 0c18c2 from today. I get dependency error that cp-cli 10.0.0rc1 is looking for cp-lib==10.0.0-rc.1 but you have cp-lib 10.0.0 and is incompatible. @teysol
  • @ABlue0ne ↶ Reply to #10827 #10828 10:12 PM, 04 Apr 2024
    When manually installing lib
  • 05 April 2024 (9 messages)
  • @teysol #10829 12:43 AM, 05 Apr 2024
    be sure you've upgraded -cli as well
  • @ABlue0ne ↶ Reply to #10829 #10830 03:44 PM, 05 Apr 2024
    Fresh pull to 0c18c2 and I see -core, -lib, -rs, -wallet. No -cli folder in develop branch. Let me rm and pull master.
  • @teysol #10831 03:48 PM, 05 Apr 2024
    ah yep now it's called -wallet
  • @teysol #10832 03:48 PM, 05 Apr 2024
    pip install -e . in each of those folders
  • @teysol #10833 03:48 PM, 05 Apr 2024
    in the order specified in the readme
  • @XJA77 #10834 04:04 PM, 05 Apr 2024
    any idea?
    2024-04-05-T16:01:45+0000 [DEBUG] Opening socket to address indexer at `172.17.0.3:8432`
    2024-04-05-T16:01:45+0000 [DEBUG] Connection refused by addrindexrs. Trying again in 8 seconds.
    2024-04-05-T16:01:53+0000 [DEBUG] Opening socket to address indexer at `172.17.0.3:8432`
    2024-04-05-T16:01:53+0000 [DEBUG] Connection refused by addrindexrs. Trying again in 8 seconds.
    2024-04-05-T16:02:01+0000 [DEBUG] Opening socket to address indexer at `172.17.0.3:8432`
    2024-04-05-T16:02:01+0000 [DEBUG] Connection refused by addrindexrs. Trying again in 8 seconds.
    2024-04-05-T16:02:09+0000 [DEBUG] Opening socket to address indexer at `172.17.0.3:8432`
    2024-04-05-T16:02:09+0000 [DEBUG] Connection refused by addrindexrs. Trying again in 8 seconds.
    2024-04-05-T16:02:17+0000 [DEBUG] Opening socket to address indexer at `172.17.0.3:8432`
    2024-04-05-T16:02:17+0000 [DEBUG] Connection refused by addrindexrs. Trying again in 8 seconds.
    2024-04-05-T16:02:25+0000 [DEBUG] Opening socket to address indexer at `172.17.0.3:8432`
    2024-04-05-T16:02:25+0000 [DEBUG] Connection refused by addrindexrs. Trying again in 8 seconds.
    2024-04-05-T16:02:33+0000 [DEBUG] Opening socket to address indexer at `172.17.0.3:8432`
    2024-04-05-T16:02:33+0000 [DEBUG] Connection refused by addrindexrs. Trying again in 8 seconds.
  • @ABlue0ne ↶ Reply to #10833 #10835 04:14 PM, 05 Apr 2024
    FWIW and documentation notes: on develop fresh pull there are -core, -lib, -rs, -wallet folders.

    The develop readme points to surface web for docs.

    Master readme says install -rs, -lib, -cli in that order. Readmes will need a small update.
  • @teysol #10836 04:15 PM, 05 Apr 2024
    yes, develop is by definition unstable and unsupported (it's also now the working branch for v10.0.1, which we're already building toward)
  • @Jpcryptos #10837 07:59 PM, 05 Apr 2024
    I have a question... if in a transsction there are 4 inputs with different addresses, and there are 3 outputs and one of them is OP_RETURN with an enchance send... Is there a way for CP to know which input the enchance send belongs to?
  • 06 April 2024 (3 messages)
  • @hodlencoinfield #10838 12:42 AM, 06 Apr 2024
    only the first input matters
  • @uanbtc ↶ Reply to #10738 #10839 03:27 AM, 06 Apr 2024
    Node fully synced, using 808GB
  • Thanks mate
  • 08 April 2024 (22 messages)
  • @uanbtc #10841 04:31 PM, 08 Apr 2024
    xcp.dev has been updated!

    Mobile optimized and with dark mode. The wallet functionality is back also.

    Thanks to @Chriton for leading the way into using tailwind.js, and for some design choices.

    The work by John at 960.xcp.dev will most likely stay as is, but fortunately it was used and expanded in stampverse.io.

    And this is actually one of the main purposes of the xcpdev project, using its open/free/libre code as a foundation to build on top of.
  • @Jpcryptos #10842 05:59 PM, 08 Apr 2024
    I was looking the code.
  • @Jpcryptos #10843 05:59 PM, 08 Apr 2024
    Are you sanitizing the metadata???
  • @uanbtc #10844 06:01 PM, 08 Apr 2024
    Not the data, but in some places the presentation of the data *could* be considered as sanitizing it… what are you referring to specifically?
  • @uanbtc ↶ Reply to #10844 #10845 06:07 PM, 08 Apr 2024
    The api is straight from the SQLite DB. On the front end I do clean up a bit
  • @Jpcryptos #10846 06:07 PM, 08 Apr 2024
    Description, urls, base64, names....
    evrything you have no control over. everything that is external and dynamic.
  • @Jpcryptos #10847 06:07 PM, 08 Apr 2024
    How to Prevent XSS: Why Base64 is Not Enough | we45 Blogs

    Base64 encoding isn't enough to protect web apps from Cross-Site Scripting! Here's how to prevent XSS attacks using AppSec best practices.

  • @Jpcryptos #10848 06:09 PM, 08 Apr 2024
    some frameworks sanitize by default when printing, like angular or vue.
  • @uanbtc #10849 06:12 PM, 08 Apr 2024
    99% is read only. The wallet is the only place where user input is used, and is still very basic with just a few methods and no private key involved. But thanks for the heads up!
  • It's better to be prevent... someone can inject xss and steal users, redirect them to another page, or steal metamask private keys.
  • You're welcome man, I'll look at the code a little. And if I see something I'll let you know.
  • @uanbtc ↶ Reply to #10851 #10852 06:20 PM, 08 Apr 2024
    I’ll appreciate it! Just a single post in the api backend, so anything there that can be improved let me know here or in the repo itself

    https://github.com/CNTRPRTY/xcpdev-genesis/blob/48ba3b3a1aca8ab04a70e75be0c2758449bf581b/server/express_server/src/index.js#L554
  • @davesta #10853 09:39 PM, 08 Apr 2024
    looks like a user is having an issue with an MPMA send not showing up in the xcp database (using recent OSx version of 0.9.29)

    https://blockstream.info/tx/28bd1626a21d6a5ccae60dd9b44ad95580dba829114a6dfef81b4e60cafb4bde

    looks like the tx is confirmed but xchain dot io, xcp dot io are not seeing it as valid.... but xcp dot dev does...
    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.

  • @davesta #10854 09:39 PM, 08 Apr 2024
    wallet used above was Freewallet Desktop ^

    is there a tool you guys recommend for checking OP_RETURN info? decoding the HEX to see the function the user inputed?
  • @uanbtc #10855 11:13 PM, 08 Apr 2024
    You can see the hex of the transaction here, which was stored on the Counterparty DB:

    https://www.xcp.dev/tx/28bd1626a21d6a5ccae60dd9b44ad95580dba829114a6dfef81b4e60cafb4bde

    But there were no messages stored. And after further debug, no entries in the sends table either.

    This is a bug in the protocol it seems, maybe is an invalid mpma send. There should at least be an insert of the invalid send (and its entry in the messages table).

    The decoding of the hex for mpma transactions is not yet done in xcpdev, but it should be added and it would have been very helpful in a case like this.
  • @davesta #10856 11:20 PM, 08 Apr 2024
    awesome thanks for the response, good to know thats how you are reading it (protocol issue) - couldnt find anything wrong on my end reading the data
  • @hodlencoinfield #10857 11:21 PM, 08 Apr 2024
    or just a malformed message, its difficult to decode MPMA data manually
  • @davesta ↶ Reply to #10857 #10858 11:22 PM, 08 Apr 2024
    we tried to rule that out - and using the recent versions of FW - the wallet wont let you send invalid entries - for instance if I wrote out "address, token, amount, memo" without the spaces in between, FW will reform the data into something valid (and add the spaces for you)
  • @uanbtc #10859 11:22 PM, 08 Apr 2024
    Yeah the protocol should handle it better, but maybe the source problem is client side
  • @davesta ↶ Reply to #10859 #10860 11:23 PM, 08 Apr 2024
    ill wait for jdog to look over and let you know
  • @uanbtc #10861 11:24 PM, 08 Apr 2024
    Still, you should file an issue in the repo
  • @davesta ↶ Reply to #10861 #10862 11:40 PM, 08 Apr 2024
    MPMA issue with confirmed btc tx using Freewallet 0.9.29 · Issue #1609 · CounterpartyXCP/counterparty-core

    looks like a user is having an issue with an MPMA send not showing up in the xcp database (using most recent version Mac OSx Freewallet Desktop version of 0.9.29) Steps to reproduce the behavior us...

  • 09 April 2024 (45 messages)
  • @ffmad #10863 02:10 PM, 09 Apr 2024
    gm! I have counterparty v10.0.0-beta.1 and addrindexrs v0.4.4, what's the best way to update? Git pull the latest then reparse counterparty?
  • @teysol #10864 02:23 PM, 09 Apr 2024
    @ffmad you should pull the latest addrindexrs, build and run that
  • @teysol #10865 02:24 PM, 09 Apr 2024
    then you should delete the counterparty db (and -wal and -shm filse), pull the latest counterparty-core and follow the installation instructions
  • @ffmad #10866 02:31 PM, 09 Apr 2024
    so restart from the beginning and do fast sync?
  • @teysol #10867 02:55 PM, 09 Apr 2024
    yup. unfortunately beta.1 has errors bugs in the DB
  • @6370143984 #10868 03:07 PM, 09 Apr 2024
    🎉 Counterparty Core v10.0.0 Released! 🎉

    Official Release Notes: https://github.com/CounterpartyXCP/counterparty-core/releases/tag/v10.0.0

    This is a *huge* milestone for the project, providing a strong foundation for future releases and major improvements to the Counterparty platform. Thanks to everyone in the community that contributed to the release and testing. 🙏
  • @hodlencoinfield #10869 03:41 PM, 09 Apr 2024
    feels good man
  • @ffmad ↶ Reply to #10864 #10870 03:45 PM, 09 Apr 2024
    how do you udpate addrindexrs? I got the latest version then built and relaunch but counterparty-server is telling me its still v0.4.4
  • @teysol #10871 03:49 PM, 09 Apr 2024
    hm it's probably some problem in that procedure
  • @teysol #10872 03:49 PM, 09 Apr 2024
    make sure you're on the latest version of master
  • @teysol #10873 03:49 PM, 09 Apr 2024
    delete /target in the repo and check to make sure the binary is being rebuilt etc.
  • @ffmad ↶ Reply to #10873 #10874 04:02 PM, 09 Apr 2024
    this worked 👍
  • @uanbtc ↶ Reply to #10868 #10875 04:42 PM, 09 Apr 2024
    How is the upgrade procedure for docker installation? I just started testing yesterday, and I’m in version 10.0.0-rc.1.

    And my initial impressions is that there seems to be some non-determinism in the messages table (among other things)…
  • @teysol #10876 05:04 PM, 09 Apr 2024
    there's no such thing as a "docker installation"
  • @teysol #10877 05:04 PM, 09 Apr 2024
    if you're upgrading from v9, then just run docker compose
  • @teysol #10878 05:05 PM, 09 Apr 2024
    if you're seeing a problem with the messages table, please submit an actual bug report rather than making vague suggestions on TG
  • @XJA77 #10879 05:06 PM, 09 Apr 2024
    i still couldnt sync on this version :(
  • @XJA77 #10880 05:06 PM, 09 Apr 2024
    neither bootstrap kickstart or no bootstrap
  • @teysol ↶ Reply to #10879 #10881 05:07 PM, 09 Apr 2024
    will discuss via DM
  • @robotlovecoffee #10882 05:46 PM, 09 Apr 2024
    gm, been away for a minute, I was thinking I would nuke my AWS and do a full start from the begining, do we and updated install doc for ubuntu
  • @uanbtc ↶ Reply to #10878 #10883 06:00 PM, 09 Apr 2024
    v10.0 first impressions, differences to v9.61 · Issue #1614 · CounterpartyXCP/counterparty-core

    Running v10.0.0-rc1, installed with Docker Compose following https://docs.counterparty.io/docs/basics/getting-started/. First of all just want to congratulate on the effort and work done to get to ...

  • @ABlue0ne #10884 06:01 PM, 09 Apr 2024
    The newest version/release ate the README.
  • @Jpcryptos #10885 06:19 PM, 09 Apr 2024
    why XCP totalSupply is 8M+ and totalsupply in xchain is 2M+ ??
  • @Jpcryptos #10887 06:32 PM, 09 Apr 2024
    the other assets calculate the total supply well, but not in xcp.
  • @ABlue0ne ↶ Reply to #10884 #10888 06:37 PM, 09 Apr 2024
    I see you closed my issue on github with a message that says the readme sends users to the surface web, but the surface web readme install docs are also outdated. Manual install docs references -cli not -wallet for example.

    Want me to make a new issue on github to clarify?
  • @teysol #10889 07:01 PM, 09 Apr 2024
    If there's a bug in the documetation yes please create an issue! (in this repo though: https://github.com/CounterpartyXCP/Documentation/issues)
    Issues · CounterpartyXCP/Documentation

    Official Documentation of the Counterparty Project - Issues · CounterpartyXCP/Documentation

  • @ffmad ↶ Reply to #10882 #10890 07:08 PM, 09 Apr 2024
    Do a kickstart*
  • @ffmad #10891 07:09 PM, 09 Apr 2024
    Avoid the classic start, it takes at least 5 days 😅
  • @teysol #10892 07:15 PM, 09 Apr 2024
    yes, that'll be fixed soon!
  • @ffmad ↶ Reply to #10892 #10893 07:16 PM, 09 Apr 2024
    By removing the addrindexrs?
  • @uanbtc #10894 07:57 PM, 09 Apr 2024
    General question, is multiple versions of Counterparty, all based on a reference implementation, something we should aspire to or not?
  • @teysol #10895 08:00 PM, 09 Apr 2024
    I think it's a fine long-term goal, but it's really not important. The industry has tried it out many times and it usually makes ~no difference. It would definitely be counterproductive even in the medium term because of the much higher maintenance burden that it would entail.
  • @6370143984 #10896 08:03 PM, 09 Apr 2024
    the extreme example of this is Ethereum ofc.
  • @6370143984 #10897 08:03 PM, 09 Apr 2024
    I do think this is a place where Satoshi was quite prescient.
  • @uanbtc #10898 08:07 PM, 09 Apr 2024
    Lightning network has multiple implementations
  • @6370143984 #10899 08:08 PM, 09 Apr 2024
    i am not saying it's impossible but in lightning's case do the separate implementations share consensus code?
  • but centralized by payment channels
  • @uanbtc #10901 08:09 PM, 09 Apr 2024
    I’m not sure about the specifics of what they share, maybe nothing? And is all based on the initial white paper…
  • @6370143984 #10902 08:09 PM, 09 Apr 2024
    Also, I know that at least two implementations are separately financed. it's at least partly an incentives thing.
  • @uanbtc #10903 08:16 PM, 09 Apr 2024
    Bringing this up specifically because of the messages table / hash.

    Thinking that maybe a better approach for that table should be having minimal (but critical) data thus allowing other implementations to replicate it.

    If it takes the opposite direction of including as much implementation details as possible it would make it harder to reproduce the same hash…
  • @uanbtc #10904 08:56 PM, 09 Apr 2024
    @teysol why the thumbs down?
  • @teysol #10905 10:14 PM, 09 Apr 2024
    It's backwards. The whole point is to make it as hard as possible, within reason, to reproduce the same hash. Also, I said before, that additional implementations at this stage would be counterproductive.
  • @uanbtc #10906 10:41 PM, 09 Apr 2024
    At this stage, yes… maybe. It should not be a definite. Don’t trust, verify.

    And I don’t understand why it should be as hard as possible to reproduce the hash… if you can elaborate that would be appreciated.

    v9.61 does not have all tables as messages. Only a selection, which when analyzed, is minimal. For example, there are no blocks, transactions, assets… all which I am now seeing as messages in v10…
  • @uanbtc #10907 11:30 PM, 09 Apr 2024
    For anyone interested, here is a version of xcpdev running v10:

    http://v10.0.0-rc.1.preview.xcp.dev.s3-website-us-east-1.amazonaws.com

    The changes to the code are in the repo (and I would appreciate any review, as I’m not getting the expected results at multiple places):

    https://github.com/CNTRPRTY/xcpdev-genesis/tree/v10tests
    GitHub - CNTRPRTY/xcpdev-genesis at v10tests

    Open Counterparty Bitcoin Data Explorer - DIY Node - GitHub - CNTRPRTY/xcpdev-genesis at v10tests

  • 10 April 2024 (56 messages)
  • @FrankXie001 #10908 03:21 AM, 10 Apr 2024
    Joined.
  • @FrankXie001 #10909 03:21 AM, 10 Apr 2024
    Any sync problems?
  • @herpenstein #10910 03:23 AM, 10 Apr 2024
    Adam in Official Counterparty Dev Chat

    **Show-stopping bug was just triggered on mainnet.** It's affecting both v10.0.0 and v9.61.1: https://github.com/CounterpartyXCP/counterparty-core/issues/1619

  • Appreciate the info. Do you know how should I do to use 9.61.3 version in the xcp.dev lib(https://github.com/CNTRPRTY/federatednode)
    GitHub - CNTRPRTY/federatednode: Federated Node Build System - Core Version - Don't trust, verify

    Federated Node Build System - Core Version - Don't trust, verify - CNTRPRTY/federatednode

  • @herpenstein #10912 03:31 AM, 10 Apr 2024
    Not 100% sure. @uanbtc ?
  • @herpenstein #10913 03:32 AM, 10 Apr 2024
    Adam in Official Counterparty Dev Chat

    HOTFIX v9.61.3 Released https://github.com/CounterpartyXCP/counterparty-core/releases/tag/v9.61.3

  • @uanbtc ↶ Reply to #10912 #10914 03:44 AM, 10 Apr 2024
    Looking into it now
  • @uanbtc ↶ Reply to #10911 #10915 04:14 AM, 10 Apr 2024
    Update pushed
  • @Jpcryptos #10920 10:27 AM, 10 Apr 2024
    i got this error...
  • @6370143984 #10921 10:29 AM, 10 Apr 2024
    what version are you running
  • @6370143984 #10922 10:29 AM, 10 Apr 2024
    hotfix was pushed at midnight last night: https://t.me/Counterparty_Dev/12113
    Adam in Official Counterparty Dev Chat

    **Show-stopping bug was just triggered on mainnet.** It's affecting both v10.0.0 and v9.61.1: https://github.com/CounterpartyXCP/counterparty-core/issues/1619

  • @Jpcryptos #10923 10:30 AM, 10 Apr 2024
    updating right now
  • @Jpcryptos #10924 12:06 PM, 10 Apr 2024
    Nooo
  • @Jpcryptos #10925 12:06 PM, 10 Apr 2024
    Where is my :/data
  • @Jpcryptos #10926 12:07 PM, 10 Apr 2024
    😢😢😢
  • @Jpcryptos #10927 12:07 PM, 10 Apr 2024
    Need to resync my node.
  • @XJA77 #10928 01:45 PM, 10 Apr 2024
    Does anyone has updated his fednode
  • @XJA77 #10929 01:46 PM, 10 Apr 2024
    And knows how to do it?
  • @XJA77 #10930 01:56 PM, 10 Apr 2024
    i was expecting dont needing to do it but with the yesterday bug i wont have other option
  • @Jpcryptos #10931 02:12 PM, 10 Apr 2024
    docker volume ls
    docker run --rm -v {volumen_simplen_node}:/data/origen -v counterparty-core_data:/data alpine sh -c "cp -av /data/origen/* /data/"

    just remplace {volumen_simple_node} for the bitcoin volumen name you get from docker volume ls,
  • @Jpcryptos #10932 02:13 PM, 10 Apr 2024
    just a simple script to copy the volumen from simple-node to the new volumen
  • @Jpcryptos #10933 02:15 PM, 10 Apr 2024
    if you dont have enough space this wiil fail
  • @Jpcryptos #10934 02:16 PM, 10 Apr 2024
    then you dont need to resync the node...
  • @Jpcryptos #10935 02:19 PM, 10 Apr 2024
    We need seriuously to incentive The nodes... somehow
  • @XJA77 #10938 03:05 PM, 10 Apr 2024
    I was thinking on load balance them yes
  • @uanbtc ↶ Reply to #10931 #10939 03:05 PM, 10 Apr 2024
    If you are using the federatednode there is no need to do this.

    If you are using github.com/CNTRPRTY/federatednode:

    Go to federatednode/src/counterparty-lib. Then git pull. Finally: fednode rebuild counterparty counterparty-testnet --no-cache
    GitHub - CNTRPRTY/federatednode: Federated Node Build System - Core Version - Don't trust, verify

    Federated Node Build System - Core Version - Don't trust, verify - CNTRPRTY/federatednode

  • @ffmad ↶ Reply to #10937 #10940 03:06 PM, 10 Apr 2024
    Let's drop the "CP node" term too
  • @XJA77 #10941 03:06 PM, 10 Apr 2024
    If you incentivice all nodes are in consensus and if is in consensus you load balance them and when people ask for a writing function the selected node has some kind of incentive for resolving the writing tx (small fee) is a win win
  • @ffmad #10942 03:06 PM, 10 Apr 2024
    There is no CP node. Just a Bitcoin node with CP interpreter
  • is a node that need bitcoin to work
  • @ffmad #10945 03:07 PM, 10 Apr 2024
    The node is Bitcoin, there is no CP node
  • @Jpcryptos #10946 03:07 PM, 10 Apr 2024
    because there is a database, which synchronizes, and that database serves as a node.
  • @uanbtc #10947 03:08 PM, 10 Apr 2024
    Decentralize Counterparty 🤓
  • @Jpcryptos #10948 03:08 PM, 10 Apr 2024
    bitcoin node is the entrypoint
  • @Jpcryptos #10949 03:08 PM, 10 Apr 2024
    so yes is a node.
  • @Jpcryptos #10950 03:09 PM, 10 Apr 2024
    you want to talk to all CP network jus send a tx, then all the disributed database read from taht tx...
  • @Jpcryptos #10951 03:10 PM, 10 Apr 2024
    where does the node read this message from? simply from the bitcoin node.
  • @ffmad #10953 03:11 PM, 10 Apr 2024
    Periwig had the right term for this, but I can't remember what it is 😅
  • If you have an incentivized network, you have dev working with node updates, there is a good incentive to build, and if you implement an EVM in the future, you should incentivize the nodes to run the code.
  • @Jpcryptos #10956 03:25 PM, 10 Apr 2024
    fedelobo
  • @Jpcryptos #10957 03:25 PM, 10 Apr 2024
    jijijji
  • I mean nothing special lol I think I called it a "client"
  • @uanbtc #10959 03:31 PM, 10 Apr 2024
    @teysol Periwig i don’t see rowid from query results.

    https://github.com/CounterpartyXCP/counterparty-core/issues/1618
    Where is the rowid? · Issue #1618 · CounterpartyXCP/counterparty-core

    Running v10.0.0-rc1, installed with Docker Compose following https://docs.counterparty.io/docs/basics/getting-started/. Currently testing this version at http://v10.0.0-rc.1.preview.xcp.dev.s3-webs...

  • @NorthrnSatosh #10960 05:12 PM, 10 Apr 2024
    Joined.
  • @NorthrnSatosh #10961 05:12 PM, 10 Apr 2024
    Gm ☕️
  • @XJA77 #10962 05:18 PM, 10 Apr 2024
    welcome ser
  • @Jpcryptos #10963 05:44 PM, 10 Apr 2024
    our node working properly 😘😘😘😘
  • @uanbtc ↶ Reply to #10963 #10964 05:47 PM, 10 Apr 2024
    Thanks to @teysol for the quick fix!!!
  • @Jpcryptos #10965 06:26 PM, 10 Apr 2024
    Thanks to the legend
  • @uanbtc ↶ Reply to #10959 #10966 06:47 PM, 10 Apr 2024
    Figured it out. Issue closed.
  • @hodlencoinfield #10967 06:53 PM, 10 Apr 2024
    is the get_blocks call ded?
  • @hodlencoinfield #10968 06:54 PM, 10 Apr 2024
    getting
    "error": {
    "code": -32000,
    "message": "Server error",
    "data": {
    "type": "SQLError",
    "args": [
    "SQLError: row value misused"
    ],
    "message": "SQLError: row value misused"
    }
    },
    "id": 0,
    "jsonrpc": "2.0"
    } with v10
  • @hodlencoinfield #10969 06:58 PM, 10 Apr 2024
    i can create an issue
  • @uanbtc ↶ Reply to #10907 #10970 07:11 PM, 10 Apr 2024
    Queries fixed!!! Showing same results in v9.61 and v10:

    https://www.xcp.dev/asset/DAILYSMOL

    http://v10.0.0-rc.1.preview.xcp.dev.s3-website-us-east-1.amazonaws.com/asset/DAILYSMOL
  • @uanbtc ↶ Reply to #10970 #10971 07:30 PM, 10 Apr 2024
    Final boss PEPECASH may time out, but testing to my node directly is not too bad. With the cache integrated it should work just like the current xcp.dev.

    So… I stand corrected. The new schema seems to have the appropriate indexes for read queries still being reasonably fast!

    Very happy with these results and congratulations to the devs 🤓
  • 11 April 2024 (12 messages)
  • @ABlue0ne ↶ Reply to #10943 #10972 03:23 PM, 11 Apr 2024
    Discovery, load balance and telematics should be opt-in.
  • @Niftyboss1 #10973 04:10 PM, 11 Apr 2024
    Joined.
  • @Niftyboss1 #10974 04:11 PM, 11 Apr 2024
    Just a very quick post as I'm running out of time today:
  • @Niftyboss1 #10975 04:11 PM, 11 Apr 2024
    Is there a known bug with the block_index field in the dispensers table?

    curl -X POST https://api.counterparty.io:4000/api/ --user rpc:rpc --data-binary "{ \"method\": \"get_dispensers\", \"params\": { \"filters\": [ {\"field\": \"source\", \"op\": \"LIKE\", \"value\": \"1LbqQxREP%\" } , {\"field\": \"asset\", \"op\": \"=\", \"value\": \"XCP\" } ] , \"filterop\": \"And\", \"order_by\": \"satoshirate\", \"order_dir\": \"asc\" }, \"jsonrpc\": \"2.0\", \"id\": 0 }"

    {"result": [{"tx_index": 2708478, "tx_hash": "63cfae80d7caf50c37b139c4ee6f076db421e3b0d7bc34616a2318ae0b600e5a", "block_index": 833712, "source": "1LbqQxREPfeMFNPx9VGpGTiMo4kaiMSpHw", "asset": "XCP", "give_quantity": 100000000, "escrow_quantity": 30000000000, "satoshirate": 23000, "status": 0, "give_remaining": 29900000000, "oracle_address": null, "last_status_tx_hash": null, "origin": "12CeCTTKXNW1D57Pzfc2QheJBEHd37Cnq8", "dispense_count": 1}], "id": 0, "jsonrpc": "2.0"}
  • @Niftyboss1 #10976 04:13 PM, 11 Apr 2024
    Until a few days ago, this was returning the correct block index: 833637
  • @hodlencoinfield #10977 04:27 PM, 11 Apr 2024
    open an issue
  • @Niftyboss1 #10978 04:29 PM, 11 Apr 2024
    I’m afk - Will do so tomorrow
  • @uanbtc ↶ Reply to #10975 #10979 06:02 PM, 11 Apr 2024
    I think those servers have been updated to v10…

    I notice that you are querying for an address starts with, is it because you are interested in multiple addresses?

    You can check them individually in xcp.dev which is still running v9.61… maybe the api calls here can be useful to you, as it shows both open and closed dispensers for an address
  • @droplister #10980 09:23 PM, 11 Apr 2024
    How do I rebuild and use 9.61.3.
  • @droplister #10981 09:27 PM, 11 Apr 2024
    Do I checkout the branch basically
  • @uanbtc ↶ Reply to #10939 #10982 10:28 PM, 11 Apr 2024
    If you are running from github.com/CNTRPRTY, yes.
    Bitcoin and Counterparty Tools

    Decentralizing CNTRPRTY: "Counterparty is Bitcoin. Is on top of Bitcoin. Is Web3. Is Web5. Two steps ahead." 🐸 - Bitcoin and Counterparty Tools

  • @uanbtc #10983 10:28 PM, 11 Apr 2024
    Not sure if is the same for the oficial repo
  • 12 April 2024 (31 messages)
  • @droplister #10984 02:22 AM, 12 Apr 2024
    Ok, so if I have a fednode there's no upgrade path within that paradigm. I need to reroll?
  • @droplister #10985 02:26 AM, 12 Apr 2024
    I tried this:git remote -v
    git remote set-url origin https://github.com/CounterpartyXCP/counterparty-core.gitgit remote -v
    git fetch --tags git checkout v9.61.3
    git pull
    git fetch origingit reset --hard v9.61.3
    git clean -fd
    And then I ran this:fednode rebuild counterparty
    But that installed the new version, so I guess rebuild isn't the move. Is it update or restart?
  • @droplister #10986 02:26 AM, 12 Apr 2024
    I've got like a 10 XCP bounty for the chad who knows how to get the service to use the branch.
  • @uanbtc ↶ Reply to #10985 #10987 03:08 AM, 12 Apr 2024
    But that installed the new version as in v10?
  • @droplister #10988 03:09 AM, 12 Apr 2024
    I think so because when I tail counterparty after I get this error (in part):
    Wrong addrindexrs version: 0.4.6 is needed but 0.4.1 was found

    And I think v10 requires that version
  • @uanbtc #10989 03:11 AM, 12 Apr 2024
    Hmmm do you have a way to revert? You running local or in a cloud provider?
  • @uanbtc #10990 03:13 AM, 12 Apr 2024
    In other words, did you backup before doing anything?
  • @droplister #10991 03:14 AM, 12 Apr 2024
    It's in da cloud
  • @droplister #10992 03:14 AM, 12 Apr 2024
    Backups for wimps
  • @uanbtc #10993 03:18 AM, 12 Apr 2024
    lol but you might be in a weird codebase with the commands you did…

    Maybe go to federatednode/src and in each of those folders check the commit you are in. Then you’ll know where you stand and checkout to the versions you should be in each.

    But the software might want to reparse… not sure what will happen
  • @droplister #10994 03:20 AM, 12 Apr 2024
    git branch * (HEAD detached at v9.61.3)
  • @uanbtc #10995 03:20 AM, 12 Apr 2024
    Check the commit with git log
  • @uanbtc #10996 03:21 AM, 12 Apr 2024
    And do the same for addressindrs
  • @droplister #10997 03:23 AM, 12 Apr 2024
    ok so i guess i installed the lastest somehow doing what I did:
    commit 69b91be86b8f0835981186b3f1ca04f5f11d183f (HEAD, tag: v9.61.3, tag: v10.0.1-2, tag: v10.0.1, origin/master, origin/HEAD)
  • @droplister #10998 03:26 AM, 12 Apr 2024
    I think the issue is I tried to use the tags, but there's two. And one doesn't do what it says on the tin.

    https://github.com/CounterpartyXCP/counterparty-core/releases/tag/v9.61.3

    https://github.com/CounterpartyXCP/counterparty-core/releases/tag/v9.61.3-2
    Release v9.61.3 · CounterpartyXCP/counterparty-core

    Release Notes - Counterparty Core v9.61.3 (2024-04-09) ChangeLog Stability and Correctness Add missing sanity check in address unpacking for dispensers that causes a complete network crash Credit...

  • @uanbtc #10999 03:29 AM, 12 Apr 2024
    Checkout directly to the commit you want
  • @droplister #11000 03:29 AM, 12 Apr 2024
    I'm back in business doing what I did before but using "v9.61.3-2" instead of "v9.61.3".
  • @droplister #11001 03:29 AM, 12 Apr 2024
    Hit me with an address and I'll send you 10 XCP
  • @droplister #11002 04:01 AM, 12 Apr 2024
    I saw Adam mention it doesn't make sense to work on Counterblock.
  • @droplister #11003 04:01 AM, 12 Apr 2024
    Just sharing that this is where mine failed:
    INFO:assets: Credit 1 A2737059176450433500 to 1CCMRNyv4zmGgr9eHHgMU2XcFtsPUqNohN (new bal: 1, msgID: 10198330)
  • @droplister #11004 04:02 AM, 12 Apr 2024
    Block 820116
  • @XJA77 ↶ Reply to #11004 #11005 04:07 AM, 12 Apr 2024
    Mmmm that block looks familiar for me I think I had same issue in one of my runs
  • @ABlue0ne ↶ Reply to #11002 #11006 10:36 AM, 12 Apr 2024
    I know counterblock is a dependency for counterwallet. What does counterblock do?
  • @6133336282 #11007 11:36 AM, 12 Apr 2024
    Joined.
  • @herpenstein #11011 07:43 PM, 12 Apr 2024
    @uanbtc if you have a second, could you try to generate this create send and see if it throws a parse error?

    https://t.me/Counterparty_XCP/234017
    Derp in Official Counterparty Chat

    { method: 'create_send', params: { source: 'bc1qy25gwr9vdrvxx0w35wa9vrpc3hc5h6rd0p56f4', destination: 'bc1q7ra8ec9nmzfw96rnayss83lqzcz78gd0hsp2j0', asset: 'BTC', quantity: 69420, allow_unconfirmed_inputs: true, extended_tx_info: true, fee: 41882 }, jsonrpc: '2.0', id: 0 }

  • @uanbtc ↶ Reply to #11011 #11012 08:05 PM, 12 Apr 2024
    Yes is working:

    {
    "result": {
    "btc_in": 403250,
    "btc_out": 69420,
    "btc_change": 291948,
    "btc_fee": 41882,
    "tx_hex": "0200000000010186faad59fbe95a53e88914da84f4e9c87b62fe173437c9b15ba76ee3ad3059250100000016001422a8870cac68d8633dd1a3ba560c388df14be86dffffffff022c0f010000000000160014f0fa7ce0b3d892e2e873e92103c7e01605e3a1af6c7404000000000016001422a8870cac68d8633dd1a3ba560c388df14be86d02000000000000"
    },
    "id": 0,
    "jsonrpc": "2.0"
    }

    When done directly to the node. (But have to check why is not working on the website…)
  • I didn’t try on xcp.dev, I was making the call manually against api.counterparty
  • @herpenstein #11014 08:09 PM, 12 Apr 2024
    Just trying to see who’s infrastructure is affected by this issue and figure out why
  • @uanbtc #11015 08:27 PM, 12 Apr 2024
    May be related to v10. My understanding is that 1 or more of the api.counterparty nodes have been updated.

    There will an another v10.1 release very soon.

    https://github.com/CounterpartyXCP/counterparty-core/pull/1640

    Hopefully this solves most/all issues, but it is still a release with MANY changes, so the safest is to rely on v9.61 for critical infrastructure.
    v10.1.0-rc.1 by ouziel-slama · Pull Request #1640 · CounterpartyXCP/counterparty-core

    Release Notes - Counterparty Core v10.1.0-rc.1 Note: This update requires a reparse from block 835,500. (If you are upgrading from v9.x.y, then you need a full database rebuild.) ChangeLog Bugfixes...

  • @uanbtc ↶ Reply to #11012 #11016 08:32 PM, 12 Apr 2024
    And the website is fixed now
  • Thank you for looking into it. Appreciate it ser
  • 13 April 2024 (25 messages)
  • @Jpcryptos #11018 12:46 AM, 13 Apr 2024
    one more day one more bug. that's a good sign.
  • @Jpcryptos #11019 12:46 AM, 13 Apr 2024
    soon we will have a network of stable nodes.
  • @Jpcryptos #11020 12:47 AM, 13 Apr 2024
    I love it when a bunch of strangers met together and create something beautiful. that's the beauty of open source
  • @uanbtc #11021 01:07 AM, 13 Apr 2024
    @Jpcryptos you were working on a counterparty rust lib right?
  • @Jpcryptos #11022 01:29 AM, 13 Apr 2024
    Yes
  • @Jpcryptos #11023 01:30 AM, 13 Apr 2024
    GitHub - blocklack-team/counterpartydb: A Counterparty db wrapper

    A Counterparty db wrapper. Contribute to blocklack-team/counterpartydb development by creating an account on GitHub.

  • why?
  • @uanbtc #11025 01:38 AM, 13 Apr 2024
    Just curious how it was going, you still working on it?
  • @Jpcryptos #11026 01:42 AM, 13 Apr 2024
    Not just stopped there
  • @Jpcryptos #11027 01:44 AM, 13 Apr 2024
    although the performance is fast, almost 200k requests in a few seconds
  • @uanbtc #11028 01:52 AM, 13 Apr 2024
    Straight v9.61 db without any new indexes? v10 fixed a bunch that used to have conflicting names
  • @hodlencoinfield #11029 01:55 AM, 13 Apr 2024
    Casey (@rodarmor) on X

    Light Pools: A simple solution for decentralized trading of Bitcoin-native assets. Mempool-sniping resistant, price and cost effective. I'm not going to build this one, unlike runes where I was like, eh, who knows. I hope someone else does! 🧵 https://t.co/euLTnYIckk

  • @hodlencoinfield #11030 01:56 AM, 13 Apr 2024
    This could easily integrate with utxo bound counterparty assets if someone builds it
  • @droplister #11031 02:09 AM, 13 Apr 2024
    P2P is hard imo
  • @hodlencoinfield #11032 02:12 AM, 13 Apr 2024
    agree, i dont think its "better" than AMMs persay but still interesting and someone will probly try to build it
  • @hodlencoinfield #11033 02:13 AM, 13 Apr 2024
    AMMs are buyer, seller and market maker
  • @Jpcryptos #11034 02:29 PM, 13 Apr 2024
    2Mz2v54yrfR276y16yEsh81Uu8A1BHuDBgE

    does anyone have tbtc and xcp from testnet to give to me?
  • @Jpcryptos #11035 02:30 PM, 13 Apr 2024
    I would appreciate it.
  • @hodlencoinfield #11036 03:18 PM, 13 Apr 2024
    I can send you some in a few hours if no one else has any
  • @Jpcryptos #11039 03:37 PM, 13 Apr 2024
    Thanks mate 👍
  • @Jpcryptos #11040 03:41 PM, 13 Apr 2024
    guys in May we will have an event in Barcelona to talk about CP, and historical NFts and some OGs will talk about their crypto experience in the early days.... If any of you are in a CP project, or you know Bitcoin since early years and you have been participating in projects and you can prove it. Dm me.. I would like you to be able to attend.
  • 👍
  • I would love to stop by! (As a visitor, don't have much to say 😁)
  • @ffmad ↶ Reply to #11040 #11043 05:05 PM, 13 Apr 2024
    When will it be? Sounds interesting
  • @uanbtc ↶ Reply to #11040 #11044 05:10 PM, 13 Apr 2024
    Yeah you got a link with more details?
  • 14 April 2024 (4 messages)
  • @Jpcryptos #11046 08:14 AM, 14 Apr 2024
    is this normal?
  • @6370143984 #11047 09:09 AM, 14 Apr 2024
    Weird SQLite Error on Startup · Issue #1655 · CounterpartyXCP/counterparty-core

    13|counter | [2024-04-14 08:28:05][INFO] Running v10.1.0-rc.1 of counterparty-lib. 13|counter | [2024-04-14 08:28:05][INFO] Running v10.1.0-rc.1 of counterparty-server. 13|counter | [2024-04-14 08:...

  • @6370143984 #11048 09:11 AM, 14 Apr 2024
    So multiple bugs have been discovered with v10.x.y since it was released last week, including a problem with triggering dispensers via the API. It turns out that no one tested it for the ~month that it was in pre-release. I expected this to happen, and I warned everyone with a message pinned to this channel (see below). In addition, Freewallet has not been updated to use SSL for api.counterparty.io by default, so for now it won't work until you manually change the wallet settings. A new release is being prepared that fixes all known regressions, and I'll deploy that to the public API servers as soon as it's ready. In the meantime, if you would like to use v9.61.3 on plain HTTP, which is insecure, just hit http://api1.counterparty.io:4000. (In Freewallet, set "CP Host" to "api1.counterparty.io" and "CP SSL" back to "No".)
  • 15 April 2024 (9 messages)
  • @Jpcryptos #11049 03:31 PM, 15 Apr 2024
    is anyone having problems with testnet bitcoin nodes? transactions that were with 2, 3 confirmations disappear.... on some nodes have 2 confirmations, on others 0.
  • @Jpcryptos #11051 03:32 PM, 15 Apr 2024
    BTC Transaction 56aa0215f2c6e1ca8bcb115358f73eb90b0de65e004b01a1248a7a5a7ff7b9b8 | BlockCypher

    0.099696 BTC transacted in TX 56aa0215f2c6e1ca8bcb115358f73eb90b0de65e004b01a1248a7a5a7ff7b9b8 (fees were 0.0000741 BTC). This transaction was mined in BTC block 00000000000019fe7d2bebc1bce07d0078be4fe47b4953fe802dae7cd9b4085c. 1 input consumed, 1 output created.

  • @Jpcryptos #11052 03:35 PM, 15 Apr 2024
    6.3k transaction in testnet mempool
  • @Jpcryptos #11053 03:35 PM, 15 Apr 2024
    ahhhh
  • @uanbtc #11054 03:47 PM, 15 Apr 2024
    Haven’t used testnet in a while 😆
  • @Jpcryptos #11055 03:54 PM, 15 Apr 2024
    I think is something shit weird pre-halving
  • @hodlencoinfield #11056 04:18 PM, 15 Apr 2024
    People prepping for runes launch
  • @hodlencoinfield #11057 04:18 PM, 15 Apr 2024
    There’s also some runes projects that are rewarding “points” for testnet mints
  • 16 April 2024 (22 messages)
  • @6370143984 #11059 01:51 PM, 16 Apr 2024
    New Release of Counterparty Core: v10.1.0.

    This release fixes a number of long-standing bugs, in addition to some regressions in v10.0.x. It has already been running on api.counterparty.io for the past 24 hours and been shown to be stable. The full release notes are available on https://github.com/CounterpartyXCP/counterparty-core/releases/tag/v10.1.0
    Release v10.1.0 · CounterpartyXCP/counterparty-core

    Release Notes - Counterparty Core v10.1.0 (2024-04-16) This release includes fixes for a number of bugs as well as a few regressions in v10.0.x. Upgrade Procedure This upgrade is optional but highl...

  • @uanbtc ↶ Reply to #11059 #11060 03:58 PM, 16 Apr 2024
    I’m using the docker compose installation. Did a git pull.

    Next trying this command:

    docker-compose up -d --force-recreate counterparty-core

    But is not working, getting this error:

    ERROR: Configuration for volume data specifies "device" driver_opt /root/counterparty-core/${XDG_DATA_HOME:-~/.local/share}/counterparty-docker-data, but a volume with the same name uses a different "device" driver_opt (/root/counterparty-docker-data). If you wish to use the new configuration, please remove the existing volume "counterparty-core_data" first:
    $ docker volume rm counterparty-core_data

    It says the solution is to delete the data folder… which I could do (because I’m still testing everything relying on bootstrap) but just asking here before in case the delete is not necessary.
  • @marceh0le #11061 04:16 PM, 16 Apr 2024
    It looks like you could set this env var and run the command again: “export COUNTERPART_DOCKER_DATA=/root”
  • @uanbtc #11062 04:30 PM, 16 Apr 2024
    Thanks. But still getting the same error…
  • @uanbtc #11063 04:31 PM, 16 Apr 2024
    FYI used this (fixed typo):

    export COUNTERPARTY_DOCKER_DATA=/root
  • @Jpcryptos #11064 05:18 PM, 16 Apr 2024
    did that too
  • @Jpcryptos #11065 05:19 PM, 16 Apr 2024
    I set literal path instead from ENV
  • @uanbtc #11066 05:24 PM, 16 Apr 2024
    With success or having the same issue?
  • @uanbtc #11067 05:25 PM, 16 Apr 2024
    And btw, was starting the delete data folder path, but it seems all containers (including the bitcoin one) are tied to it… so will deleting it mean that I would have to sync Bitcoin again?
  • @6370143984 #11068 07:35 PM, 16 Apr 2024
    Adam is not in this channel. I think if you ask in https://t.me/Counterparty_Dev he can answer
    Official Counterparty Dev Chat

    Group for discussion about Counterparty based development Github: https://github.com/CounterpartyXCP/ Docs: https://docs.counterparty.io/

  • Yes
  • @uanbtc ↶ Reply to #11068 #11070 07:55 PM, 16 Apr 2024
    Ok then, good to know.

    Guess is a good moment to also announce that I was removed as a member of the “official” repo in the weekend. Is only Adam now it seems…
  • @uanbtc ↶ Reply to #11069 #11071 07:56 PM, 16 Apr 2024
    Deleted everything and now I’m getting this:

    https://github.com/CounterpartyXCP/counterparty-core/issues/1690
    Docker compose installation failing · Issue #1690 · CounterpartyXCP/counterparty-core

    Steps To Reproduce Following the instructions from https://docs.counterparty.io/docs/basics/getting-started/. git clone git@github.com:CounterpartyXCP/counterparty-core.git cd counterparty-core mkd...

  • ? what's the connection between Adam leaving this channel and your maintainer status?
  • @uanbtc #11073 08:01 PM, 16 Apr 2024
    Time
  • @6370143984 #11074 08:04 PM, 16 Apr 2024
    I mean I don't think anyone needs to be a part of any particular channel. the "official" dev chat has more than 2x members.
  • @ABlue0ne #11075 08:16 PM, 16 Apr 2024
    Be that as it may, this chat has the most honest, upstanding and active members with good intentions. The other dev chat is more of a level 1 tech support at the moment.
  • @6370143984 #11076 08:17 PM, 16 Apr 2024
    I mean I don't know what to say to that lol. Adam is an adult who makes his own decisions; he gets to choose which Telegram channels he is a member of.
  • @uanbtc ↶ Reply to #11075 #11077 08:30 PM, 16 Apr 2024
    And the number of members has never being an important metric here. Maybe the opposite.

    The bio explains the purpose of this group. Then add the Decentralizing CNTRPRTY project (github.com/CNTRPRTY), which this would be the “support chat” for.
    Bitcoin and Counterparty Tools

    Decentralizing CNTRPRTY: "Counterparty is Bitcoin. Is on top of Bitcoin. Is Web3. Is Web5. Two steps ahead." 🐸 - Bitcoin and Counterparty Tools

  • @6370143984 #11078 08:32 PM, 16 Apr 2024
    I don't know what I'm supposed to do with that information. Should I tell Adam he is being formally censured and can only redeem himself by rejoining this channel?
  • @ABlue0ne #11079 08:32 PM, 16 Apr 2024
    😂
  • @6370143984 #11080 08:34 PM, 16 Apr 2024
    Hi, all. Below is an important message about the upcoming API redesign. TLDR: with v10.1.2, APIv2 will be released and APIv1 will be officially deprecated. It will still be supported for some period of time, but its use will be discouraged and it will be removed eventually. We've got some number of weeks yet till v10.1.2 is released, but want to give folks (especially infrastructure providers) as much notice as possible so that they have enough time to migrate over to the new API.

    --

    In early January, 2024 discussions about improving Counterparty Core's API began on Telegram. Users' primary complaints were that calls were "too slow" and lacking in critical features. Three GitHub issues were created to identify problems with the current API: one for users to request specific additional API calls (https://github.com/CounterpartyXCP/counterparty-core/issues/1299); one to document slow API calls (https://github.com/CounterpartyXCP/counterparty-core/issues/1359), and one to discuss the design of the new API (https://github.com/CounterpartyXCP/counterparty-core/issues/1327). Users were encouraged to comment on all of these issues over the following weeks.

    As requests for specific improvements to the API were not forthcoming, issue #1299 was closed on January 29. Adam and Ouziel determined from their own testing that the apparent slowness of the API was actually the result of the necessary client-side filtering users had to do because the API wasn't sufficiently powerful, and so issue #1359 was closed on March 11. The issue for the API redesign (#1327) has been open since January 15, and has received no comments except one on January 16.

    Two weeks ago, Ouziel began work on the new API and published the first pull request for a new API ('APIv2'), which includes the specification for APIv2: https://github.com/CounterpartyXCP/counterparty-core/pull/1607. Following the design specified in (#1327), that PR states, when APIv2 is released, the current API ('APIv1') will be deprecated; it will be disabled by default and put behind the route /old/api.

    APIv2 is set to be released as part of v10.1.2. While v10.1.2 will not be a mandatory upgrade, api.counterparty.io servers will be running v10.1.2 as soon as it's released, and therefore services which use api.counterparty.io must update their calls to the latter with APIv2's routes. Furthermore, with the release of v10.1.2, APIv1 will be officially deprecated and supported only for a fixed period of time during which users must migrate to the new version. It will eventually be removed. APIv2 will be significantly faster, better-tested, and more user-friendly than v1. On the other hand, it will abstract away a number of implementation details of the current codebase that some developers may depend on today. Of course, if a user or downstream developer wishes to bypass the API and access the Counterparty DB directly, they are welcome to—however, it will be the responsibility of that developer to maintain their own software as the implementation changes. There will continue to exist an endpoint for fetching from the messages table, which may be used for similar purposes and which will be officially supported.
    Expand API to Support Block Explorers · Issue #1299 · CounterpartyXCP/counterparty-core

    It seems that right now, if you want to create even a simple Counterparty block explorer, you first have to implement a lot of extra functionality in the backend. xchain.io has done this (closed-so...

  • 17 April 2024 (24 messages)
  • @uanbtc #11081 01:44 AM, 17 Apr 2024
    http://v10.0.0-rc.1.preview.xcp.dev.s3-website-us-east-1.amazonaws.com is back up. It is still running v10.0 which is out of consensus because of 1+ bugs, but it will be updated to v10.1 as soon as the docker installation is fixed.

    But I still encourage everyone to see it and compare it to (still v9) xcp.dev. There are a couple of key differences, noticeable in the unconfirmed transactions in the homepage and block/<block> pages.

    v9 and v10 are both following the same protocol. Then, the consensus hashes are matching 2 of the 3 values. The one mismatching is the messages hash. And as seen in v10 xcpdev, the messages in v10 are now representing “events”.
  • @droplister #11082 02:57 AM, 17 Apr 2024
    Has anyone been able to successfully multisend recently
  • @droplister #11083 03:07 AM, 17 Apr 2024
    I'm getting AddrIndexRsClient -- Error in response: timed out
  • @6370143984 #11084 07:35 AM, 17 Apr 2024
    @droplister what version are you running? this should be fixed in 10.1 I think: https://github.com/CounterpartyXCP/counterparty-core/issues/1659
    AddrIndexRs Communication Issue · Issue #1659 · CounterpartyXCP/counterparty-core

    Getting a ton of this: 13|counterparty | counterpartylib.lib.exceptions.BalanceError: Insufficient BTC at address 1Q8f3efUeUCxhwtU1yJGiXuwbMFxGz9sjd. (Need approximately 7.68e-05 BTC.) 13|counterpa...

  • @droplister #11085 07:36 AM, 17 Apr 2024
    I was using Free Wallet, so it could be that, but it's aimed at api.counterparty.io
  • @6370143984 #11086 07:37 AM, 17 Apr 2024
    ah hm okay no good; api.counterparty.io is running 10.1. Anything useful in the console?
  • @6370143984 #11087 07:37 AM, 17 Apr 2024
    Can't wait to get rid of addrindexrs
  • @droplister #11088 07:38 AM, 17 Apr 2024
    I reinstalled FreeWallet and it worked, so maybe there was a minor point version JDog pushed or that helped clear out some cache.
  • @droplister #11089 07:39 AM, 17 Apr 2024
    False alarm
  • @6370143984 #11090 07:40 AM, 17 Apr 2024
    good to hear. for the curious: there's a WIP PR to kill AddrIndexRs: https://github.com/CounterpartyXCP/counterparty-core/pull/1576

    Will be part of v11
    WIP: counterparty-rs Indexer by adamkrellenstein · Pull Request #1576 · CounterpartyXCP/counterparty-core

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

  • @XJA77 #11091 11:02 AM, 17 Apr 2024
    i have detected some issues after update to 10.1.0
  • @XJA77 #11092 11:03 AM, 17 Apr 2024
    my node has stopped parsing blocks at 839627 without any error message or warning despite i have it in verbose mode
  • @XJA77 #11093 11:05 AM, 17 Apr 2024
    addrindexrs and bitcoin are synced with the tip but not counterparty
  • @XJA77 #11094 11:14 AM, 17 Apr 2024
    i had to kill the process and start the container again, i will monitor to see if this error happends again and report it propperly, want to discard it was an isolated error of my setup
  • @uanbtc ↶ Reply to #11091 #11095 01:12 PM, 17 Apr 2024
    What installation method?
  • @XJA77 #11096 01:22 PM, 17 Apr 2024
    Docker
  • @XJA77 #11097 01:22 PM, 17 Apr 2024
    But without docker compose
  • @XJA77 #11098 01:22 PM, 17 Apr 2024
    Now looks good after killing it
  • @uanbtc ↶ Reply to #11097 #11099 01:32 PM, 17 Apr 2024
    Whatever you can share of the procedure you followed…
  • @XJA77 #11100 01:37 PM, 17 Apr 2024
    I just stopped counterparty container and changed the version of the image used to counterparty/counterparty:10.1.0 and docker run
  • @XJA77 #11101 01:37 PM, 17 Apr 2024
    I had to export the env vars again
  • @XJA77 #11102 02:42 PM, 17 Apr 2024
    # COUNTERPARTY INSTALLATION STEPS USING DOCKER (TESTED):
    - 1. Create Persistent docker Volume:
          -  docker volume create -d local -o type=none -o o=bind -o device=/root/.bitcoin/ data
    - 2. Run bitcoind and wait until sync:
          - docker run --rm -d \                          
             --name bitcoind \                                                         
             -v /home/.local/share/counterparty-docker-data/:/bitcoin/.bitcoin \
             -p 8332:8332 \
             kylemanna/bitcoind:latest -chain=main -rpcallowip=0.0.0.0/0 -rpcbind=0.0.0.0 -rpcuser=rpc -rpcpassword=rpc -listen=1 -server=1 -printtoconsole=1 -addresstype=legacy -txindex=1 -prune=0    
             -dbcache=4000 -mempoolfullrbf=1
    - 3.  Export env var for bitcoind:
           - export DAEMON_RPC_HOST=$(docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' bitcoind)
    - 4.  Run Addrindexrs and wait until sync:
           - docker run  --rm -d \                         
              --name addrindexrs \                                                      
              -v /home/.local/share/counterparty-docker-data:/root/.bitcoin \
              -v /home/.local/share/counterparty-docker-data:/data \
              -p 8432:8432 \          
              counterparty/addrindexrs:v0.4.6 \ 
              --network=main --indexer-rpc-host=0.0.0.0 --daemon-rpc-host=$DAEMON_RPC_HOST --daemon-rpc-port=8332 \
              --cookie=rpc:rpc -vvv --db-dir=/data/
    - 5. Export env var for addrindexrs:
          - export ADDRINDEXRS_HOST=$(docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' addrindexrs)
    - 6. STOP bitcoind:
          - docker stop bitcoind
    - 7. Run Counterparty on kickstart mode
         - docker run -it --ipc=host \                   
             --volume /home/.local/share/counterparty-docker-data/:/root/.bitcoin \
             --volume /home/.local/share/counterparty-docker-data/:/data \     
             -p 4000:4000 \
             -e XDG_DATA_HOME=/data/ \    -e XDG_LOG_HOME=/data/ \                                                        
             counterparty/counterparty:v10.0.1 \
             kickstart \
             --mainnet \
             --backend-connect=$DAEMON_RPC_HOST \
             --indexd-connect=$ADDRINDEXRS_HOST \
             --rpc-host=0.0.0.0 \
             --bitcoind-dir=/root/.bitcoin/ \
             --verbose \
             --force
    8. Once synced with kickstart, pause counterparty and remove it.
          - docker stop counterparty && docker rm counterparty
    9. Start again bitcoind with the same command showed in point 2.
    10.Update counterparty to v10.1.0 and run it with start instead of kickstart
       -  docker run -it --ipc=host --name counterparty \
           --volume /home/.local/share/counterparty-docker-data/:/root/.bitcoin \
           --volume /home/.local/share/counterparty-docker-data/:/data \
           -p 4000:4000 \
           -e XDG_DATA_HOME=/data/ \
           -e XDG_LOG_HOME=/data/ \
           counterparty/counterparty:v10.1.0 \
           start \
           --mainnet \
           --backend-connect=$DAEMON_RPC_HOST \
           --indexd-connect=$ADDRINDEXRS_HOST \
           --rpc-host=0.0.0.0 \
           --verbose \
           --skip-db-check

    WARN: --verbose and --skip-db-check flag are optional, I added --skip-db-check after experiment some issues in this step.
  • @XJA77 #11103 02:42 PM, 17 Apr 2024
    Maybe this is useful for someone :)
  • @uanbtc #11104 03:43 PM, 17 Apr 2024
    xcp.dev has been updated, focusing on the wallet’s create section!

    Methods available:

    create_broadcast
    create_issuance
    create_send
    create_dispenser
    create_order
    create_sweep

    And (some) advanced parameters are available for all. For example, manually choosing the encoding for the transaction!
  • 18 April 2024 (2 messages)
  • @ABlue0ne #11107 01:53 PM, 18 Apr 2024
    @herpenstein gm, I have been reading through 721 protocol specs (great stuff) and I have a few questions if you find the time to share.

    Does 721 still share the stamps indexer and is there an opensource indexer for others to run locally for 721 or stamps? Great idea implementing cp asset ID.

    I’m overthinking the reveal, is there more info on revealing/compositing the layers for the user?

    Could person A create a ‘Single Item’ (not in a collection) token with some traits from collection B, one trait from person C’s asset, and a trait from asset D?

    How much magic is the indexer doing in 721 world? What are your thoughts about using 721 specs minus a collection?

    Amazing contribution, wonderful documentation. Is your github still the best place for 721 details? Please let me know if there is a better dev chat for 721. Thanks.
  • @uanbtc ↶ Reply to #11104 #11108 05:21 PM, 18 Apr 2024
    Just updated to include all advanced parameters. And added a couple of more methods.

    Done with the wallet for now, unless I receive specific feedback
  • 19 April 2024 (4 messages)
  • @Jpcryptos #11109 03:17 AM, 19 Apr 2024
    Descifra el futuro de Blockchain con expertos | Blocklack Space

    Descubre las tendencias y predicciones del futuro de Blockchain con expertos en nuestro evento en persona en Blocklack Space.

  • @uanbtc #11111 03:21 PM, 19 Apr 2024
    I have a stamps question. Looking at their chat I see clams about “mutability” when comparing it to other projects like runes…

    What can be mutable in Bitcoin? Isn’t that the whole point of the block hash?

    Maybe the confusion is with the “prunable” data, which is after the fact, and optional for the nodes that which to not store the complete history…

    Or maybe I’m deeply confused 😆
  • Yeah I’ve mistakenly used mutability in place of prunability sometimes. Ignore that.
  • @uanbtc #11113 03:48 PM, 19 Apr 2024
    Ok then. Asking because is not the first time. Or the messages get re-quoted
  • 21 April 2024 (7 messages)
  • @uanbtc #11114 03:58 PM, 21 Apr 2024
    Interesting that kickstart begins from the latest block and goes backwards, instead of the natural increasing order of blocks…
  • @uanbtc #11115 04:36 PM, 21 Apr 2024
    Then it goes back up, and takes less than 0.1s per block for most in my machine. And gives an estimated completion time, which is less than 6hrs for me.

    Pretty cool, first time running it this way
  • @uanbtc ↶ Reply to #11115 #11116 05:17 PM, 21 Apr 2024
    Now it says 10 hrs, still better than… weeks 😆
  • Ty. The stamps indexer is the only place src721 are being indexed. The reveal function has never been used by anyone. Because of the rigidity in the original approach I’ve been working on an update to the spec that allows you as the dev significantly more flexability.

    https://github.com/DerpHerpenstein/src-721/tree/draft_version_r

    The stamps indexer was recently updated to return the binary file data for any stamp by using the url /s/cpid. This allows us to use JavaScript and load any stamp within a stamp and manipulate it any way we like. You can <script src=/s/cpid> or do inline js and use fetch(/s/cpid). In this way you can store libraries on chain and reuse them. Create html,css,js,json, whatever you want.

    We used this technique create Hyperspace, the first 3d game embedded in utxos.
    GitHub - DerpHerpenstein/src-721 at draft_version_r

    Contribute to DerpHerpenstein/src-721 development by creating an account on GitHub.

  • @herpenstein #11118 09:22 PM, 21 Apr 2024
    We’re also in the process of making it dead simple for users to utilize these techniques with a web ide
  • @herpenstein #11119 09:22 PM, 21 Apr 2024
  • @herpenstein #11120 09:23 PM, 21 Apr 2024
    You can select a template and write code to create something cool, then our backend will minify, compress, and package the content in such a way that it automatically assembled on load time.

    That 3d cube can be stamped for about 1kb.
  • 22 April 2024 (6 messages)
  • @uanbtc ↶ Reply to #11116 #11122 03:57 PM, 22 Apr 2024
    Now it just says “1 day”, which is not very useful in this context, maybe is better to just keep the hours. Is at block 671000…
  • @6370143984 #11123 04:10 PM, 22 Apr 2024
    it's not a sophisticated calculation
  • @6370143984 #11124 04:10 PM, 22 Apr 2024
    i believe last block parsed time * total number of blocks left to parse
  • @6370143984 #11125 04:11 PM, 22 Apr 2024
    things slow down over time, substantially after dispensers, and a bit more so after 819300
  • @6370143984 #11126 04:12 PM, 22 Apr 2024
    lots of testing suggests on regular consumer hardware 8-24hrs. my last kickstart took 18 hours I believe: i7, 5 cores, 8gb RAM.
  • @uanbtc ↶ Reply to #11126 #11127 04:28 PM, 22 Apr 2024
    Same ram, but is ec2 ‘s “t2.large”. Which is 2 cores
  • 23 April 2024 (3 messages)
  • @Jpcryptos #11128 11:53 AM, 23 Apr 2024
    Does anyone have xcp to sell me for usdt?...
  • @uanbtc #11130 07:15 PM, 23 Apr 2024
    New v10 preview website, running the latest v10.1.1:

    http://v10.preview.xcp.dev.s3-website-us-east-1.amazonaws.com/

    (PS: My bad about previous message, it was only working for my ip 🤓)
  • @robotlovecoffee #11131 07:58 PM, 23 Apr 2024
    thought I would ask here, does anyone have some extra signet btc they can send me for testing?
  • 24 April 2024 (61 messages)
  • @B0BSmith #11132 11:13 AM, 24 Apr 2024
    Has 'get_tx_info' been removed from the API?
  • @6370143984 #11133 11:16 AM, 24 Apr 2024
    api is unchanged.
  • @6370143984 #11134 11:16 AM, 24 Apr 2024
    lemme doublecheck but that's my understanding. one sec
  • @B0BSmith #11135 11:18 AM, 24 Apr 2024
    ty
  • confirmed
  • @B0BSmith #11137 11:22 AM, 24 Apr 2024
    I am getting a 500 error from public.coindaddy.io when I try get try a get tx info
  • @6370143984 #11138 11:23 AM, 24 Apr 2024
    can you try api.counterparty.io