• 01 August 2022 (3 messages)
  • @ffmad #953 12:17 PM, 01 Aug 2022
    Hi Guys, Let me introduce a technical improvement by my limited company.
    my company "Monami-ya LLC, Japan" succeeded to swap "a Counterparty asset" and "BTC on LightningNetwork" with no trust.
    We use a trick similar to the submarine swap method.

    The press release is here: https://www.value-press.com/pressrelease/301214 (in Japanese)
    Operation logs are here: https://gist.github.com/monaka/799af5022704cf3f0157bc048ad3443f (in pidgin English)
    We'll improve our code and release products soooooon.

    You might buy PepeArts by your Lightning wallets in the near future. :-)
  • @ffmad #954 12:19 PM, 01 Aug 2022
    Joined.
  • @ffmad #955 12:48 PM, 01 Aug 2022
    @monamona_monaka interesting ^^
  • 03 August 2022 (5 messages)
  • @sebdigitaleth #956 01:53 PM, 03 Aug 2022
    Gm!
  • @sebdigitaleth #957 01:54 PM, 03 Aug 2022
    I have a friend trying to create an Asset and he has the below error:
    "Publick Key was neither provided or published on the Blockchain"
  • @sebdigitaleth #958 01:54 PM, 03 Aug 2022
    thanks!
  • @jdogresorg #959 03:34 PM, 03 Aug 2022
    Have him do a transaction from the address like a btc or asset send…. After that the pubkey will be known n you shouldn’t get the error again…. It’s only an issue for brand new addresses with no outbound transactions yet
  • @monamona_monaka #960 08:46 PM, 03 Aug 2022
    Left.
  • 06 August 2022 (2 messages)
  • @uanbtc #961 03:02 PM, 06 Aug 2022
    Hello, is it possible to obtain the encoding of a transaction as part of a counterparty api/cli response? Like it is possible to specify as an advanced create_ request parameter, but now I’m interested in having this encoding included in the response
  • @uanbtc ↶ Reply to #961 #962 03:32 PM, 06 Aug 2022
    Or being able to query/filter based on the encoding
  • 07 August 2022 (6 messages)
  • @jdogresorg #963 02:29 PM, 07 Aug 2022
    You can specify the desired encoding on an api request and get that type of tx returned
  • @jdogresorg #965 02:30 PM, 07 Aug 2022
    Check out the “encoding” param
  • @uanbtc #966 07:34 PM, 07 Aug 2022
    Yes that is how to create a transaction with a specified encoding.

    But what I am interested is in reading data, make a query that returns transactions with their encoding. Or if the query can filter for a specified encoding, that also works
  • You’d probly have to filter through all the txs yourself as I don’t believe encoding type is recorded by the block parser
  • @uanbtc #968 08:00 PM, 07 Aug 2022
    Ok thanks, I will need to learn how to do that. I’ll look at the source code
  • 08 August 2022 (1 messages)
  • @hodlencoinfield #970 04:06 PM, 08 Aug 2022
    Left.
  • 09 August 2022 (9 messages)
  • @hodlencoinfield #973 10:58 AM, 09 Aug 2022
    Left.
  • @robotlovecoffee #974 08:46 PM, 09 Aug 2022
    is xchain acting odd for anyone else
  • @robotlovecoffee #975 08:46 PM, 09 Aug 2022
    seems that a dispenser that should have been confirmed is not showing up
  • @AryanJab #976 08:46 PM, 09 Aug 2022
    @robotlovecoffee
  • @AryanJab #977 08:46 PM, 09 Aug 2022
    FYI... updating all the CP API servers and xchain servers... things may lag behind on xchain for a lil bit... please use host1.xchain.io as it is up/current
  • @jdogresorg #978 09:25 PM, 09 Aug 2022
    counterparty does a database integrity check on startup which at times can take a LONG time to finish.... as in, a couple hours or more... so, whenever I update the CP servers, I update host1.xchain.io and get it up and current, then focus on updating the other servers, since they could be down for a few hours
  • @jdogresorg #979 09:25 PM, 09 Aug 2022
    that integrity check issue should go away in the release after next
  • @jdogresorg #980 09:25 PM, 09 Aug 2022
    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...

  • @robotlovecoffee #981 10:57 PM, 09 Aug 2022
    thanks guys for the quick response.
  • 10 August 2022 (1 messages)
  • @ABlue0ne #982 05:24 PM, 10 Aug 2022
    Joined.
  • 11 August 2022 (31 messages)
  • @ABlue0ne ↶ Reply to #964 #983 02:31 AM, 11 Aug 2022
    Great resource. Is there a swagger list for counterparty nodes server api? I’m traveling and only have mobile access for a while. If you haven’t developed with swagger check out, https://generator.swagger.io
  • @jdogresorg #984 02:34 AM, 11 Aug 2022
    No swagger list that I’m aware of yet
  • @sebdigitaleth #985 09:02 AM, 11 Aug 2022
    Hey guys, is anyone know if there is a way to automate dividend though a script and the API or it needs to be done manually?
  • @robotlovecoffee #986 12:49 PM, 11 Aug 2022
    what format is the data returned in the "tag" field for destructions via xchain api, I think that it is the memo data? If it is what encoding is it
  • @jdogresorg #988 01:55 PM, 11 Aug 2022
    Yes, it is a memo
  • @robotlovecoffee #989 03:51 PM, 11 Aug 2022
    thanks
  • @robotlovecoffee #990 10:10 PM, 11 Aug 2022
    sorry off topic, trying to figure out why this json would not show on xchain, I think that it is valid but have not tried to host a json before
  • @jdogresorg #992 10:20 PM, 11 Aug 2022
    the JSON is valid.... looking into why xchain isn't displaying it... I relay all JSON requests through xchain.io... and for some reason the relay is not returning your json
  • @robotlovecoffee #993 10:26 PM, 11 Aug 2022
    hmm I was trying to debug the js and saw the reply but it was always null
  • @robotlovecoffee #994 10:27 PM, 11 Aug 2022
    perhaps no return the correct mime type
  • @robotlovecoffee #995 10:27 PM, 11 Aug 2022
    I just posted the file direct
  • @jdogresorg #996 10:39 PM, 11 Aug 2022
    I see the relay script get the JSON, then pass it to json_decode() which returns a "Syntax error"
  • @jdogresorg #997 10:39 PM, 11 Aug 2022
    but if I look at the JSON and copy/paste it into jsonlint.com... it validates as fine
  • @jdogresorg #998 10:39 PM, 11 Aug 2022
    so, i'm kinda stumped what the syntax error is...
  • @jdogresorg #999 10:42 PM, 11 Aug 2022
    maybe just upate the json to remove all fields and add the fields back one by one until you find out which one is causing the issue
  • @robotlovecoffee #1001 11:01 PM, 11 Aug 2022
    I think it is how it is being served as when I put other json that works it still fails
  • @robotlovecoffee #1002 11:02 PM, 11 Aug 2022
    but I should be able to just post up a file to a server right?
  • @jdogresorg #1003 11:03 PM, 11 Aug 2022
    yes
  • @jdogresorg #1004 11:06 PM, 11 Aug 2022
    /*********************************************************************
    * relay.php
    *
    * Handles relaying requests for JSON and PNG files.
    * - All content can be delivered via https/ssl (doesn't break browser SSL lock)
    * - Most .json files do not pass Access-Control-Allow-Origin header (xhr refuses to make request)
    *********************************************************************/
  • @jdogresorg #1005 11:06 PM, 11 Aug 2022
    now I remember why I relay JSON through the relay on xchain 😛
  • @robotlovecoffee #1006 11:08 PM, 11 Aug 2022
    so I need to enabke CORS>
  • @robotlovecoffee #1007 11:14 PM, 11 Aug 2022
    so odd still does not work
  • @robotlovecoffee #1008 11:14 PM, 11 Aug 2022
    this is different then the json pulled for the Green Bar corrrect?
  • @robotlovecoffee #1009 11:14 PM, 11 Aug 2022
    like the basic flow
  • @robotlovecoffee #1010 11:14 PM, 11 Aug 2022
    as that is on the same infra (Azure)
  • @robotlovecoffee #1012 11:16 PM, 11 Aug 2022
    using postman this should be good, not sure what else to try
  • @robotlovecoffee #1013 11:16 PM, 11 Aug 2022
    content in json is from another card
  • 12 August 2022 (43 messages)
  • @ABlue0ne ↶ Reply to #1012 #1014 12:00 AM, 12 Aug 2022
    Asterisk may not be your friend? Try explicit?
  • @robotlovecoffee #1015 12:01 AM, 12 Aug 2022
    ok I have put a file on a wp site, a fleek, site and the azue all fail with null
  • @jdogresorg ↶ Reply to #1008 #1016 12:01 AM, 12 Aug 2022
    correct... that json is from the project, not individual tokens
  • @jdogresorg #1017 12:04 AM, 12 Aug 2022
    the relay scripts makes a curl request directly for the JSON... so the access-control-allow-origin header doesn't really come into play unless trying to make an XHR request from the browser.
  • @jdogresorg #1018 12:05 AM, 12 Aug 2022
    Gimme a sec... i'll try to tweak xchain to have the browser try and request the json directly first... and if that fails, THEN try to use the relay.. should perhaps fix the issue
  • @robotlovecoffee #1019 12:06 AM, 12 Aug 2022
    ok cool
  • @robotlovecoffee #1020 12:06 AM, 12 Aug 2022
    I have a file down to just basics here
  • @ABlue0ne ↶ Reply to #1020 #1022 12:08 AM, 12 Aug 2022
    Did you try smashing F5 repeatedly?
  • @robotlovecoffee #1023 12:08 AM, 12 Aug 2022
    perhaps my file is the problem, seems like this would be an issue all over the place. This is direct from IPFS
  • @robotlovecoffee #1025 12:30 AM, 12 Aug 2022
    I was able to get a file to work on fleek that was a response from postman for a card that worked, trying to see if I can update with other data, I hope that this is not just a HUGE waste of time for you guys.
  • @jdogresorg #1027 12:40 AM, 12 Aug 2022
    it looks like requesting the JSON directly from the browser first, then failing over to requesting through the relay is working fine now.... update your json as you wish 🙂
  • @robotlovecoffee #1028 12:41 AM, 12 Aug 2022
    I thought I fixed it 🙂
  • @robotlovecoffee #1029 12:41 AM, 12 Aug 2022
    and was making you guys run circles
  • @robotlovecoffee #1030 12:41 AM, 12 Aug 2022
    I basically saved a valid response from postman
  • @robotlovecoffee #1031 12:42 AM, 12 Aug 2022
    and then posted that to fleek (ipfs) and it worked so took that file and moved it to the other places and it started working
  • @robotlovecoffee #1032 12:42 AM, 12 Aug 2022
    so was this just bad data (file) on my end?
  • @jdogresorg #1033 12:43 AM, 12 Aug 2022
    your json was fine... just something funky in the way PHP was decoding it and failing in json_decode() when using the relay..... now that xchain tries to have the users browser request the JSON file directly from you, seems to be working fine.
  • @robotlovecoffee #1034 12:45 AM, 12 Aug 2022
    well thanks as always for helping
  • @jdogresorg #1035 12:45 AM, 12 Aug 2022
  • @robotlovecoffee #1036 12:45 AM, 12 Aug 2022
    I do work in windows, via vmware fusion with visual studio
  • @robotlovecoffee #1037 12:46 AM, 12 Aug 2022
    was thinking it was an encoding issue of some type perhaps but could not figure it out
  • @jp_janssen #1038 07:17 AM, 12 Aug 2022
    I'm very excited to have CIP3 fully funded 👍

    One principal concern though; if used assets (where all tokens are returned to issuer) can be reset, then divisibility become a mutable property. Light wallets will need to trust an api. Today they can keep a local table of divisibility statuses.

    The solution is simple. Don't allow divisibility reset if a transfer has ever been made.

    https://github.com/CounterpartyXCP/cips/issues/53
    Allow reset of used tokens? · Issue #53 · CounterpartyXCP/cips

    Should assets with previous token transfers be allowed to reset divisibility? The implementation on Dogeparty does allow this: In theory any asset can be reset if all tokens are returned to the iss...

  • @uanbtc #1039 03:00 PM, 12 Aug 2022
    Found an api request to a specific block that is failing. Not including this block works, but if this block is included in any range, it fails.

    {
    "jsonrpc": "2.0",
    "id": 0,
    "method": "get_destructions",
    "params": {
    "filters": [],
    "order_by": "tx_index",
    "order_dir": "ASC",
    "start_block": 747248,
    "end_block": 747248
    }
    }
  • @uanbtc ↶ Reply to #1039 #1040 03:01 PM, 12 Aug 2022
    Returns:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
    <title>500 Internal Server Error</title>
    <h1>Internal Server Error</h1>
    <p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p>
  • @jdogresorg ↶ Reply to #1039 #1041 03:12 PM, 12 Aug 2022
    I created a github issue and we are looking into the problem now... https://github.com/CounterpartyXCP/counterparty-lib/issues/1195 ..... The only issuance that took place in that block was https://xchain.io/tx/bf05e673216b6511580ad70ffaf49cdcb1b49b0c73b41087daf024b0c8b7993e .... and a quick look at that issuance shows it has some funky characters in the tag.... most likely that is the cause of the API failing... but will dig into it more with Javier and get it resolved
    error when trying `get_destructions` API request · Issue #1195 · CounterpartyXCP/counterparty-lib

    when requesting get_destructions with a start block of 747248 an error is thrown. Request { "method": "get_destructions", "params": { &quot...

  • @jdogresorg ↶ Reply to #1038 #1042 03:14 PM, 12 Aug 2022
    Thank you for raising your concerns. 👍I think this would be a VERY limited case where ppl have tokens that are distributed to different addresses and then they return all the supply to the issuing address... I fail to understand why allowing them to reset token supply is a big issue..... to determine if supply is divisible/non-divisible, you can simply lookup the last issuance before the tx in question.... that will tell you if the asset was divisible or non-divisible at the time.... there is a display issue on xchain where destroyed token supply shows up as wrong when using CIP03 (on dogeparty), but that is a simple update to xchain to display the correct destroyed amount based on the previous divisible/non-divisible state before the destruction.
  • @jdogresorg #1043 03:16 PM, 12 Aug 2022
    perhaps you can articulate why this is such a concern for you.... all the CP wallets already rely on using the API to get transaction info (all wallets either get from counterblock/counterparty-api in counterwallet or xchain API in freewallet.io).... I am not aware of any wallets which parse in CP transactions directly and decode the data directly from bitcoin transactions... so there is already the dependency to rely on CP/xchain APIs to get CP asset info
  • @reganhimself #1044 06:50 PM, 12 Aug 2022
    Might be more of an issue for people caching data
  • @reganhimself #1045 06:50 PM, 12 Aug 2022
    And would then force people to hammer the api a little more
  • @uanbtc ↶ Reply to #1041 #1046 08:01 PM, 12 Aug 2022
    I was going to create the issue and saw you did it already. Thanks!
  • @uanbtc ↶ Reply to #1038 #1047 10:08 PM, 12 Aug 2022
    Even though I’m still learning about Counterparty, I am clear in what makes Bitcoin special. So, I have concerns with CIP3. Made this issue about it following up on yours @jp_janssen

    https://github.com/CounterpartyXCP/cips/issues/54
    CIP3 concern: immutability in Bitcoin · Issue #54 · CounterpartyXCP/cips

    I have concerns with CIP3, but I'm fairly new to Counterparty, so let me know if there is any misunderstanding in the following (and in the second part there are actual questions). Followin...

  • @jdogresorg #1048 10:11 PM, 12 Aug 2022
    In the future please put your comments in the relevant issue, no need to create multiple issues for the same thing
  • @uanbtc #1049 10:14 PM, 12 Aug 2022
    Is not a comment about the specific issue brought up by JP. I just mention it. It is a completely separate issue about the CIP overall
  • @jdogresorg #1050 10:28 PM, 12 Aug 2022
    heh... did you review the CIP before posting your feedback?
  • @jdogresorg #1051 10:28 PM, 12 Aug 2022
    cuz... the CIP has been open for 8 years... has overwelming community support... and you asked about where is the discussion, yet had you viewed the CIP, you would have seen the link to the discussion at https://counterpartytalk.org/t/cip-reset-token-divisibility-statuses-for-unused-asset/1643
    CIP03 - Reset Token & Divisibility Statuses for Unused Asset

    It would be great to hear what you think before formalizing a CIP. If the asset owner holds the entire supply and the asset is not locked, then allow the owner to reset the supply (e.g. set the supply at zero) and change the divisibility status. This can be achieved with a function reset(asset, issuance, divisibility). Asset must be the name of an asset owned by address making the call. Issuance is the new total number of issued tokens. Divisibility is boolean; true if divisible, false if indi...

  • @jdogresorg #1052 10:29 PM, 12 Aug 2022
    i'll do my best to answer your questions in the issue
  • @jdogresorg #1053 10:37 PM, 12 Aug 2022
    tried to address your concerns in the response
  • @uanbtc #1054 10:41 PM, 12 Aug 2022
    I did read the CIP before posting. I did not check that link, I missed it. But now that I check it I see the last comment was in February 2019, and this seems to be ready for release so maybe a new discussion “closer” (as in GitHub) is warranted. I was following up on another related issue which was also done in GitHub.

    Thanks for taking the time to respond. Will look at it now…
  • @uanbtc #1056 10:46 PM, 12 Aug 2022
    Read it, thank you. I think I will respond, but need to process it first. I’m ready to leave my desk for today 😆
  • @jdogresorg #1057 10:47 PM, 12 Aug 2022
    Sounds good.. and yes, we definitely are open to having disscussions on concerns... I look forward to your reply 🙂
  • 13 August 2022 (14 messages)
  • @jp_janssen ↶ Reply to #1043 #1058 07:03 AM, 13 Aug 2022
    My concern is mostly a principal one but also relevant for future wallet designs.

    Practically speaking every wallet relies on API for divisibility so it won't change anything for current wallet implementations.

    In theory a dishonest API can provide wrong divisibility and mess up enhanced send but not cause loss of fund (except in very rare cases). But for DEX orders real loss can occur.

    Best practice for light wallets should be a local table of divisibility statuses. CIP3 (without my suggestion) breaks this.

    I don't see much downside with this suggestion as it will only affect issuer who already distributed tokens and need them back. Zero or very few such cases.

    With my suggestion every asset will have either state;
    0 - no transfer made, divisibility may change, api needed, mutable state
    1 - transfer has been made, divisible, no api needed, immutable state
    2 - transfer has been made, indivisible, no api needed, immutable state
  • @B0BSmith #1059 11:42 AM, 13 Aug 2022
    💰 XCP Cobweb DeDuster 💰

    Check your counterparty addresses to see if you have a hidden yet redeemable unspent multisig dust balance!

    http://lopbicp5dgkifkpx2x3nnl76sn724swgkh5cevg3at7u4osibwbdtaad.onion

    Multisig dust is created when issuing XCP assets with long descriptions or when making broadcasts with long memos. 

    If you make these types of transactions often the dust can soon build up.

    This tool creates an unsigned pay-to-self redeem transaction and generates the bitcoin-cli command used to sign the transaction with your private key.

    Don't delay reclaim your satoshis today!

    💰 🤑 💰 🤑 💰
  • @jdogresorg ↶ Reply to #1058 #1060 02:54 PM, 13 Aug 2022
    Thank you for raising your concern JP.

    What about cases where the asset owner registered the token and issued 1.00000000 tokens, then later swept asset balances and asset ownership to a new addresses (I have actually done this with a few thousand assets). With your proposed fix, the asset owner would be out of luck simply for moving the asset supply and asset ownership to a new address and would not be able to reset the token/supply because the balances table would show more than 1 record
  • @jdogresorg #1062 02:57 PM, 13 Aug 2022
    Nice work Bob ! If you tweet out about this, let me know and i'll retweet from the CP account and my personal account
  • the thing is there is no such thing as a light wallet, you ALWAYS need to query a node for balances because a light wallet can’t determine tx validity
  • @hodlencoinfield #1064 03:00 PM, 13 Aug 2022
    if you’re querying balance then you need to query divisibility as well especially if you’re sent an asset that you didnt previously hold
  • @hodlencoinfield #1065 03:03 PM, 13 Aug 2022
    i would certainly support including divisibilty as a parameter returned with the get_balances call
  • @hodlencoinfield #1066 03:03 PM, 13 Aug 2022
    that would make life much easier for me personally
  • @jdogresorg #1067 03:04 PM, 13 Aug 2022
    create a github issue for it and we can add it to this next release 🙂
  • @jdogresorg #1069 03:04 PM, 13 Aug 2022
    Issues · CounterpartyXCP/counterparty-lib

    Contribute to CounterpartyXCP/counterparty-lib development by creating an account on GitHub.

  • @hodlencoinfield #1070 03:06 PM, 13 Aug 2022
    added
  • @B0BSmith ↶ Reply to #1062 #1071 04:35 PM, 13 Aug 2022
    Thanks but I deleted my personal twitter account a few years ago
  • 14 August 2022 (8 messages)
  • @jp_janssen ↶ Reply to #1060 #1072 11:01 AM, 14 Aug 2022
    I thought it would affect none or very few assets. So now knowing there are thousands, i agree the best overall tradeoff is to go with the dogeparty implementation.
  • @jp_janssen ↶ Reply to #1063 #1073 11:06 AM, 14 Aug 2022
    Query balances is one thing, but signing a tx and potentially lose funds if API is dishonest is something else. This unfortunately is the case with some xcp transactions. Can be eliminated if divisibility is added as a parameter in txs.
  • Not sure I follow, if the api is dishonest divisibility is the least of you concerns. In regard to divisibility, you could just assume non divisible for all cases and worst that happens is you send 1/100,000,000 of what you meant to send
  • @jp_janssen #1075 02:59 PM, 14 Aug 2022
    For enhanced send yes. In theory, in the other direction may send 100M x the amount but will realistically fail since you dont have that much.

    For dex order, isn't the risk you will sell at a 100M x lower price?
  • @hodlencoinfield #1076 05:06 PM, 14 Aug 2022
    is this a criticism of the current state of counterparty or of CIP3?
  • @hodlencoinfield #1077 05:09 PM, 14 Aug 2022
    you have to either run your own fednode or trust the one you’re querying, its impossible to know the validity of a tx without a node
  • @jp_janssen #1078 05:56 PM, 14 Aug 2022
    No criticism. Im the original author of cip3. Just thought a slightly better implementation were possible. But after realizing it would negatively affect thousands of assets, I withdraw my suggestion. Im all for implementing cip3 exactly as on Dogeparty.
  • @1998010812 #1079 11:55 PM, 14 Aug 2022
    Joined.
  • 15 August 2022 (16 messages)
  • @uanbtc ↶ Reply to #1047 #1080 06:40 PM, 15 Aug 2022
    I understand I might be in the minority here, specifically because I am newer. But this is also a new perspective, viewing CP as it stands RIGHT NOW with all its current functionality. I really believe CIP3, in its current form, is not the best move. I try my best to explain myself here, and would really appreciate feedback from anyone
  • @hodlencoinfield #1081 07:30 PM, 15 Aug 2022
    Is the cip3 implementation an issuance message type?
  • @hodlencoinfield #1082 07:34 PM, 15 Aug 2022
    I just read the GitHub comments on it and will respond to Juan’s comments later today
  • @hodlencoinfield #1083 07:35 PM, 15 Aug 2022
    It seems to me Juan is afraid that changing divisibility isn’t restrictive enough, is that accurate @uanbtc ?
  • @jdogresorg ↶ Reply to #1081 #1084 07:36 PM, 15 Aug 2022
    I dont think it is a new message type... just a serialization format change from >QQ??If to >QQ???If to make room for the reset flag
  • @uanbtc #1085 08:18 PM, 15 Aug 2022
    CIP3 breaks the fundamental way of calculating the total quantity of an asset. Why allow a change where people can get with misusing the platform, without any cost, while costing the fundamental ARCHITECTURE of the platform, forever?

    I believe, this CIP is only being considered from the point of view of people that have asset names they want to UNDO divisibility (as asset quantity changes can already be done with issuances and destructions) to resell them. If the rationale is they have 100% of the issuance, then, why not allow undo-ing locks in the same situation? It just feels like an unhealthy feature addition, as it incentivizes and rewards NOT using assets.

    If something like CIP3 wants to be done, it needs to be done in a way that adds general value for everyone in the community, especially the new people which if Counterparty grows as we all wish, WILL become the vast majority. As it stands right now, for a niche and temporary use case, CIP3 is affecting the fundamental, Bitcoin-space-respecting, ELEGANTLY SIMPLE asset quantity calculation: asset_quantity = sum_issuances - sum_destructions
  • @1998010812 #1086 09:14 PM, 15 Aug 2022
    Joined.
  • @1998010812 ↶ Reply to #1085 #1087 09:38 PM, 15 Aug 2022
    I agree, it also adds an unneeded degree of complexity for an issue most people get around by just using a different name.

    Perhaps it would be better to stop new tokens from being distributed as divisible, if divisibility is causing issues?
  • @MarcusCoaster #1088 09:40 PM, 15 Aug 2022
    As someone who has issued an asset as divisible by accident I think a meaningful fix to prevent it in the future is to make the selection of divisible/nondivisible be an unselected radio button that is required (in FreeWallet). The main issue with the interface is that the divisiblitly is of upmost importance and yet the interface down plays its importance by almost visually hiding it to the right and preselecting a choice.
  • @AryanJab ↶ Reply to #1088 #1089 09:45 PM, 15 Aug 2022
    Honestly, just having FW default it to False (I think it defaults to True atm) would be a huge win.
  • @AryanJab #1090 09:45 PM, 15 Aug 2022
    And is low-hanging af.
  • @pappyG45 ↶ Reply to #1089 #1091 09:45 PM, 15 Aug 2022
    This
  • @1998010812 #1092 09:57 PM, 15 Aug 2022
    Yeh it’s a ux/ui problem. I’m a bit of a noob but as I understand counterparty was intended as a second layer platform for people to create their own tokens?

    The last few years have proven the use case for XCP is purely NFTs, it’s too slow compare to other networks to act as a transaction layer for user created layer 2 altcoins.

    I’m not sure if divisible is necessarily worth getting rid of (I’ve also just jumped into this convo), but from my experience Aryan is on the money. It’s the default selection issue that gets me.

    Would be a simple bool change in freewallet for most peeps.
  • @jdogresorg ↶ Reply to #1089 #1093 09:59 PM, 15 Aug 2022
    yea, I can do that in the next release
  • @MarcusCoaster #1094 09:59 PM, 15 Aug 2022
    Yes, it's completely a UI issue. That's why so many people screw it up. It's very easy to miss. And most people don't want to create a divisible asset. Defaulting it the other way still leaves open the possibilty of mistakes but will likely be far fewer.
  • @uanbtc #1095 10:30 PM, 15 Aug 2022
    But is interesting that divisibility (which is just an interpretation) cannot be considered as it is in its raw data type, a big integer. Could it be possible to treat all non-locked assets at the satoshi level, and then with locking is that divisibility must be chosen?
  • 16 August 2022 (61 messages)
  • @jp_janssen #1096 06:06 AM, 16 Aug 2022
    At the protocol level all assets are treated as satoshis. For example, there are 300 divisible FDCARD, but the database says the supply is 30,000,000,000. There are 100 indivisible JPJA, thus the DB says 100.

    With cip3 i expect changing a divisble asset with supply 1 to indivisible will give supply 100,000,000. Ie the techincal supply stays the same while the displayed supply changes. (Correct?)

    Divisibility is just a parameter that tells wallets how to display balances. My concern was about a theoretical improvement for light wallets which has never been a topic anyway.

    The intention of cip3 is to make thousands of the best names usable again. I think this is a great benefit to our scarce namespace. At a small technical cost.
  • @B0BSmith #1097 10:13 AM, 16 Aug 2022
    I would have thought a divisible asset with supply of 1 when made indivisible would have a supply of 1 not 100,000,000

    but from reading the github issues it seems supply gets reset while changing divisibility ?
  • @ABlue0ne ↶ Reply to #1095 #1098 11:37 AM, 16 Aug 2022
    This sounds very logical. From a developer new to XCP; I believe the community and project could benefit with some small changes to the grammar used in the project. Maybe freewallet and similar should be called a client, not a wallet. The server software has the same name as the protocol (close) I have a note with more thoughts on this topic and will extrapolate later, but I wanted to share that thought while a bit relevant. Thoughts?
  • @uanbtc ↶ Reply to #1098 #1099 02:32 PM, 16 Aug 2022
    I agree. There is too much coupling between Counterparty as a protocol and an application backend. Freewallet has taken the role of Counterparty client. And the same has happened with with xchain, which is also private software, but Counterparty should not be xchain’s backend.

    I AM GRATEFUL for these solutions, but Counterparty has so much potential, the core protocol needs to delegate application features to the community. Get simpler, leaner, and focused. Then the rest of the community builds the applications
  • @jdogresorg ↶ Reply to #1099 #1100 02:44 PM, 16 Aug 2022
    Unfortunately there is a large gap between “the community should do X” and that actually happening. I would love for there to be more wallets, block explorers, etc….. unfortunately ppl haven’t stepped up to write those, so I was left with the decision to write things myself, or wait around for what “should be”…… I prefer to have something that “just works” now while continuing to wait for others to step up n buidl😀👍🏻

    Always room for improvement, but I don’t see any of CPs core features as something that should be pushed up to the application layer (we tried that with my coinvend service and tokenly’s swapbot services…. Application level vending machines)…. Ppl clearly didn’t like the functionality in the apps (even tho very similar to what we have now) and preferred the functionality being in the base protocol… as evidenced by very little coinvend/swapbot usage over years, and the explosion of dispenser use in the past 1.5 years.

    Just my 2 sats worth😀👍🏻
  • @uanbtc #1101 02:58 PM, 16 Aug 2022
    I understand. But I believe that will start to change. After the NFT boom, a lot more people are discovering Counterparty
  • @uanbtc ↶ Reply to #1096 #1102 09:25 PM, 16 Aug 2022
    My point is: is not a small technical cost. Can anyone point me at the alternative implementation of total asset quantity?
  • @jdogresorg #1103 09:29 PM, 16 Aug 2022
    as noted in the response to your CIP issue, the formula for calculating total supply/quantity has not changed.
  • @jdogresorg #1104 09:29 PM, 16 Aug 2022
    total_quantity = sum_issuances - sum_destructions still works to determine the total quantity even after CIP03, since before an asset can be reset its existing supply will be destroyed via destructions.
  • @jdogresorg #1105 09:35 PM, 16 Aug 2022
    get_supply() in the API gets its supply info from until.asset_supply() which you can see is doing exactly that.. subtracting destructions from issuances to get total quantity/supply .... https://github.com/CounterpartyXCP/counterparty-lib/blob/master/counterpartylib/lib/util.py#L694-L700
    counterparty-lib/util.py at master · CounterpartyXCP/counterparty-lib

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

  • @1998010812 ↶ Reply to #1100 #1106 10:06 PM, 16 Aug 2022
    I have tried to start building these things but have had little to no help from documentation. The reason there aren’t more people developing is because it’s fkng hard to decipher how to make it work, when a dev can easily go to eth, tezos,sol, and have documentation up the wazoo.
  • @jdogresorg #1107 10:08 PM, 16 Aug 2022
    What is missing from the documentation? We have API docs that tell you how to make requests to Counterparty, what you get back, and how to sign the transaction and broadcast it. What do you suggest we add?
  • @jdogresorg #1108 10:08 PM, 16 Aug 2022
    I agree with you that we definitely need more documentation, but I am curious what documentation you would like to see beyond what we already have available?
  • @1998010812 #1109 10:32 PM, 16 Aug 2022
    There’s also a massive issue of economic incentive, there’s no dev fund like there is for ETH.

    The documentation is written in a way that assumes some level of knowledge of the function of XCP.

    For example, trying to call filters for a certain get_ can be completely obscure, and I’ve found the easiest way to know how to get the info I need is to just call all > block n and read the fields directly from the response.

    Some calls say deprecated but then are actually the only way to concisely get the info you need for an asset.

    A lot of the calls deliver considerably less data than expected for their use case. For example, Dispenser tx calls don’t show satoshirate so its impossible to validate whether a dispenser has been closed or sold out without individually polling every dispenser.

    To do the things I want to do I’m going to need to spool up my own node, create an inbetween SQL db and scrape info off the node and into a more concise db so that I can deliver data quicker and more concisely.

    It’s just that most devs will realise this, like me, once they figure out the calls and be like “fuk dis homie” and yeet off to a smart contract chain.

    From what I understand a bunch of devs left in 2016 or something and docs etc have been pretty static since, understandably since the ship was tied together by a handful of people? I don’t really know the history.

    My point being if people need to read a github python script to understand a call then the documentation isn’t suitable for xcp layman/people interested in devving around the chain.

    I do however love the shit out of this niche chain and think with some fresh faced updates it could definitely pull a much bigger crowd.

    Thanks for coming to my ted talk
  • @AryanJab ↶ Reply to #1109 #1110 10:33 PM, 16 Aug 2022
    So fix it. Isn't it all open for anyone to make a PR against?
  • @1998010812 ↶ Reply to #1108 #1111 10:33 PM, 16 Aug 2022
    What would be really good is if one of us has a programmer fren who hasn’t touched xcp before, to get their feddback. It becomes really hard to know what’s missing when you have experience.
  • @1998010812 ↶ Reply to #1110 #1112 10:33 PM, 16 Aug 2022
    Cool problem solved 👍
  • @1998010812 ↶ Reply to #1110 #1113 10:37 PM, 16 Aug 2022
    A) I’m still learning as I build around this chain, I think it would be more appropriate for someone who has spent time actually developing the chain to make those documentation choices.

    B) The question was posed about why no develops around xcp, and as someone who is trying to build I’m passing on my 2c. If the response to constructive criticism is going to be snarky then you can sure as shit bet people aren’t going to want to want to contribute.
  • @AryanJab ↶ Reply to #1113 #1114 10:46 PM, 16 Aug 2022
    You're right. It's just that this has been happening for as long as I've been around XCP (which is not long at all).

    Devs come in. Criticize stuff. Don't make PRs.

    Call me jaded, I guess.
  • @1998010812 #1115 10:47 PM, 16 Aug 2022
    Lol fair
  • @1998010812 #1116 10:47 PM, 16 Aug 2022
    I dunno I feel like xcp has a new wave of interest
  • @1998010812 #1117 10:47 PM, 16 Aug 2022
    My focus is on building a front end app rn but I will def make notes as I go for documentation additions
  • @1998010812 #1118 10:48 PM, 16 Aug 2022
    But I really am just doing this all as a hobby programmer in my spare time so I have limited time / ability
  • @AryanJab ↶ Reply to #1116 #1119 10:50 PM, 16 Aug 2022
    It had a wave of interest last year too. And J-Dog had to listen a wave of devs telling him what's missing from Counterparty (don't get me wrong, I was personally guilty as well).

    Basically, let's use our energy to take action instead of playing out scenarios.

    Your input is valuable and may actually work as action items on GitHub (instead of wall o' text here).
  • @AryanJab ↶ Reply to #1118 #1120 10:50 PM, 16 Aug 2022
    I feel you.
  • @MarcusCoaster #1121 10:59 PM, 16 Aug 2022
    Hello fello devs! I have been building a leaderboard for Bitcoin Coaster cards using the xchain API. I am hitting the API and saving data locally to my database.

    I've hit a limit for the balance query. It appears that when I do an API call for balance the response is limited to the first 500 cards held alphabetically per user.

    Anyone have a suggestion for getting around the limit? Is there a more specific call I can make. I only care about some specific assets.
  • @AryanJab ↶ Reply to #1121 #1122 11:01 PM, 16 Aug 2022
    I got you. BRB, putting together your query.
  • @AryanJab ↶ Reply to #1121 #1123 11:06 PM, 16 Aug 2022
    {
    {
    "method": "get_balances",
    "params": {
    "filters": [
    {
    "field": "asset",
    "op": "IN",
    "value": [
    "COASTERUP",
    "COASTERDOWN",
    "MOONROCKET"
    ]
    },
    {
    "field": "quantity",
    "op": ">",
    "value": 0
    }
    ],
    "limit": 1000
    },
    "jsonrpc": "2.0",
    "id": 0
    }

    Would something like this solve it? Where ... is the list of your assets.
  • Hmmm, I am using PHP and curl to to request data by hitting a URL like
    https://xchain.io/api/balances/addresshere
  • @AryanJab #1125 11:10 PM, 16 Aug 2022
    If you still hit the limit, you'll need to use the offset field with a for loop. Offset the results by your limit for every iteration of the for loop. Escape the loop when the results are an empty array.
  • @AryanJab #1126 11:10 PM, 16 Aug 2022
    Ahhh, xchain API. Is that the same as the CP API?
  • @AryanJab #1128 11:10 PM, 16 Aug 2022
    My b. I don't know the xchain API well.
  • @AryanJab #1129 11:10 PM, 16 Aug 2022
    😕
  • @MarcusCoaster #1130 11:11 PM, 16 Aug 2022
    Oh, is there a different API?
  • @AryanJab #1131 11:11 PM, 16 Aug 2022
    Yes.

    https://docs.counterparty.io/docs/develop/api
    Technical Specification | Counterparty

    Read API Function Reference

  • @MarcusCoaster #1132 11:13 PM, 16 Aug 2022
    Ok, so if someone knows how to make a more specific API call to xchain please share. If the response is limited there must be a way to do a more specific call.
  • @uanbtc ↶ Reply to #1105 #1133 11:23 PM, 16 Aug 2022
    The asset_supply function will stop working as is, because the quantity of the issuances/destructions will have different interpretations, so their SUM(quantity) will break. I’m interested in learning the NEW version of these queries. What I am saying will become extremely evident, CIP3 breaks fundamental assumptions of the protocol!
  • Ok, I think what I need to do is query each /address/ first to find out total number of assets. Then if an address has more than 500 assets I will have to do mulitple paged calls for each 500.

    So at minimum I'll have to do 2 calls for each address. If someone knows how to get the info in fewer calls please share.
  • @AryanJab ↶ Reply to #1134 #1135 11:36 PM, 16 Aug 2022
    Can't you just call the first page and only continue with the next page if it's non-empty?
  • @AryanJab #1136 11:36 PM, 16 Aug 2022
    That probably brings the average number of calls down a bit.
  • @jdogresorg ↶ Reply to #1121 #1137 11:38 PM, 16 Aug 2022
    read the API docs closer so you can paginate through all the results 😛
  • @jdogresorg #1138 11:39 PM, 16 Aug 2022
    Paging
    The XChain API supports paging and allows users to customize how many records are returned via {page} and {limit} parameters.

    Method Endpoint
    GET endpoint/{page}/{limit}
  • @jdogresorg #1139 11:39 PM, 16 Aug 2022
    soooo.... /api/balances/address/1 = page1 1-500..... /api/balances/address/2 = page2 501-1000, etc
  • @jdogresorg ↶ Reply to #1126 #1140 11:41 PM, 16 Aug 2022
    xchain API was created so all the data in CP could be easily accessed via a URL without the need for a POST and a bunch of params... /api/asset/ASSET ... /api/balances/ADDRESS ... /api/dispensers/ASSET, etc
  • @jdogresorg ↶ Reply to #1132 #1141 11:43 PM, 16 Aug 2022
    xchain limits to 500 balances on /api/balances endpoint... but, you can page through the results to get all your balances... I just limit to 500 balances per request, but you can request all the balances with additional API requests 🙂
  • Thank you for the info! I admit that I did miss some important part of the docs there. I am sorry for that.
  • @MarcusCoaster #1143 11:46 PM, 16 Aug 2022
    And I do find it easy to work with. So I like it
  • @jdogresorg ↶ Reply to #1133 #1144 11:48 PM, 16 Aug 2022
    Not sure what your talking about with your "different interpretations"..... the sum of issuances - destructions will add up to current supply, that is not changing.... Before an asset can be 'reset' any existing supply is destroyed (read that again, any existing supply is destroyed before new supply is issued)... so that means your calculation total_quantity = sum_issuances - sum_destructions will equal 0 BEFORE any additional supply is issued, and when additional supply is issued, the supply is still calculated the same..... If your going to make wild accusations about CIP3, then please back them up...... sure seems like the reset flag has been operational on dogeparty for 3+ months and everything is working fine with no issues or user complaints. 🤷🤷🤷 Sorry if I sound overly defensive, it is not my intention :)
  • @jdogresorg ↶ Reply to #1134 #1145 11:51 PM, 16 Aug 2022
    You just need to look at the response and the API docs a bit closer 🙂
  • @jdogresorg #1147 11:52 PM, 16 Aug 2022
    I pass a "total" field in the top level of the JSON which tells you how many results you have
  • @jdogresorg #1148 11:52 PM, 16 Aug 2022
    so you can simply make 1 request to get the first 500 assets.... then check if "total" is greater than 500... if yes, request page 2... repeat for page 3, etc
  • @MarcusCoaster #1149 11:53 PM, 16 Aug 2022
    Oh that is very good. You are making me look like I can't read which seems like it. Hahaha Thank you
  • @jdogresorg #1150 11:53 PM, 16 Aug 2022
    my bad.... LOL... I am just replying to the messages in order... hadn't seen you had already replied to me 😛
  • @jdogresorg #1151 11:54 PM, 16 Aug 2022
    muh bad... too many chats mang 😛
  • @jdogresorg #1152 11:54 PM, 16 Aug 2022
  • @MarcusCoaster #1154 11:54 PM, 16 Aug 2022
    No, this is good info! I really appreciate it. Thank you
  • @jdogresorg #1155 11:54 PM, 16 Aug 2022
    I was trying to make the API as easy to use as possible... cuz when I was writing it, I knew the end goal was to write freewallet 🙂
  • @MarcusCoaster #1156 11:56 PM, 16 Aug 2022
    I got out of sorts because for the vast majority of addresses I didn't hit any limit so as I was coding it up I missed the edge cases. I should have studied the API docs better before asking. Glad I got the help though!
  • 17 August 2022 (44 messages)
  • @jdogresorg #1157 12:01 AM, 17 Aug 2022
    Your not alone in your mistake... I did the same thing in the first few versions of freewallet... had to have some holders with over 500 tokens tell me my wallet wasn't showing all their balances. 😛
  • @1998010812 #1158 12:06 AM, 17 Aug 2022
    Hey Jdog / chat, do you have any recommendations for cloud hosting for a node?
  • @jdogresorg #1159 12:07 AM, 17 Aug 2022
    I tend to host most of the CP/DP nodes on ovh.com .... they have unlimited bandwidth, built in DDOS protection, and decent servers with 64GB RAM and 8-12 Cores.... if you need any help setting up a node, feel free to ask... pretty straightforward tho 🙂
  • @uanbtc ↶ Reply to #1144 #1160 12:08 AM, 17 Aug 2022
    Don’t worry about tone, I’m also trying to defend my point.

    The interpretation I am taking about is: when an asset is divisible, it’s quantity means satoshis. When it is not divisible, it means the full integer.

    Those queries are not including any kind of filter for when divisibility changes.

    If currently there are few places in the code where asset_supply is called, then it might be possible to not encounter the bug yet. How many assets have changed divisibility in dogeparty? Have they tried to change divisibility multiple times, with issuances in between? Isn’t it obvious that the quantities will not add up because of how divisibility interprets quantities?

    I think is better to talk about these in the GitHub issue as liking to code makes more sense there…
  • @jdogresorg #1161 12:10 AM, 17 Aug 2022
    Sounds good... if you find any cases in the code where you feel that the quantity is being calculated incorrectly, please feel free to point them out on github and we will most certainly address them if there is indeed an issue 🙂
  • @jdogresorg #1162 12:12 AM, 17 Aug 2022
    You say "The interpretation I am taking about is: when an asset is divisible, it’s quantity means satoshis. When it is not divisible, it means the full integer.".... but I believe that your going with the incorrect assumption that you should be able to parse in all the issuances/destructions from blocks and then determine quantity that way, which even BEFORE CIP03 was not the case. Only Counterparty software can determine if an action is valid or invalid, so just parsing in a destruction or issuance message from the blockchain is not enough to determine if that transaction is seen as valid or not. Its not like we are breaking something that was working before (you could NEVER parse in issuances and destructions from block alone and determine supply)
  • @jdogresorg #1163 12:13 AM, 17 Aug 2022
    so, no matter what, your going to have to "phone home" to the CP API to determine if a transaction is valid.
  • @jdogresorg #1164 12:14 AM, 17 Aug 2022
    Anyway, if you find any issues in the code, please point them out and we will review them and address any issues 🙂
  • @uanbtc ↶ Reply to #1162 #1165 12:18 AM, 17 Aug 2022
    ??? No “don’t trust, verify” in CP? How can you say the info in the blocks cannot be relied on?
  • @jdogresorg #1166 12:20 AM, 17 Aug 2022
    because the transaction in the block just says "This user says to transfer XCP from addressA to addressB"..... with no regard to if addressA actually has the XCP available in its balances to send.... Only AFTER counterparty parses the transaction and verifies that the user has the XCP in their addressA, THEN the XCP is debited from AddressA and credited to addressB..... so, you see, all Bitcoin does is hold requests for CP "move this, issue this, place this order".... Counterparty is what parses the transactions and determines their validity
  • @jdogresorg #1167 12:20 AM, 17 Aug 2022
    you can't just see an issuance transaction and assume it is valid, many fail
  • @uanbtc #1168 12:32 AM, 17 Aug 2022
    I get that. But issuances and destructions should be a 100% reliable and simple way to obtain total asset issuance. Messages on blocks are the source of truth.

    I hope that just because dogeparty decided to complicate their core protocol we in Bitcoin don’t do the same.
  • @jdogresorg #1169 12:33 AM, 17 Aug 2022
    You say you "get that"... and yet you go on to say that you should be able able to get total issuances from blocks..... so not sure you DO get it... you can't determine if an issuance is valid or not until Counterparty parses it.
  • @uanbtc #1170 12:33 AM, 17 Aug 2022
    I’m talking about reading, not writing
  • @jdogresorg #1171 12:33 AM, 17 Aug 2022
    I am talking about reading too
  • @jdogresorg #1172 12:34 AM, 17 Aug 2022
    you can not read an issuance from the blockchain and determine based on just the blockchain tx if it is seen as a valid issuance by CP or not
  • @uanbtc ↶ Reply to #1172 #1173 12:34 AM, 17 Aug 2022
    Wtf?
  • @jdogresorg #1174 12:35 AM, 17 Aug 2022
    seriously? You just said "i get that"
  • @uanbtc #1175 12:35 AM, 17 Aug 2022
    Isn’t that what the status: valid means?
  • @jdogresorg #1176 12:35 AM, 17 Aug 2022
    and now your confused by "that"
  • @jdogresorg #1177 12:35 AM, 17 Aug 2022
    valid bitcoin transaction DOES NOT mean valid counterparty transaction
  • @uanbtc ↶ Reply to #1177 #1178 12:35 AM, 17 Aug 2022
    Ok this is new to me. Please explain

    EDIT: this reply was based on misreading the message as if it meant that status = valid doesn’t mean is actually a valid CP transaction
  • @jdogresorg #1179 12:35 AM, 17 Aug 2022
    the Bitcoin transaction may be valid... yes, it paid a fee and was mined, it is a valid REQUEST to counterparty to do an issuance..... but it is on Counterparty to take that REQUEST and determine if it is valid, using the internal CP state
  • @jdogresorg #1180 12:36 AM, 17 Aug 2022
    I just explained it above quite clearly..
  • @jdogresorg #1181 12:36 AM, 17 Aug 2022
    because the transaction in the block just says "This user says to transfer XCP from addressA to addressB"..... with no regard to if addressA actually has the XCP available in its balances to send.... Only AFTER counterparty parses the transaction and verifies that the user has the XCP in their addressA, THEN the XCP is debited from AddressA and credited to addressB..... so, you see, all Bitcoin does is hold requests for CP "move this, issue this, place this order".... Counterparty is what parses the transactions and determines their validity
  • @jdogresorg #1182 12:36 AM, 17 Aug 2022
    please re-read that.... it is a PERFECT example of why you can't just read a transaction from the bitcoin blockchain and assume it is valid
  • @jdogresorg #1183 12:37 AM, 17 Aug 2022
    Does address A have XCP to send? Lets verify..... Does address Y have the XCP in their balances to pay the issuance fee and make this a valid transaction? lets verify....
  • @jdogresorg #1185 12:40 AM, 17 Aug 2022
    When counterparty parses in transactions, it does all sorts of validations and verifications on the transaction to determine if it is a valid transaction... Here is an example of an issuance transaction which failed.... it is a VALID Bitcoin transaction (it paid the miners the tx fee to get mined), but it is an INVALID Counterparty transaction (the issuer did not have XCP to pay the issuance fee at the time when the issuance request was parsed, so it is marked as invalid, and this asset WAS NOT ISSUED). The transaction was marked as 'invalid: insufficient funds' instead of 'valid' https://xchain.io/tx/2051665
  • @uanbtc #1186 12:47 AM, 17 Aug 2022
    Ok @jdogresorg I fully get that. But what I meant was valid inside the Counterparty message. Status = valid. The Bitcoin transaction being valid is a given (this is why I misread and answered “this is new to me”, as if you said that having status=valid doesn’t mean that is a valid CP transaction. Will edit that message…)
  • Makes counterparty very different from other token protocols on bitcoin like colored coins or rgb
  • @hodlencoinfield #1188 01:27 AM, 17 Aug 2022
    You need to check every bitcoin tx to see if it’s a counterparty tx
  • @hodlencoinfield #1189 01:28 AM, 17 Aug 2022
    Only then can you determine if a tx is valid
  • @uanbtc #1190 03:13 AM, 17 Aug 2022
    Can the _messages in get_blocks be relied on? Only considering the status:valid ones
    https://counterparty.io/docs/api/#get_blocks

    What does the timestamp in the message response mean, as the binding for an issuance?
  • @MarcusCoaster #1191 03:24 AM, 17 Aug 2022
    Thanks again. I got those calls working fully now. Here's the latest version of my leaderboard if you'd like to see. This page shows all the holders so if you have any do a browser text search to find your address.
    https://cards.bitcoincoaster.com/lb/
  • @uanbtc ↶ Reply to #1190 #1192 04:19 AM, 17 Aug 2022
    I think the misunderstanding came from thinking that I am actually parsing the raw bitcoin transactions. I’m not doing that, yet. I have always meant the messages as they are retuned by the get blocks CP api call. And only considering the status:valid ones.

    I want to learn how to verify the ledger, txlist and messages hashes. Any good reference about this?
  • @1998010812 #1193 12:27 PM, 17 Aug 2022
    Hey was there a push that made dispenser addresses reusable now? Getting multiple sales from single addresses. Not sure if that’s still bad practice or not
  • @1998010812 #1194 01:03 PM, 17 Aug 2022
    Also has anyone managed to get a fednode up and running on an m1 chip by any chance?
  • @jdogresorg ↶ Reply to #1193 #1195 01:12 PM, 17 Aug 2022
    You have always been able to setup multiple dispensers on the same address, it just is discouraged unless u know what ur doing👍🏻
  • @MarcusCoaster #1196 01:26 PM, 17 Aug 2022
    DarkFarms uses the same address for all his sales and he's done a ton. He actually hosts the dispenser on his creator address. He usually does a 24 hour sale and then closes it down. And because of it you can see he's got over 4 BTC in his address from sales.
    https://xchain.io/address/1DRZVQe58Tr9WxDNYdJUbye3toH1zkedX
  • What do you want to verify? Txs already processed by CP? Or bitcoins txs that could be processed by CP?
  • @uanbtc ↶ Reply to #1197 #1198 03:22 PM, 17 Aug 2022
    To start what has already been processed. The hashes from the result of get_blocks
  • @1998010812 ↶ Reply to #1195 #1199 09:16 PM, 17 Aug 2022
    Ohhhh. Is it because if you have two dispensers open, one for 0.5btc and one for 1btc, if the address is sent 1btc it will trigger both dispensers?

    Thx
  • @jdogresorg ↶ Reply to #1199 #1200 09:19 PM, 17 Aug 2022
    correct
  • @jdogresorg #1201 11:23 PM, 17 Aug 2022
    FYI... updating Counterparty on the xchain servers... the results may lag behind a bit... please use host1.xchain.io as it should be caught up 🙂
  • 18 August 2022 (2 messages)
  • @ABlue0ne #1202 05:58 PM, 18 Aug 2022
    I have ESXi and a fiber connection on premise, should I self host a fed node or put it in the cloud? Suggestions, pointers, notes and criticism welcome.
  • @jdogresorg #1203 06:07 PM, 18 Aug 2022
    you can prolly just host at home perfectly fine... just make sure you install ubuntu linux, have around 64GB of ram, and 4TB of usable disk space
  • 21 August 2022 (7 messages)
  • @ffmad #1204 02:16 PM, 21 Aug 2022
    GM 👋
  • @ffmad #1205 02:17 PM, 21 Aug 2022
    Tried to to a schema comparing CP & ETH, could you tell me it looks ok for you?
  • @ffmad #1208 02:21 PM, 21 Aug 2022
    probably lacked the fact the CP wallet is connected to a node API
  • @jdogresorg #1209 02:38 PM, 21 Aug 2022
    Not bad👍🏻
  • @ffmad #1210 02:47 PM, 21 Aug 2022
    thanks 👍
  • 22 August 2022 (6 messages)
  • @uanbtc ↶ Reply to #1207 #1211 07:35 PM, 22 Aug 2022
    Very nice graphic. I would say one detail left is that CP_DATA translated in the CP node must be valid. As it was discussed a few messages back, the CP_DATA by itself is not enough
  • @uanbtc ↶ Reply to #1211 #1212 07:37 PM, 22 Aug 2022
    And by then the CP_DATA becomes 1+ “messages” in a block
  • @LN_03d1_eth_is_a_scam #1213 07:38 PM, 22 Aug 2022
    you can have literally infinitely complex and stateful contracts this way without bloating everyone's bitcoin node in any way as interpretation is opt-in, much more scalable. bitcoin secures tx content and ordering so opt-in state based on xcp rules is always deterministic
  • @hodlencoinfield #1214 09:31 PM, 22 Aug 2022
    i wrote a short medium post about the differences between counterparty and eth a few years ago
  • @hodlencoinfield #1215 09:31 PM, 22 Aug 2022
    The Real Cost of Cryptogoods

    The “realness” of these tokens is, in many ways, the most important facet to consider as both a token issuer and a collector.

  • @1998010812 ↶ Reply to #1215 #1216 09:32 PM, 22 Aug 2022
    Will give this a read today
  • 23 August 2022 (10 messages)
  • @uanbtc ↶ Reply to #1215 #1217 01:34 AM, 23 Aug 2022
    Good read, thanks for sharing! I believe this is relevant with relation to CIP3
  • @hodlencoinfield #1218 01:43 AM, 23 Aug 2022
    It’s certainly relevant for any consensus changing updates
  • @hodlencoinfield #1219 01:44 AM, 23 Aug 2022
    I’ll add my thoughts to the CIP3 issue on GitHub tomorrow, was on vacation last week so didn’t have a chance to comment when it was being discussed here
  • @1998010812 #1220 02:23 AM, 23 Aug 2022
    I’ve provided zero contribution to the xcp source code so my commentary is just commentary. But it seems to me that allowing the reversal of asset state such as divisibility goes against the notion of an “NFT”.

    However, I think for those that look under the hood of these blockchains you quickly realise that things like metadata aren’t even stored on chain, and are themselves entirely malleable.

    In the end I guess it comes down to the pool of developers working within the environment, and whether or not the changes break the continuum on which their creations rely. I don’t think will cause a fork, but I also don’t want to have to build around a system that can alternate div/non-div.

    I think that xcp is such a niche chain the most likely result of disagreements is devs just moving to another chain, but it depends on emptional attachment I guess.
  • some people might be surprised to find out that the asset description can be updated even after an asset is locked
  • @hodlencoinfield #1222 02:36 AM, 23 Aug 2022
    changing divisibility also doesn’t change the nominal number of units of an asset but simply the lens through which the asset is viewed
  • @1998010812 ↶ Reply to #1221 #1223 03:12 AM, 23 Aug 2022
    I was laughing at the people buying cryptopunks in february last year when I realised the art is a metadata link to an off-chain jpg.

    …and now look at me, a pepe addict.

    Pepes. Not even once.
  • @1998010812 ↶ Reply to #1222 #1224 03:15 AM, 23 Aug 2022
    Yeh, I’m just talking semantics mostly. It’s surprising how much the concept of something affects that thing, bitcoin never would have been successful if it was called DatabaseRowOwnership or something
  • Token name is most important and best part of Counterparty. Can't change the name.
  • Finally had a chance to comment if anyone cares
  • 24 August 2022 (63 messages)
  • @droplister #1227 05:08 AM, 24 Aug 2022
    Joined.
  • @droplister #1228 05:08 AM, 24 Aug 2022
    Posted on CIP 3 on GitHub
  • @droplister #1229 05:10 AM, 24 Aug 2022
    Kick activation block can, don't shoot network in the foot for no reason. State management across federated network of server is hard, don't be stupid.
  • @droplister #1230 05:12 AM, 24 Aug 2022
    Left.
  • @1998010812 #1231 05:49 AM, 24 Aug 2022
    “‘Was having thousands of unused good names, for many years, good for the project? It doesn't feel like it…’

    I would argue YES, as that is the primary reason why xchain.io (the only block explorer) and freewallet.io (the main wallet) exist.... because I had a sunken cost in asset names and a vested interest in supporting the platform... Had I not invested funds in registering thousands of asset names, I probably would not be as dedicated to Counterparty over the years as I have been. So, while you might not see the value in name squatting, I can assure you that it has benefitted the ecosystem greatly.”

    Making design decisions that are beneficial for one person does not benefit the collective, and inevitably provide no further benefit to the structure of the network.

    JDog I have no doubt that everyone appreciates your continued effort with xchain, however repeatedly saying that no one is trying to develop for the network is reducing a lot of peoples’ efforts around here who are working without funding.

    It seems to me that there isn’t actually a consensus vote for this proposal, and while I appreciate your sentiment about this being a social protocol, Loon, I find there to be very little plural consensus on this network. It is also very telling that this is the first improvement release for years.

    If this network needs to go through a transitory phase of old members drawing bloody bitcoin from a stone then so be it. But I can’t help but see in this what makes other devs want to stay away from XCP. And a network is only as strong as it’s dev community.
  • Is this a critique of the proposal itself or of the process?
  • @hodlencoinfield #1233 11:24 AM, 24 Aug 2022
    As a developer on counterparty for the last 8 years, I struggle to find the argument against cip3 and how it’s impact would be a negative to any current or potential future devs
  • @hodlencoinfield #1234 11:26 AM, 24 Aug 2022
    Personally I was surprised to see the pushback as this is a relatively benign change compared to sweeps, destructions, dispensers and p2sh encoding all hardforks implemented over the last couple years
  • @hodlencoinfield #1235 11:29 AM, 24 Aug 2022
    What issues have yet to be addressed?
  • @uanbtc ↶ Reply to #1234 #1237 07:35 PM, 24 Aug 2022
    This touches the point perfectly. All these hardforks brought new functionality and efficiencies that benefited everyone. CIP3 doesn’t benefit anyone actually using their assets. Is this “benign” frame that I have a problem with. If a change to divisibility handling wants to be done, which will affect current protocol level assumptions, it should be done in a way that benefits everyone
  • It benefits everyone, it is not a permissioned function
  • @hodlencoinfield #1239 07:44 PM, 24 Aug 2022
    Multiple people in this chat lamented about how they accidentally issued divisible assets
  • @hodlencoinfield #1240 07:46 PM, 24 Aug 2022
    Also you don’t always know what you’re going to do with an asset when issued
  • @hodlencoinfield #1241 07:46 PM, 24 Aug 2022
    Sometimes you just buy a name because it’s topical
  • @B0BSmith #1242 07:48 PM, 24 Aug 2022
    the idea that accidently creating divisible assets can be addressed with a UI enhancement .. making divisibility a mandatory user input that is not pre selected is a great idea going forwards , but cip3 benefits everyone who previously registered an asset incorrectly
  • @B0BSmith #1243 07:52 PM, 24 Aug 2022
    Counterparty is good because it is unlike any other namespace as asset registrations are eternal and do not require renewals, we however are mere humans who make mistakes and like to change our minds, cip3 makes assets more flexible and more useful to both current owners and potentially future owners
  • @uanbtc #1244 08:07 PM, 24 Aug 2022
    Ok all these are valid points. But is the current CIP3 implementation the best one? Why do it in way that works like an UNDO, which from my perspective goes against what Bitcoin (and NFTs!) stands for.

    Like one divisibility handling option that I think is more elegant is to allow the first issuance to NOT specify divisibility while the quantity is 0. Like making this issuance use case a “name registration issuance”. And I think it even makes sense to not allow a description either. Basically you are only allowed to do this “name registration issuance” once. Only transfers are allowed.

    It has clear intent, and doesn’t break any philosophical properties of what blockchain assets should be.

    And I am sure there are other alternatives to consider also…
  • You do realize this suggestion is more complex, which was one of your concerns
  • @hodlencoinfield #1246 09:01 PM, 24 Aug 2022
    I’m curious why changing divisibility is more “against what bitcoin stands for” then say creating additional issuance
  • @hodlencoinfield #1247 09:03 PM, 24 Aug 2022
    Users already know to treat unlocked assets differently because issuance could change, although that’s not an issue with CIP3 because the issuer must hold the entire issuance to do it
  • @hodlencoinfield #1248 09:06 PM, 24 Aug 2022
    An undistributed asset is not an immutability concern, it’s basically just a name registration like you said
  • @uanbtc ↶ Reply to #1047 #1249 09:22 PM, 24 Aug 2022
    I care about Bitcoin. I can’t see Counterparty fulfilling its potential without the support of Bitcoiners. We are all aware that many of these Bitcoiners don’t approve using the Bitcoin blockspace for anything other than financial transactions.

    So, from my perspective, every detail matters. The Counterparty of today respects immutability. CIP3 removes it. I don’t see this as an improvement to help the protocol obtain approval of Bitcoiners.

    As I say in the GitHub issue: “CIP3 breaks the simple cohesive elegant design of issuances and destructions.”
  • @B0BSmith #1250 09:27 PM, 24 Aug 2022
    CIP3 only works on unlocked assets so it also respects immutability as much as allowing additional issuance of unlocked assets
  • @hodlencoinfield #1251 09:31 PM, 24 Aug 2022
    Exactly
  • @hodlencoinfield #1252 09:32 PM, 24 Aug 2022
    Even more so since the asset must be undistributed
  • @B0BSmith #1253 09:34 PM, 24 Aug 2022
    if you were to send some quantity of an asset .. and then have it sent back could you then CIP3 reset the divisibility? .. is the criteria owner must hold 100% supply or is it the asset must be undistributed?
  • @jdogresorg #1254 09:35 PM, 24 Aug 2022
    100% of supply in one single address, the owners address
  • @jdogresorg #1255 09:35 PM, 24 Aug 2022
    so, COULD be distributed, then all tokens sent back to asset owner, then reset... but highly unlikely that an asset owner would be able to widely distribute a token and then get control of 100% of the supply back
  • @jdogresorg #1256 09:36 PM, 24 Aug 2022
    could do that pretty easily tho if we re-activated the callback feature 😛 J/K
  • @B0BSmith ↶ Reply to #1255 #1257 09:36 PM, 24 Aug 2022
    👌
  • I actually liked the callback feature!
  • @hodlencoinfield #1259 09:38 PM, 24 Aug 2022
    But that was before tokens were collectibles
  • @jdogresorg #1260 09:38 PM, 24 Aug 2022
    I never used it, but it sounded like a cool feature... it was disabled pretty quickly
  • @hodlencoinfield #1261 09:39 PM, 24 Aug 2022
    I used it for my fantasy league in 2014
  • @jdogresorg #1262 09:39 PM, 24 Aug 2022
    oh ya? that is awesome! so you distributed your tokens, then called them back at a set XCP price?
  • @hodlencoinfield #1263 09:41 PM, 24 Aug 2022
    No price, just called them back at the end of the season
  • @hodlencoinfield #1264 09:41 PM, 24 Aug 2022
    Although in hindsight I left the other managers without collectable tokens
  • @hodlencoinfield #1265 09:42 PM, 24 Aug 2022
    I’ll have go back and check I may have tested it preseason and then it was disabled at the end of the season
  • @hodlencoinfield #1266 09:43 PM, 24 Aug 2022
    That was actually the first 1/1 I ever issued
  • @hodlencoinfield #1267 09:44 PM, 24 Aug 2022
    FFLTEAMA
  • @1998010812 ↶ Reply to #1232 #1268 10:29 PM, 24 Aug 2022
    I personally don’t want divisible toggling but my issue is with the thought process behind the move.

    I have been saying for as long as ive been here that there needs to be *some* economic incentive to drive support for the network beyond good will.

    I love when a community comes together to build something but for all those such as Jdog who have been putting in their own money and dev time, it is increasingly unfair that people make money off of the backs of donated time and money (in this case in the form of server fees and dev time).

    Perhaps a system in which a small fee is paid to the node processing end user transactions, at least enough to cover server fees. BTC rightly provides miners with economic incentives because there wouldn’t be half as many people keeping the network secure out of their own pocket.

    I think it’s completely reasonable for the old crew & devs to be able to have economic benefit for providing a service, but I strongly question a selective move which seems motivated more by self interest than in network development.

    As a person who is currently spending a lot of my personal time building around the xcp framework I want to know that my time won’t be wasted by post-haste decisions to make a buck by devs.

    If I’m coming off as abrasive I apologise, for you all looking out at new folk like me you probably roll your eyes and say he’ll be gone in a minute. But my point is we want to foment an atmosphere in which people like Juan are heard for their opinions and not cast aside simply because they haven’t been here for eight years. Software thrives off of new talent.

    Go for gold with CIP3 but I don’t think it resolves Jdog’s issue which is running an ecosystem in which people make massive profits, for free. There’s a big difference between profiteering and utilising economic incentives to promote growth and development.
  • @1998010812 #1269 10:29 PM, 24 Aug 2022
    Also gm
  • @hodlencoinfield #1270 10:33 PM, 24 Aug 2022
    it should be noted that jdog did not propose CIP3
  • @hodlencoinfield #1271 10:33 PM, 24 Aug 2022
    also not all of us that want it have a cache of old assets
  • @hodlencoinfield #1272 10:34 PM, 24 Aug 2022
    this is a very old proposal
  • @hodlencoinfield #1273 10:34 PM, 24 Aug 2022
    its not a new thing that has sprung up
  • @hodlencoinfield #1274 10:34 PM, 24 Aug 2022
    so assuming its being done just because jdog wants to sell his old assets is a bit presumptive to say the least
  • @hodlencoinfield #1275 10:35 PM, 24 Aug 2022
    ive yet to see an argument against CIP3 that makes any sense on a technical level, the arguments i see are disagreements with the process or with a perceived ethos
  • @hodlencoinfield #1276 10:43 PM, 24 Aug 2022
    “Go for gold with CIP3 but I don’t think it resolves Jdog’s issue which is running an ecosystem in which people make massive profits, for free.” who exactly is making massive profits for free?
  • @1998010812 #1277 10:44 PM, 24 Aug 2022
    See the quote above:


    because I had a sunken cost in asset names and a vested interest in supporting the platform... Had I not invested funds in registering thousands of asset names


    You said yourself this is a “social protocol”, saying that this isn’t about the technical feasibility doesn’t invalidate other people’s positions.

    I don’t know about Juan but I wasn’t debating its technical feasibility so much the human impact of this.
  • @1998010812 ↶ Reply to #1276 #1278 10:44 PM, 24 Aug 2022
    Everyone trading pepes.
  • you mean “for free” as in they dont pay for development?
  • he’s just stating that he’s invested in the platform which is an incentive for him to stick around, just like a bitcoin developer owning bitcoin
  • @hodlencoinfield #1281 10:47 PM, 24 Aug 2022
    i wouldnt want anyone working on counterparty thats not at least somewhat invested in its success
  • @hodlencoinfield #1282 10:48 PM, 24 Aug 2022
    we’ve all been openly discussing juan’s issues with CIP3 and it turned into issues with counterparty culture, which is a fine thing to discuss but offtopic to say the least
  • @hodlencoinfield #1283 10:51 PM, 24 Aug 2022
    juan is welcome to have his concerns but personally i dont think they rise to the point where CIP3 implementation should be derailed, then again im not the maintainer just another developer with an opinion
  • @1998010812 #1284 10:57 PM, 24 Aug 2022
    My point is that people like yourself and Jdog have put in a tremendous amount of time and money into creating and maintaining a system in which people are trading NFTs and making, genuinely, quite a lot of money off of.

    For some reason people seem to expect software to be made and maintained for free, I don’t know why, but I assume it has to do with not understanding the complexity of an app under the hood or to do with companies like fbook and google using a data-mining revenue structure.

    My point is not that it’s bad for people who have invested in the system to see dividends, in fact I’m *massively* for that. My biggest issue with Xcp is that Jdog *hasn’t* been seeing a cent for things like server hosting, through a system such as a tx fee.

    The fact that a long term developer is in a situation in which he feels the need to convert and sell old token names to recoup invested time speaks to a bigger issue, which I do not think CIP3 will resolve.
  • @hodlencoinfield #1285 10:59 PM, 24 Aug 2022
    i dont think thats a fair interpretation of CIP3
  • @1998010812 #1286 10:59 PM, 24 Aug 2022
    Anyway, I don’t feel like I’m having a positive contribution to anything here so I’m going to leave it at that and go back to my project. Thanks for listening nonetheless.
  • @hodlencoinfield #1287 10:59 PM, 24 Aug 2022
    if it was so important to jdog why didnt he expedite that CIP years ago
  • @hodlencoinfield #1288 11:00 PM, 24 Aug 2022
    i think its a good discussion but rather than make assumptions we should look at things objectively
  • @hodlencoinfield #1289 11:00 PM, 24 Aug 2022
    CIP3 is objectively good for asset issuers because it gives them more flexibility
  • @hodlencoinfield #1290 11:05 PM, 24 Aug 2022
    i also agree with your point that it can be very frustrating as a developer of an open source project when its difficult to find funding especially when its generating a lot of value, but many of us stick around primarily because we love Counterparty and are proud of what we’ve built and as frustrating as it can be sometimes its also extremely rewarding to see it as successful and influential as its become
  • 25 August 2022 (81 messages)
  • @uanbtc #1291 12:22 AM, 25 Aug 2022
    CIP3 is objectively bad for Counterparty as a developer platform, as for a very limited use case divisibility and destructions become more complicated to understand and code.

    CIP3 is objectively bad for Counterparty trust, as an immutable property has become mutable.

    CIP3 is objectively bad for Bitcoin, as it promotes NOT committing to actions done on assets, it promotes UNDO behavior in a very scarce resource.

    CIP3 is so old it doesn’t even consider the existence of destroys. Why not solve divisibility problems with a new CIP that considers CP in its present form?

    I am sure there can be a better implementation for the biggest problem which is not having to commit to a divisibility if someone just wants to reserve the name. And I am almost sure it can be done in a way were ALL 3 of the negatives above can be avoided.
  • @hodlencoinfield #1292 12:24 AM, 25 Aug 2022
    Destroys were around prior to cip3 then removed from the protocol then readded years later
  • @uanbtc #1293 12:25 AM, 25 Aug 2022
    That’s interesting then, good to know
  • @hodlencoinfield #1294 12:28 AM, 25 Aug 2022
    As a developer what exactly is wrong with CIP3, I’ve built more wallets than probly anyone in counterparty and I can’t think of any I’d need to change as a result of this
  • @hodlencoinfield #1295 12:30 AM, 25 Aug 2022
    Especially if divisibility is added as a returned parameter in the get_balances call
  • @hodlencoinfield #1296 12:30 AM, 25 Aug 2022
    Generally I just look up the most recent issuance to pull divisibility and description
  • @hodlencoinfield #1297 12:30 AM, 25 Aug 2022
    That would not change
  • @hodlencoinfield #1298 12:33 AM, 25 Aug 2022
    Bad for counterparty trust is also a weird thing to say because a token issuer can choose any parameter they want, we’re talking about unlocked and undistributed tokens, there are no expectations from any other user besides the issuer
  • @hodlencoinfield #1299 12:37 AM, 25 Aug 2022
    Bad for bitcoin? I guess you’d say that about any consensus change to counterparty of which there have been many
  • @hodlencoinfield #1300 12:38 AM, 25 Aug 2022
    Your final suggestion is to make a weird pre divisible asset state which would be a much larger deviation than CIP3 and add complexity, which was one of your initial complaints
  • @jp_janssen #1301 07:42 AM, 25 Aug 2022
    Raised a couple issues on github.

    Tldr, i believe we can remove some deadweight (callability) from issuance, thus add 9 char to max description to fit op_return. Perfect time now as we modify issuance anyway.
  • @jjhaasbroek #1302 08:01 AM, 25 Aug 2022
    Joined.
  • @scrillaventura #1303 01:38 PM, 25 Aug 2022
    Anyone know why a mobile address would show different assets than a desktop?
  • @scrillaventura #1304 01:39 PM, 25 Aug 2022
    Seems someone sent a fakeasf to a new artists wallet last night and it doesn’t show up on the desktop but does on mobile
  • @scrillaventura #1305 01:39 PM, 25 Aug 2022
    It’s the same address and all other assets are showing
  • @scrillaventura #1308 01:40 PM, 25 Aug 2022
    It’s like the desktop is behind for some reason
  • @MarcusCoaster #1309 01:41 PM, 25 Aug 2022
    Desktop is behind. It depends on which server it gets the info from. I'm seeing funny things too
  • @scrillaventura #1310 01:41 PM, 25 Aug 2022
    Ughh what a time for this to happen to one of the biggest artists in the world and he has a shitty experience lol
  • @jdogresorg #1311 01:41 PM, 25 Aug 2022
    one server is behind... host2... working on catching it up
  • @scrillaventura #1312 01:41 PM, 25 Aug 2022
    Ok
  • @scrillaventura #1313 01:42 PM, 25 Aug 2022
    Any ETA?
  • @jdogresorg #1314 01:42 PM, 25 Aug 2022
    its only about 50 blocks behind... so prolly 30-60 minutes
  • @scrillaventura #1315 01:42 PM, 25 Aug 2022
    Ok thanks a lot jdog
  • @jdogresorg #1316 01:49 PM, 25 Aug 2022
    yep... sorry for the issue... been trying to quietly update a bunch of servers in prep for the new 9.60.0 release coming in a day or two.... but, clearly one of the servers hiccuped
  • @jdogresorg #1317 01:49 PM, 25 Aug 2022
    I stopped apache2 on that host2 server... so it should be removed from the load balancer (ie, you should only get good results now)
  • @scrillaventura #1318 01:50 PM, 25 Aug 2022
    Thanks bro.. appreciate it
  • @jdogresorg #1319 01:50 PM, 25 Aug 2022
  • @jdogresorg #1320 02:35 PM, 25 Aug 2022
    @hodlencoinfield callbacks were setup so that you had to issue set the callback date and price at the time of issuing supply yes? Could you change it after the first issuance (like, after you called all your tokens back, could you do another issuance with a different callback price/date
  • @jdogresorg #1321 02:36 PM, 25 Aug 2022
    thinking about reactivating it again if the community is supportive..... I mean, we're holding 10 bytes of data in every issuance tx for the callback data.... should either re-activate it, or free up those 10 bytes for use in asset descriptions (JP brought up this suggestion on the cip repo)
  • @jdogresorg #1322 02:36 PM, 25 Aug 2022
    Reset as a parameter or keyword? · Issue #55 · CounterpartyXCP/cips

    If I understand the Dogeparty implementation correctly, RESET is a new parameter added to the issuance message: This comes with some negatives; not backwards compatible (e.g. javascript libraries n...

  • @hodlencoinfield #1323 02:37 PM, 25 Aug 2022
    tbh im with JP on just removing it
  • @jdogresorg #1324 02:37 PM, 25 Aug 2022
    its been deactivated for a REALLY long time.... you remember the reasoning behind deactivating teh feature?
  • @hodlencoinfield #1325 02:37 PM, 25 Aug 2022
    i think its confusing and no one was using it
  • @hodlencoinfield #1326 02:38 PM, 25 Aug 2022
    now that tokens are 99% used as collectibles i dont think it makes much sense to bring it back now
  • @hodlencoinfield #1327 02:38 PM, 25 Aug 2022
    better to reclaim the 10 bytes of data
  • @jdogresorg #1328 02:38 PM, 25 Aug 2022
    ok... i'll add it to the todo list.
  • it is da wei
  • @hodlencoinfield #1330 02:42 PM, 25 Aug 2022
    its all part of the counterparty experience
  • @scrillaventura #1331 02:47 PM, 25 Aug 2022
    It really be like that
  • @jdogresorg #1332 02:47 PM, 25 Aug 2022
    Decentralized platform... centralized block explorer.... more block explorers == this happening less often... cmon guys, share the burden, someone write another block explorer 😛
  • @MarcusCoaster #1333 02:47 PM, 25 Aug 2022
    Hey J-Dog, I'm running a script in PHP that hits the xchain api to get balances of each holder of my cards (around 200 addresses now). Is there a target rate of request I should go for? Right now I have my script pausing inbetween calls, but not sure what's best. I'm only going to run the script 1-4 times a day
  • @jdogresorg #1334 02:47 PM, 25 Aug 2022
    pausing 1 second or so in between calls is fine
  • I heard this is happening
  • @jdogresorg #1336 02:49 PM, 25 Aug 2022
    right now I have no rate limiting.... which is allowing ppl to just beat the shit out of the APIs and abuse them.... in the coming month or so I will focus on getting some ratelimits enforced (cloudflare charges you per-request, so I was trying to avoid doing this as it incurrs even more operational costs... but, I think its getting close to the point where I need to... it willl reduce the load on the existing servers, and rate-limit the abusers..... might offer a "premium API" service which is not rate-limited for a monthly fee... but for right now, 1-2 second sleep in between requests is plenty conservative enough 🙂
  • @jdogresorg ↶ Reply to #1335 #1337 02:49 PM, 25 Aug 2022
    awesome news! I look forward to it... I am working on a new block explorer myself, but it'll be a few months before it is ready/released
  • @scrillaventura #1338 02:50 PM, 25 Aug 2022
    what doers it cost to maintain a block explorer? roughly
  • @AryanJab #1339 02:50 PM, 25 Aug 2022
    I've dreamt about it. Does that count?
  • @jdogresorg ↶ Reply to #1338 #1340 02:53 PM, 25 Aug 2022
    depends on how popular it is... xchain is pretty popular cuz of its APIs which power a bunch of apps and wallets.... right now xchain runs on 5 servers (!$250/mo x 5 = $1250/mo)... and xchain runs on cloudflare which is about another $250/mo.... and that doesnt include the actual time/money to maintain/update/tweak the explorer..... Honestly, costs about $2k/mo plus about 15-30 hours/mo of dev time/work
  • @scrillaventura #1341 02:53 PM, 25 Aug 2022
    Ok good to know
  • @jdogresorg #1342 02:54 PM, 25 Aug 2022
    for just a normal block explorer without APIs that everyone calls on... could prolly run it pretty well on a single server for quite a while.... xchain was running on a single server for 6+ years... it was only after the last growth explosion last year that we needed to upgrade to 5 servers.
  • @scrillaventura #1343 02:55 PM, 25 Aug 2022
    I have some dev funds still if anyone makes a good block explorer and could prolly donate fir the first year of operation as long as the builder agrees to maintain it for at least 5 years
  • i heard the new explorer is called explaryan
  • @jdogresorg #1345 02:55 PM, 25 Aug 2022
  • @uanbtc ↶ Reply to #1316 #1346 06:58 PM, 25 Aug 2022
    This release includes CIP3?
  • @jdogresorg #1347 06:59 PM, 25 Aug 2022
    Yes, as well as a bunch of other updates
  • @uanbtc #1348 06:59 PM, 25 Aug 2022
    Wow
  • @jdogresorg #1349 07:03 PM, 25 Aug 2022
    Not sure why that is a suprise. I indicated in the issue you raised on github that CIP03 would be going forward. We have heard your objections to the proposal... at length... numerous times... and while we appreciate your feedback and opinion, CIP03 is moving forward, as it is an improvement which the community has been waiting on for 8+ years.
  • @uanbtc #1350 07:26 PM, 25 Aug 2022
    Wow again 😂
  • @uanbtc #1351 07:31 PM, 25 Aug 2022
    Where is the consensus of the decision of the activation date /block? I see in the GitHub @droplister asking for the activation block to be moved into the future… I still see alternative implementations being proposed by @jp_janssen… Where was the discussion for the different alternatives of implementation?
  • @jdogresorg #1352 07:47 PM, 25 Aug 2022
    There are approximately 10-15 servers running counterparty nodes, of which we are running 10, exchanges are running 2, and a few community members are running some, and they will all upgrade very quickly when we put out the release. @droplisters concerns about activation block were because he thought that there were API changes which would require 3rd party apps to make updates, but that is not the case. @jp_janssen's suggestion is being worked on and implemented into this new release as well... to remove the callable/call_date/call_price fields from issuance data.
  • @jdogresorg #1353 07:48 PM, 25 Aug 2022
    the activation block will actually be sooner than 2 weeks, as we want the new features to go active quicker, so that we can sus out any issues on mainnet later next week.
  • @jdogresorg #1354 07:49 PM, 25 Aug 2022
    The only reason not to have a quick activation is if there were a large community of users running fednodes, and they all needed time to update, that is not the case here.
  • @uanbtc ↶ Reply to #1316 #1355 07:55 PM, 25 Aug 2022
    I have a fednode.

    I guess the biggest problem I see is that critical decisions and changes are being done “quietly”.

    And then you make a message about being a “decentralized protocol”… really??

    @jdogresorg you have done great service to the community. But I really believe you are dropping the ball in handling this
  • @AryanJab ↶ Reply to #1355 #1356 07:56 PM, 25 Aug 2022
    If it was being done quietly, we wouldn't be having this discussion.

    It's very obviously being done in the open and we've all had a chance to chime in. To call it quiet is cray.
  • @jdogresorg #1357 07:57 PM, 25 Aug 2022
    Your misinterpreting quietly as something nefarious.... what I meant by quietly is that I was not announcing that I was updating the xchain servers as I have in the past, and telling everyone to use host1.xchain.io.... not that something secret was going on.
  • @uanbtc #1358 07:57 PM, 25 Aug 2022
    Ok but it means those nodes are already running 9.60?
  • @jdogresorg #1359 07:57 PM, 25 Aug 2022
    no
  • @uanbtc #1360 07:58 PM, 25 Aug 2022
    Ooooh ok. It seemed like that was the case
  • @jdogresorg #1361 07:58 PM, 25 Aug 2022
    in the past I have updated multiple servers at the same time... I was rolling out some changes to one of the servers and updating the counterparty version with support for oracled dispensers, so I could test some code changes on xchain
  • @jdogresorg #1362 07:58 PM, 25 Aug 2022
    no... there is no 9.60.0 release yet... it is pending, and will be announced before any servers are updated.
  • @uanbtc #1363 08:01 PM, 25 Aug 2022
    Ok now I have the following question, have there been people that refuse to make updates in the past? Effectively the people upgrading are the ones doing the hard fork… what has happened?
  • @jdogresorg #1364 08:02 PM, 25 Aug 2022
    AFAIK No one has publicly stated that they have done this, everyone upgrades and runs the new version.
  • @uanbtc #1365 08:02 PM, 25 Aug 2022
    🤔
  • @uanbtc #1366 08:55 PM, 25 Aug 2022
    Unable to perform asset reset · Issue #8 · DogepartyXDP/dogeparty-lib

    I am using the below json to make an API request to the CP API, then signing and broadcasting the transactions, but unfortunately dogeparty does not appear to be picking up the transaction. { &...

  • @jdogresorg #1367 08:56 PM, 25 Aug 2022
    Yes, they are working on dogeparty... there was a minor issue with certain asset resets not working (if the asset has been reserved, but no supply had been issued)... the issue was fixed in Counterparty CIP03 PR, and fixed in dogeparty. https://github.com/DogepartyXDP/dogeparty-lib/pull/9
    Fixed ignored resets because of incomplete balance query by pataegrillo · Pull Request #9 · DogepartyXDP/dogeparty-lib

    Dogeparty Protocol Reference Implementation. Contribute to DogepartyXDP/dogeparty-lib development by creating an account on GitHub.

  • is the ask here to just bring up another xchain instance (is it OS) but manage the code and fork it (think not) or code a new explorer from scatch that has the same functionality of xchain?
  • @jdogresorg #1369 11:02 PM, 25 Aug 2022
    new explorer from scratch would be ideal... we need a few different ways to view the CP data... and to decentralized the block explorers.... xchain is ok, but its more like a big database viewer (lots of tabs with lots of data).... i'm working on a streamlined explorer (tokenscan.io) which shows much less unnecessary data.... but yeah, the more block explorers and ways to view CP assets, the better
  • @1998010812 #1370 11:35 PM, 25 Aug 2022
    So wait if im setting up a fednode rn what do I need to do in a week?
  • @AryanJab ↶ Reply to #1370 #1371 11:36 PM, 25 Aug 2022
    J-Dog will provide us with the commands needed to update our nodes.
  • @1998010812 #1372 11:37 PM, 25 Aug 2022
    Cool bean bananas
  • ok, would it need to access it's own Fed Node(s) (I assume yes)
  • 26 August 2022 (10 messages)
  • @jdogresorg #1374 12:16 AM, 26 Aug 2022
    Fednode querying would be slow… better to use counterparty2mysql as it has all the addresses, assets, and transactions indexed, so faster than the SQLite tables that CP uses internally
  • @1998010812 #1375 01:31 AM, 26 Aug 2022
    Has anyone tried installing on an arm cpu? Getting this error on fednode install:

    “””
    ERROR: no matching manifest for linux/arm64/v8 in the manifest list entries
    “””
  • @jdogresorg #1376 01:47 AM, 26 Aug 2022
    Nope, never installed on arm cpu
  • @1998010812 #1377 01:48 AM, 26 Aug 2022
    Cool, will make notes for the docs
  • @1998010812 #1378 04:05 AM, 26 Aug 2022
    platform: linux/amd64

    In the docker compose file seems to have resolved it but will finalise the changes once/if I can get it working ;)
  • @ABlue0ne ↶ Reply to #1374 #1379 08:28 PM, 26 Aug 2022
    Can you expand on this thought when you get a chance.
  • @jdogresorg ↶ Reply to #1379 #1380 08:36 PM, 26 Aug 2022
    Counterparty internally uses a sqlite database to store its data and anytime it needs to write an asset name, an address, or a transaction hash to a table, it writes the entire thing. The end result is that the same asset/address/tx_hash can be written many times bloating the database. Plus the queries you do to CP are quite often are full-table scans (meaning your doing an actual text match row by row instead of benefitting from a fast index)..... Counterparty2mysql is a tool I wrote years ago to take the data out of Counterparty and put it into a mysql database, except I index (assign a unique number) every asset/address/tx_hash, and use that reference number in my tables instead of the full asset/address/tx_hash.... makes queries much faster since it benefits from a small/fast index vs full-table scan matching.
  • @jdogresorg #1381 08:39 PM, 26 Aug 2022
    Eventually, Javier and I would like to move from sqlite to a mysql/mariadb database for internal use and retool the database tables/indexes a bit... but its a big undertaking, so it prolly wont get done for a while
  • @jdogresorg #1382 08:46 PM, 26 Aug 2022
    GitHub - jdogresorg/counterparty2mysql: PHP script that populates a MySQL database with Counterparty data

    PHP script that populates a MySQL database with Counterparty data - jdogresorg/counterparty2mysql

  • @ABlue0ne ↶ Reply to #1382 #1383 11:53 PM, 26 Aug 2022
    This is a wonderful idea. I just read through and cp2mysql is going to make sandboxing so much easier and more enjoyable. Kudos.
  • 27 August 2022 (27 messages)
  • @1998010812 ↶ Reply to #1381 #1384 02:44 AM, 27 Aug 2022
    Yeh I dunno that sqlite it up for the job of a growing db like xcp. This sounds gr8
  • @ABlue0ne ↶ Reply to #1381 #1385 11:39 AM, 27 Aug 2022
    https://swagger.io/tools/swagger-ui/ This link is not exactly db related but I wouldn’t do that without doing swagger first, if I were you two. My two sats.
    REST API Documentation Tool | Swagger UI

    Swagger UI allows development team to visualize and interact with the API’s resources without having any of the implementation logic in place. Learn more.

  • @AryanJab ↶ Reply to #1385 #1386 01:07 PM, 27 Aug 2022
    How does migrating DBs have anything to do with API documentation?
  • @AryanJab #1387 01:07 PM, 27 Aug 2022
    Like, why should they do that before migrating DB?
  • @ABlue0ne #1388 01:15 PM, 27 Aug 2022
    The documentation and such generated by swagger can help by having a great reference and plenty of copy paste ammo. I don’t know if swagger is compatible with their setup or not but it is has been a nice reference tool for me in the past for similar tasks.
  • @ABlue0ne #1389 01:20 PM, 27 Aug 2022
    I think I saw a post a while back about a new guy working for counterparty for documentation and such. Maybe pass it along to him, or was that you?
  • @AryanJab #1390 01:27 PM, 27 Aug 2022
    Oh, so you value the Swagger docs more than using a different DB, got it.

    Yep, I'll pass it along to said dev. Feel free to also try it yourself and submit a PR tho.
  • @pappyG45 #1391 02:40 PM, 27 Aug 2022
    @jdogresorg some of my sub-assets now show up as those free assets that start with an A? Super weird assuming its some bug or something?
  • @AryanJab #1392 02:42 PM, 27 Aug 2022
    @pappyG45 from last night. Maybe it's still an issue this morning?
  • @AryanJab #1393 02:42 PM, 27 Aug 2022
    having some issues with xchain... a couple of the servers are acting up
  • @pappyG45 #1394 02:43 PM, 27 Aug 2022
    ahh ok thanks! is the new update to freewallet safu?
  • @pappyG45 #1395 02:43 PM, 27 Aug 2022
    I downloaded it but havent installed it yet
  • @AryanJab #1396 02:43 PM, 27 Aug 2022
    Cannot confirm, have not went through code. I use it with no issues FWIW. Haven't gotten rekt yet.
  • subassets technically are numeric assets
  • @hodlencoinfield #1398 02:48 PM, 27 Aug 2022
    with a second name
  • @AryanJab ↶ Reply to #1397 #1399 02:49 PM, 27 Aug 2022
    Sure but they normally show up with their named name on FW.
  • @hodlencoinfield #1400 02:50 PM, 27 Aug 2022
    yep, just throwing that out there in case people didnt know
  • @pappyG45 ↶ Reply to #1399 #1401 02:50 PM, 27 Aug 2022
    These sub-assets even showing up wonky on xchain
  • @pappyG45 #1403 02:51 PM, 27 Aug 2022
    never seen that before
  • @AryanJab #1404 02:53 PM, 27 Aug 2022
    Yeah, then just the server stuffs, I bet.
  • @ABlue0ne ↶ Reply to #1397 #1405 02:54 PM, 27 Aug 2022
    If numbered assets are free regarding XCP, why not sub assets?
  • @hodlencoinfield #1406 02:54 PM, 27 Aug 2022
    the assets are free, the custom name is not
  • @jdogresorg ↶ Reply to #1389 #1407 03:06 PM, 27 Aug 2022
    docs.counterparty.io
  • @jdogresorg ↶ Reply to #1391 #1408 03:07 PM, 27 Aug 2022
    what assets are you having issues with?
  • @jdogresorg #1409 03:08 PM, 27 Aug 2022
    can you link me to a subasset name please
  • @ABlue0ne ↶ Reply to #1390 #1410 03:22 PM, 27 Aug 2022
    Thanks. I really value the time and headache savings it provides for all developers and has provided me in the past but after thinking about it more, at this point Swagger is probably more useful to @jdogresorg re his next explorer but it would bring value to the cp server api as well (what I was referring to). It’s almost one of those things that is best if implemented from the beginning instead of with a finished project but utilities can make the workflow go both ways.
  • 29 August 2022 (30 messages)
  • @1998010812 #1411 03:48 AM, 29 Aug 2022
    Got fednode working on m1 chips 💪
  • @jdogresorg #1412 04:23 PM, 29 Aug 2022
    Release v9.60.0 · CounterpartyXCP/counterparty-lib

    This release contains a number of bug fixes, updates, and new features. Removed callable,call_date, and call_price from issuances - [more info] Added support for CIP24 (Oracled Dispens...

  • @jdogresorg #1413 04:24 PM, 29 Aug 2022
    FYI... just put out the 9.60.0 release.... am in the process of upgrading all the xchain and API servers to this new version... then will focus on getting this release announced on the website/twitter/newsletter
  • @jdogresorg #1414 04:25 PM, 29 Aug 2022
    went with activation blocks 2 weeks out to give ppl time to upgrade (even tho I think this time is unnecessary, I want to error on the side of caution)... activation block for new features is 753500 (~2 weeks)
  • @B0BSmith #1415 05:30 PM, 29 Aug 2022
    out of interesst what is the new size in chars a description can be yet still use an OP_Return and not need multisig encoding?
  • @uanbtc #1416 05:38 PM, 29 Aug 2022
    CIP13 (CIP3 alternative): Divisibility set by defining the asset, not by reserving the name

    Counterparty is about to make a change that I believe goes against the principles of Bitcoin, CIP3. For Counterparty to reach its maximum potential, it needs to win over the approval of most Bitcoiners. Many of these Bitcoiners believe that the blockspace should only be used for financial transactions. So, in order to gain their support, every detail matters. CIP3 has always been framed as a “benign” change that won’t affect anyone. But this is only because it was rationalized from the perspec...

  • @uanbtc #1417 05:47 PM, 29 Aug 2022
    cips/cip-0013.md at cip13 · jotapea/cips

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

  • @B0BSmith #1418 06:13 PM, 29 Aug 2022
    where can we read up onn cip24 ?

    https://github.com/CounterpartyXCP/cips does not show it

    who runs those vanity addresses posting btc prices as memos? and how is btc price calculated?
    GitHub - CounterpartyXCP/cips: Counterparty Improvement Proposals

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

  • @jdogresorg #1419 06:28 PM, 29 Aug 2022
    Yeah... CIP24 was written by John before he died and was still in idea phase, it never really made it into its final form an was commited to the CIP repo.... we'll be updating the CIP to match the code in the coming weeks.... but basically... oracles broadcast the price via broadcasts periodically and charge a usage fee... when you create a dispenser, you can choose an oracle, which will allow you to price items in the oracles fiat unit USD, JPY, EUR, etc..... the Counterparty system then uses the oracles broadcast price to determine how much BTC needs to be sent to match the sellers desired FIAT sell price (like $20) and trigger a dispense.
  • @jdogresorg #1421 06:28 PM, 29 Aug 2022
    there is a dispenser on testnet that sells for 10 JPY
  • @B0BSmith #1422 06:28 PM, 29 Aug 2022
    I really like the idea of oracled dispensers . it makes things a bit easier for normies to grok if you can sell a token for $x
  • @B0BSmith ↶ Reply to #1419 #1423 06:34 PM, 29 Aug 2022
    so we will be able to query the counterparty api to determine how much btc is needed to trigger a dispense ?
  • @jdogresorg #1424 06:36 PM, 29 Aug 2022
    Yes, you can get that info directly from Counterparty API via the new get_dispensers_info() API call https://counterparty.io/docs/api/#get_dispenser_info
  • @jdogresorg #1425 06:36 PM, 29 Aug 2022
    satoshi_price is the field your looking for 🙂
  • @jdogresorg #1426 06:38 PM, 29 Aug 2022
    xchain APIs have also been updated to pass satoshi_price 🙂
  • @B0BSmith #1429 06:39 PM, 29 Aug 2022
    what happens when mempool gets flooded and a tx may be delayed? is there a built in % for slippage that is allowed for ?
  • @jdogresorg #1430 06:40 PM, 29 Aug 2022
    All Dispenser payments should always be sent with a high tx fee.... but yes, we honor price for up to 1 hour after oracle has broadcast a new price
  • @jdogresorg #1431 06:40 PM, 29 Aug 2022
    6 blocks
  • @jdogresorg #1432 06:41 PM, 29 Aug 2022
    After freewallet updates, next up is Trusted Dispensers... where dispenser operators self-identify themselves... should help solve some of the trust issues with dispensers and not know if your gonna lose funds if someone frontruns a tx on ya, etc.
  • @B0BSmith #1433 06:49 PM, 29 Aug 2022
    OK thank you .. is good to know how it works .. lines have to be drawn with these type of things and 6 blocks/1hr is a fair place as mempool flooding can result in lengthy delays but btc price changes rather quickly too.
  • @uanbtc ↶ Reply to #1291 #1434 08:58 PM, 29 Aug 2022
    This CIP tries to accomplish what was mentioned in this message. I understand that the CIP3 release is already started to be promoted, but if this is really a decentralized protocol, then all proposed alternatives should be discussed…
  • @uanbtc ↶ Reply to #1417 #1436 08:59 PM, 29 Aug 2022
    I would really appreciate some feedback
  • @1998010812 ↶ Reply to #1412 #1437 09:21 PM, 29 Aug 2022
    Gdmit I just downloaded the git yday lol
  • @jdogresorg ↶ Reply to #1436 #1439 09:38 PM, 29 Aug 2022
    IMO Overly complicates an already functioning asset system. Also, please review CIP1 and CIP8 for info on the proposal process. First there has to be discussions to determine if the community likes the idea before spending the time putting forth a CIP, defining development milestones, etc.

    I’m glad your here and eager to contribute, even if we don’t agree on some features/points, but please try to follow the defined processes laid out by the community.
  • @uanbtc ↶ Reply to #1439 #1440 09:46 PM, 29 Aug 2022
    Good point, but I had the draft ready and saw the 9.60 release announcement so I just put it out. Is not like i have the luxury of time for this one 😉
  • @uanbtc ↶ Reply to #1439 #1441 09:47 PM, 29 Aug 2022
    Well I don’t think it complicates it more than CIP3. Unless you mean making this in addition to CIP3, which is not its purpose. My proposed CIP13 is a replacement for CIP3
  • 30 August 2022 (16 messages)
  • @1998010812 #1442 12:41 AM, 30 Aug 2022
    Anyone else experience an error with bitcoin downloading on fednode install?

    Mine keeps looping at around block 162956071
  • @AryanJab ↶ Reply to #1442 #1443 12:42 AM, 30 Aug 2022
    Does your box have enough hard disk storage?
  • @1998010812 #1444 12:42 AM, 30 Aug 2022
    2tb
  • @AryanJab ↶ Reply to #1444 #1445 12:43 AM, 30 Aug 2022
    Well then. More than enough.
  • @jdogresorg ↶ Reply to #1442 #1446 01:31 AM, 30 Aug 2022
    1.6 million blocks... yeah, thats def not normal 😛
  • @702496881 #1447 08:10 AM, 30 Aug 2022
    Anyone else getting this error trying to sync counterblock testnet with fednode?
  • @1998010812 #1448 11:43 AM, 30 Aug 2022
    Hey so new new fednode up on the git, if I download that no need to uograde via script ya?
  • @jdogresorg #1449 02:06 PM, 30 Aug 2022
    correct... new version of counterparty-lib is up on github
  • @jdogresorg ↶ Reply to #1447 #1450 02:07 PM, 30 Aug 2022
    yup.. seeing that too... will work to get it fixed
  • @jdogresorg ↶ Reply to #1447 #1451 04:18 PM, 30 Aug 2022
    just pushed out an update which fixes this issue.... running the following commands should get counterblock parsing past the issue `fednode update counterblock counterblock-testnet;fednode rebuild counterblock counterblock-testnet`
  • @jdogresorg #1452 06:34 PM, 30 Aug 2022
    FYI.. just pushed one more update to counterblock which fixes a separate issue on mainnet... after these 2 fixes, parsing on mainnet/testnet resumes and completes
  • @PPRGBX #1453 09:19 PM, 30 Aug 2022
    Joined.
  • @1998010812 #1454 10:45 PM, 30 Aug 2022
    Just trying to hook my fednode up to a seperate bitcoin core addrindex, does this look like the right config for btc core?

    rpcuser=rpc
    rpcpassword=rpc
    rpcallowip=localhost
    daemon=1
    prune=600
    minrelaytxfee=2500
    maxconnections=20
    maxuploadtarget=250
  • @jdogresorg #1455 11:06 PM, 30 Aug 2022
    federatednode/bitcoin.conf.default at master · CounterpartyXCP/federatednode

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

  • @1998010812 #1456 11:40 PM, 30 Aug 2022
    Thanks!
  • @uanbtc ↶ Reply to #1454 #1457 11:58 PM, 30 Aug 2022
    Counterparty needs a full node, pruned won’t work
  • 31 August 2022 (22 messages)
  • @1998010812 #1458 12:01 AM, 31 Aug 2022
    Yeh I know thanks
  • @1998010812 #1459 12:02 AM, 31 Aug 2022
    Might try and compress it with pied piper tho
  • @1998010812 #1461 01:11 AM, 31 Aug 2022
    ROFL