XCP Dev Chat

XCP Dev Chat

Public archive of Telegram messages.

  • 2025

    • May 2025 (8)
    • Apr 2025 (20)
    • Mar 2025 (71)
    • Jan 2025 (4)
  • 2024

    • Dec 2024 (12)
    • Nov 2024 (29)
    • Oct 2024 (708)
    • Sep 2024 (277)
    • Aug 2024 (67)
    • Jul 2024 (68)
    • Jun 2024 (105)
    • May 2024 (344)
    • Apr 2024 (582)
    • Mar 2024 (1229)
    • Feb 2024 (2453)
    • Jan 2024 (5366)
  • 2023

    • Dec 2023 (183)
    • Nov 2023 (375)
    • Oct 2023 (24)
    • Sep 2023 (9)
    • Aug 2023 (3)
    • Jul 2023 (79)
    • Jun 2023 (241)
    • May 2023 (328)
    • Apr 2023 (21)
    • Mar 2023 (67)
    • Feb 2023 (11)
    • Jan 2023 (29)
  • 2022

    • Nov 2022 (16)
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 13 January 2024 (674 messages)
  • @6370143984 #4943 05:08 PM, 13 Jan 2024
    reparse should rescan the blockchain and reverify all txes but not sure I follow: why would the hashes change?
  • @XJA77 #4944 05:09 PM, 13 Jan 2024
    idk, im not seeing hashes in my node be the same like xchain or xcpdev
  • @XJA77 #4945 05:09 PM, 13 Jan 2024
    so im wondering if triggering a reparse could fix it
  • @6370143984 #4946 05:09 PM, 13 Jan 2024
    i think regardless it's worth documenting any hash mismatches
  • @6370143984 #4947 05:10 PM, 13 Jan 2024
    can you be more specific about which hashes are mismatching?
  • @XJA77 #4948 05:17 PM, 13 Jan 2024
    ledger hashes, txhashes and messages hashes mismatching between my node and xchain and xcpdev
  • @6370143984 #4949 05:19 PM, 13 Jan 2024
    yeah i'd say document it, reparse and if it's not fixed file an issue
  • @XJA77 #4950 05:20 PM, 13 Jan 2024
    so reparse could be the solution? is what i was wondering to know bc certainly i dont know, okey i will try it
  • @6370143984 #4951 05:20 PM, 13 Jan 2024
    I don't really know what to make of that. Without more context, what you're describing sounds like a showstopping bug, but would need to know more about your setup.
  • @6370143984 #4952 05:21 PM, 13 Jan 2024
    @XJA77 you did not use bootstrap, correct?
  • @XJA77 #4953 05:21 PM, 13 Jan 2024
    no bootstrap right
  • @6370143984 #4954 05:21 PM, 13 Jan 2024
    did xchain and xcpdev use bootstrap?
  • @XJA77 #4955 05:21 PM, 13 Jan 2024
    xchain uses it
  • @XJA77 #4956 05:22 PM, 13 Jan 2024
    xcp dev dont use it but didnt do a full parse with the new version update i think
  • @6370143984 #4957 05:22 PM, 13 Jan 2024
    i.e. between 9.60 and 9.61?
  • @XJA77 #4958 05:22 PM, 13 Jan 2024
    yes
  • @XJA77 #4959 05:22 PM, 13 Jan 2024
    i did a full parse without bootstrap in 9.61
  • @6370143984 #4960 05:22 PM, 13 Jan 2024
    okay do the reparse but pinging @teysol on this.
  • @6370143984 #4961 05:23 PM, 13 Jan 2024
    the accidental hardfork was in 9.59 right?
  • @XJA77 #4962 05:23 PM, 13 Jan 2024
    i am not sure
  • @6370143984 #4963 05:26 PM, 13 Jan 2024
    this is why we need the test suite to pass and why we need more people to run nodes (and ofc therefore need better performance)
  • @6370143984 #4964 05:27 PM, 13 Jan 2024
    @XJA77 thank you for doing the yeoman's work here
  • @6370143984 #4965 05:29 PM, 13 Jan 2024
    do xcpdev and xchain match?
  • @XJA77 #4966 05:30 PM, 13 Jan 2024
    no ser
  • @XJA77 #4967 05:30 PM, 13 Jan 2024
    they dont match neither
  • @XJA77 #4968 05:31 PM, 13 Jan 2024
    3 different set of hashes between me xchain and xcpdev
  • @teysol #4969 05:31 PM, 13 Jan 2024
    woof, that's bad
  • @XJA77 #4970 05:32 PM, 13 Jan 2024
    memepool.wtf matches with xchain but i assume is because they are using the bootstrap?
  • @B0BSmith #4971 05:33 PM, 13 Jan 2024
    re org can effect ledger hashes if seen by 1 node but not another
  • @XJA77 #4972 05:33 PM, 13 Jan 2024
    anyway, when i connected the stamps indexer to my node and a new block is mined i have this error sometimes, maybe is related :

    [2024-01-13 16:34:52][ERROR] API Exception: {'type': 'BusyError', 'args': ('BusyError: database is locked',), 'message': 'BusyError: database is locked'}
    federatednode-counterparty-1 | Traceback (most recent call last):
    federatednode-counterparty-1 | File "/usr/local/lib/python3.6/dist-packages/jsonrpc/manager.py", line 108, in _get_responses
    federatednode-counterparty-1 | result = method(*request.args, **request.kwargs)
    federatednode-counterparty-1 | File "/counterparty-lib/counterpartylib/lib/api.py", line 687, in get_method
    federatednode-counterparty-1 | return get_rows(self.db, table=table, **kwargs)
    federatednode-counterparty-1 | File "/counterparty-lib/counterpartylib/lib/api.py", line 287, in get_rows
    federatednode-counterparty-1 | query_result = db_query(db, statement, tuple(bindings))
    federatednode-counterparty-1 | File "/counterparty-lib/counterpartylib/lib/api.py", line 144, in db_query
    federatednode-counterparty-1 | results = list(cursor.execute(statement, bindings))
    federatednode-counterparty-1 | File "src/cursor.c", line 236, in resetcursor
    federatednode-counterparty-1 | apsw.BusyError: BusyError: database is locked
  • @teysol #4973 05:34 PM, 13 Jan 2024
    hm doesn't look related
  • @XJA77 ↶ Reply to #4973 #4974 05:34 PM, 13 Jan 2024
    is what i thought but... is the only strange thing/problem i had during parsing so wanted to mention it
  • @teysol #4975 05:35 PM, 13 Jan 2024
    it sounds like the protocol has been broken multiple times recently, and we're going to have to do some digging figure out where the consensus breaks are and then work to try to fix them, hopefully not having to deal with any discrepancies in balances
  • @teysol #4976 05:35 PM, 13 Jan 2024
    to do that, we're going to have to get the *full* test suite working again, with regular reparses in CI
  • @teysol #4977 05:35 PM, 13 Jan 2024
    and we're going to have to improve the performance of the system so that that's feasible
  • @XJA77 #4978 05:35 PM, 13 Jan 2024
    im 1000% with your vision ser
  • @hodlencoinfield ↶ Reply to #4971 #4979 05:36 PM, 13 Jan 2024
    Only message hashes
  • @hodlencoinfield #4980 05:36 PM, 13 Jan 2024
    Ledger hashes should be the same
  • @XJA77 #4981 05:36 PM, 13 Jan 2024
    this is what is needed i strongly believe that tests was passing when updates happened
  • @hodlencoinfield #4982 05:36 PM, 13 Jan 2024
    It’s not hard to dig back and find where they diverge
  • @XJA77 ↶ Reply to #4982 #4983 05:36 PM, 13 Jan 2024
    if you show me the road i can try to dig in it, but is my first experience with a cp node
  • @carsonated #4984 05:37 PM, 13 Jan 2024
    Am I wrong to be concerned with just disclosed information in the other counterparty chat?
  • @hodlencoinfield ↶ Reply to #4984 #4985 05:38 PM, 13 Jan 2024
    Domains don’t define counterparty as we’ve seen
  • @hodlencoinfield #4986 05:38 PM, 13 Jan 2024
    Neither do repos for that matter
  • @B0BSmith ↶ Reply to #4907 #4987 05:40 PM, 13 Jan 2024
    my bad i was on mobile device and typing rarepepe mike was too much
  • @6370143984 ↶ Reply to #4984 #4988 05:40 PM, 13 Jan 2024
    no.
  • @6370143984 #4989 05:44 PM, 13 Jan 2024
    we survived the hard fork stuff, we'll survive this.
  • @6370143984 #4990 05:46 PM, 13 Jan 2024
    look back in this chat and see some of the attacks that were gamed out for the hard fork; it could have been very bad. if everyone's running the same version of the software (and assuming we can get the hash mismatches @XJA77 has identified sorted) then hosting and domain ownership become secondary considerations.
  • @B0BSmith ↶ Reply to #4990 #4991 05:47 PM, 13 Jan 2024
    hash miss matches are why bootstrap got made ..@uanbtc
  • @B0BSmith #4992 05:48 PM, 13 Jan 2024
    hmm can't link him
  • @6370143984 #4993 05:48 PM, 13 Jan 2024
    I think it's not that simple unfortunately
  • @6370143984 #4994 05:48 PM, 13 Jan 2024
    in any event, will have to resolve the discrepancies and commit to do regular reparses
  • @B0BSmith #4995 05:49 PM, 13 Jan 2024
    @uanbtc
  • @XJA77 ↶ Reply to #4991 #4996 05:49 PM, 13 Jan 2024
    this is just another patch... doesnt solves the underlaying issue
  • @teysol #4997 05:51 PM, 13 Jan 2024
    bootstraps have been around forever, and they don't solve the consensus problem; they hide it
  • @B0BSmith ↶ Reply to #4991 #4998 05:51 PM, 13 Jan 2024
    my bad

    is why nobootstrap got made
  • @B0BSmith #4999 05:52 PM, 13 Jan 2024
    opps that was a silly mistake apologies
  • @6370143984 #5000 05:56 PM, 13 Jan 2024
    @XJA77 do they match up to a certain block height?
  • @XJA77 #5001 05:58 PM, 13 Jan 2024
    it was matching until yesterday yes
  • @B0BSmith ↶ Reply to #4996 #5002 05:58 PM, 13 Jan 2024
    nobs mode .. speaks for itself
  • @6370143984 ↶ Reply to #5001 #5003 05:58 PM, 13 Jan 2024
    ...
  • @teysol #5004 05:58 PM, 13 Jan 2024
    .......
  • @XJA77 #5005 05:58 PM, 13 Jan 2024
    i dont know which one is the discordant
  • @6370143984 #5006 05:58 PM, 13 Jan 2024
    that should be trivial to determine, no?
  • @XJA77 #5007 05:59 PM, 13 Jan 2024
    if someone can help me to dig on it i can check it
  • @XJA77 #5008 06:00 PM, 13 Jan 2024
    or i can send you the counterparty.db if is easier to check in your side as i never did this before but i prefere the learning path
  • @6370143984 #5009 06:01 PM, 13 Jan 2024
    okay so there are three different ledgers: xcpdev, xchain and yours. are you saying that all three matched up until yesterday?
  • @XJA77 #5010 06:01 PM, 13 Jan 2024
    no i said i was matching with xcp dev
  • @6370143984 #5011 06:01 PM, 13 Jan 2024
    do xcpdev and xchain match?
  • @6370143984 #5012 06:01 PM, 13 Jan 2024
    no ser
  • @XJA77 #5013 06:01 PM, 13 Jan 2024
    i have been sending periodically blocks that matches to @uanbtc so i can see the last one i was matching with him
  • @6370143984 #5014 06:02 PM, 13 Jan 2024
    but you match with xcpdev
  • @XJA77 ↶ Reply to #5014 #5015 06:02 PM, 13 Jan 2024
    now i am not matching
  • @6370143984 #5016 06:02 PM, 13 Jan 2024
    right, so there are three different ledgers
  • @6370143984 #5017 06:03 PM, 13 Jan 2024
    can you identify the block at which you and xcpdev diverged?
  • @XJA77 ↶ Reply to #5017 #5018 06:04 PM, 13 Jan 2024
    i will check
  • @6370143984 #5019 06:05 PM, 13 Jan 2024
    thank you. also need to know when xcpdev and xchain diverged.
  • @XJA77 #5020 06:05 PM, 13 Jan 2024
    i think the best way is through the api right?
  • @XJA77 #5021 06:05 PM, 13 Jan 2024
    i will try to create a basic script for this
  • @XJA77 #5022 06:05 PM, 13 Jan 2024
    interacting with cp api and checking hashes
  • @6370143984 #5023 06:05 PM, 13 Jan 2024
    I mean you'd want to ask someone more up to date but intuitively you just want to get all the hashes by block height and see the earliest point they start to differ. no special blockchian knowledge required
  • @XJA77 #5024 06:07 PM, 13 Jan 2024
    yes ser i can do it through the db but as i dont have xchain db i cannot check against so do it through the api is the way that this script would be reusable for others to check it
  • @XJA77 #5025 06:08 PM, 13 Jan 2024
    preferred language?
  • @XJA77 #5026 06:08 PM, 13 Jan 2024
    python or ts?
  • @6370143984 #5027 06:08 PM, 13 Jan 2024
    let's do python
  • @XJA77 #5028 06:09 PM, 13 Jan 2024
    okey
  • @B0BSmith ↶ Reply to #5019 #5029 06:11 PM, 13 Jan 2024
    there is some code on git about this I believe .. to do with recent changes
  • @6370143984 #5030 06:12 PM, 13 Jan 2024
    okay afk for a bit.
  • @B0BSmith #5031 06:12 PM, 13 Jan 2024
    https://github.com/CounterpartyXCP/federatednode/pull/342
    --no-bootstrap installation option by pataegrillo · Pull Request #342 · CounterpartyXCP/federatednode

    Federated Node Build System. Contribute to CounterpartyXCP/federatednode development by creating an account on GitHub.

  • @B0BSmith #5032 06:12 PM, 13 Jan 2024
    https://github.com/CounterpartyXCP/counterparty-lib/pull/1218
    - NO_BOOTSTRAP option and selective bootstrap downloading by pataegrillo · Pull Request #1218 · CounterpartyXCP/counterparty-lib

    Passing a new parameter NO_BOOTSTRAP to disable bootstrap downloading and start parsing from scratch Passing a new parameter BTC_NETWORK to make mainnet container only download the mainnet bootst...

  • @B0BSmith #5033 06:22 PM, 13 Jan 2024
    https://github.com/CounterpartyXCP/counterparty-lib/issues/1031
    Bootstrap database has incorrect "ledger_hash" and "txlist_hash" ..? · Issue #1031 · CounterpartyXCP/counterparty-lib

    Hi, I found that my own counterparty testnet node has different ledger_hash and txlist_hash compared to testnet.xchain.io. As far as I found out that the bootstrap database has different ledger_has...

  • @B0BSmith #5034 06:33 PM, 13 Jan 2024
    https://github.com/CounterpartyXCP/counterparty-lib/issues/1192
    stop forcing database integrity check on startup · Issue #1192 · CounterpartyXCP/counterparty-lib

    Currently we do a database integrity check when counterparty starts up, and at times this integrity check can take a very long time to complete if it has been a while since CP has restarted. The en...

  • @teysol #5035 06:34 PM, 13 Jan 2024
    😬😬😬
  • @6370143984 #5036 06:35 PM, 13 Jan 2024
    that last issue omg...
  • @teysol #5037 06:36 PM, 13 Jan 2024
    the correct solution for slow startup time is to run multiple instances in parallel behind a load balancer
  • @teysol #5038 06:36 PM, 13 Jan 2024
    or to find a way to speed up the integrity check
  • @B0BSmith #5039 06:36 PM, 13 Jan 2024
    nah we ain't got time for that 🤣
  • @6370143984 ↶ Reply to #5034 #5040 06:37 PM, 13 Jan 2024
    PR that 'fixes' the issue was merged 14 months ago
  • @teysol #5041 06:37 PM, 13 Jan 2024
    we could also do the integrity check in the background...
  • @6370143984 ↶ Reply to #5040 #5042 06:38 PM, 13 Jan 2024
    https://github.com/CounterpartyXCP/counterparty-lib/pull/1213
    Db integrity check changes by pataegrillo · Pull Request #1213 · CounterpartyXCP/counterparty-lib

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

  • @6370143984 #5043 06:38 PM, 13 Jan 2024
    i believe this is called the moneyshot: https://github.com/CounterpartyXCP/counterparty-lib/pull/1213/files#diff-72464f5530534e496b5c436141339815eb144880591ab91580af4f381113b80cR105
    Db integrity check changes by pataegrillo · Pull Request #1213 · CounterpartyXCP/counterparty-lib

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

  • @ABlue0ne ↶ Reply to #4594 #5044 06:43 PM, 13 Jan 2024
    Deferred.
  • @ABlue0ne ↶ Reply to #4586 #5045 06:44 PM, 13 Jan 2024
    You’re so there.
  • @ABlue0ne ↶ Reply to #4583 #5046 06:45 PM, 13 Jan 2024
    Been saying that all along.
  • @XJA77 #5047 06:46 PM, 13 Jan 2024
    i have runing the script to check where the hashes diverge
  • @XJA77 #5048 06:46 PM, 13 Jan 2024
    it could take long i think
  • @6370143984 ↶ Reply to #5048 #5049 06:46 PM, 13 Jan 2024
    i think that's the last thing we have to worry about lol
  • @6370143984 #5050 06:46 PM, 13 Jan 2024
    thank you very much!
  • @XJA77 ↶ Reply to #5049 #5051 06:47 PM, 13 Jan 2024
    yes lol jajaja
  • @B0BSmith #5052 06:47 PM, 13 Jan 2024
    Juan must have useful info here
  • @XJA77 #5053 06:47 PM, 13 Jan 2024
    dont deserve, when i am sure that is working the script i will push to CNTRPRTY repo
  • @ABlue0ne ↶ Reply to #4586 #5054 06:49 PM, 13 Jan 2024
    Competitor based off of repo location alone. It’s a window into the bigger picture that I have been saying for a week.
  • @ABlue0ne ↶ Reply to #4586 #5055 06:49 PM, 13 Jan 2024
    https://github.com/jdogresorg/Broadcast-Token-Naming-System
    GitHub - jdogresorg/Broadcast-Token-Naming-System: Broadcast Token Naming System (BTNS) specs, docs, and tools

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

  • @ABlue0ne ↶ Reply to #4586 #5056 06:50 PM, 13 Jan 2024
    Similar to ‘Stamps and company’ (numbered only)
  • @mikeinspace ↶ Reply to #5056 #5057 06:52 PM, 13 Jan 2024
    Not really. Stamps use dispensers and other native CP features and do require xcp for things like sweep. BTNS is entirely dislocated from xcp and counterparty features. The same criticism against src20 (which was migrated off of counterparty early on)
  • @uanbtc ↶ Reply to #4212 #5058 07:21 PM, 13 Jan 2024
    I would like this to be part of the lib api
  • @B0BSmith ↶ Reply to #5058 #5059 07:22 PM, 13 Jan 2024
    that was a python script running on flask server
  • @uanbtc ↶ Reply to #4215 #5060 07:22 PM, 13 Jan 2024
    Yes!!
  • @uanbtc ↶ Reply to #4218 #5061 07:23 PM, 13 Jan 2024
    I don’t think they are. The protocol is the hashes. The lib is an utility to the protocol
  • @ABlue0ne ↶ Reply to #5057 #5062 07:24 PM, 13 Jan 2024
    Bookmark for later. I have a real life.
  • @B0BSmith ↶ Reply to #5058 #5063 07:26 PM, 13 Jan 2024
    I expect a good dev could do something .. I could share my python to help
  • @B0BSmith #5064 07:28 PM, 13 Jan 2024
    1 get all txid ever made by address
    2 check every utxo of every tx for unspent spendable dust

    simples
  • @B0BSmith #5065 07:30 PM, 13 Jan 2024
    to exclude stamps will need to decode counterparty data and look for stamp: or something 🤔
  • @B0BSmith #5066 07:30 PM, 13 Jan 2024
    could get list of stamps to exclude from api first perhaps
  • @uanbtc ↶ Reply to #4257 #5067 07:35 PM, 13 Jan 2024
    It is build to include the genesis divisibility, taken from the issuance table, based on the genesis block from the asset table

    Is the most efficient single query that contains the divisible property that I have come up with. Open to optimizations

    This divisibility, and the ux expectancy of always showing the latest description, are big bottlenecks in the current DB schema

    The description is solvable by simply doing different UX. The other, divisibility, is more deep
  • @B0BSmith #5068 07:36 PM, 13 Jan 2024
    looks like the btns example in cip long enough to make multisig 'dust' n 'abuse' utxo if not swept

    https://github.com/CounterpartyXCP/cips/blob/master/cip-0028.md
    cips/cip-0028.md at master · CounterpartyXCP/cips

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

  • @B0BSmith #5069 07:38 PM, 13 Jan 2024
    Example 4: bt:DEPLOY|TEST|100|1|0||1|1JDogZS6tQcSxwfxhv6XKKjcyicYA4Feev|1JDogZS6tQcSxwfxhv6XKKjcyicYA4Feev

    that's not fitting in a op return
  • @uanbtc ↶ Reply to #4997 #5070 07:47 PM, 13 Jan 2024
    Thissssss
  • @uanbtc ↶ Reply to #4997 #5071 07:49 PM, 13 Jan 2024
    Full parse as default is how I would do the consensus protocol app. Is so backwards that the bootstrap is the default
  • @B0BSmith ↶ Reply to #4991 #5072 07:49 PM, 13 Jan 2024
    @uanbtc I made a bad typo
  • @uanbtc #5073 07:50 PM, 13 Jan 2024
    Cool. The bootstrap is also a reason block parsing optimizations have been neglected
  • @XJA77 #5074 07:53 PM, 13 Jan 2024
    this is the last block i am in consensus with xcpdev:

    {
    "ledger_hash": true,
    "txlist_hash": true,
    "messages_hash": true,
    "block_index_ledger_match": 819576,
    "block_index_tx_match": 819576,
    "block_index_msg_match": 819576,
    "block_index": 0,
    "last_block": 819576
    }
  • @B0BSmith #5075 07:55 PM, 13 Jan 2024
    825670-819576 = 6094
  • @B0BSmith #5076 07:55 PM, 13 Jan 2024
    6 weeks
  • @XJA77 #5078 07:56 PM, 13 Jan 2024
    will check now me against api.counterparty.io
  • @XJA77 #5079 08:08 PM, 13 Jan 2024
    this is me against api.counterparty.io matching txlist and ledger hashes:

    {
    "ledger_hash": true,
    "txlist_hash": true,
    "messages_hash": false,
    "block_index_ledger_match": 825095,
    "block_index_tx_match": 825114,
    "block_index_msg_match": 0,
    "block_index": 0,
    "last_block": 825089
    }
  • @XJA77 #5080 08:09 PM, 13 Jan 2024
    will do it now with coindaddy, this is the one that uses xchain right?
  • @B0BSmith #5081 08:11 PM, 13 Jan 2024
    When your checks are done ... last comment on this thread may help ?
    https://github.com/CounterpartyXCP/counterparty-lib/issues/1240#issuecomment-1745777884
    Tx included in v9.60.1 but not in v9.60.2 · Issue #1240 · CounterpartyXCP/counterparty-lib

    This dispense is shown on xcp.dev - https://www.xcp.dev/tx/16bd438b1dee6b1f750758eeabef7a876c204082a088c48ca51c416d6651d5db It is not a Counterparty tx according to xchain - https://xchain.io/tx/16...

  • @B0BSmith #5082 08:11 PM, 13 Jan 2024
    if it happened before eh
  • @B0BSmith #5083 08:13 PM, 13 Jan 2024
    @teysol
  • @XJA77 #5084 08:13 PM, 13 Jan 2024
    dont seems to have happened before is between 825100 and 825200
  • @XJA77 #5085 08:13 PM, 13 Jan 2024
    doing binnary search using the script
  • @B0BSmith #5086 08:13 PM, 13 Jan 2024
    I mean it's a documented event in the past it could happen again
  • @XJA77 ↶ Reply to #5086 #5087 08:14 PM, 13 Jan 2024
    ah okey yes for sure...
  • @XJA77 #5088 08:15 PM, 13 Jan 2024
    okey this is me against public.coindaddy.io

    {
    "ledger_hash": true,
    "txlist_hash": true,
    "messages_hash": false,
    "block_index_ledger_match": 825095,
    "block_index_tx_match": 825114,
    "block_index_msg_match": 0,
    "block_index": 0,
    "last_block": 825094
    }
  • @B0BSmith #5089 08:15 PM, 13 Jan 2024
    not same block but very close
  • @XJA77 ↶ Reply to #5089 #5090 08:18 PM, 13 Jan 2024
    yes both api.counterparty and public.coindaddy diverge from mine in same block (please just check the ones ending with match)
  • @B0BSmith #5091 08:21 PM, 13 Jan 2024
    I don't have a node running at the moment
  • @B0BSmith ↶ Reply to #5090 #5092 08:23 PM, 13 Jan 2024
    ah yes I see ty
  • @B0BSmith #5093 08:29 PM, 13 Jan 2024
    So if its 'failed rollbacks' and the issues can be tidied up its not so bad .. but it needs to clean itself as it goes .. if hashes are found to mismatch with multiple unconnected peers then I need take a look at myself
  • @XJA77 #5094 08:32 PM, 13 Jan 2024
    If is a thing of a rollback if I run a reparse should it be fixed?
  • @6370143984 #5095 08:37 PM, 13 Jan 2024
    You should go back to 100 blocks before the divergence and reparse
  • @6370143984 #5096 08:38 PM, 13 Jan 2024
    see what happens and I think we go from there. pinging @teysol for when he's back.
  • @6370143984 #5097 08:38 PM, 13 Jan 2024
    In any event @XJA77 *please document all of this as you go*
  • @XJA77 #5098 08:38 PM, 13 Jan 2024
    I don't know how to do this using fednode so if someone can say me I can do it no problem
  • @XJA77 ↶ Reply to #5095 #5099 08:38 PM, 13 Jan 2024
    This
  • @6370143984 #5100 08:39 PM, 13 Jan 2024
    ach it's been ages for me :-/. @uanbtc can you weigh in
  • @6370143984 #5101 08:40 PM, 13 Jan 2024
    (or @hodlencoinfield or @jp_janssen or whoever 🙂)
  • @XJA77 #5102 08:40 PM, 13 Jan 2024
    Thanks for your help
  • @6370143984 #5103 08:41 PM, 13 Jan 2024
    thank *you* for your help - everyone! we'll figure it out.
  • @6370143984 #5104 08:46 PM, 13 Jan 2024
    from the docs. have no idea if they're out of date

    photo_2024-01-13_20-46-05.jpg
  • @6370143984 #5105 08:46 PM, 13 Jan 2024
    i always just ran counterpartyd directly ☝️littl clunky...
  • @6370143984 #5106 08:51 PM, 13 Jan 2024
    @XJA77 that's the general syntax for fednode cmds. not sure how to reparse specifically. will lyk
  • @XJA77 #5107 08:52 PM, 13 Jan 2024
    Thanks ser
  • @XJA77 #5108 08:52 PM, 13 Jan 2024
    We need to invest some time in docs when we fix all this issues
  • @B0BSmith #5109 08:53 PM, 13 Jan 2024
    we should get robbyrbd here
  • @B0BSmith #5110 08:58 PM, 13 Jan 2024
    @uanbtc how much Counterblock do you know ?
  • @robbyrbd #5111 09:00 PM, 13 Jan 2024
    Joined.
  • @B0BSmith #5112 09:00 PM, 13 Jan 2024
    I know the main get status api changes with additional infos when's it up but that's about it ... finding the html/js to play with took a while but I did n it seems to be copied at run time and you have to stop restart to try n get it to load changes ... painfull n think that's why I gave up

    but if it could give json info to power wallet be nice
  • @uanbtc ↶ Reply to #5110 #5113 09:00 PM, 13 Jan 2024
    0. Haven’t used it because is not core to the protocol
  • @uanbtc ↶ Reply to #5113 #5114 09:01 PM, 13 Jan 2024
    Only my first time learning
  • @robbyrbd #5115 09:02 PM, 13 Jan 2024
    it could be valuable in certain cases (looking at the API here: https://github.com/CounterpartyXCP/Documentation/blob/master/Developers/counterblock_API.md)
    Documentation/Developers/counterblock_API.md at master · CounterpartyXCP/Documentation

    Official Documentation of the Counterparty Project - CounterpartyXCP/Documentation

  • @B0BSmith #5116 09:02 PM, 13 Jan 2024
    json data like xchain is needed don't care where it comes from in Counter party block whatever
  • @robbyrbd #5117 09:02 PM, 13 Jan 2024
    or for other cases, it can be extended with runtime modules to further enhance parsing and the API
  • @robbyrbd #5118 09:04 PM, 13 Jan 2024
    regarding https://github.com/CounterpartyXCP/counterparty-lib/issues/1294, I would vote for Solution #1. it goes beyond counterblock IMO — anything consuming counterparty-lib messages should not have to make a separate assertion (and separate logic) for dispensers. messy to do so...
    Issue with v9.61 in counterwallet+counterblock · Issue #1294 · CounterpartyXCP/counterparty-lib

    From @jdogresorg in a chat: """ For the past week or so counterwallet has been down because counterblock (counterwallets backend) has been choking on parsing blocks. There is a probl...

  • @B0BSmith #5119 09:04 PM, 13 Jan 2024
    can it be made REST GET not POST ?
  • @B0BSmith #5120 09:05 PM, 13 Jan 2024
    http post is doable in browser now a day but feel a lot more effort .. is post it slower? I wonder too
  • @6370143984 #5121 09:08 PM, 13 Jan 2024
    @robbyrbd do you remember how to do a reparse via cli? (this is evan)
  • @robbyrbd #5122 09:10 PM, 13 Jan 2024
    hey evan, ...lord it's been awhile on that. looks like there should be a reparse argument - https://github.com/CounterpartyXCP/counterparty-cli/blob/master/counterpartycli/server.py#L82
    counterparty-cli/counterpartycli/server.py at master · CounterpartyXCP/counterparty-cli

    Counterparty Protocol Command‐Line Interface. Contribute to CounterpartyXCP/counterparty-cli development by creating an account on GitHub.

  • @B0BSmith #5123 09:11 PM, 13 Jan 2024
    fednode rollback 724000 counterparty
  • @B0BSmith #5124 09:11 PM, 13 Jan 2024
    v9.59,6 release notes

    Fixes issue with dispensers not working with addresses that start with 3 (p2sh addresses)
    Upgrade Procedure
    For those running a federated node you should run the following commands:
    cd federatednode/ fednode update counterparty counterparty-testnet fednode rebuild counterparty counterparty-testnet fednode rollback 724000 counterparty fednode start counterparty
  • @B0BSmith #5125 09:11 PM, 13 Jan 2024
    there's the rollback command
  • @B0BSmith #5126 09:14 PM, 13 Jan 2024
    the docs linked from repo fail
    https://counterparty.io/docs/federated_node/
    Running a Node | Counterparty

    Installation/federated_node.md

  • @B0BSmith #5127 09:14 PM, 13 Jan 2024
    what's the docs site anyone ?
  • @robbyrbd #5128 09:15 PM, 13 Jan 2024
    well, reparse will reparse all blocks from config.BLOCK_FIRST_MAINNET onward, rollback rolls back to that specific block. So in this case they are different
  • @B0BSmith #5129 09:15 PM, 13 Jan 2024
    https://docs.counterparty.io/docs/advanced/federated-node/administration/
  • @robbyrbd #5130 09:15 PM, 13 Jan 2024
    if you look at https://github.com/CounterpartyXCP/counterparty-lib/blob/master/counterpartylib/lib/config.py#L85 you will see that BLOCK_FIRST_MAINNET is 278270. So much more reparsing involved vs block 720400
    counterparty-lib/counterpartylib/lib/config.py at master · CounterpartyXCP/counterparty-lib

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

  • @B0BSmith #5131 09:16 PM, 13 Jan 2024
    yeah was just a example for @XJA77
  • @B0BSmith #5132 09:16 PM, 13 Jan 2024
    Nice to have you here @robbyrbd
  • @robbyrbd #5133 09:17 PM, 13 Jan 2024
    sure thing. yall are making me slave through github to remember all this stuff, LOL. it's good though, blast from the past
  • @B0BSmith #5134 09:19 PM, 13 Jan 2024
    docs are soo dated too

    https://docs.counterparty.io/docs/advanced/advanced-usage/multisig/

    p2sh support been partially added

    we can use p2sh just don't have counterparty api support
    Using multisig with counterparty-server | Counterparty

    "Bare Multisig" (i.e. not P2SH) is supported with Counterparty. This document shows you how to use it with counterparty-server on testnet.

  • @B0BSmith #5135 09:19 PM, 13 Jan 2024
    we can send n receive from p2sh even dispense from 👍
  • @6370143984 #5136 09:20 PM, 13 Jan 2024
    @B0BSmith you can find docs through gh even if there are deadlinks on the site lol
  • @B0BSmith #5137 09:20 PM, 13 Jan 2024
    I expect dex works too for p2sh not tried it tho
  • @6370143984 #5138 09:20 PM, 13 Jan 2024
    found this: https://docs.counterparty.io/docs/advanced/cli/
    Command-line (CLI) Guide | Counterparty

    The following examples are abridged for parsimony (meaning: actions are

  • @6370143984 #5139 09:21 PM, 13 Jan 2024
    reparse is not documented afaik but looks like robby found it.
  • @robbyrbd #5140 09:21 PM, 13 Jan 2024
    ahh yes, BTCPay
  • @robbyrbd #5141 09:22 PM, 13 Jan 2024
    I remember that one (not fondly)
  • @B0BSmith ↶ Reply to #5136 #5142 09:23 PM, 13 Jan 2024
    yeah but it's not clear to users multisig is fine I don't see p2sh support infact it says opposite

    https://github.com/CounterpartyXCP/Documentation/blob/master/Developers/Notes_and_Tutorials/multisig_counterparty-server.md
    Documentation/Developers/Notes_and_Tutorials/multisig_counterparty-server.md at master · CounterpartyXCP/Documentation

    Official Documentation of the Counterparty Project - CounterpartyXCP/Documentation

  • @B0BSmith #5143 09:23 PM, 13 Jan 2024
    so docs are outdated
  • @robbyrbd #5144 09:27 PM, 13 Jan 2024
    yeah, it appears p2sh is supported - https://github.com/CounterpartyXCP/counterparty-lib/blob/master/counterpartylib/lib/transaction.py#L311
    counterparty-lib/counterpartylib/lib/transaction.py at master · CounterpartyXCP/counterparty-lib

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

  • @B0BSmith #5145 09:27 PM, 13 Jan 2024
    no users use bare multisg and not many use p2sh .. I am sure if you trawl the git issues you will find stuff but not great
  • @B0BSmith ↶ Reply to #5144 #5146 09:27 PM, 13 Jan 2024
    yeah I have used it
  • @B0BSmith #5147 09:28 PM, 13 Jan 2024
    works well 👍
  • @B0BSmith #5148 09:28 PM, 13 Jan 2024
    but you got to make custom op returns at this time ..is issue on git about it and Adam has commented
  • @B0BSmith #5149 09:29 PM, 13 Jan 2024
    but docs needs to be current please
  • @robbyrbd #5150 09:29 PM, 13 Jan 2024
    multisig is still used in the event we have > 80 bytes of data though (and can't use OP_RETURN), right?
  • @B0BSmith ↶ Reply to #5150 #5151 09:30 PM, 13 Jan 2024
    I not talking data encoding I talking 3 type addresses for every day use
  • @robbyrbd #5152 09:30 PM, 13 Jan 2024
    @B0BSmith feel free to submit a PR for anything like that that you see
  • @mikeinspace ↶ Reply to #5150 #5153 09:30 PM, 13 Jan 2024
    Stamps is built on this, yes
  • @B0BSmith ↶ Reply to #5150 #5154 09:30 PM, 13 Jan 2024
    we use opreturn to send asset from p2sh manually
  • @B0BSmith #5155 09:30 PM, 13 Jan 2024
    multisig data encoding is one thing

    p2sh colab custody another
  • @B0BSmith ↶ Reply to #5152 #5156 09:31 PM, 13 Jan 2024
    I don't find I can sorry
  • @robbyrbd #5157 09:31 PM, 13 Jan 2024
    there's no option? for simple doc updates I think you can right from the github website
  • @B0BSmith #5158 09:32 PM, 13 Jan 2024
    ahh OK I will try to look at that I didn't know
  • @B0BSmith #5159 09:32 PM, 13 Jan 2024
    wil be nice to update the doc ty
  • @B0BSmith #5160 09:33 PM, 13 Jan 2024
    and if we get p2sh api stuff will be magic
  • @robbyrbd #5161 09:34 PM, 13 Jan 2024
    or you can just fork the docs repo and submit the PR via github from your updated fork
  • @B0BSmith #5162 09:35 PM, 13 Jan 2024
    ahh OK yeah makes sense .. I need to get me a git gui n get busy .. will update docs n push my p2sh address builder tool
  • @B0BSmith #5163 09:35 PM, 13 Jan 2024
    ty
  • @robbyrbd #5164 09:36 PM, 13 Jan 2024
    yeah github arriving on the scene made that whole thing a lot easier. can fork right from github, pull your forked repo, make your changes locally, push back to github, and then initiate the PR from github instead of having to use the git cli
  • @robbyrbd #5165 09:37 PM, 13 Jan 2024
    do enough of that and they may make you the docs maintainer 😄
  • @XJA77 #5166 09:37 PM, 13 Jan 2024
    Cool I will try reparse first and if not i can do a rollback
  • @XJA77 #5167 09:38 PM, 13 Jan 2024
    As there are differents blocks where lost consensus I think I will go with the lower one and see, hopefully reparse solves something, if not rollback
  • @B0BSmith ↶ Reply to #5164 #5168 09:38 PM, 13 Jan 2024
    sounds like I could do that if I tried ...I never really done much git
  • @B0BSmith ↶ Reply to #5150 #5169 09:40 PM, 13 Jan 2024
    yes and you can force baremultisig to encode data even if op return is a viability if you want that utxoset residence
  • @XJA77 ↶ Reply to #5150 #5170 09:41 PM, 13 Jan 2024
    Also stamps goes directly to multisig in issuances
  • @B0BSmith ↶ Reply to #5170 #5171 09:41 PM, 13 Jan 2024
    yes you force it on the api
  • @robbyrbd ↶ Reply to #5169 #5172 09:41 PM, 13 Jan 2024
    somewhere I hear a Bitcoin core dev screaming 😂
  • @robbyrbd #5173 09:42 PM, 13 Jan 2024
    those guys never liked us
  • @robbyrbd #5174 09:42 PM, 13 Jan 2024
    I remember going to a conference with Periwig and it was like a high school clique with them. none of them wanted to be seen speaking to us because we were the spam guys
  • @B0BSmith #5175 09:43 PM, 13 Jan 2024
    no way that's funny
  • @B0BSmith ↶ Reply to #5172 #5176 09:43 PM, 13 Jan 2024
    what's your opinion of burn keys ? do you know of it ?
  • @robbyrbd #5177 09:44 PM, 13 Jan 2024
    nope, got a link?
  • @B0BSmith #5178 09:44 PM, 13 Jan 2024
    forced dust return pubkey

    https://github.com/mikeinspace/stamps/blob/main/Key-Burn.md
    stamps/Key-Burn.md at main · mikeinspace/stamps

    Contribute to mikeinspace/stamps development by creating an account on GitHub.

  • @B0BSmith #5179 09:45 PM, 13 Jan 2024
    so makes it unspendable utxoset permenance
  • @B0BSmith #5180 09:46 PM, 13 Jan 2024
    artists can't rug a counterparty token buyer if its unspendable and remove artwork from utxoset
  • @XJA77 #5181 09:52 PM, 13 Jan 2024
    another issue to consider, for me hs not many sense that counterparty service brokes if there is a database lock IMO

    federatednode-counterparty-1 | [2024-01-13 21:49:52][ERROR] Unhandled Exception
    federatednode-counterparty-1 | Traceback (most recent call last):
    federatednode-counterparty-1 | File "/usr/local/bin/counterparty-server", line 11, in <module>
    federatednode-counterparty-1 | load_entry_point('counterparty-cli', 'console_scripts', 'counterparty-server')()
    federatednode-counterparty-1 | File "/counterparty-cli/counterpartycli/__init__.py", line 16, in server_main
    federatednode-counterparty-1 | server.main()
    federatednode-counterparty-1 | File "/counterparty-cli/counterpartycli/server.py", line 174, in main
    federatednode-counterparty-1 | server.start_all(db)
    federatednode-counterparty-1 | File "/counterparty-lib/counterpartylib/server.py", line 499, in start_all
    federatednode-counterparty-1 | blocks.follow(db)
    federatednode-counterparty-1 | File "/counterparty-lib/counterpartylib/lib/blocks.py", line 1483, in follow
    federatednode-counterparty-1 | new_ledger_hash, new_txlist_hash, new_messages_hash, found_messages_hash = parse_block(db, block_index, block_time)
    federatednode-counterparty-1 | apsw.BusyError: BusyError: database is locked
    federatednode-counterparty-1 exited with code 0
  • @robbyrbd #5182 09:52 PM, 13 Jan 2024
    interesting, so basically limiting spending keys to a few options in order to minimize UTXO set growth? makes sense
  • @XJA77 #5183 09:53 PM, 13 Jan 2024
    making it unspendable at same time
  • @B0BSmith ↶ Reply to #5182 #5184 09:53 PM, 13 Jan 2024
    it makes no spending key
  • @robbyrbd #5185 09:53 PM, 13 Jan 2024
    I remember counterwallet having a sweep feature we would use to consolidate UTXOs
  • @B0BSmith ↶ Reply to #5185 #5186 09:54 PM, 13 Jan 2024
    and did it clean up dust ? no I don't think it did
  • @B0BSmith #5187 09:54 PM, 13 Jan 2024
    I found 10btc in counterparty unspent multisig encoded dust . you may have a few million sats / $ you can reclaim
  • @robbyrbd #5188 09:56 PM, 13 Jan 2024
    the relevant code is at https://github.com/CounterpartyXCP/counterparty-lib/blob/master/counterpartylib/lib/transaction.py#L311 and https://github.com/CounterpartyXCP/counterwallet/blob/fe4064e8b9ef3e6f1c314f4386d6461e7aa6fa08/src/js/components/balances.js#L1385
    counterparty-lib/counterpartylib/lib/transaction.py at master · CounterpartyXCP/counterparty-lib

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

  • @robbyrbd #5189 09:57 PM, 13 Jan 2024
    I'd have to refresh myself with it TBH
  • @B0BSmith ↶ Reply to #5188 #5190 09:58 PM, 13 Jan 2024
    @uanbtc seems it here maybe ? dust
  • @robbyrbd ↶ Reply to #5186 #5191 09:58 PM, 13 Jan 2024
    it might not have...might just be sweeping non-dust amounts and assets...
  • @B0BSmith #5192 09:58 PM, 13 Jan 2024
    indeed is interesting stuff ty
  • @robbyrbd #5193 10:00 PM, 13 Jan 2024
    bbl gotta teach my kid how to tie her shoes, hah
  • @B0BSmith #5194 10:00 PM, 13 Jan 2024
    GN
  • @Chriton ↶ Reply to #4764 #5195 10:01 PM, 13 Jan 2024
    Update on xvp.dev

    I have the homepage, blocks, tx and address pages done so far.

    I'm currently working on the wallet page.
    After that I think there is just one more to go (asset) and we can push to prod (xcp.dev).

    @uanbtc can you confirm that is the final page?

    So far they look like this (see the left side)

    photo_2024-01-13_22-01-43.jpg
  • @Chriton ↶ Reply to #4764 #5196 10:01 PM, 13 Jan 2024

    photo_2024-01-13_22-01-43.jpg
  • @Chriton ↶ Reply to #4764 #5197 10:01 PM, 13 Jan 2024

    photo_2024-01-13_22-01-44.jpg
  • @XJA77 #5198 10:04 PM, 13 Jan 2024
    wizard
  • @B0BSmith ↶ Reply to #5195 #5199 10:13 PM, 13 Jan 2024
    there is a tx page too @uanbtc

    https://www.xcp.dev/tx/b461cd41e5616ac8ef58cda765c358b9d76d4189d108402c0e686f6eea9cf7b8
  • @B0BSmith ↶ Reply to #5195 #5200 10:15 PM, 13 Jan 2024
    looks very nice 👌
  • @Chriton ↶ Reply to #5199 #5201 10:16 PM, 13 Jan 2024
    Wait I forgot about that, I did that also 🤣

    photo_2024-01-13_22-16-42.jpg
  • @Chriton #5202 10:17 PM, 13 Jan 2024
    I will edit the message and include it too
  • @XJA77 #5203 10:17 PM, 13 Jan 2024
    That's awesome ser
  • @XJA77 #5204 10:17 PM, 13 Jan 2024
    Change the xcp.dev address
  • @XJA77 #5205 10:17 PM, 13 Jan 2024
    That is wrong with a typo
  • @ABlue0ne ↶ Reply to #4234 #5208 11:06 PM, 13 Jan 2024
    Bookmark 2. Catching up. Be back later.
  • @ABlue0ne ↶ Reply to #4228 #5209 11:07 PM, 13 Jan 2024
    Three and done for now
  • @ABlue0ne ↶ Reply to #5174 #5210 11:17 PM, 13 Jan 2024
    Tennessee 2024 is going to be great.
  • @davesta ↶ Reply to #5195 #5211 11:20 PM, 13 Jan 2024
    wen dark mode
  • @davesta #5212 11:21 PM, 13 Jan 2024

    faltas-de-ortografía-eyes.mp4

  • 14 January 2024 (319 messages)
  • @Chriton ↶ Reply to #5211 #5213 12:08 AM, 14 Jan 2024
    first I need to finish the pages then we'll see. I know, I like dark mode too
  • @davesta #5214 12:16 AM, 14 Jan 2024
    Plz my optimistrist said so
  • @krostue ↶ Reply to #4876 #5215 01:08 AM, 14 Jan 2024
    Pinned for notice. Clarifying etiquette should not have to be part of the room description.

    Those who only contribute extraneous dialog will be silenced if they continue after two warnings, each by a separate dev, admin or mod

    Those who are overtly disruptive will removed.

    No drama. No politics

    Thanks for understanding
  • @krostue ↶ Reply to #5215 #5216 01:08 AM, 14 Jan 2024
    None
  • @robbyrbd ↶ Reply to #4842 #5217 01:26 AM, 14 Jan 2024
    this is exactly how counterwallet did it 10 years ago. just called the relevant create_ API call to get the raw unsigned hex tx, signed that locally via javascript, and broadcasted it back out via counterparty (or counterblock, can't remember)
  • @robbyrbd #5218 01:27 AM, 14 Jan 2024
    e.g. https://github.com/CounterpartyXCP/counterwallet/blob/fe4064e8b9ef3e6f1c314f4386d6461e7aa6fa08/src/js/components/wallet.js#L577
    counterwallet/src/js/components/wallet.js at fe4064e8b9ef3e6f1c314f4386d6461e7aa6fa08 · CounterpartyXCP/counterwallet

    Counterparty web wallet. Contribute to CounterpartyXCP/counterwallet development by creating an account on GitHub.

  • @robbyrbd #5219 01:33 AM, 14 Jan 2024
    IIRC it would also do some basic verification/validation on the returned tx, and it could submit the API requests to multiple counterparty/counterblock servers to verify that they were returning the same data (so if one was not functioning correctly or compromised we wouldn't just be blindly going off of it)
  • @6370143984 #5220 01:33 AM, 14 Jan 2024
    yeah counterwallet was a real winner @robbyrbd. some pretty bad code rot it seems
  • @6370143984 ↶ Reply to #4997 #5221 01:36 AM, 14 Jan 2024
    I think everyone in this chat knows this but having three different ledgers may raise some nasty reconciliation questions. I know this isn't _the_ answer but IMO it does highlight the importance of having 'official', public nodes that don't use bootstrap.
  • @robbyrbd #5222 01:37 AM, 14 Jan 2024
    yeah, needs TLC just like most things would with updating dependencies, bitcoin upgrades. I think things like fee estimation need to be fixed. I just brought it up to show that what was mentioned we were already doing. Derp or others can feel free to pick over the bones and take whatever would help from the javascript in a license-compliant manner.
  • @krostue ↶ Reply to #125 #5223 01:38 AM, 14 Jan 2024
    I want to bump this instead of link it again. from earlier this year. came up in conversation, twice so far. so it is on anyone else's radar if helpful.

    re: using Counterparty with Electrum
  • @6370143984 #5224 01:38 AM, 14 Jan 2024
    i think it's a great model! yeah, the TLC need is real. adam and ouziel are getting the counterparty-lib's test suite back up and running (tests have been failing for > 5 years it seems)
  • @robbyrbd #5225 01:38 AM, 14 Jan 2024
    ouch, didn't know that
  • @6370143984 #5226 01:38 AM, 14 Jan 2024
    neither did i lol
  • @robbyrbd #5227 01:38 AM, 14 Jan 2024
    good to hear Ouziel is helping, very cool
  • @6370143984 #5228 01:40 AM, 14 Jan 2024
    yep he's great at these kinds of endurance tasks
  • @6370143984 #5229 01:41 AM, 14 Jan 2024
    here are some highlights: db integrity checks have been disabled by default, 2 weeks to catch up to current block height (CP's db is 8gb), test suites been failing at least since subassets were introduced. i think those are the biggies...
  • @robbyrbd #5230 01:41 AM, 14 Jan 2024
    the bootstrap thing is a convenience factor but as it's the path of least resistance, it tends to induce undesirable trust and centralization qualities. also highlights the importance of continued reparsing performance improvements to make full reparses not as painful and allow for more "true" full nodes
  • @6370143984 #5231 01:41 AM, 14 Jan 2024
    it _really_ shouldn't be the default.
  • @6370143984 #5232 01:42 AM, 14 Jan 2024
    (IMO)
  • @robbyrbd #5233 01:42 AM, 14 Jan 2024
    yeah, I'd agree. but I think having a month (??) long ledger building is a show stopper for most people
  • @6370143984 #5234 01:42 AM, 14 Jan 2024
    in a similar way to this hardfork, there's some weird consequences to the fact that the default block explorer and node was using bootstrap.
  • @robbyrbd #5235 01:42 AM, 14 Jan 2024
    seeing that one block full of broadcasts that took 53 seconds or so to parse was painful
  • @6370143984 ↶ Reply to #5233 #5236 01:43 AM, 14 Jan 2024
    yep, we've got someone from symbiont we want to have help with perf work. as discussed, just have to get him paid in something at least currency-adjacent lol.
  • @robbyrbd #5237 01:44 AM, 14 Jan 2024
    ah neat, as long as his assessment isn't "rewrite it in rust", haha. unfortunate what happened with Symbiont in the end. :/
  • @6370143984 #5238 01:50 AM, 14 Jan 2024
    out of scope for the channel but yeah lol
  • @krostue ↶ Reply to #5236 #5239 01:53 AM, 14 Jan 2024
    one of the ways users have funded open development is by using auctions. The community comes together to donate cryptoart to one wallet for this cause. Everything in the wallet is the lot. if the auction house sent the winning bid, minus fees to said worker, then that would be the most direct route to raise funds at this time, with no "official counterparty organization on paper with an accountant" needed afaik.

    there are a few auction houses which would likely participate. maybe more than one would be willing. Something like this could take place, before or during improvements. But the biggest yields/result would be after the casual users can feel safe again.

    also, instead of an auction house, everything could be vaulted on emblem and the whole lot auctioned on/with eth.

    this is the kind of non-development objective I think that the @xcpfoundation participants should be able to handle. I know I'm willing to plan for something like this in that room as to stay on topic
  • @6370143984 #5240 01:55 AM, 14 Jan 2024
    yeah @hodlencoinfield mentioned this and I was in disbelief at first but having thought about it more I 100% see why it will work
  • @krostue #5241 01:57 AM, 14 Jan 2024
    for several reasons.

    I would advise the recipient to set up their own wallet, so they have the option to hold onto anything that interests them. Then they can send the cards they don't want to keep to the auction house for BTC/eth
  • @6370143984 #5242 01:57 AM, 14 Jan 2024
    We'll have to do normal sizing and planning, etc. in order to assign a cost to the work. what do these auctions do if the full cost isn't covered by the sale?
  • @krostue #5243 01:57 AM, 14 Jan 2024
    we will have another a month or two afterwards 🍀
    until the goal is reached 🎉
  • @krostue #5244 01:58 AM, 14 Jan 2024
    🌡
  • @6370143984 #5245 01:58 AM, 14 Jan 2024
    got it okay, makes sense
  • @6370143984 #5246 02:04 AM, 14 Jan 2024
    @robbyrbd you should check out the rarepepe wallet, which @hodlencoinfield. it's awesome.
  • @robbyrbd #5247 02:08 AM, 14 Jan 2024
    I used the rarepepe wallet back in the day, if it's the same one. super cool. Love that project.
  • @mikeinspace ↶ Reply to #5247 #5248 02:09 AM, 14 Jan 2024
    There is a new one with hardware wallet support: https://rarepepewallet.wtf/
    Rare Pepe Wallet

    Collect rare pepes and mint new pepes on Bitcoin.

  • @robbyrbd #5249 02:11 AM, 14 Jan 2024
    I'm thinking about it, and I'd be willing to put a $2000 bounty on someone that could get counterwallet and counterblock all updated to work well (updated deps, fix fee estimation, make sure the bitcoin js libraries they are using don't have bugs, etc). I have to run but I can specify this out further. It's probably 2-3 weeks of work. I could do it if I had the time, but paying out a bounty will allow another member of the community like @uanbtc or another wallet dev to get comfortable with the code
  • @robbyrbd #5250 02:11 AM, 14 Jan 2024
    I can formalize the offer later if there is any interest
  • @robbyrbd #5251 02:12 AM, 14 Jan 2024
    funds will come from some RAREPEPE cards I bought on the cheap back in the day ;)
  • @robbyrbd ↶ Reply to #5248 #5252 02:14 AM, 14 Jan 2024
    oh wow this is neat. improved UI from the one I used years ago. I like how it has all the collections. it would be nice to browse the full collection and/or see the cards I didn't have in my wallet (greyed out), but I guess rarepepedirectory will suffice for that
  • @XJA77 ↶ Reply to #5252 #5253 02:15 AM, 14 Jan 2024
    pepe.wtf is very cool for that
  • @mikeinspace ↶ Reply to #5252 #5254 02:20 AM, 14 Jan 2024
    Check out xcp.ninja

    Has all the collections and you can paste your address to see what you hold
  • @robbyrbd #5255 02:22 AM, 14 Jan 2024
    wow, all these new sites, and smoking pepes (https://xcp.ninja/asset/A2691100020608160205) — very cool. thanks
  • @Jpcryptos #5256 02:26 AM, 14 Jan 2024
    dear sers.
  • @Jpcryptos #5257 02:26 AM, 14 Jan 2024
    This humble pepe frog asks for your opinion
  • @Jpcryptos #5258 02:26 AM, 14 Jan 2024
    https://github.com/blocklack-team/counterpartydb
    GitHub - blocklack-team/counterpartydb: A Counterparty db wrapper

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

  • @Jpcryptos #5259 02:26 AM, 14 Jan 2024
    I made a new update on the api db
  • @mikeinspace ↶ Reply to #5255 #5260 02:27 AM, 14 Jan 2024
    That particular stamp uses the src721 spec created by @herpenstein it’s a method of using json to point at a number of pre-minted “traits” as 10K pfp collections tend to have a lot in common. So it removes all the redundancy across a collection.
  • @Jpcryptos #5261 02:29 AM, 14 Jan 2024
    I've added comparability so you can make calls like you usually do in counterparty lib.
    { method: "get_balances", filters[].......
  • @Jpcryptos #5262 02:30 AM, 14 Jan 2024
    but I still haven't decided whether to continue with the get methods that I added in the first commit.
  • @Jpcryptos #5263 02:30 AM, 14 Jan 2024
    what do you think?
  • @XJA77 #5264 02:31 AM, 14 Jan 2024
    how is the thing to run it?
  • @XJA77 #5265 02:31 AM, 14 Jan 2024
    i want to give it a test, im having issues with the api in cp-lserver
  • @XJA77 #5266 02:32 AM, 14 Jan 2024
    maybe this solves the issues and if i can use the same syntax can work for me, what is the name for the DB env var?
  • @Jpcryptos #5267 02:33 AM, 14 Jan 2024
    1. Install rust.
    2. You must add a .env pointing to the db file or the url.

    3. Execute cargo run.
  • @XJA77 #5268 02:33 AM, 14 Jan 2024
    what is the name of the env var that i need to put in the .env? i dont see it in the README
  • @Jpcryptos #5269 02:33 AM, 14 Jan 2024
    @XJA77 He provided me with a counterparty.db that should work for you
  • @Jpcryptos ↶ Reply to #5268 #5270 02:33 AM, 14 Jan 2024
    DATABASE_URL.
  • @Jpcryptos #5271 02:34 AM, 14 Jan 2024
    I should add more information on how to run it.
  • @Jpcryptos ↶ Reply to #5268 #5272 02:34 AM, 14 Jan 2024
    https://github.com/blocklack-team/counterpartydb/blob/458649a061ff56d0bc1a112ae1744ec1885f4f7a/src/main.rs#L17
    counterpartydb/src/main.rs at 458649a061ff56d0bc1a112ae1744ec1885f4f7a · blocklack-team/counterpartydb

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

  • @XJA77 #5273 02:36 AM, 14 Jan 2024
    will give it a try im tired of having to restart counterparty service all the time...
  • @Jpcryptos #5274 02:37 AM, 14 Jan 2024
    https://github.com/blocklack-team/counterpartydb/blob/main/models2.py

    Also i added an autogenerated python model to be able to create the models and schemas of the database. If anyone wants to help, you can start there. we need to migrate the model with the proper datatypes to rust
    counterpartydb/models2.py at main · blocklack-team/counterpartydb

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

  • @Jpcryptos ↶ Reply to #5273 #5275 02:37 AM, 14 Jan 2024
    Just make a sql dump
  • @Jpcryptos #5276 02:37 AM, 14 Jan 2024
    Then point the enviremont var to that file.
  • @XJA77 #5277 02:38 AM, 14 Jan 2024
    working on this so i can do the reparse aswell in cp
  • @Jpcryptos #5278 02:39 AM, 14 Jan 2024
    https://github.com/blocklack-team/counterpartydb/blob/main/src/models.rs

    These are the models i have... Tonight I just focused on building the endpoints
    counterpartydb/src/models.rs at main · blocklack-team/counterpartydb

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

  • @krostue ↶ Reply to #5249 #5279 02:40 AM, 14 Jan 2024
    None
  • @krostue ↶ Reply to #5235 #5280 02:44 AM, 14 Jan 2024
  • @Jpcryptos #5281 02:51 AM, 14 Jan 2024
    I would like to start building the blockparser in Rust as well. but it all depends if some devs are willing to give me some support in the api I'm creating....
  • @herpenstein ↶ Reply to #5280 #5282 02:54 AM, 14 Jan 2024
    https://www.xcp.dev/block/820674
  • @herpenstein #5283 02:54 AM, 14 Jan 2024
    I think that’s the one
  • @XJA77 ↶ Reply to #5282 #5284 02:55 AM, 14 Jan 2024
    yes this is the block
  • @XJA77 #5285 02:55 AM, 14 Jan 2024
    there are more
  • @XJA77 #5286 02:55 AM, 14 Jan 2024
    but this is the one i did mention
  • @6370143984 #5287 02:55 AM, 14 Jan 2024
    @Jpcryptos respectfully, it's unclear what kind of support you're looking for. generally there's an expectation that people will work on what they want to work on and that if there's a will in the community others will work on it, too.
  • @XJA77 #5288 02:55 AM, 14 Jan 2024
    but there are others blocjs
  • @6370143984 ↶ Reply to #5287 #5289 02:57 AM, 14 Jan 2024
    if you need changes to be made to counterparty-lib for the work you're proposing that's one thing, but at this point it's very unclear what you're looking for from others.
  • @XJA77 #5290 02:57 AM, 14 Jan 2024
    i like the idea of have an optional service for api that can be run separately of the core so can scale apart but im not very familiar with rust and i cannot have more hours in the day im working 16h/day full in counterparty and stamps
  • @Jpcryptos ↶ Reply to #5287 #5291 03:00 AM, 14 Jan 2024
    I'm just expressing my opinion. I will only build the blockparser in Rust if there is someone else willing to help me. It's just a statement. If no one is interested, then I won't be interested in doing it...
  • @6370143984 #5292 03:00 AM, 14 Jan 2024
    got it, I think it makes sense to post in a channel with more people. perhaps the official counterparty dev chat?
  • @Jpcryptos #5293 03:02 AM, 14 Jan 2024
    I published it here and on the other devs channel.... I don't think it's necessary to do it where the majority don't have technical knowledge.
  • @Jpcryptos ↶ Reply to #5290 #5294 03:03 AM, 14 Jan 2024
    Dude, you're going to burn out..
  • @XJA77 ↶ Reply to #5294 #5295 03:04 AM, 14 Jan 2024
    good part is i love my work :)
  • @Jpcryptos ↶ Reply to #5289 #5296 03:04 AM, 14 Jan 2024
    Counterparty-lib is fine, I just want to migrate the blockparser separately...
  • @Jpcryptos ↶ Reply to #5290 #5297 03:06 AM, 14 Jan 2024
    You need to learn Rust first, in that task your brain will really burn out.
  • @XJA77 #5298 03:31 AM, 14 Jan 2024
    https://github.com/JavierCervilla/COUNTERPARTY_UTILS
    GitHub - JavierCervilla/COUNTERPARTY_UTILS: Aim of this repo is to be a recopilation of utils scripts and tools for Counterparty node operators and users. Feel free to fork and create PRs against it to improve it.

    Aim of this repo is to be a recopilation of utils scripts and tools for Counterparty node operators and users. Feel free to fork and create PRs against it to improve it. - JavierCervilla/COUNTERPAR...

  • @XJA77 #5299 03:31 AM, 14 Jan 2024
    pushed here the consensus check script if is util for someone
  • @XJA77 #5300 03:34 AM, 14 Jan 2024
    @uanbtc could be cool adding it to your github repos if you want, feel free to fork it
  • @Jpcryptos #5301 03:34 AM, 14 Jan 2024
    I like to see how everyone is contributing according to what they can...
  • @Jpcryptos #5302 03:55 AM, 14 Jan 2024
    I was reviewing the SQL queries that are made and more space could be saved if well-structured relationships are made to avoid duplicate data...
  • @Jpcryptos #5303 03:56 AM, 14 Jan 2024
    An example.
    https://github.com/blocklack-team/counterpartydb/blob/458649a061ff56d0bc1a112ae1744ec1885f4f7a/models2.py#L329

    The issuances sometimes store the name of the asset.
    counterpartydb/models2.py at 458649a061ff56d0bc1a112ae1744ec1885f4f7a · blocklack-team/counterpartydb

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

  • @XJA77 ↶ Reply to #5302 #5304 03:56 AM, 14 Jan 2024
    @uanbtc has some CIPS around it
  • @Jpcryptos #5305 03:57 AM, 14 Jan 2024
    block_index is saved many times in almost all tables.

    https://github.com/blocklack-team/counterpartydb/blob/458649a061ff56d0bc1a112ae1744ec1885f4f7a/models2.py#L364
    counterpartydb/models2.py at 458649a061ff56d0bc1a112ae1744ec1885f4f7a · blocklack-team/counterpartydb

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

  • @Jpcryptos #5306 03:58 AM, 14 Jan 2024
    50 times
  • @Jpcryptos #5307 03:59 AM, 14 Jan 2024
    addresses are saved about 20 times.
  • @uanbtc #5308 04:05 AM, 14 Jan 2024
    Some duplication is fine, is denormalized where it makes sense, the most common ways to query each table

    Is things like descriptions that don’t need to be copied so much, I believe. Very problematic with sweeps
  • @uanbtc ↶ Reply to #5308 #5309 04:06 AM, 14 Jan 2024
    But

    We could just not copy the description. Is what I have been mentioning that the expected “last description” is the one from the last issuance row is again, problematic
  • @Jpcryptos ↶ Reply to #5308 #5310 04:06 AM, 14 Jan 2024
    In the case of addresses, source, issuer, a relationship can be made to the Address table...
  • @Jpcryptos #5311 04:08 AM, 14 Jan 2024
    but I don't understand why the Address table has block_index?
  • @uanbtc #5312 04:09 AM, 14 Jan 2024
    Address and txid yea maybe
  • @Jpcryptos #5313 04:10 AM, 14 Jan 2024
    Do you mean thse every time a transfer or a event related to that address happeb, is the block_index updated?
  • @Jpcryptos #5314 04:15 AM, 14 Jan 2024
    block index and all values that are addresses can be related to the Addresses and Blocks table.... that will give us a lot of space savings. and optimize the call queries
  • @Jpcryptos ↶ Reply to #5258 #5315 04:20 AM, 14 Jan 2024
    Also building this I realized that you can gain performance if api.py (flask) switch to graphql.
  • @Jpcryptos #5316 04:21 AM, 14 Jan 2024
    It is more optimal if the query logic is transferred to the client, and we free counterparty-lib from that load of logic and loops...
  • @B0BSmith ↶ Reply to #4851 #5317 08:05 AM, 14 Jan 2024
    broadcasts znd dex trades are not too much .. my wallet had them using cp api to generate the tx hex ... a beiadcast no different to z issuance really in client wallet it's just a type of counterparty message

    wallet calls cp api gets returned txhex signs and sends ... what's needed tho to go with it is broadcast history dex trades etc

    we have seen broadcasts used by devs to initiate actions in mint servers
  • @B0BSmith #5318 08:07 AM, 14 Jan 2024
    so user buys token.. does a destruction with memo.. causes app to do a function .. generative artwork made znd attached to token .. questfrens did this
  • @B0BSmith #5319 08:09 AM, 14 Jan 2024
    please don't take broadcasts destructions dex trades and stuff out of wallet specs they nice .. appreciate tho they not as urgent as fixing protocol but from user wallet perspective they are what make counterparty fun
  • @B0BSmith #5320 08:10 AM, 14 Jan 2024
    I was gonna get ppl to name their soldier (satoshi solider) using a broadcast
  • @B0BSmith #5321 08:12 AM, 14 Jan 2024
    pinataxcp did stuff like this too .. servers detect onchain message from token holders
  • @B0BSmith #5322 08:17 AM, 14 Jan 2024
    sure trading is fun but so much more is possible once have a wallet
  • @B0BSmith #5323 08:20 AM, 14 Jan 2024
    here is my destroy tx (watch only mode wallet ) .. now also shows txhex as qr

    photo_2024-01-14_08-20-35.jpg
  • @B0BSmith #5324 08:21 AM, 14 Jan 2024
    we make stamps to destroy on purpose 👍
  • @XJA77 #5325 08:21 AM, 14 Jan 2024
    I like the verification against coinbn so cool
  • @B0BSmith #5326 08:22 AM, 14 Jan 2024
    that was before freewalket decoded but I like to verify n encourage users to verify
  • @B0BSmith #5327 08:27 AM, 14 Jan 2024
    maybe we need a tx decoder tool for all like coinb.in
  • @XJA77 #5328 08:28 AM, 14 Jan 2024
    Coinbn.in is not open right?
  • @B0BSmith #5329 08:28 AM, 14 Jan 2024
    yeah it is
  • @B0BSmith #5330 08:28 AM, 14 Jan 2024
    but doesnt understand cpunterparty
  • @B0BSmith #5331 08:29 AM, 14 Jan 2024
    just sees op return not the decoded data
  • @B0BSmith #5332 08:29 AM, 14 Jan 2024
    Jpja reverse engineer tools handy here
  • @XJA77 #5333 08:29 AM, 14 Jan 2024
    Mmmm should be easy add arc4 there? Or not
  • @XJA77 #5334 08:30 AM, 14 Jan 2024
    Yes this is very cool tool
  • @B0BSmith #5335 08:30 AM, 14 Jan 2024
    yeah I think it will
  • @B0BSmith #5336 08:32 AM, 14 Jan 2024
    to do a dex page for a asset you need order history .. open orders bid and ask and ability to place a order ..so many api calls pages get slow ..maybe counterblock is better to use ?
  • @B0BSmith #5337 08:34 AM, 14 Jan 2024
    broadcast in watch only mode
  • @B0BSmith #5338 08:34 AM, 14 Jan 2024

    photo_2024-01-14_08-34-49.jpg
  • @B0BSmith #5339 08:36 AM, 14 Jan 2024
    will need to remove links to BTNS haha
  • @jp_janssen ↶ Reply to #5332 #5340 08:36 AM, 14 Jan 2024
    https://github.com/Jpja/Electrum-Counterparty/tree/master/js/xcp

    I started work on decode_tx_msg.js
    Electrum-Counterparty/js/xcp at master · Jpja/Electrum-Counterparty

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

  • @B0BSmith #5341 08:37 AM, 14 Jan 2024
    yeah I love it
  • @B0BSmith #5342 08:38 AM, 14 Jan 2024
    reverse engineer stuuff takes time but so cool
  • @jp_janssen ↶ Reply to #5341 #5343 08:38 AM, 14 Jan 2024
    Tnx, it's my pet project. Far from complete. Hope it can be useful for
  • @jp_janssen #5344 08:39 AM, 14 Jan 2024
    other wallets too. Solution to blind signing
  • @B0BSmith #5345 08:39 AM, 14 Jan 2024
    I use it to make op return hex and compare with cp api generated op return hex to know I got it right
  • @B0BSmith ↶ Reply to #5344 #5346 08:40 AM, 14 Jan 2024
    yeah if we decode tx hex and op return and verify then is not blind sign
  • @teysol ↶ Reply to #5221 #5347 09:47 AM, 14 Jan 2024
    I'm going to add a note to the README that bootstrap should not be used for commercial or public-facing nodes
  • @teysol #5348 10:16 AM, 14 Jan 2024
    So... what is this?

    photo_2024-01-14_10-16-24.jpg
  • @IndelibleTrade ↶ Reply to #5348 #5349 10:32 AM, 14 Jan 2024
    Multiple attempts at a Overspent disprnsooooor?
  • @teysol #5350 10:32 AM, 14 Jan 2024
    it's not multiple attempts... it's the same tx over and over again
  • @teysol #5351 10:32 AM, 14 Jan 2024
    (and why is it a warning??)
  • @XJA77 #5352 10:33 AM, 14 Jan 2024
    Which block is it?
  • @teysol #5353 10:33 AM, 14 Jan 2024
    I don't know. it's been going on for more than one block it seems 🤨
  • @XJA77 #5354 10:34 AM, 14 Jan 2024
    im getting an error on reparse after one of this warning

    photo_2024-01-14_10-34-54.jpg
  • @teysol #5355 10:35 AM, 14 Jan 2024
    gross
  • @teysol #5356 10:37 AM, 14 Jan 2024
    that was a reparse from what block?
  • @XJA77 #5357 10:37 AM, 14 Jan 2024
    Reparse from start
  • @XJA77 #5358 10:37 AM, 14 Jan 2024
    Strange
  • @teysol #5359 10:38 AM, 14 Jan 2024
    good news, that was only four days ago
  • @XJA77 ↶ Reply to #5079 #5360 10:38 AM, 14 Jan 2024
    This one was stop matching at this exactly block
  • @XJA77 ↶ Reply to #5074 #5361 10:39 AM, 14 Jan 2024
    Will need to check against xcp dev later the script again
  • @XJA77 ↶ Reply to #5088 #5362 10:40 AM, 14 Jan 2024
    Okey with xchain is the same
  • @teysol #5363 10:40 AM, 14 Jan 2024
    'k
  • @teysol #5364 10:42 AM, 14 Jan 2024

    photo_2024-01-14_10-42-35.jpg
  • @teysol #5365 10:43 AM, 14 Jan 2024
    last checkpoint was July 2016 :/
  • @teysol ↶ Reply to #5357 #5366 10:46 AM, 14 Jan 2024
    how long did it take for you to catch up?
  • @XJA77 ↶ Reply to #5366 #5367 10:46 AM, 14 Jan 2024
    Let me check
  • @XJA77 #5368 10:47 AM, 14 Jan 2024
    8 hours
  • @XJA77 ↶ Reply to #5364 #5369 10:48 AM, 14 Jan 2024
    Better lol with all the nodes using bootstrap less xcpdev there are not any good reference...
  • @teysol #5370 10:51 AM, 14 Jan 2024
    yes, but it's worse than that
  • @teysol #5371 10:51 AM, 14 Jan 2024
    people may have used *multiple* incompatible bootstraps
  • @XJA77 #5372 10:52 AM, 14 Jan 2024
    Oh yes true didn't think that
  • @teysol #5373 10:55 AM, 14 Jan 2024
    good news, 8 hours *not at all terrible*
  • @teysol #5374 10:55 AM, 14 Jan 2024
    we can run that once a day in CI e.g.
  • @teysol #5375 10:56 AM, 14 Jan 2024
    (8 hours is very different from 2 weeks...)
  • @XJA77 #5376 11:02 AM, 14 Jan 2024
    Yes 8 hours is good
  • @XJA77 #5377 11:03 AM, 14 Jan 2024
    I need to check better what is doing exactly in a reparse and what checks in it
  • @XJA77 ↶ Reply to #5354 #5378 11:04 AM, 14 Jan 2024
    Next step in my node would be a rollback from this block right?
  • @teysol #5379 11:13 AM, 14 Jan 2024
    can you rollback all the way to 753,500?
  • @teysol #5380 11:14 AM, 14 Jan 2024
    oh man, we can speed up reparse so much if we just pre-fetch blocks from bitcoind 🤦‍♀️
  • @Jpcryptos #5381 11:35 AM, 14 Jan 2024
    thanks @XJA77 for the PR that you sent....
  • @robbyrbd ↶ Reply to #5380 #5382 12:12 PM, 14 Jan 2024
    I could have sworn some of the older performance optimizations changed it to do that but looking at https://github.com/CounterpartyXCP/counterparty-lib/blob/master/counterpartylib/lib/blocks.py#L1455 that doesn't appear to be the case. should be an easy gain
    counterparty-lib/counterpartylib/lib/blocks.py at master · CounterpartyXCP/counterparty-lib

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

  • @uanbtc ↶ Reply to #5249 #5383 01:35 PM, 14 Jan 2024
    Challenge accepted! Let’s go!!!
  • @robbyrbd #5384 01:37 PM, 14 Jan 2024
    that's great @uanbtc - I'll write up something short later today and get in touch with you to work through the expectations of the bounty
  • @hodlencoinfield #5385 01:40 PM, 14 Jan 2024
    Team work makes the dream work
  • @uanbtc ↶ Reply to #5384 #5386 01:44 PM, 14 Jan 2024
    Sounds good. Thank you
  • @B0BSmith ↶ Reply to #5380 #5387 02:14 PM, 14 Jan 2024
    Peter Todd python lib is fast bitcoind slooow
  • @B0BSmith #5388 02:17 PM, 14 Jan 2024
    I was using Peter Todd's when scanning chain for unspent dust
  • @B0BSmith ↶ Reply to #5338 #5389 02:19 PM, 14 Jan 2024
    this is seed signer hww integration too BTW.. it loves a qr code that lil device
  • @B0BSmith #5390 02:25 PM, 14 Jan 2024
    I am finding g it hard to get testnet utxos from free apis and broadcast testnet tx .... if we get a bit more bitcoin in counterparty this dev pain point goes away
  • @XJA77 ↶ Reply to #5379 #5391 02:32 PM, 14 Jan 2024
    Why 753? It will take another week
  • @B0BSmith ↶ Reply to #3283 #5392 02:43 PM, 14 Jan 2024

    photo_2024-01-14_14-43-39.jpg
  • @B0BSmith #5393 02:43 PM, 14 Jan 2024

    photo_2024-01-14_14-43-39.jpg
  • @B0BSmith #5394 02:43 PM, 14 Jan 2024

    photo_2024-01-14_14-43-52.jpg
  • @XJA77 #5395 02:49 PM, 14 Jan 2024
    I'm thinking on xcpdev and I think we have a really good opportunity to educate users from there, we can add tooltips that explain some things for example in the messages (in counterparty every action in handled as messages) topical question mark that when you hover in it open a dialog with the info
  • @teysol ↶ Reply to #5391 #5396 02:51 PM, 14 Jan 2024
    ah it takes that long?? then yeah go back maybe 10 days from today
  • @XJA77 #5397 02:53 PM, 14 Jan 2024
    Okey better lol
  • @B0BSmith ↶ Reply to #5336 #5398 02:59 PM, 14 Jan 2024
    So it's like 5 api calls for a asset market page

    open dispensers
    dispenser history
    dex history
    bids
    asks

    if you exclude dispensers ppl can 'lose money' as they maybe don't see recent sales and true market price
  • @B0BSmith #5399 03:00 PM, 14 Jan 2024
    a RAREPEPE was recently sold for 1,000,000 PEPECASH its suspect user didn't know what they had an under priced it massively. It was snapped up in a heartbeat
  • @teysol ↶ Reply to #5387 #5400 03:35 PM, 14 Jan 2024
    that's in python?
  • @B0BSmith ↶ Reply to #5400 #5401 03:38 PM, 14 Jan 2024
    yeah I get a link
  • @B0BSmith #5402 03:39 PM, 14 Jan 2024
    https://github.com/petertodd/python-bitcoinlib
    GitHub - petertodd/python-bitcoinlib: Python3 library providing an easy interface to the Bitcoin data structures and protocol.

    Python3 library providing an easy interface to the Bitcoin data structures and protocol. - petertodd/python-bitcoinlib

  • @teysol #5403 03:40 PM, 14 Jan 2024
    ah I thought we were using that as a dependency
  • @B0BSmith #5404 03:44 PM, 14 Jan 2024
    I dunno I found it years ago and used it as it seems faster that bitcoin http rpc python stuffs

    I heard miners use it so guessed was the fastest as to miners time is important
  • @teysol #5405 03:47 PM, 14 Jan 2024
    that's great to know!
  • @B0BSmith #5406 03:48 PM, 14 Jan 2024
    I hope it help speed up stuffs 🤞
  • @B0BSmith #5407 03:48 PM, 14 Jan 2024
    python 3 too so should mesh well with the work your doing
  • @hodlencoinfield ↶ Reply to #5403 #5408 03:49 PM, 14 Jan 2024
    Yeah that is a counterparty-lib dependency but probly hasn’t been updated in a while
  • @teysol #5409 03:50 PM, 14 Jan 2024
    afaict very few dependencies have been updating in the past 8 years
  • @hodlencoinfield ↶ Reply to #5409 #5410 03:50 PM, 14 Jan 2024
    Sounds about right
  • @B0BSmith ↶ Reply to #5056 #5411 04:05 PM, 14 Jan 2024
    btns is pure broadcast no cp assets, so more 'abusive' than stamps and can't use most cp features
  • @6370143984 ↶ Reply to #5365 #5412 04:22 PM, 14 Jan 2024
    oh FFS
  • @6370143984 ↶ Reply to #5371 #5413 04:23 PM, 14 Jan 2024
    this. consensus is hard.
  • @B0BSmith #5414 04:23 PM, 14 Jan 2024
    assumevalid=0
  • @6370143984 #5415 04:25 PM, 14 Jan 2024
    @teysol back in the day python-bitcoinlib was not super actively maintained and that seems still to be the case.
  • @B0BSmith #5416 04:39 PM, 14 Jan 2024
    it didn't even have a actual release bitd
  • @XJA77 #5417 05:00 PM, 14 Jan 2024
    im starting rollback from block 824000 12 days ago it will take some time for sure
  • @XJA77 #5418 05:02 PM, 14 Jan 2024
    strange i think undolog has 100 blocks as limit maybe?

    photo_2024-01-14_17-02-17.jpg
  • @hodlencoinfield #5419 05:06 PM, 14 Jan 2024
    i believe the undolog is for re-orgs so it would make sense to have a sensible limit on it
  • @XJA77 #5420 05:09 PM, 14 Jan 2024
    But I don't see the difference then between rollback and reparse
  • @XJA77 #5421 05:10 PM, 14 Jan 2024
    I thought rollback will delete all blocks after the one specified and start checking tx from there but it triggers a re-parse instead? Unless it trigger re-parse until the specified block and start parsing from it
  • @XJA77 #5422 05:11 PM, 14 Jan 2024
    Anyway let see what it does
  • @B0BSmith #5423 05:12 PM, 14 Jan 2024
    can xcp.dev be easily updated to show an assets subassets ?
  • @uanbtc ↶ Reply to #5423 #5424 05:17 PM, 14 Jan 2024
    It shows them https://www.xcp.dev/asset/OTHERWORLD
  • @uanbtc ↶ Reply to #5394 #5425 05:18 PM, 14 Jan 2024
    🔥🔥🔥🔥🔥🔥🔥🔥🔥
  • @uanbtc ↶ Reply to #5395 #5426 05:28 PM, 14 Jan 2024
    I like this a lot!

    Thinking the default xcp.dev becomes the community version with nice ui and more minor detailed features like this one.

    But I kind of like the simplistic minimalistic “genesis” version of the website. And want to keep it alive in some capacity.

    And thinking this can also become the “embedded” option, not competing with the style of the website is on. Like https://www.vivalavandal.biz/ did

    Waiting for any feedback before moving ahead with this:

    https://github.com/CNTRPRTY/xcpdev/issues/17
    Split repo · Issue #17 · CNTRPRTY/xcpdev

    @JavierCervilla @Chriton @DerpHerpenstein @mkeresty I'm thinking about splitting this one repo into: CNTRPRTY/xcpdev-genesis: This repo reverted to commit 0ffba5d. Will live in its own subdomai...

  • @B0BSmith #5427 05:28 PM, 14 Jan 2024
    is there a testnet xcp.dev?
  • @uanbtc ↶ Reply to #5427 #5428 05:29 PM, 14 Jan 2024
    No, only because of trying to minimize my costs. Should definitely be available eventually
  • @B0BSmith #5429 05:30 PM, 14 Jan 2024
    totally get that ... what's the cost for a testnet instance to run for a year?
  • @6370143984 ↶ Reply to #5428 #5430 05:32 PM, 14 Jan 2024
    @uanbtc I'd encourage you (and all block explorer providers) to consider offering paid tiers. costs should not be eaten by service providers
  • @uanbtc ↶ Reply to #5429 #5431 05:33 PM, 14 Jan 2024
    Is part of the same fednode. But having it off means I can have a smaller more economical server be more performant
  • @uanbtc ↶ Reply to #5430 #5432 05:34 PM, 14 Jan 2024
    Yes I’m open to this. But my initial focus was on providing the ease of onboarding for MORE nodes!
  • @6370143984 #5433 05:36 PM, 14 Jan 2024
    oh for sure! totally on the same page about the need for more nodes and think xcpdev is a great step in that direction
  • @6370143984 #5434 05:36 PM, 14 Jan 2024
    just want to make sure you guys aren't footing the bill for something everyone benefits from when there are tried-and-true business models for this sort of thing.
  • @B0BSmith ↶ Reply to #5431 #5435 05:41 PM, 14 Jan 2024
    I would love to see a testnet instance n could sell a few cards to fund it
  • @Jpcryptos ↶ Reply to #5426 #5436 05:41 PM, 14 Jan 2024
    I am using vue3 and ts t, it is much better for the UI
  • @uanbtc ↶ Reply to #5436 #5437 05:47 PM, 14 Jan 2024
    This is my point. I believe the best move is to allow the default xcp.dev to flourish with community contributions.

    And I can just continue keeping the original xcpdev alive in some non-www subdomain for the people that like the minimalistic design.
  • @uanbtc ↶ Reply to #5435 #5438 05:48 PM, 14 Jan 2024
    Will definitely have it in mind. And is just a natural, xcpdev is educational
  • @B0BSmith #5439 05:57 PM, 14 Jan 2024
    Understood

    If anyone else wants a testnet xcp.dev let's chat and we can setup a honeypot for it ... we can then pool some cards n take em to auction .. hopefully the community want to see one
  • @6370143984 #5440 05:57 PM, 14 Jan 2024
    please don't set up any crypto 'honeypots' LOL
  • @B0BSmith #5441 05:58 PM, 14 Jan 2024
    too late.. there is already one I believe .. its called the naka honeypot for $bag
  • @B0BSmith #5442 05:58 PM, 14 Jan 2024
    @IndelibleTrade
  • @B0BSmith #5443 05:58 PM, 14 Jan 2024
    do you know of the $bag?
  • @6370143984 #5444 05:58 PM, 14 Jan 2024
    i don't! honeypot is generally not a good thing tho lol
  • @IndelibleTrade #5445 05:59 PM, 14 Jan 2024
    Ehehe
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 05 Jan 2024 (37)
  • 07 Jan 2024 (187)
  • 08 Jan 2024 (332)
  • 09 Jan 2024 (865)
  • 10 Jan 2024 (479)
  • 11 Jan 2024 (508)
  • 12 Jan 2024 (685)
  • 13 Jan 2024 (674)
  • 14 Jan 2024 (319)
  • 15 Jan 2024 (104)
  • 16 Jan 2024 (318)
  • 17 Jan 2024 (24)
  • 18 Jan 2024 (10)
  • 19 Jan 2024 (3)
  • 20 Jan 2024 (22)
  • 21 Jan 2024 (1)
  • 22 Jan 2024 (33)
  • 23 Jan 2024 (11)
  • 24 Jan 2024 (19)
  • 25 Jan 2024 (294)
  • 26 Jan 2024 (189)
  • 27 Jan 2024 (65)
  • 28 Jan 2024 (7)
  • 29 Jan 2024 (8)
  • 30 Jan 2024 (62)
  • 31 Jan 2024 (110)