• 09 March 2024 (43 messages)
  • @teysol #9861 01:47 PM, 09 Mar 2024
    so for future reference, these DBs compress very well
  • @teysol #9862 01:48 PM, 09 Mar 2024
    with gzip a full DB goes from 9GB to 2GB; with xz it goes down to around 1GB (depending on compression level)
  • @6370143984 #9864 02:59 PM, 09 Mar 2024
    it's great in general but they don't joke around about metering
  • @carsonated #9865 03:05 PM, 09 Mar 2024
    It’s metered?
  • @6370143984 #9866 03:05 PM, 09 Mar 2024
    yep
  • @carsonated #9867 03:06 PM, 09 Mar 2024
    What is the caps? I just ordered yesterday and didn’t even see that
  • @6370143984 #9868 03:06 PM, 09 Mar 2024
    no hard caps they just provide slower service after 1tb of monthly data i believe
  • @carsonated #9869 03:06 PM, 09 Mar 2024
    Ugh
  • @6370143984 #9870 03:06 PM, 09 Mar 2024
    you can upgrade your service but seems that you need to upgrade your satellite along with it
  • @6370143984 #9873 03:09 PM, 09 Mar 2024
    the data is unlimited but your bandwidth gets capped after a certain amount of data transfer
  • @6370143984 #9874 03:09 PM, 09 Mar 2024
    I found it comparable to DSL when I went over.
  • @carsonated #9876 03:11 PM, 09 Mar 2024
    I’m on a 40/10 connection and suffering so I thought this would fix, but if I get throttled it sounds like it will be the same thing
  • @6370143984 #9877 03:11 PM, 09 Mar 2024
    oh yeah starlink is in any case not better than cable
  • @6370143984 #9878 03:11 PM, 09 Mar 2024
    it is better than dsl, as good as cable (if you aren't being metered), and worse than fiber.
  • @6370143984 ↶ Reply to #9876 #9879 03:11 PM, 09 Mar 2024
    I was on 10/1 so it was life-changing for me
  • @6370143984 #9881 03:13 PM, 09 Mar 2024
    I don't do anything too fancy so only time I ever hit the high speed usage cap was syncing a bitcoin node lol
  • I do not think that I have been metered yet. We watch all our HD tv thru it. It was fully unlimited then they put fair use on it. The metering is for the remainder of the month. It has been rock solid for me
  • 10 March 2024 (11 messages)
  • @6370143984 #9883 12:48 PM, 10 Mar 2024
    @robotlovecoffee I think the link you provided may have expired.
  • @robotlovecoffee #9884 01:28 PM, 10 Mar 2024
    ya I can only share it for 12 hrs
  • @robotlovecoffee #9885 01:28 PM, 10 Mar 2024
  • @6370143984 #9886 03:48 PM, 10 Mar 2024
    @robotlovecoffee same issue as last time: your node is not seeing a simple send...

    this isn't a non-determinism so not sure what is happening!
  • @6370143984 #9887 04:47 PM, 10 Mar 2024
    has anyone else running develop hit a consensus hash mismatch?
  • @robotlovecoffee #9888 07:14 PM, 10 Mar 2024
    I think that I should nuke this instance and start fresh
  • @teysol #9889 07:20 PM, 10 Mar 2024
    @robotlovecoffee before you do that, could you give us access to the instance to debug it directly?
  • @teysol #9890 07:21 PM, 10 Mar 2024
    a consensus break like this is something that should *never* happen; if it does, there's almost certainly a bug we need to fix
  • @teysol #9891 07:23 PM, 10 Mar 2024
    and we haven't been able to figure out what the problem is from the database file
  • @robotlovecoffee #9892 08:19 PM, 10 Mar 2024
    Sure not in shop at the moment. If I get you IPs I can add you ssh access. Can we do that tomorrow?
  • @robotlovecoffee #9893 08:20 PM, 10 Mar 2024
    I get a sense that my setup is botched a bit but having you guys verify would be helpful
  • 12 March 2024 (5 messages)
  • @teysol #9894 07:49 PM, 12 Mar 2024
    Ouziel found the problem. Catching a generic exception was hiding an incompatibility in the implementation of ripemd in a dependency
  • @teysol #9895 07:59 PM, 12 Mar 2024
    thanks again for the help debugging! 🙏
  • @robotlovecoffee #9896 08:00 PM, 12 Mar 2024
    awesome
  • @6370143984 #9897 08:16 PM, 12 Mar 2024
    checkpoints passed. will lyk if we hit any further issues.
  • @XJA77 ↶ Reply to #9897 #9898 11:45 PM, 12 Mar 2024
    great news ser
  • 13 March 2024 (3 messages)
  • @hodlencoinfield #9899 11:00 PM, 13 Mar 2024
    dex live on rarepepewallet.wtf
  • @XJA77 ↶ Reply to #9900 #9901 11:05 PM, 13 Mar 2024
    Huge
  • 15 March 2024 (17 messages)
  • @herpenstein #9902 01:14 AM, 15 Mar 2024
    Anyone have the counterparty dev fund multisig address and that pdf announcement they put out last month?
  • @teysol #9903 01:29 AM, 15 Mar 2024
    Sorry yes, still working on porting over the blog posts to the new website
  • Thank you ser
  • Are you guys are still accepting funds on this wallet?

    3G2bY5De2sbWT5iE4KBKXCSRKbEu8n6RCc
  • @robotlovecoffee #9907 12:10 PM, 15 Mar 2024
    I'm trying to migrate from using xchain call as getting blocked or rate limted all the time but running into issue using the CP API. I want to get a list of dispensers for an asset. But having an issue just get_asset_info. I have other calls working so not sure if this API is not working. I was going to hit the tables direct with the get_{table} but not sure where to find db schema.
  • @hodlencoinfield #9908 12:23 PM, 15 Mar 2024
    Just do a generic get_ call with no parameters and use the results to see what you can filter by
  • thks, sometime the answer is so simple...
  • @teysol #9910 12:44 PM, 15 Mar 2024
    hey! if anyone's going to be at the NFT.NYC 2024 conference in April, I'll be there IRL and would love to meet up :)
  • @XJA77 ↶ Reply to #9910 #9911 12:45 PM, 15 Mar 2024
    will try ser would love to meet you
  • @6370143984 #9912 07:55 PM, 15 Mar 2024
    Hi everyone! Super excited to announce the alpha release of counterparty-core v10.0.0: https://github.com/CounterpartyXCP/counterparty-core/releases/tag/v10.0.0-alpha

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

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

  • @6370143984 #9914 08:29 PM, 15 Mar 2024
    Good catch! thank you so much @ChiefSamyaza
  • @c0rnh0li0 #9915 08:34 PM, 15 Mar 2024
    I'm trying to create a token in a wallet that has a known private key and sweeper bot. I was hoping I'd be able to take advantage of the mempool fees, but freewallet is not pushing the transaction through due to insufficient funds. I'm trying to create the unsigned tx using xcp.dev now, but I'm getting an error
  • @c0rnh0li0 #9917 08:34 PM, 15 Mar 2024
    Can someone help me figure this out?
  • @c0rnh0li0 #9918 08:36 PM, 15 Mar 2024
    Here's what inspired me to try this: https://www.sothebys.com/en/buy/auction/2024/r-evolutionaries-digital-art-through-the-decade/torched-h34r7s-1flamen6

    One of the most legendary pieces of Bitcoin art, and they chose to use superrare's contract to issue a token. I thought it'd be cool to issue TORCHED.H34R7S from the 1FLAMEN6 address.
    TORCHED H34R7S (1FLAMEN6) | {R(Evolutionaries);} Digital Art Through The Decade | Contemporary NFT | Sotheby's

    <p>Marguerite De Courcelle</p><p><em>TORCHED H34R7S (1FLAMEN6)</em></p><p>Oil and pastel on canvas</p><p>45.72 by 60.96 cm. 18 by 24 in.</p><p>Framed: 121.92 by 142.24 cm. 48 by 56 in.</p><p>Executed in 2015, this work is unique. This is the final piece of the puzzle chain revealing the code to the 1flamen6 wallet.</p><p> </p><p>Token ID: 33861</p><p>Smart Contract: 0xb932a70a57673d89f4acffbe830e8ed7f75fb9e0</p><p>Token Standard: ERC-721</p><p>Blockchain: Ethereum</p>

  • @vectorconfetti #9920 08:44 PM, 15 Mar 2024
    look at those release notes! amazing work
  • 16 March 2024 (13 messages)
  • @droplister ↶ Reply to #9912 #9921 05:10 AM, 16 Mar 2024
    Study Counterparty
  • @droplister ↶ Reply to #9910 #9922 05:10 AM, 16 Mar 2024
    Pub Key Bar
  • @robotlovecoffee #9923 12:05 PM, 16 Mar 2024
    what would be the best steps for my AWS instance to get on new release?
  • @robotlovecoffee #9924 12:05 PM, 16 Mar 2024
    should I nuke all and start fresh as a test?
  • @teysol #9925 12:41 PM, 16 Mar 2024
    you don't have to nuke everything! you should update to the latest addrindexrs and counterparty-core

    you will have to rebuild your Counterparty DB because of a version number bump, however, so run counterpary-server kickstart again
  • @robotlovecoffee #9926 02:23 PM, 16 Mar 2024
    I was just nervous as I might have not setup very clean when I 1st did it, but will look to just get the latest
  • @robotlovecoffee #9927 02:24 PM, 16 Mar 2024
    off topic does anyone know the path to get all dispensers for an Asset without using the xchain API, I do not see an easy path via the current API but might be missing something?
  • @hodlencoinfield #9928 04:29 PM, 16 Mar 2024
    Pretty sure theres a get_dispensers call, not at my computer to check
  • @hodlencoinfield #9929 04:29 PM, 16 Mar 2024
    Then just filter by asset and status
  • @ABlue0ne ↶ Reply to #9925 #9930 05:44 PM, 16 Mar 2024
    What are the storage space requirements now with bitcoind and counterparty v10 on the same node?
  • @teysol ↶ Reply to #9930 #9931 06:16 PM, 16 Mar 2024
    still same as before. about 1.1TB for mainnet
  • @6370143984 #9932 06:26 PM, 16 Mar 2024
    So right now you can either use`kickstart` if you run directly on the host, which is fast. Or you an run simplenode using start, which is slow (but will get faster!). simplenode will support bootstrap before v10 is released, but if folks can run kickstart for the alpha release it'd be really helpful!
  • that needs a hash or TX so I think I need to parse and store data to get a list which I was hoping I would not need to do
  • 18 March 2024 (7 messages)
  • @uanbtc #9936 07:28 PM, 18 Mar 2024
    Finally, xcp.dev has a formal public api. It is basically the same api the website uses.

    Starting with a subset of all endpoints (and with a very basic doc page 🤓).

    https://www.xcp.dev/api

    Many people have asked for this, and seeing some recent questions here. Hopefully this is just a first step to continue improving it and maybe even offer a premium paid alternative eventually.

    But it is all free for now. And because it is “formalized” the endpoints and responses (posted in the doc page) should not change. But this is not a guarantee and I will at least announce here any breaking changes.

    Feel free to post feedback in the repo, here or DM me directly. And let me know any endpoint you would like to be added next.
  • @6370143984 #9937 08:40 PM, 18 Mar 2024
    We’re doing a Counterparty space Wednesday to discuss v10.0.0 set your reminders ✅ https://x.com/emblemvault/status/1769815353482154225?s=46&t=VKlzOqs5vqDWcDUEI3d16wW
    Emblem Vault (@EmblemVault) on X

    Counterparty Updates🚨 with @agkrellenstein https://t.co/xpFyhUALCV

  • @uanbtc ↶ Reply to #9937 #9938 08:50 PM, 18 Mar 2024
    Already running it, with the simplenode approach
  • @uanbtc ↶ Reply to #9917 #9939 08:52 PM, 18 Mar 2024
    Were you able to solve this? With the recent (today) update to the api the Create tx part is not working. But you can DM me if you still need it and I can work on it
  • @c0rnh0li0 ↶ Reply to #9939 #9940 08:56 PM, 18 Mar 2024
    Thanks, I'll circle back to that soon and DM you then. Joe didn't think it'd be possible to beat the bots, but I feel like it can be done given the mempool conditions.
  • @teysol ↶ Reply to #9938 #9941 09:05 PM, 18 Mar 2024
    awesome. did you run into any bugs?
  • @uanbtc #9942 09:15 PM, 18 Mar 2024
    Bitcoin syncing still. I am running it in a server so I had to stop the containers and then restart the Bitcoin one specifically. Should be done syncing by tomorrow and then I’ll proceed to addressindrs…

    Using an ec2 large (8GB ram) with 1 TB. The same specs as another v9.61 node I have to be able to make tests and comparisons.
  • 19 March 2024 (14 messages)
  • @XJA77 #9943 03:33 PM, 19 Mar 2024
    spinning up a new simple node
  • @XJA77 #9944 03:33 PM, 19 Mar 2024
    let see how it works
  • @XJA77 #9945 03:34 PM, 19 Mar 2024
    i found a really good deal
  • @XJA77 #9946 03:34 PM, 19 Mar 2024
    Servidores dedicados baratos | Bare Metal | Piensa Solutions

    Descubre los servidores dedicados baratos de Piensa Solutions. Bare Metal con máxima seguridad, transferencia ilimitada gratis y máxima velocidad gracias a un ancho de banda de 1 Gbps.

  • @XJA77 #9947 03:35 PM, 19 Mar 2024
    25€/month 64GB Ram and 2x2TB hdd
  • @XJA77 #9948 05:27 PM, 19 Mar 2024
    Testing it now will let you know how it works
  • @XJA77 #9949 05:27 PM, 19 Mar 2024
    At the moment syncing bitcoind at light speed
  • @davesta #9950 05:32 PM, 19 Mar 2024
    got a weird issue with a dispenser tx not showing up in counterparty block explorers... filed it as an issue - will post more info to the issue when I get more info from the user on how to recreate it more specifically:

    https://github.com/CounterpartyXCP/counterparty-core/issues/1534
    Dispenser Opening TX Not Showing on Block Explorers · Issue #1534 · CounterpartyXCP/counterparty-core

    We have a user in the Freewallet chat wondering why two different 'open dispenser' tx's do not show up on Counterparty Block Explorers the first tx was (user used FW v0.9.25): 2bc048ed3...

  • @6370143984 #9951 05:35 PM, 19 Mar 2024
    this may be the txid thing
  • @6370143984 #9952 05:52 PM, 19 Mar 2024
    I believe this is mostly addressed with 10.0 but to address it fully I think we need to get rid of addrindexrs
  • @uanbtc ↶ Reply to #9941 #9953 11:50 PM, 19 Mar 2024
    Have not been able to get addressindxrs to work…

    First got these 2 errors:

    Error: An unknown argument '--indexer-rpc-host=0.0.0.0' was specified.

    Error: An unknown argument '--daemon-rpc-host=0.0.0.0' was specified.

    Both which I commented out to get the container to stay up. But now I see:

    WARN - failed to connect daemon at 127.0.0.1:8332: Connection refused (os error 111)
  • @XJA77 #9954 11:50 PM, 19 Mar 2024
    Mine is still syncing bitcoind
  • @uanbtc #9955 11:51 PM, 19 Mar 2024
    Cool then you’ll get here very soon…
  • @XJA77 #9956 11:52 PM, 19 Mar 2024
    Okey cool
  • 20 March 2024 (82 messages)
  • @teysol #9957 12:33 AM, 20 Mar 2024
    @uanbtc are you using addrindexrs v0.4.3?

    adam@api4:~$ ~/addrindexrs/target/release/addrindexrs --indexer-rpc-host=foobar
    Error: Failed to parse argument '--indexer-rpc-host': invalid IPv4 address syntax.

    Hint: the value must be a version 4 IP address.
    adam@api4:~$
  • @teysol #9958 12:33 AM, 20 Mar 2024
    works for me on multiple machines
  • @XJA77 #9959 12:59 AM, 20 Mar 2024
    WARN - failed to connect daemon at 0.0.0.0:8332: Connection refused (os error 111)
  • @XJA77 #9960 01:00 AM, 20 Mar 2024
    same error here
  • @uanbtc ↶ Reply to #9957 #9961 01:06 AM, 20 Mar 2024
    How? -version and alternatives don’t work…
  • @uanbtc #9962 01:07 AM, 20 Mar 2024
    Last commit Jan 29
  • @uanbtc #9963 01:07 AM, 20 Mar 2024
    I see the docker image was updated yesterday
  • @teysol ↶ Reply to #9962 #9964 01:08 AM, 20 Mar 2024
    ah yep that's an old version
  • @teysol #9965 01:08 AM, 20 Mar 2024
    if you're using docker, use the new image
  • @XJA77 ↶ Reply to #9965 #9966 01:09 AM, 20 Mar 2024
    what is the new image?
  • @XJA77 #9967 01:09 AM, 20 Mar 2024
    just realized i was on master
  • @teysol #9968 01:09 AM, 20 Mar 2024
    you can just do docker pull counterparty/addrindexrs
  • @teysol #9969 01:10 AM, 20 Mar 2024
    the new addrindexrs is (now) on master
  • @XJA77 #9970 01:10 AM, 20 Mar 2024
    yes but i mean i was on counterparty-core master
  • @teysol #9971 01:10 AM, 20 Mar 2024
    ah
  • @teysol #9972 01:10 AM, 20 Mar 2024
    I mean counterparty-core on master is at v10.0.0-alpha
  • @uanbtc ↶ Reply to #9959 #9973 01:18 AM, 20 Mar 2024
    Same here now, with 0.0.0.0
  • @uanbtc #9974 01:18 AM, 20 Mar 2024
    WARN - failed to connect daemon at 0.0.0.0:8332: Connection refused (os error 111)
  • @XJA77 #9975 01:19 AM, 20 Mar 2024
    I fucked it lol syncing again bitcoind
  • @XJA77 #9976 01:19 AM, 20 Mar 2024
    Jejeje
  • @uanbtc ↶ Reply to #9968 #9977 01:19 AM, 20 Mar 2024
    After doing this
  • @teysol #9978 01:26 AM, 20 Mar 2024
    ach yeah I can't wait till we can kill addrindexrs
  • @teysol ↶ Reply to #9974 #9979 02:51 AM, 20 Mar 2024
    the "daemon" is bitcoind I think? so it should be 127.0.0.1
  • @teysol #9980 02:52 AM, 20 Mar 2024
    the naming is bad ofc
  • @uanbtc ↶ Reply to #9979 #9981 04:15 AM, 20 Mar 2024
    WARN - failed to connect daemon at 127.0.0.1:8332: Connection refused (os error 111)
  • @XJA77 #9982 05:42 AM, 20 Mar 2024
    Mmmm as you are connecting it inside docker
  • @XJA77 #9983 05:42 AM, 20 Mar 2024
    Maybe is nos 127.0.0.1
  • @XJA77 #9984 05:43 AM, 20 Mar 2024
    Mmmm Will need to do further checks, tomorrow will do some tests
  • @Jpcryptos ↶ Reply to #9974 #9985 11:42 AM, 20 Mar 2024
    Same here
  • @Jpcryptos #9986 11:42 AM, 20 Mar 2024
    addrindexrs_1 | WARN - failed to connect daemon at 0.0.0.0:8332: Connection refused (os error 111) · Issue #1536 · CounterpartyXCP/counterparty-core

    Describe the Problem while starting bitcoin node, addrs indexer cant connect addrindexrs_1 | WARN - failed to connect daemon at 0.0.0.0:8332: Connection refused (os error 111) after a certain time ...

  • @XJA77 #9987 12:51 PM, 20 Mar 2024
    Is not bitcoind-dir param available for counterparty-server on docker?
  • @XJA77 ↶ Reply to #9986 #9988 12:54 PM, 20 Mar 2024
    Because I think I solved this IP issue but I receive an error to use --bitcoind-dir param but when I add it to the list of commands in compose throws the usage error with this :
    counterparty-server: error: unrecognized arguments: --bitcoind-dir=
    /data/bitcoin
  • @XJA77 #9989 12:55 PM, 20 Mar 2024
    Sorry I don't have the previous error where it says to introduce the bitcoind-dir argument
  • @XJA77 #9990 12:56 PM, 20 Mar 2024
    I'm modifying the compose.yml in my own to make it work will share when I have it
  • @XJA77 #9991 01:00 PM, 20 Mar 2024
    I'm trying to do it with kickstart I'm pretty sure that just changing the IP to your own works in start, I need to try with machine hostname as should work too
  • @6370143984 #9992 02:04 PM, 20 Mar 2024
    @XJA77 bitcoind-dir argument works for me.
  • @6370143984 #9993 02:05 PM, 20 Mar 2024
    ~/c/c/counterparty-lib (master)> counterparty-server kickstart --bitcoind-dir ~/.bitcoin/
    Running v10.0.0-alpha of Counterparty Core.
    Writing log to file: `/home//.cache/counterparty/log/server.log`
    ------------------------------ kickstart ------------------------------
  • @XJA77 #9994 02:13 PM, 20 Mar 2024
    Mmmm mayby i need to use the .bitcoin
  • @XJA77 #9995 02:13 PM, 20 Mar 2024
    Maybe I'm using wrong the argument
  • @6370143984 #9996 02:15 PM, 20 Mar 2024
    are you sure you're putting it after kickstart, not before?
  • @XJA77 #9997 02:24 PM, 20 Mar 2024
    Nope o was putting it before
  • @XJA77 #9998 02:25 PM, 20 Mar 2024
    That's the issue then
  • @6370143984 #9999 02:26 PM, 20 Mar 2024
    👍awesome
  • @XJA77 #10000 02:27 PM, 20 Mar 2024
    Will check it
  • @ABlue0ne #10001 02:27 PM, 20 Mar 2024
    Linux aliases make life easier
  • @Jpcryptos ouziel just pushed a fix to develop, please lmk whether it's solved for you!
  • @XJA77 #10003 03:05 PM, 20 Mar 2024
    adding it after i get this error:
    [2024-03-20 15:03:46][INFO] Running v9.61.1 of counterparty-lib.
    [2024-03-20 15:03:46][INFO] Acquiring lock.
    [2024-03-20 15:03:46][INFO] Connecting to database (SQLite 3.24.0-r1).
    [2024-03-20 15:03:46][WARNING] Warning:
    - Ensure that bitcoind is stopped.
    - You must reindex bitcoind after the initialization is complete (restart with `-reindex=1`)
    - The initialization may take a while.
    [2024-03-20 15:03:46][ERROR] Unhandled Exception
    Traceback (most recent call last):
    File "/root/miniconda3/envs/xcp/bin/counterparty-server", line 33, in <module>
    sys.exit(load_entry_point('counterparty-cli==1.1.5', 'console_scripts', 'counterparty-server')())
    File "/root/miniconda3/envs/xcp/lib/python3.6/site-packages/counterpartycli/__init__.py", line 16, in server_main
    server.main()
    File "/root/miniconda3/envs/xcp/lib/python3.6/site-packages/counterpartycli/server.py", line 169, in main
    server.kickstart(db, bitcoind_dir=args.bitcoind_dir)
    File "/root/miniconda3/envs/xcp/lib/python3.6/site-packages/counterparty_lib-9.61.1-py3.6.egg/counterpartylib/server.py", line 503, in kickstart
    blocks.kickstart(db, bitcoind_dir=bitcoind_dir)
    File "/root/miniconda3/envs/xcp/lib/python3.6/site-packages/counterparty_lib-9.61.1-py3.6.egg/counterpartylib/lib/blocks.py", line 1232, in kickstart
    if input('Proceed with the initialization? (y/N) : ') != 'y':
    EOFError: EOF when reading a line
    Proceed with the initialization? (y/N)
  • @XJA77 #10004 03:05 PM, 20 Mar 2024
    looks like require some user interaction?
  • @6370143984 #10005 03:05 PM, 20 Mar 2024
    lol that's a new Traceback...
  • @XJA77 #10006 03:06 PM, 20 Mar 2024
    no way to bypass it? tried with —y but no
  • @6370143984 #10007 03:06 PM, 20 Mar 2024
    but in order to start you don't have to say 'y'
  • @6370143984 #10008 03:06 PM, 20 Mar 2024
    checking...
  • @XJA77 #10009 03:06 PM, 20 Mar 2024
    is kickstart
  • @6370143984 #10010 03:06 PM, 20 Mar 2024
    you're saying that if you let it proceed it fails?
  • @6370143984 #10011 03:06 PM, 20 Mar 2024
    the traceback is ugly but not sure I understand what's blocking you
  • @XJA77 #10012 03:06 PM, 20 Mar 2024
    is inside a docker so i dont have this access
  • @XJA77 #10013 03:07 PM, 20 Mar 2024
    i can do it interactive
  • @XJA77 #10014 03:07 PM, 20 Mar 2024
    but is not ideal
  • @6370143984 #10015 03:07 PM, 20 Mar 2024
    ah that's a good point!
  • @6370143984 #10016 03:07 PM, 20 Mar 2024
    okay that sounds fixable.
  • @XJA77 #10017 03:08 PM, 20 Mar 2024
    cannot run it in interactive to accept
  • @6370143984 #10018 03:08 PM, 20 Mar 2024
    yep, we should just add a -y flag
  • @6370143984 #10019 03:08 PM, 20 Mar 2024
    thanks for bringing that up @XJA77 !
  • @6370143984 #10020 03:09 PM, 20 Mar 2024
    @XJA77 TIL you can use --force to make it non-interactive
  • @6370143984 #10021 03:09 PM, 20 Mar 2024
    so you should be good tog o.
  • @XJA77 #10022 03:09 PM, 20 Mar 2024
    so just —force
  • @XJA77 #10023 03:09 PM, 20 Mar 2024
    will check
  • @6370143984 #10024 03:09 PM, 20 Mar 2024
    yep, not sure if it needs to go before or after. lmk!
  • @XJA77 #10025 03:11 PM, 20 Mar 2024
    no works neither
  • @XJA77 #10026 03:12 PM, 20 Mar 2024
    is before
  • @XJA77 #10027 03:12 PM, 20 Mar 2024
    but no works same traceback
  • @adammcbride #10028 03:32 PM, 20 Mar 2024
    Emblem Vault (@EmblemVault) on X

    https://t.co/xpFyhUBjst

  • @6370143984 #10029 03:33 PM, 20 Mar 2024
    @teysol is in
  • @ABlue0ne #10030 04:21 PM, 20 Mar 2024
    @teysol listening to the space, if you see this and want to talk about it, would you please talk about the patents? The process, details, thoughts, reasoning etc.
  • @6370143984 #10031 04:21 PM, 20 Mar 2024
    FYI for anyone who wants to send Ouziel (who's been working like a madman) a tip, he has a donation address in his GH profile: https://github.com/ouziel-slama
    ouziel-slama - Overview

    1C3uGcoSGzKVgFqyZ3kM2DBq9CYttTMAVs. ouziel-slama has 32 repositories available. Follow their code on GitHub.

  • @XJA77 ↶ Reply to #10030 #10032 04:32 PM, 20 Mar 2024
    what patents?
  • @teysol ↶ Reply to #9985 #10033 05:03 PM, 20 Mar 2024
    okay this was a bug specifically with the Docker deployment! Ouziel just fixed it, but the fix also requires a new addrindexrs Docker image. he's releasing that now
  • @XJA77 ↶ Reply to #10033 #10034 05:04 PM, 20 Mar 2024
    should i be using development branch then? or master should work?
  • @teysol #10035 05:11 PM, 20 Mar 2024
    I think we're gonna make a beta release including this fix (and others)
  • @uanbtc #10036 05:39 PM, 20 Mar 2024
    I’ll be waiting for the release before trying again
  • Me too
  • @6370143984 #10038 08:37 PM, 20 Mar 2024
    v10.0.0-beta.1 is out (https://github.com/CounterpartyXCP/counterparty-core/releases/tag/v10.0.0-beta.1)

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

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

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

  • 21 March 2024 (37 messages)
  • @Jpcryptos #10039 03:54 PM, 21 Mar 2024
    awesome just one thing
  • @Jpcryptos #10040 03:54 PM, 21 Mar 2024
    we need to version the dockerfile
  • @Jpcryptos #10041 03:55 PM, 21 Mar 2024
    So when there is a new change, the docker image is rebuilt with the new changes
  • @teysol #10042 03:57 PM, 21 Mar 2024
    @Jpcryptos what do you mean?
  • @Jpcryptos #10043 04:42 PM, 21 Mar 2024
    when you do a git pull from the repo and.

    docker-compose -f simplenode/compose.yml up

    docker just execute
    https://github.com/CounterpartyXCP/counterparty-core/blob/master/simplenode/compose.yml

    but the version is still 3, So if you have the image already installed docker does not rebuild it... so if there has been a change in any repo parent, it may not be reflected. it happened to me and I had to do docker prune to delete all the images and rebuild again.
    counterparty-core/simplenode/compose.yml at master · CounterpartyXCP/counterparty-core

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

  • @Jpcryptos #10044 04:43 PM, 21 Mar 2024
    A worked this time perfect.
  • @Jpcryptos #10045 04:46 PM, 21 Mar 2024
    but I don't know if changing the version will remove the volumes, and also the bitcoin node synchronization will be lost.
  • @XJA77 #10046 05:00 PM, 21 Mar 2024
    I'm using the --build flag
  • @XJA77 #10047 05:00 PM, 21 Mar 2024
    But I think still not pulls the docker images
  • @XJA77 #10048 05:00 PM, 21 Mar 2024
    Maybe adding version explicit in the docker images
  • @Jpcryptos #10049 05:02 PM, 21 Mar 2024
    Change the version to 3.1 and try it.
  • @XJA77 #10050 05:12 PM, 21 Mar 2024
    another question, what is a good reference now to check consensus hashes?
    im getting this: Block: 304812 (0.19, hashes: L:bf519 / TX:02701 / M:664d1) but xcp dev showing this
  • @teysol #10052 05:18 PM, 21 Mar 2024
    Version 3 refers to the version of the Docker Compose syntax, I think...
  • @ABlue0ne #10053 05:19 PM, 21 Mar 2024
    FWIW I’m team anti-docker. Carry on.
  • @XJA77 ↶ Reply to #10052 #10054 05:19 PM, 21 Mar 2024
    this is my understanding too, but i think that explicit versions of the image solves this
  • @teysol #10055 05:21 PM, 21 Mar 2024
    hm I think you're right @XJA77
  • @teysol #10056 05:21 PM, 21 Mar 2024
    how to get docker-compose to use the latest image from repository

    I don't know what I'm doing wrong, but I simply cannot get docker-compose up to use the latest image from our registry without first removing the old containers from the system completely. It looks...

  • @teysol #10057 05:21 PM, 21 Mar 2024
    we should update the docs to include docker-compose pull
  • @XJA77 #10058 05:22 PM, 21 Mar 2024
    also maybe in docs add the -d flag in the up command is good
  • @teysol #10059 05:25 PM, 21 Mar 2024
    -d is just for --detach I think
  • @XJA77 #10060 05:25 PM, 21 Mar 2024
    Yes is for detach
  • @XJA77 #10061 05:26 PM, 21 Mar 2024
    I prefere normally do it detached and then run
    docker compose logs --follow
  • @uanbtc ↶ Reply to #10044 #10062 09:01 PM, 21 Mar 2024
    I’m now getting:

    Error: Failed to parse argument '--daemon-rpc-host': invalid IPv4 address syntax.

    Hint: the value must be a version 4 IP address.
  • @teysol #10063 09:08 PM, 21 Mar 2024
    ach hm this is with the Docker Compose?
  • @teysol #10064 09:08 PM, 21 Mar 2024
    we still don't have that in CI :/
  • @XJA77 #10065 09:08 PM, 21 Mar 2024
    I solved it
  • @XJA77 #10066 09:09 PM, 21 Mar 2024
    Needs the IP of your machine
  • @uanbtc ↶ Reply to #10066 #10067 09:13 PM, 21 Mar 2024
    Set inside the docker compose?

    --daemon-rpc-host=<my-ip>
  • @XJA77 ↶ Reply to #10067 #10068 09:15 PM, 21 Mar 2024
    Yea
  • @XJA77 #10069 09:15 PM, 21 Mar 2024
    Instead of bitcoind
  • @uanbtc #10070 09:27 PM, 21 Mar 2024
    The container now stays up, but still not connecting. Anyway it should be connecting through the ‘bitcoind’ host so something seems to still be broken… or I’m doing something wrong
  • @teysol #10071 09:59 PM, 21 Mar 2024
    yeah so Docker uses hostnames to link multiple containers together
  • @teysol #10072 10:00 PM, 21 Mar 2024
    looks like the type-checking in AddrIndexRs doesn't like that—it's expecting an IPv4 address
  • @teysol #10073 10:02 PM, 21 Mar 2024
    looking into it 👌
  • @teysol #10074 10:03 PM, 21 Mar 2024
    (and tests that are being written right now will catch this kind of problem in the future) cf. https://github.com/CounterpartyXCP/counterparty-core/issues/1533
    Test Docker Compose in CI · Issue #1533 · CounterpartyXCP/counterparty-core

    just save + load the Bitcoin + AddrIndexRs testnet DBs and run with --catch-up=bootstrap? will test that everything is wired up correctly

  • Same... after 0.4% bitcoin sync
  • 22 March 2024 (12 messages)
  • @teysol #10076 01:45 AM, 22 Mar 2024
    yep, it's a bug in the Docker deployment :/ should have it fixed by EOD tomorrow / early Saturday
  • @teysol #10077 02:12 AM, 22 Mar 2024
    @uanbtc @Jpcryptos what version of addrindexrs are you running? did you do docker-compose pull after upgrading?
  • @herpenstein #10079 04:34 PM, 22 Mar 2024
    Im looking through the api trying to figure out the entire dex flow.

    I see how to create an order and how to cancel an order, but how do i execute an open order? Do I create another order with the opposite give/get?
  • @herpenstein #10080 04:34 PM, 22 Mar 2024
    I feel like I’m missing something very simple
  • yep you just create another order that will satisfy an existing one
  • @hodlencoinfield #10082 04:39 PM, 22 Mar 2024
    the order matching itself happens in the protocol
  • @herpenstein #10083 04:41 PM, 22 Mar 2024
    Kk thanks. Appreciate it
  • @herpenstein #10084 04:42 PM, 22 Mar 2024
    Spent 10 minutes trying to find « execute » or something similar
  • @uanbtc ↶ Reply to #10077 #10085 06:29 PM, 22 Mar 2024
    This did it! Indexing now, thank you
  • @uanbtc ↶ Reply to #10082 #10086 06:36 PM, 22 Mar 2024
    @herpenstein this happens in the order_matches table. You can see how xcpdev uses it:

    https://github.com/CNTRPRTY/xcpdev-genesis/blob/d5bf3676f196e557fa006c3d2aec3795de828af8/server/express_server/src/index.js#L394
  • @uanbtc ↶ Reply to #10057 #10087 06:38 PM, 22 Mar 2024
    Yeah because this command becomes necessary any time the docker images get updated, right?
  • @teysol #10088 10:44 PM, 22 Mar 2024
    actually we changed it to have the docker image versions pegged in the compose file so now that's not necessary
  • 23 March 2024 (14 messages)
  • Thank you ser, appreciate it. I was derping pretty hard this afternoon
  • @B0BSmith #10090 12:04 PM, 23 Mar 2024
    rather than escrowing tokens to utxos for use in psbts when utxos can then be spent without moving the token causing the need for 'lost token' recovery mechanism, a preferable method may be to use chamian ecash tokens rather than utxos
  • @hodlencoinfield #10091 01:19 PM, 23 Mar 2024
    Utxos will need to be tracked during the binding process so spending them should simply result in an asset send, so I don’t see why there would be any type of ‘lost token’ recovery mechanism
  • @Jpcryptos #10092 02:10 PM, 23 Mar 2024
    when encodign the enchance_send , should the utxo input for rc4 be the txid of the previous enchance send ? or should it be the txid of the op return transaction ?
  • @B0BSmith ↶ Reply to #10091 #10093 02:31 PM, 23 Mar 2024
    should .. yes .. but what happens when a utxo is spent but the token is not sent? e.g. private key used in a wallet that is unaware of Counterparty, the token is tied to a utxo that then no longer exists ? unless of course part of the binding spec is for token to be returned from escrow in the event the utxo is spent and the token is not sent
  • @hodlencoinfield #10094 02:46 PM, 23 Mar 2024
    The token is sent regardless
  • @hodlencoinfield #10095 02:47 PM, 23 Mar 2024
    It’s no different than colored coins in that respect, if you accidentally spend the utxo then you accidentally send the token
  • @B0BSmith #10096 02:55 PM, 23 Mar 2024
    that makes the most sense, hopefully the utxos are spent to counterparty compatible addresses and in time counterparty supports all addresses.
  • @ABlue0ne #10097 02:57 PM, 23 Mar 2024
    Would the psbt tied to UTXO model allow double spend? Pre sign one tx and spend the UtXO with another tx. Unless multiple transactions are stacked and using BTC script wisely.
  • That’s not a double spend
  • @uanbtc ↶ Reply to #10085 #10099 05:52 PM, 23 Mar 2024
    Starting counterparty sync now…
  • @6370143984 #10100 05:57 PM, 23 Mar 2024
    super excited to hear how it goes, Juan!
  • @uanbtc #10101 06:05 PM, 23 Mar 2024
    Yea me too. Starting well many blocks less than 0.05s
  • @ABlue0ne ↶ Reply to #10098 #10102 06:49 PM, 23 Mar 2024
    I didn’t know what else to call it but yeah. I guess it doesn’t matter.
  • 26 March 2024 (57 messages)
  • @XJA77 #10103 09:56 AM, 26 Mar 2024
    hello, still syncing, but im getting some missmatches in the messages hash
    717190 (3.33, hashes: L:bb9dc / TX:b160e / M:864c4)
  • @XJA77 #10104 09:58 AM, 26 Mar 2024
    anyway looks much more faster than before, im using no bootstrap to catch up and in 4 days im at block 717kish
  • so messages hash is not a consensus thing. not sure if this should be filed @teysol
  • I am glad even start is faster! kickstart is pretty reliably less than a day.
  • @6370143984 #10107 10:02 AM, 26 Mar 2024
    FYI getting these after 819300: https://github.com/CounterpartyXCP/counterparty-core/issues/1553

    appears to be an addrindexrs non-determinism :/.
    Consensus Hash Mismatch at Block 823000 · Issue #1553 · CounterpartyXCP/counterparty-core

    Describe the Problem While running counterparty-server start I hit a consensus hash mismatch at block 823000. The same hash was calculated for 823000 on two separate occasions, having rolled back f...

  • @XJA77 ↶ Reply to #10106 #10108 10:03 AM, 26 Mar 2024
    imposible to make it work on docker despite i tried :(
  • @XJA77 ↶ Reply to #10106 #10109 10:04 AM, 26 Mar 2024
    but yea looks much faster now :D
  • @6370143984 #10110 10:04 AM, 26 Mar 2024
    I believe kickstart will be mooted with v11 anyway! so start will be fast, too.
  • @teysol ↶ Reply to #10105 #10111 12:06 PM, 26 Mar 2024
    It's a belt-and-suspenders thing.
  • @teysol ↶ Reply to #10103 #10112 12:06 PM, 26 Mar 2024
    what mismatches are you getting?
  • @XJA77 ↶ Reply to #10112 #10113 12:11 PM, 26 Mar 2024
    Mismatches in messages hash
  • @teysol #10114 12:11 PM, 26 Mar 2024
    yeah, please post screenshots and logs (to GitHub)
  • @XJA77 #10115 12:28 PM, 26 Mar 2024
    Not at home so will be hard during some days
  • @XJA77 #10116 12:28 PM, 26 Mar 2024
    Just connected to check progress through ssh at mobile
  • @6370143984 #10117 02:33 PM, 26 Mar 2024
    Are subassets tradeable?
  • @XJA77 ↶ Reply to #10117 #10118 02:51 PM, 26 Mar 2024
    Yes
  • @6370143984 #10119 02:51 PM, 26 Mar 2024
    cool, ty!
  • @uanbtc ↶ Reply to #10104 #10120 04:38 PM, 26 Mar 2024
    I’m at 481500, almost 3 days after so not as fast. But I’m using a lower spec machine than you I think.

    The messages are mismatching from the beginning. There are schema changes in tables like credits and debits that are used from the start…
  • @6370143984 #10121 04:38 PM, 26 Mar 2024
    @uanbtc you're using start yeah?
  • @uanbtc #10122 04:39 PM, 26 Mar 2024
    If that is what is used in straight simplenode, then yes
  • @6370143984 #10123 04:39 PM, 26 Mar 2024
    got it. yeah, that'll be fast with v11, when addrindexrs is killed
  • @XJA77 ↶ Reply to #10120 #10124 04:49 PM, 26 Mar 2024
    Has worked for you the start with bootstrap?
  • @XJA77 #10125 04:50 PM, 26 Mar 2024
    For me was supposed to be with bootstrap but started no bootstrap
  • @uanbtc #10126 05:04 PM, 26 Mar 2024
    I haven’t modified anything. I hope I’m not using the bootstrap… I think the new default is without bootstrap? @teysol Periwig
  • @herpenstein #10127 05:05 PM, 26 Mar 2024
    @uanbtc what are your specs?
  • @teysol #10128 05:05 PM, 26 Mar 2024
    the new default is definitely without bootstrap
  • @uanbtc #10129 05:05 PM, 26 Mar 2024
    Ec2.large. 8GB ram and 1TB ssd
  • @herpenstein #10130 05:06 PM, 26 Mar 2024
    Is the cpu the bottleneck?
  • @teysol #10132 05:06 PM, 26 Mar 2024
    I run everything on a 2-core machine
  • @herpenstein #10133 05:06 PM, 26 Mar 2024
    @XJA77 what’s your machine specs?
  • @uanbtc ↶ Reply to #10130 #10134 05:08 PM, 26 Mar 2024
    Yes. Not using the full ram but yes 100% of cpu
  • How much ram are you using?
  • @6370143984 #10136 05:10 PM, 26 Mar 2024
    my ram usage has been de minimis
  • @herpenstein #10137 05:10 PM, 26 Mar 2024
    Sorry for the 50 questions. Trying to figure out my future setup
  • @6370143984 #10138 05:11 PM, 26 Mar 2024
    i've got super boring specs: 5 core i7 8gb ram 24gb swap. ram is really unaffected
  • @6370143984 #10139 05:12 PM, 26 Mar 2024
    some of my cpus definitely are just chilling while I run kickstart
  • @6370143984 #10140 05:12 PM, 26 Mar 2024
    hardware reqs are really quite light. @teysol's sync speed with 3x mine with his M2 though
  • @teysol #10141 05:12 PM, 26 Mar 2024
    I've specced with 12GB of RAM
  • @herpenstein #10142 05:14 PM, 26 Mar 2024
    Im considering throwing up one of the smaller ec2 instances to see what the lower limit is
  • @herpenstein #10143 05:14 PM, 26 Mar 2024
    Otherwise I think I have a 2gb pi somewhere
  • @teysol #10144 05:14 PM, 26 Mar 2024
    yeah it'll also change a bit once we get rid of addrindexrs
  • @teysol #10145 05:15 PM, 26 Mar 2024
    and we haven't done any profiling of counterparty server memory usage
  • @teysol #10146 05:16 PM, 26 Mar 2024
    it's also managable with these ugly CLI args like --max-queue-size etc.
  • @uanbtc ↶ Reply to #10135 #10147 05:23 PM, 26 Mar 2024
    2GB still available of the 8
  • @XJA77 ↶ Reply to #9946 #10148 06:53 PM, 26 Mar 2024
    I have this one the big one and works perfect and cheap
  • @uanbtc ↶ Reply to #10148 #10149 07:05 PM, 26 Mar 2024
    Yeah is crazy how cheap it is! I might try it eventually
  • @XJA77 #10150 07:07 PM, 26 Mar 2024
    Works good
  • @XJA77 #10151 07:07 PM, 26 Mar 2024
    Not as automatic as aws stuff but...
  • @PowerHODL17 #10152 08:56 PM, 26 Mar 2024
    Hey guys, is there a way to use xcp.dev with the dex?
  • @uanbtc ↶ Reply to #10152 #10153 09:10 PM, 26 Mar 2024
    What do you mean specifically? Currently you can access all market data based on the asset page. And the address page shows dispensers also.

    In the wallet, order transactions (and creating dispensers) are not yet available… but i could work on it…
  • @ABlue0ne ↶ Reply to #10144 #10154 10:17 PM, 26 Mar 2024
    FYI I’m currently battling manual install on newest Debian LTS.

    I caught dependency problems with addrindexrs for cc complier and clang while installing addrindexrs but they didnt stop me. Slight hickup with librocksdb. I manually handled the dependencies and moved on to next step.

    More install notes to follow. Any input welcome.
  • @robotlovecoffee #10155 11:11 PM, 26 Mar 2024
    I would love to know the best, affordable specs for running a node as I will want to run on in the cloud and also will be looking to have a local running.
  • @robotlovecoffee #10156 11:12 PM, 26 Mar 2024
    AWS is not cheap but easy to stand up, ideally I would just find a cheaper dedicated cloud server
  • @XJA77 ↶ Reply to #9946 #10157 11:13 PM, 26 Mar 2024
    I'm running it here and works good, also I have one setup in local with a Ryzen and 16gb ram 2tb ssd
  • @XJA77 #10158 11:13 PM, 26 Mar 2024
    And works good too
  • @teysol #10159 11:21 PM, 26 Mar 2024
    yeah the specs you need today will just be higher than in a month or two
  • Yeah order transactions as far as i know are so far limited to FreeWallet
  • 27 March 2024 (35 messages)
  • @uanbtc ↶ Reply to #10160 #10161 12:12 AM, 27 Mar 2024
    I’ll have it in mind, good to know you are interested
  • @uanbtc ↶ Reply to #10159 #10162 12:13 AM, 27 Mar 2024
    What do you anticipate will require higher specs?
  • Yeah FreeWallets monopoly is pretty lame
  • @PowerHODL17 #10164 01:06 AM, 27 Mar 2024
    Nothing against FreeWallet tho
  • @PowerHODL17 #10165 01:06 AM, 27 Mar 2024
    (I see you @ChiefSamyaza)
  • @PowerHODL17 #10166 01:06 AM, 27 Mar 2024
    Kek
  • I have a 34 core AMD 256gb ram and 3TB, full synced with boostrap
  • @uanbtc ↶ Reply to #10167 #10172 02:17 AM, 27 Mar 2024
    Lol do it without bootstrap, curious to see how long it takes in such a beast
  • @teysol ↶ Reply to #10162 #10173 02:40 AM, 27 Mar 2024
    I'm saying it'll be lower in the future
  • @uanbtc ↶ Reply to #10173 #10174 02:56 AM, 27 Mar 2024
    Oh right I misread, cool!
  • @ABlue0ne #10175 03:48 PM, 27 Mar 2024
    Where do I tell addrindexrs that my blocks are in a different directory vs the default config?

    I received an error initially where adrs was looking for blocks in the wrong directory, I made a change to daemon-dir in addrindexrs.toml and now adrs is erroring out with ‘IO error while lock file .db/mainnet/LOCK Resource temporarily unavailable. Any thoughts? Wait until v11?
  • @6370143984 #10176 03:50 PM, 27 Mar 2024
    pass the --db-dir arg to addrindexrs
  • @6370143984 #10177 03:52 PM, 27 Mar 2024
    so addrindexrs -vvv --cookie=$RPCUSER:$RPCPASSWORD --db-dir=/path/to/db-dir
  • @6370143984 #10178 03:52 PM, 27 Mar 2024
    you can find $RPCUSER and $RPCPASSWORD in your bitcoin.conf
  • @ABlue0ne ↶ Reply to #10177 #10179 03:54 PM, 27 Mar 2024
    No instant error there.
  • @ABlue0ne #10180 03:54 PM, 27 Mar 2024
    Indexing blocks
  • @6370143984 #10181 03:54 PM, 27 Mar 2024
    there ya go
  • @6370143984 #10182 03:55 PM, 27 Mar 2024
    lmk if you hit any issues
  • @ABlue0ne #10183 03:55 PM, 27 Mar 2024
    Now wait 3 days?
  • @6370143984 #10184 03:55 PM, 27 Mar 2024
    hm
  • @6370143984 #10185 03:55 PM, 27 Mar 2024
    no
  • @6370143984 #10186 03:55 PM, 27 Mar 2024
    addrindexrs will take some number of hours to finish indexing
  • @6370143984 #10187 03:56 PM, 27 Mar 2024
    after that if you're running directly on the host (which I guess you are) you:
    1. stop bitcoind
    2. run counterparty-server kickstart
    3. wait 8-24hrs
  • wanna reiterate that this non-determinism surfaces after block 819300
  • @6370143984 #10189 03:59 PM, 27 Mar 2024
    if you get a consensus hash mismatch:
    1.rollback to the last checkpoint (there's one at least every thousand blocks after 819300)
    2. start bitcoind again
    3. run counterparty-server start
  • @ABlue0ne ↶ Reply to #10188 #10190 04:15 PM, 27 Mar 2024
    Is this an always thing or some times thing?

    Let me know if you want help trying to find the root cause.

    I’m all caught up except for git clone/install of counterparty. Is there a new release coming soon you want me to test? Master branch or develop? I can wait to install counterparty if it makes sense.
  • @ABlue0ne #10191 04:16 PM, 27 Mar 2024
    I’m going to take a snapshot and backup now anyways.
  • @6370143984 #10192 04:17 PM, 27 Mar 2024
    i think everyone who wants to help test should run the latest release. thank you!
  • @6370143984 #10193 04:17 PM, 27 Mar 2024
    >Is this an always thing or some times thing?

    It's a non-determinism so it's a sometimes thing
  • @6370143984 #10194 04:18 PM, 27 Mar 2024
    it's entirely possible you won't run into the issue, but I hit it 4(?) times after 819300
  • Tags · CounterpartyXCP/counterparty-core

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

  • @ABlue0ne #10196 04:57 PM, 27 Mar 2024
    For the releases notes/readme. Debian 12 Bookworm LTS required pipx to install maturin. Also required clang and a c compiler to install addrindexrs. Apt install build-essential helps with dependencies in debian.
  • @ffmad #10197 05:53 PM, 27 Mar 2024
    Joined.
  • @6370143984 #10198 05:54 PM, 27 Mar 2024
    Hi @ffmad !
  • @ffmad #10199 06:03 PM, 27 Mar 2024
    Hey 👋
  • 28 March 2024 (151 messages)
  • @6370143984 #10200 01:18 AM, 28 Mar 2024
    @uanbtc did your node sync?
  • @uanbtc #10201 01:38 AM, 28 Mar 2024
    No is still in the 500k
  • @6370143984 #10202 01:56 AM, 28 Mar 2024
    hm. how long has it been running?
  • @uanbtc ↶ Reply to #10099 #10203 02:03 AM, 28 Mar 2024
    4 days
  • @6370143984 #10204 02:04 AM, 28 Mar 2024
    hm same as @ffmad who said he was at block 717k this afternoon.
  • @uanbtc #10205 02:07 AM, 28 Mar 2024
    What specs?
  • @6370143984 #10206 02:07 AM, 28 Mar 2024
    yeah idk!
  • ah @XJA77 hbu?
  • @XJA77 #10209 11:01 AM, 28 Mar 2024
    I'm at 807kish
  • @XJA77 #10210 11:01 AM, 28 Mar 2024
    So much better lol
  • @ABlue0ne #10211 01:53 PM, 28 Mar 2024
    Addrindexrs - something went south overnight, not sure what.

    Nodes back up, addrindexrs says no more blocks to index, starting full compaction.

    How can I verify the state/status of addrindexrs before continuing? Would you like me to check anything for the good of the project?

    Some docs say to start adrs with —jsonrpc-import and others omit this options. Why/when/whats the difference?

    Thanks.
  • @6370143984 #10212 01:56 PM, 28 Mar 2024
    if it's starting compaction you'rec in the clear. takes hours though. there may be documentatiom bugs as I think Ouziel god rid of the need for those args. @teysol ?
  • @ABlue0ne #10213 02:09 PM, 28 Mar 2024
    Cool, no nondeterminism errors here. I am taking plenty of notes too, to help update docs later. My counterparty dev journey stalled two years ago due to the state of the protocol. Please share any good development related links or docs you have for counterparty. Or what links to NOT read.

    I guess I will wait for addressindexrs to compact before continuing with counterparty core.

    Whats the deal with the —jsonrpc option?
  • @ABlue0ne #10214 02:11 PM, 28 Mar 2024
    @teysol FWIW the install docs for addrindexrs say to ‘git clone’ a samourai wallet version but the counterparty core install
    Docs recommend git cloning from the counterpartyxcp repo. I have not compared the versions but this may be a cause of some problems.
  • @teysol #10215 02:26 PM, 28 Mar 2024
    yeah the counterparty docs are canonical
  • @teysol #10216 02:27 PM, 28 Mar 2024
    I'm not sure what the correct answer is, re: --json-rpc. I *think* it's not important, but AddIndexRs is absolutely terrible in general and we're killing it ASAP.
  • @uanbtc ↶ Reply to #10208 #10217 05:13 PM, 28 Mar 2024
    Ok yeah my test instance is less than a 1/4 of this machine lol. So it can make sense is taking 4x longer 🤓
  • @uanbtc ↶ Reply to #10213 #10218 05:14 PM, 28 Mar 2024
    Very nice you are doing the manual approach. And that you are taking notes to improve the docs. I want to do it manually eventually
  • @uanbtc #10219 05:22 PM, 28 Mar 2024
    @teysol Periwig mine is always showing “Blockchain cache miss”, is this expected?
  • @6370143984 #10220 05:31 PM, 28 Mar 2024
    I mean
  • @6370143984 #10221 05:31 PM, 28 Mar 2024
    it happens to me but not sure it's like a really awesome thing lol
  • @6370143984 #10222 05:32 PM, 28 Mar 2024
    seems harmless. a lot of the logs are not great and sometimes really scary.
  • @uanbtc #10223 05:38 PM, 28 Mar 2024
    From what I’ve seen it happens with every block
  • @6370143984 #10224 05:39 PM, 28 Mar 2024
    ah that hasn't been my exp
  • @teysol #10225 05:56 PM, 28 Mar 2024
    yeah that means something isn't working correctly (and it'll be slower than otherwise)
  • @uanbtc #10226 06:26 PM, 28 Mar 2024
    Should I debug? Is code dependent on the machine (cores, memory)?
  • @teysol #10227 06:45 PM, 28 Mar 2024
    thanks but it's all code that's getting thrown away in a couple of weeks
  • @ABlue0ne #10228 06:45 PM, 28 Mar 2024
    I’m headed towards a kickstart. Any suggestions?
  • @ABlue0ne #10229 06:51 PM, 28 Mar 2024
    Nevermind, pip and pipx are not playing along with debian as far as installing counterparty. I know I’m doing it the hardest way but thats fine by me. Any ideas to pip install counterparty on Debian before I get lost in my own research?
  • @ABlue0ne ↶ Reply to #10229 #10230 07:03 PM, 28 Mar 2024
    Debian externally managed environments needs

    pip3 install . —break-system-packages

    to install counterparty.
  • @ABlue0ne #10231 07:13 PM, 28 Mar 2024
    Kickstart = wrong addrindexrs. Needs 0.4.4 but I have 0.4.6
  • @ABlue0ne #10232 07:15 PM, 28 Mar 2024
    Note for install read me, the counterparty .config conf files are not made until after you run counterparty for the first time. I was looking for them before starting.
  • @uanbtc ↶ Reply to #10227 #10233 07:24 PM, 28 Mar 2024
    Is this because of the replacement of addressindrs? Like the block parsing logic will be refactored to integrate addressindrs responsibilities?
  • @ABlue0ne ↶ Reply to #10231 #10234 07:25 PM, 28 Mar 2024
    I changed my counterpartylib/config.py to check for 0.4.6

    Now different errors. I think I need to check the server.conf and client.conf for my setup
  • @ABlue0ne #10235 07:27 PM, 28 Mar 2024
    No errors with counterparty-server start but errors with kickstart.
  • @teysol ↶ Reply to #10233 #10236 07:34 PM, 28 Mar 2024
    yup
  • @ABlue0ne ↶ Reply to #10235 #10237 07:37 PM, 28 Mar 2024
    blue@blue:~/.config/counterparty$ counterparty-server kickstart
    Running v10.0.0-beta.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...
    Unhandled Exception
    Traceback (most recent call last):
      File "/home/blue/.local/lib/python3.11/site-packages/counterpartylib/lib/kickstart/blocks_parser.py", line 31, in open_leveldb
        return plyvel.DB(db_dir, create_if_missing=False, compression=None)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "plyvel/_plyvel.pyx", line 247, in plyvel._plyvel.DB.__init__
      File "plyvel/_plyvel.pyx", line 88, in plyvel._plyvel.raise_for_status
    plyvel._plyvel.IOError: b'IO error: lock /home/blue/.bitcoin/chainstate/LOCK: Resource temporarily unavailable'

    During handling of the above exception, another exception occurred:

    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 220, in main
        server.kickstart(
      File "/home/blue/.local/lib/python3.11/site-packages/counterpartylib/server.py", line 555, in kickstart
        kickstarter.run(
      File "/home/blue/.local/lib/python3.11/site-packages/counterpartylib/lib/kickstart/__init__.py", line 328, in run
        last_known_hash = get_last_known_block_hash(bitcoind_dir)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/home/blue/.local/lib/python3.11/site-packages/counterpartylib/lib/kickstart/__init__.py", line 146, in get_last_known_block_hash
        chain_parser = ChainstateParser(os.path.join(bitcoind_dir, 'chainstate'))
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/home/blue/.local/lib/python3.11/site-packages/counterpartylib/lib/kickstart/blocks_parser.py", line 334, in init
        self.ldb = open_leveldb(leveldb_dir)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/home/blue/.local/lib/python3.11/site-packages/counterpartylib/lib/kickstart/blocks_parser.py", line 34, in open_leveldb
        raise Exception("Ensure that bitcoind is stopped.")
    Exception: Ensure that bitcoind is stopped.
    blue@blue:~/.config/counterparty$ counterparty-server start
    [2024-03-28 15:32:34][INFO] Running v10.0.0-beta.1 of counterparty-lib.
    [2024-03-28 15:32:34][INFO] Running v10.0.0-beta.1 of counterparty-server.
    Running v10.0.0-beta.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
    ------------------------------ start ------------------------------

    [2024-03-28 15:32:34][INFO] Connecting to address indexer.
    ^C[2024-03-28 15:33:34][INFO] Received SIGINT.
    [2024-03-28 15:33:34][INFO] Stopping backend.
    [2024-03-28 15:33:34][WARNING] Killing address indexer connection thread.
    [2024-03-28 15:33:34][INFO] Shutting down.
    blue@blue:~/.config/counterparty$
  • @ABlue0ne #10238 07:37 PM, 28 Mar 2024
    I DID force the install by changing the lib to look for addrindexrs 0.4.6. So there is that. And I have 0.4.6 too.
  • @ABlue0ne #10239 07:39 PM, 28 Mar 2024
    Manual install. Debian LTS.
  • @teysol #10240 07:41 PM, 28 Mar 2024
    So we're testing everything in CI on Ubuntu latest
  • @teysol #10241 07:42 PM, 28 Mar 2024
    it Should Work(TM) out of the box with pip envs
  • @ABlue0ne #10242 07:43 PM, 28 Mar 2024
    Ubuntu is built on Debian. Debian is stripped down Ununtu, to a degree.
  • @ABlue0ne ↶ Reply to #10241 #10244 07:56 PM, 28 Mar 2024
    Installed ebbs. Still no go but different errors.
  • @ABlue0ne #10245 07:57 PM, 28 Mar 2024
    Start is working. Kickstart is not.
  • @ABlue0ne ↶ Reply to #10245 #10246 08:12 PM, 28 Mar 2024
    100 blocks in 22 seconds
  • @6370143984 #10247 08:12 PM, 28 Mar 2024
    wait
  • @6370143984 #10248 08:13 PM, 28 Mar 2024
    what is the error with kickstart?
  • @6370143984 #10249 08:13 PM, 28 Mar 2024
    that's really important.
  • @ABlue0ne #10250 08:13 PM, 28 Mar 2024
    Similar to above but different lines of code
  • @ABlue0ne #10251 08:14 PM, 28 Mar 2024
    I cant scroll up to see
  • @6370143984 #10252 08:14 PM, 28 Mar 2024
    can you kill start and run kickstart and post the error?
  • @ABlue0ne #10253 08:14 PM, 28 Mar 2024
    Let me check the log first
  • @ABlue0ne ↶ Reply to #10249 #10254 08:16 PM, 28 Mar 2024
    Important for proper function or development/testing? Just curious because start seems to be working fine.
  • @6370143984 #10255 08:17 PM, 28 Mar 2024
    it's important because kickstart is not only an official way to sync counterparty but by far the fastest
  • @6370143984 #10256 08:17 PM, 28 Mar 2024
    a ton of work went into optimizing it
  • @ABlue0ne #10257 08:22 PM, 28 Mar 2024
    Sorry. Same errors as above. It’s just hard to read and compare from phone, th, terminal etc.
  • @ABlue0ne ↶ Reply to #10252 #10258 08:22 PM, 28 Mar 2024
    A Blue One in Counterparty Developers

    blue@blue:~/.config/counterparty$ counterparty-server kickstart Running v10.0.0-beta.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... Unhandled Exception Traceback (most recent call last):   File "/home/blue/.local/lib/python3.11/site-packages/counterpartylib/lib/kickstart/blocks_parser.py", line 31, in open_leveldb     return plyvel.DB(db_dir, create_if_missing=False, compression=None)            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "ply…

  • @6370143984 #10259 08:22 PM, 28 Mar 2024
    did you kill bitcoind before running kickstart
  • @ABlue0ne #10260 08:22 PM, 28 Mar 2024
    Yes
  • @ABlue0ne #10261 08:23 PM, 28 Mar 2024
    My blocks are stored in a nonstandard directory fwiw
  • @6370143984 #10262 08:23 PM, 28 Mar 2024
    did you pass --bitcoind-dir?
  • @6370143984 #10263 08:23 PM, 28 Mar 2024
    to kickstart
  • @ABlue0ne #10264 08:23 PM, 28 Mar 2024
    Ok I lied
  • @ABlue0ne #10265 08:24 PM, 28 Mar 2024
    Bitcoind was running once, but still erroring when bitcoind stopped.
  • @6370143984 #10266 08:24 PM, 28 Mar 2024
    yep
  • @6370143984 #10267 08:24 PM, 28 Mar 2024
    bitcoind shutdown can be really slow and annoying
  • @ABlue0ne #10268 08:24 PM, 28 Mar 2024
    Forgot I rebooted once.
  • @ABlue0ne #10269 08:26 PM, 28 Mar 2024
    Short version is TypeError ’NoneType’ object is not subscriptable.
  • @6370143984 #10270 08:26 PM, 28 Mar 2024
    sorry, from what command?
  • @6370143984 #10271 08:26 PM, 28 Mar 2024
    Need the full traceback in order to debug
  • @ABlue0ne #10272 08:26 PM, 28 Mar 2024
    Kickstart
  • @ABlue0ne #10273 08:27 PM, 28 Mar 2024
    I know. One minute. Multiple layers of systems here.
  • @ABlue0ne ↶ Reply to #10271 #10274 08:29 PM, 28 Mar 2024
    blue@blue:~$ counterparty-server kickstart
    Running v10.0.0-beta.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 7 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 220, in main
        server.kickstart(
      File "/home/blue/.local/lib/python3.11/site-packages/counterpartylib/server.py", line 555, in kickstart
        kickstarter.run(
      File "/home/blue/.local/lib/python3.11/site-packages/counterpartylib/lib/kickstart/__init__.py", line 344, 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 176, 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
  • @ABlue0ne ↶ Reply to #10262 #10275 08:29 PM, 28 Mar 2024
    No
  • @6370143984 #10276 08:30 PM, 28 Mar 2024
    if your bitcoin blocks are not stored in the default location you have to pass --bitcoind-dir I think.
  • @6370143984 #10277 08:31 PM, 28 Mar 2024
    please give that a try and lmk if that solves the issue.
  • @ABlue0ne #10278 08:32 PM, 28 Mar 2024
    Blocks were processing with start
  • @6370143984 #10279 08:32 PM, 28 Mar 2024
    I understand but kickstart reads directly from the block files
  • @6370143984 #10280 08:33 PM, 28 Mar 2024
    rather than using the rpc interface
  • @ABlue0ne ↶ Reply to #10276 #10281 08:34 PM, 28 Mar 2024
    Same. But blocks are elsewhere. Is there a —blocks-db-dir option?
  • @ABlue0ne #10282 08:35 PM, 28 Mar 2024
    Or in a conf file for continuity later?
  • @6370143984 #10283 08:35 PM, 28 Mar 2024
    sorry not sure I follow, are you asking if there's a config file for counterparty where you can set the bitcoind-dir?
  • @ABlue0ne ↶ Reply to #10283 #10284 08:36 PM, 28 Mar 2024
    Bitcoind and blocks are on different mount points
  • @6370143984 #10285 08:38 PM, 28 Mar 2024
    if you pass the path to blocks directory to --bitcoind-dir does kickstart still fail?
  • @ABlue0ne #10286 08:38 PM, 28 Mar 2024
    /home/blue/.bitcoin for butcoind

    /mnt/sda/blocks for chain data
  • @6370143984 #10287 08:39 PM, 28 Mar 2024
    oh sure /home/blue/.bitcoin is just your bitcoin.conf right
  • @6370143984 #10288 08:39 PM, 28 Mar 2024
    please try: counterparty-server kickstart --bitcoind-dir=/mnt/sda/blocks
  • @ABlue0ne #10289 08:41 PM, 28 Mar 2024
    No go. Different errors.
  • (I just restarted kickstart and parsed 4000 blocks in 1min30secs
  • @ABlue0ne #10291 08:41 PM, 28 Mar 2024
    It seems like something is expecting a standard install. Looking for blocks and chainstate in same dir
  • @ABlue0ne #10292 08:42 PM, 28 Mar 2024
    Treating bitcoind-dir the same as blocks-dir or something like that
  • @6370143984 #10293 08:43 PM, 28 Mar 2024
    will get back to you asap. i haven't tried a setup like yours before
  • @ABlue0ne #10294 08:44 PM, 28 Mar 2024
    /Chainstate stays in .bitcoin. /Blocks are stored on a different hdd for future proofing and making life difficult.
  • @6370143984 #10295 08:45 PM, 28 Mar 2024
    yeah okay this is a setup that may not be supported atm. good find!
  • @ABlue0ne ↶ Reply to #10295 #10296 08:46 PM, 28 Mar 2024
    blue@blue:~$ counterparty-server kickstart --bitcoind-dir=/mnt/sda/blocks
    Running v10.0.0-beta.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...
    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 220, in main
        server.kickstart(
      File "/home/blue/.local/lib/python3.11/site-packages/counterpartylib/server.py", line 555, in kickstart
        kickstarter.run(
      File "/home/blue/.local/lib/python3.11/site-packages/counterpartylib/lib/kickstart/__init__.py", line 328, in run
        last_known_hash = get_last_known_block_hash(bitcoind_dir)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/home/blue/.local/lib/python3.11/site-packages/counterpartylib/lib/kickstart/__init__.py", line 146, in get_last_known_block_hash
        chain_parser = ChainstateParser(os.path.join(bitcoind_dir, 'chainstate'))
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/home/blue/.local/lib/python3.11/site-packages/counterpartylib/lib/kickstart/blocks_parser.py", line 334, in init
        self.ldb = open_leveldb(leveldb_dir)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/home/blue/.local/lib/python3.11/site-packages/counterpartylib/lib/kickstart/blocks_parser.py", line 31, in open_leveldb
        return plyvel.DB(db_dir, create_if_missing=False, compression=None)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "plyvel/_plyvel.pyx", line 247, in plyvel._plyvel.DB.__init__
      File "plyvel/_plyvel.pyx", line 94, in plyvel._plyvel.raise_for_status
    plyvel._plyvel.Error: b'Invalid argument: /mnt/sda/blocks/chainstate: does not exist (create_if_missing is false)'
  • @6370143984 #10297 08:46 PM, 28 Mar 2024
    yeah counterparty assumes chainstate and blocks dirs are in the same directory
  • @ABlue0ne #10298 08:47 PM, 28 Mar 2024
    Look above at error on line 146
  • @6370143984 #10299 08:47 PM, 28 Mar 2024
    yeah i understand
  • @ABlue0ne #10300 08:47 PM, 28 Mar 2024
    Trying to traverse to /chainstate but using the wrong dir as root
  • @6370143984 #10301 08:48 PM, 28 Mar 2024
    your blocks and chainstate dirs have different parent directories. counterparty-server doesn't support that
  • @6370143984 #10302 08:48 PM, 28 Mar 2024
    you found a documentation bug
  • @6370143984 #10303 08:49 PM, 28 Mar 2024
    well done 🙂
  • @ABlue0ne #10304 08:49 PM, 28 Mar 2024
    Thats why I’m doing it the hard way.
  • @6370143984 #10305 08:49 PM, 28 Mar 2024
    can you move them to the same dir?
  • @ABlue0ne #10306 08:49 PM, 28 Mar 2024
    Not today
  • @ABlue0ne #10307 08:50 PM, 28 Mar 2024
    Well
  • @6370143984 #10308 08:50 PM, 28 Mar 2024
    (fyi just passed block 300k in 10 mins. kickstart is a lot faster!)
  • @ABlue0ne #10309 08:50 PM, 28 Mar 2024
    I can but that wouldn’t fix the problem. I can only move it one way and that wouldn’t work.
  • @6370143984 #10310 08:51 PM, 28 Mar 2024
    okay well in any case you will not be able to run kickstart in your current setup. when you get a chance if you could make it so that blocks and chainstate are in the same dir and try again that'd be super helpful
  • @ABlue0ne ↶ Reply to #10301 #10311 08:51 PM, 28 Mar 2024
    I think it is also that counterparty is assuming everything is in the .bitcoin dir.
  • @6370143984 #10312 08:51 PM, 28 Mar 2024
    ah also run develop — the non-determinism I mentioned should be fixed
  • it does, unless you pass bitcoind-dir, but then it assumes _all_ your bitcoin data is there
  • @ABlue0ne #10314 08:52 PM, 28 Mar 2024
    I’m on alpha
  • @ABlue0ne ↶ Reply to #10313 #10315 08:54 PM, 28 Mar 2024
    Can counterparty be made aware of bitcoin.conf? That holds the blocksdir setting.
  • @6370143984 #10316 08:58 PM, 28 Mar 2024
    ah yeah idk
  • @6370143984 #10317 08:58 PM, 28 Mar 2024
    i mean i think for now the best thing is just to document what we don't support and maybe file issues for this for a later release
  • @uanbtc ↶ Reply to #10308 #10318 09:21 PM, 28 Mar 2024
    We can make kickstart be the default for initial non-bootstrap sync… which I assume is the plan?
  • @6370143984 #10319 09:24 PM, 28 Mar 2024
    so @teysol can explain in more detail but it's challenging to get kickstart to work with simplenode and since kickstart will be obviated with v11 it would not be a huge payoff.
  • @ABlue0ne #10320 09:25 PM, 28 Mar 2024
    Going through kickstart init.py, chainstate is assumed to be subdir of bitcoind_dir. I hard coded it for chain_parser but there are other references I dont have the attention span to dig into rn.
  • @teysol #10321 09:28 PM, 28 Mar 2024
    it's challenging because docker is designed for running stateless services, and kickstart requires interaction
  • @teysol #10322 09:29 PM, 28 Mar 2024
    It's solvable, but only inelegantly
  • @teysol #10323 09:29 PM, 28 Mar 2024
    and we're likely gonna to delete all of the relevant code Soon(TM)
  • @ABlue0ne ↶ Reply to #10322 #10324 09:29 PM, 28 Mar 2024
    Thats my style. Tell me more
  • @teysol #10325 09:30 PM, 28 Mar 2024
    there's nothing to tell. come up with a hack if you want to! IMO we have higher priorities
  • @ABlue0ne ↶ Reply to #10317 #10326 09:32 PM, 28 Mar 2024
    I only have gitlab for work, I will make a github for personal use another day, could you please summarize and post your thoughts about this issue?

    Here is my error after hard coding the path to chainstate…

    blue@blue:~/.local/bin$ counterparty-server kickstart --bitcoind-dir=/mnt/sda/blocks
    Running v10.0.0-beta.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 7 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 220, in main
        server.kickstart(
      File "/home/blue/.local/lib/python3.11/site-packages/counterpartylib/server.py", line 555, in kickstart
        kickstarter.run(
      File "/home/blue/.local/lib/python3.11/site-packages/counterpartylib/lib/kickstart/__init__.py", line 344, 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 176, 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
  • @ABlue0ne ↶ Reply to #10321 #10327 09:33 PM, 28 Mar 2024
    Also, I installed manually if you were not reading along.
  • @teysol ↶ Reply to #10326 #10328 09:35 PM, 28 Mar 2024
    this is a bug! please file an issue! 🙏
  • @ABlue0ne ↶ Reply to #10328 #10329 09:35 PM, 28 Mar 2024
    Another day. My other life is calling me.
  • @ABlue0ne ↶ Reply to #10328 #10330 09:45 PM, 28 Mar 2024
    Is it ok that I also hard coded a check for the newest version of addrindex? I think it was 0.4.4 and I changed the check to expect 0.4.6.
  • @teysol #10331 09:47 PM, 28 Mar 2024
    Nope. No compatibility between unsupported versions is guaranteed.
  • @ABlue0ne #10332 09:50 PM, 28 Mar 2024
    Well, I somehow installed addrindexrs 0.4.6.
  • @ABlue0ne ↶ Reply to #10331 #10333 09:54 PM, 28 Mar 2024
    0.4.6 is the newest version. Released two days ago, credits to you.

    The check for which addrindexrs version needs to be changed *somewhere* I lost where
  • @6370143984 #10334 09:54 PM, 28 Mar 2024
    it's fixed on develop
  • @6370143984 #10335 09:55 PM, 28 Mar 2024
    there are tagged versions of addrindexrs so that you can install the one appropriate for the version of counterparty-core you're running
  • @6370143984 #10336 09:55 PM, 28 Mar 2024
    but again we're killing addrindexrs asap
  • @6370143984 #10337 09:57 PM, 28 Mar 2024
    (btw for those keeping track I've now parsed 100k blocks in 1hr17mins 😁)
  • @teysol ↶ Reply to #10333 #10338 09:59 PM, 28 Mar 2024
    each version of counterparty-core requires a specific version of addrindexrs https://github.com/CounterpartyXCP/counterparty-core/blob/6f5e4e417bda336e6630b65d214dcf89710b5e6e/counterparty-lib/counterpartylib/lib/config.py#L18

    if you do not run that version, things will obviously break
    counterparty-core/counterparty-lib/counterpartylib/lib/config.py at 6f5e4e417bda336e6630b65d214dcf89710b5e6e · CounterpartyXCP/counterparty-core

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

  • @ABlue0ne ↶ Reply to #10338 #10339 10:00 PM, 28 Mar 2024
    I’ve waited over two years, I’ll wait longer.
  • @ABlue0ne #10340 10:10 PM, 28 Mar 2024
    If you want me to try again, let me known how you want me to delete addrindexrs and reinstall 0.4.4

    Otherwise I’ll wait for a new version of counterparty sans addrindexrs or a version of counterparty that uses 0.4.6 to continue.
  • @6370143984 #10341 10:14 PM, 28 Mar 2024
    if you run develop on counterpart-core you should have no issues with addrindexrs. alternatively you can downgrade addrindexrs to match the version required by your version of counterparty-core
  • @6370143984 #10342 10:15 PM, 28 Mar 2024
    in either case when the v10 is officially cut it'll require a specific version of addrindexrs. the volatility of the dependencies is part of the release process (and the fact that addrindexrs exists obv)
  • @ABlue0ne #10343 10:19 PM, 28 Mar 2024
    Sure. I’m not as experienced with the revisioning via git as some but I grasp the concepts and understand what you’re saying. Is the alpha the same as the develop in this git world? Counterparty start works, kickstart doesn’t; with a manual override of the addr version check.
  • @6370143984 #10344 10:23 PM, 28 Mar 2024
    alpha is not develop, it's a version tag; it doesn't change. develop is the branch PRs are merged into; it's changing constantly and is the "bleeding edge".

    afaik the alpha works with addrindexrs 4.4 so you can downgrade addrindexrs from 4.6 to 4.4
  • @ABlue0ne #10345 10:23 PM, 28 Mar 2024
    Show-params says I’m on 10.0.0-beta.1
  • @ABlue0ne ↶ Reply to #10344 #10346 10:25 PM, 28 Mar 2024
    I followed the develop readme as best as I could to end up here.
  • @ABlue0ne #10347 10:27 PM, 28 Mar 2024
    What is the correct git clone command to get the develop branch?
  • @teysol #10348 10:31 PM, 28 Mar 2024
    in general it's best to wait for the actual release. that's the only time there's a guarantee of stability (not that it'll be perfect)
  • @ABlue0ne #10349 10:32 PM, 28 Mar 2024
    I’m not worried about stable right now. I’m here to beta test if you want.
  • @teysol #10350 10:35 PM, 28 Mar 2024
    I appreciate that, but the only value in beta testing is finding issues to file on GitHub. informal testing with mismatched versions and no bug reports is, unfortunately, not helpful
  • 29 March 2024 (59 messages)
  • fyi with kickstart i hit block 500k in 4hr30mins
  • @Jpcryptos #10356 04:22 AM, 29 Mar 2024
    i get this error... on testnet
  • @Jpcryptos #10357 04:47 AM, 29 Mar 2024
    i solved just changing a codelina
  • @Jpcryptos #10358 04:47 AM, 29 Mar 2024
    addrindexrs:
    image: counterparty/addrindexrs:v0.4.4
  • @uanbtc ↶ Reply to #10352 #10359 05:54 AM, 29 Mar 2024
    Yeah the difference is too much. I’ll switch to direct after the docs get updated
  • @7024991327 #10360 08:00 AM, 29 Mar 2024
    Joined.
  • @teysol ↶ Reply to #10358 #10362 09:44 AM, 29 Mar 2024
    the correct soln to the failed version check is not to change the code but to update the dependency. older versions of AddrIndexRs have known bugs and incompatibilities
  • @teysol ↶ Reply to #10359 #10363 09:45 AM, 29 Mar 2024
    what docs need to be updated?
  • @ffmad #10366 02:09 PM, 29 Mar 2024
    So my node is fully synchronized now
  • @6370143984 #10367 02:09 PM, 29 Mar 2024
    congrats!
  • @6370143984 #10368 02:09 PM, 29 Mar 2024
    so 6 days?
  • @6370143984 #10369 02:11 PM, 29 Mar 2024
    i think that's the first sync on v10 with start...
  • @ffmad #10370 02:12 PM, 29 Mar 2024
    What's your latest message_index?
  • @6370143984 #10371 02:12 PM, 29 Mar 2024
    I am finishing my kickstart sync right now. why do you ask?
  • @ffmad #10372 02:14 PM, 29 Mar 2024
    I have something quite different than before, my message index is only 5m something
  • @ffmad #10373 02:14 PM, 29 Mar 2024
    5138587|836802|insert|dispensers|{"tx_index": 2719506, "tx_hash": "eae0de62bf14169cadd7e51457a58df9ba08b872f3747fa959aaa9b2af2c3a1e", "block_index": 836802, "source": "1Hb5UDeRECUxPwf9Z9t9n3guAzTF9nkDGA", "asset": "WUPEPE", "give_quantity": 1, "escrow_quantity": 300, "satoshirate": 100000, "status": 11, "give_remaining": 296, "oracle_address": null, "last_status_tx_hash": "f89ba074bf17550b92165cf0459042ba3ba467027715990f828cf2bd06b49de0", "origin": "1Hb5UDeRECUxPwf9Z9t9n3guAzTF9nkDGA", "dispense_count": 4}|1711721058
  • @ffmad #10374 02:14 PM, 29 Mar 2024
    that's the latest
  • @6370143984 #10375 02:17 PM, 29 Mar 2024
    So I've never worked with the messages table before but it's not consensus critical and I am guessing the change has something to do with removing UPDATEs?
  • @6370143984 #10376 02:19 PM, 29 Mar 2024
    as part of v10 checkpoints were added from the last checkpoints (in 2016) up to ~the current block height. so if there were a consensus break it'd be caught.
  • @ffmad ↶ Reply to #10375 #10377 02:27 PM, 29 Mar 2024
    Oh, that's why
  • @ffmad #10378 02:27 PM, 29 Mar 2024
    I will need to rework my parser
  • @ffmad #10379 02:29 PM, 29 Mar 2024
    I was wondering if I missed some data
  • @6370143984 #10380 02:30 PM, 29 Mar 2024
    now that we have updated checkpoints your node will crash if you do :)
  • @ffmad #10381 02:31 PM, 29 Mar 2024
    The previous message index was like 2x the current. Which makes sense without the UPDATE