- 01 April 2024 (59 messages)
-
has anyone run into any more errors with v10?
-
-
ah thx for following up! not yet!
-
i'm running develop, you're running the beta release, right?
-
if so, this is why
-
-
generally it's a bad idea to compare message indexes/hashes between pre-release versions.
-
-
-
-
Still not kickstarting with manual installation.
My issues were the bitcoind chainstate directory has an assumed parent directory and addrindexrs version mismatch (I somehow installed a newer version of addrindexrs than required in the code check)
What do you recommend for a manual install? -
Your documentation is great. Nice details. Keep up the good work.
-
-
good question. Robby was the main author of that codebase and he chose https://opensource.org/license/CDDL-1.0Common Development and Distribution License 1.0
1. Definitions. 1.1. Contributor means each individual or entity that creates or contributes to the creation of Modifications. 1.2. Contributor Version means the combination of the Original Softwar…
-
-
I don't follow. what's the problem when you have the correct version of addrindexrs running?
-
Kickstart failed with a check. Expected 4.4.4 or 0.4.4. Afk right now.
-
-
-
Thx. So I will need to rerun from the start? 🙂
-
-
if the software doesn't throw an error, it should be fine
-
@teysol he means if he wants to have the same messages as anyone running the final cut of v10
-
-
-
lol, that's a different question
-
@ffmad if this is your question then the answer is yes. But use kickstart next time. It's fast and easy.
-
i rollback this and now syncing again, updated in the way addrindexr as it was in a previous version
-
great
-
which pre-release are you using @XJA77 ?
-
-
there's a --version cmd for counterparty-server but i don't personally know how to execute it from simplenode
-
if you can run counterparty-server cmds just share the output of counterparty-server --version
-
-
-
-
-
yep okay great so you shoulldn't hit the consensus hash mismatch this time around.
-
-
i hope so lol
-
-
-
addrindexrs is the root of the problem and is in the process of being killed courtesy of community-funded dev: https://github.com/CounterpartyXCP/counterparty-core/pull/1576WIP: counterparty-rs Indexer by adamkrellenstein · Pull Request #1576 · CounterpartyXCP/counterparty-core
Counterparty Protocol Reference Implementation. Contribute to CounterpartyXCP/counterparty-core development by creating an account on GitHub.
-
-
ah are you running kickstart? great!!!
-
no ser, start, but faster anyway
-
-
Got it. It's like 5-10x faster than start so I really recommend using it!
-
the last kickstart for me had a 20-30% speedup over the prior one!
-
-
i have one question regarding docker image generation, as i see it is in the github ci workflow but here has failed, it will be automatic each release?
-
i am planning to create a simplenode extended with the stamps indexer to easy deployment in all the machines and i would like to know what should be the process when a new version is detected, my unerstanding is that reparse counterparty db is enough but maybe im wrong
-
also, passed the missmatch block without issues, thanks :D
-
to clarify you're running rc.1; hashes are the same for it and latest
-
(afaik there's no rc.2)
-
yep, it's automatic on each release
-
so it depends on the version number change. we implement a scheme so a database rebuild is required precisely when the major or minor version number increments (historically, only a reparse was necessary on a minor version number bump, but dispensers breaks this)
-
-
Thanks ser
- 02 April 2024 (53 messages)
-
Thanks for the reply. I was looking over the counterwallet github and noticed there was no license chosen in the normal github license location, is the reason I said anything. I was looking for one and didn’t find it where I expected. Any license is what I was looking for, you all are the ones qualified and entitled to make the decisions about the licenses. Thanks.
-
-
-
-
-
-
-
-
-
-
-
-
-
NEW RESPONSE for {
"method": "get_blocks",
"params": {
"block_indexes": [779652]
},
"jsonrpc": "2.0",
"id": 0
}
{
"result": [
{
"block_index": 779652,
"block_hash": "00000000000000000002ea8eb5df114c3f198c7ef5851435e8a4d8e7bd33121c",
"block_time": 1678151949,
"previous_block_hash": "00000000000000000002124201cb18fe9fcbeb071115ac863f3d194469081376",
"difficulty": 43053844193928.45,
"ledger_hash": "2dd9dbd7b7edea619889f3584d318527936986037124b9c8f71faebc11584d24",
"txlist_hash": "b68c784f9ccac2548241c2920ac1819f6df1b7e8306db593edd6204d7af65449",
"messages_hash": "ecaa0e79eb8ff2529c5ca4653d6d9d80098e87f20f3020a6fc7208ce1b92196a",
"_messages": [
{
"message_index": 4430651,
"block_index": 779652,
"command": "insert",
"category": "sends",
"bindings": "['asset', 'block_index', 'destination', 'memo', 'quantity', 'source', 'status', 'tx_hash', 'tx_index']",
"timestamp": 1711554031,
"event": null
},
{
"message_index": 4430652,
"block_index": 779652,
"command": "insert",
"category": "issuances",
"bindings": "['asset', 'asset_longname', 'block_index', 'call_date', 'call_price', 'callable', 'description', 'divisible', 'fee_paid', 'issuer', 'locked', 'quantity', 'reset', 'source', 'status', 'transfer', 'tx_hash', 'tx_index']",
"timestamp": 1711554031,
"event": null
},
{
"message_index": 4430653,
"block_index": 779652,
"command": "insert",
"category": "issuances",
"bindings": "['asset', 'asset_longname', 'block_index', 'call_date', 'call_price', 'callable', 'description', 'divisible', 'fee_paid', 'issuer', 'locked', 'quantity', 'reset', 'source', 'status', 'transfer', 'tx_hash', 'tx_index']",
"timestamp": 1711554031,
"event": null
},
{
"message_index": 4430654,
"block_index": 779652,
"command": "insert",
"category": "sends",
"bindings": "['asset', 'block_index', 'destination', 'memo', 'quantity', 'source', 'status', 'tx_hash', 'tx_index']",
"timestamp": 1711554032,
"event": null
},
{
"message_index": 4430655,
"block_index": 779652,
"command": "insert",
"category": "sends",
"bindings": "['asset', 'block_index', 'destination', 'memo', 'quantity', 'source', 'status', 'tx_hash', 'tx_index']",
"timestamp": 1711554032,
"event": null
}
]
}
],
"id": 0,
"jsonrpc": "2.0"
} -
PREVIOUS RESPONSE:
{
"result": [
{
"block_index": 779652,
"block_hash": "00000000000000000002ea8eb5df114c3f198c7ef5851435e8a4d8e7bd33121c",
"block_time": 1678151949,
"previous_block_hash": "00000000000000000002124201cb18fe9fcbeb071115ac863f3d194469081376",
"difficulty": 43053844193928.45,
"ledger_hash": "2dd9dbd7b7edea619889f3584d318527936986037124b9c8f71faebc11584d24",
"txlist_hash": "b68c784f9ccac2548241c2920ac1819f6df1b7e8306db593edd6204d7af65449",
"messages_hash": "0c1791a755c55e765aadbbb3cef969e7c79c58610862e6f4e9dd21be652e7e0f",
"_messages": [
{
"message_index": 9123590,
"block_index": 779652,
"command": "insert",
"category": "debits",
"bindings": "{\"action\": \"send\", \"address\": \"1KDf6ZbetZfWqeQmCddupnjMnQN7fZTiiB\", \"asset\": \"WOJAKPARTY\", \"block_index\": 779652, \"event\": \"3c9d2e9c3f46b6f053ff27e7a9d57c963550cc58ca49c9e95cc3b2fd69200970\", \"quantity\": 1}",
"timestamp": 1705309510
},
{
"message_index": 9123591,
"block_index": 779652,
"command": "insert",
"category": "credits",
"bindings": "{\"action\": \"send\", \"address\": \"1CCPbFbST8ruJrTGjm2Ss5aTAaqng4naBN\", \"asset\": \"WOJAKPARTY\", \"block_index\": 779652, \"event\": \"3c9d2e9c3f46b6f053ff27e7a9d57c963550cc58ca49c9e95cc3b2fd69200970\", \"quantity\": 1}",
"timestamp": 1705309510
},
{
"message_index": 9123592,
"block_index": 779652,
"command": "insert",
"category": "sends",
"bindings": "{\"asset\": \"WOJAKPARTY\", \"block_index\": 779652, \"destination\": \"1CCPbFbST8ruJrTGjm2Ss5aTAaqng4naBN\", \"memo\": null, \"quantity\": 1, \"source\": \"1KDf6ZbetZfWqeQmCddupnjMnQN7fZTiiB\", \"status\": \"valid\", \"tx_hash\": \"3c9d2e9c3f46b6f053ff27e7a9d57c963550cc58ca49c9e95cc3b2fd69200970\", \"tx_index\": 2262967}",
"timestamp": 1705309510
},
{
"message_index": 9123593,
"block_index": 779652,
"command": "insert",
"category": "debits",
"bindings": "{\"action\": \"issuance fee\", \"address\": \"1GotRejB6XsGgMsM79TvcypeanDJRJbMtg\", \"asset\": \"XCP\", \"block_index\": 779652, \"event\": \"17686488353b65b128d19031240478ba50f1387d0ea7e5f188ea7fda78ea06f4\", \"quantity\": 0}",
"timestamp": 1705309510
},
{
"message_index": 9123594,
"block_index": 779652,
"command": "insert",
"category": "issuances",
"bindings": "{\"asset\": \"A7337447728884561000\", \"asset_longname\": null, \"block_index\": 779652, \"call_date\": 0, \"call_price\": 0.0, \"callable\": false, \"description\": \"stamp:iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==\", \"divisible\": false, \"fee_paid\": 0, \"issuer\": \"1GotRejB6XsGgMsM79TvcypeanDJRJbMtg\", \"locked\": false, \"quantity\": 1, \"reset\": false, \"source\": \"1GotRejB6XsGgMsM79TvcypeanDJRJbMtg\", \"status\": \"valid\", \"transfer\": false, \"tx_hash\": \"17686488353b65b128d19031240478ba50f1387d0ea7e5f188ea7fda78ea06f4\", \"tx_index\": 2262968}",
"timestamp": 1705309510
},
{
"message_index": 9123595,
"block_index": 779652,
"command": "insert",
"category": "credits",
"bindings": "{\"action\": \"issuance\", \"address\": \"1GotRejB6XsGgMsM79TvcypeanDJRJbMtg\", \"asset\": \"A7337447728884561000\", \"block_index\": 779652, \"event\": \"17686488353b65b128d19031240478ba50f1387d0ea7e5f188ea7fda78ea06f4\", \"quantity\": 1}",
"timestamp": 1705309510
},
{
"message_index": 9123596,
"block_index": 779652,
"command": "insert",
"category": "debits", -
-
-
-
Major api changes on get_blocks · Issue #1587 · CounterpartyXCP/counterparty-core
Hello looks like there is son issue in the api: For the method: { "method": "get_blocks", "params": { "block_indexes": [779652] }, "jsonrpc": "...
-
@XJA77 thank you for being ahead. My simplenode has been in the 600k for 3 days now 😔
The bindings with values are expected, and what actually make the messages table be reliable as a single source of truth.
Can you check if the ‘command’ has update, and is not always insert? -
looks like this is a fixed bug as @teysol mentions in the issue, maybe not updated in the docker image as i saw that sometimes didn't push good to docker hub, and yes will check but at the moment i just see inserts, in which case should be an update so i can find more specific? what im seeing is that debit and credits has disapeared in this new version
-
also now im not using the simplenode, im using the last docker-compose.yml file in the root of the repo, looks like simplenode folder doesnt exists anymore on the repo, i had to trick it to add the new info of docker-compose in to the simplenode/compose.yml file as i didnt wanted to loose my sync there
-
thank you for creating a GitHub issue. let's move the discussion there. (that looks like a bug that's already been fixed)
-
*Extremely few* bugs have been reported for any of the pre-release versions of v10.0.0... and we're planning on making the release soon. If you are running infrastructure and haven't fully tested everything yet (at least on a beta), please do so *ASAP*. Otherwise expect things to break horribly. There is nowhere near suffucient test coverage of the codebase yet to have any guarantees that there won't be accidental regressions.
Don't wait to catch up using start. Use kickstart (just published these instructions for doing kickstart with Docker https://docs.counterparty.io/docs/advanced/how-to/docker-kickstart/) or bootstrap (to test the API).
You can test it out at api0.counterparty.io. -
None
-
Yes with the new docker there is no reason to continue running mine. Is also old code by now
-
@teysol are credits and debits being included in the fixed code?
-
what do you mean "credits and debits"?
-
-
-
-
i thought the API wasnt changing for this new release
-
-
-
-
-
-
-
In my view, for Counterparty, something like this can make a lot of sense.
I believe the core reference implementation protocol can focus mostly on the block parsing. Maybe include a basic http api.
But mostly delegate the responsibility of HOW to read the DB tables to the applications.
In essence, the main consensus is a hash. Then, data produces this hash. The data is in a DB. So, the interface is the DB. The http api is an additional layer of interface.
My opinion. -
I just updated to rc.1 and I am still getting this error when kickstarting.
I believe it MAY be related to my bitcoind install storing blocks in a different folder than default while counterparty is using an assumed root directory to locate ../chainstate/, maybe. Counterparty is assuming that /blocks and /chainstate have the same root. In my instance they do not, but it is ok to run bitcoind that way and it is supported by bitcoin.conf via the blocksdir= option and not too uncommon.
blue@blue:~/counterparty-core$ counterparty-server --version
counterparty-server v10.0.0-rc.1; counterparty-lib v10.0.0-rc.1
blue@blue:~/counterparty-core$ counterparty-server kickstart
Running v10.0.0-rc.1 of Counterparty Core.
Configuration file: /home/blue/.config/counterparty/server.conf
Counterparty database: /home/blue/.local/share/counterparty/counterparty.db
Writing log to file: /home/blue/.cache/counterparty/log/server.log
Writing API accesses log to file: /home/blue/.cache/counterparty/log/server.access.log
------------------------------ kickstart ------------------------------
Warnings:
- Ensure addrindexrs is running and up to date.
- Ensure that bitcoind is stopped.
- The initialization may take a while.
Proceed with the initialization? (y/N): y
[OK] Connecting to addrindexrs...
[OK] Getting last known block hash...
[= ] Checking database state...ERROR:root:SQLITE_LOG: recovered 31 frames from WAL file /home/blue/.local/share/counterparty/counterparty.db-wal (283) SQLITE_NOTICE_RECOVER_WAL
[OK] Checking database state...
[OK] Backing up database...
Unhandled Exception
Traceback (most recent call last):
File "/home/blue/.local/bin/counterparty-server", line 8, in <module>
sys.exit(server_main())
^^^^^^^^^^^^^
File "/home/blue/.local/lib/python3.11/site-packages/counterpartycli/__init__.py", line 20, in server_main
server.main()
File "/home/blue/.local/lib/python3.11/site-packages/counterpartycli/server.py", line 223, in main
server.kickstart(
File "/home/blue/.local/lib/python3.11/site-packages/counterpartylib/server.py", line 557, in kickstart
kickstarter.run(
File "/home/blue/.local/lib/python3.11/site-packages/counterpartylib/lib/kickstart/__init__.py", line 352, in run
kickstart_db, block_count, tx_index, last_parsed_block = intialize_kickstart_db(
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/blue/.local/lib/python3.11/site-packages/counterpartylib/lib/kickstart/__init__.py", line 184, in intialize_kickstart_db
first_kickstart_block = cursor.execute('SELECT block_index FROM kickstart_blocks ORDER BY block_index LIMIT 1').fetchone()['block_index']
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable
Is there something I can do to help diagnose? I’m willing to try and can make small code changes on my side if anyone has suggestions. -
-
@ABlue0ne As I said before Counterparty does not currently support storing the chainstate and blocks dirs in different directories.
This should be documented but it's a minor thing. If want to put up a PR adding this limitation to the documentation that'd be great. -
Alternatively (or additionally) if you want Counterparty to support your setup then you can file an issue and the conversation can be picked up there.
-
See above, I typed an update while you typed this response. There is now a symlink. Counterparty should not know the difference anymore.
-
I am not sure what to say. You have an idiosyncratic setup. If you want to debug this that'd be great, but this isn't the sort of thing to block a release over.
-
Alternatively you can just file a ticket.
-
‘NoneType object error is not subscriptable’ does not point towards my setup config but rather a variable returning None when something else is expected.
Definitely dont block a release but production servers and security minded setups typically have idiosyncratic setups.
I’m game to debug, let me know what to check/do if/when you’re interested. I’ll leave github comments and tickets alone until I can run a node. -
If you want to try debugging you should start with deleting your counterparty db files. by default they're in $HOME/.local/share/counterparty
-
then just try running kickstart again.
-
-
-
Deleting db helps by getting fresh errors instead of same old.
Blocks folder and chainstate are answering where they should via symlink to make counterparty happy; I keep getting other ‘NoneType’ object not subscriptable errors.
What old version is installable manually? -
- 03 April 2024 (69 messages)
-
-
-
For me it has not used it I think as has took 6 - 7 days and as I have understood with bootstrap takes less?
-
-
in my experience it's something closer to 1TB with just mainnet, but AddrIndexRs can be unpredictable in disk usage
-
it's roughly 1TB *after compaction*
-
Joined.
-
-
is this normal logs when doing a reparse? i thought that was more dynamic logs
-
-
it's been updated. looks like it's working. pls post more screenshots in a bit
-
-
-
Haven't done a reparse myself so can't say for certain but eg kickstart is much less noisy now than it was
-
-
-
has the text changed? rollback has hung for me from time-to-time
-
also, does reparse use kickstart or start? why is it preferable to just running kickstart?
-
( @teysol )
-
@XJA77
-
No... Text still in same step
-
ach hm okay.
-
-
okay can you tail the logs?
-
-
in $HOME/.cache/counterparty I think
-
That's the tail of the logs
-
Ah okey you mean the log file? Okey will check it
-
here shows more info yes, thanks ser
-
okay yeah. it should be fast :/
-
-
Deserializando una transaccion de counterparty - BLOCKLACK.com
Como decodificar una transaccion de counterparty en el protocolo de metascript de OP CODES de Bitcoin.
-
Simple tutorial in Spanish on how to deserialize a counterparty transaction
-
you can just do a kickstart again. the reparse operation is lighter-weight and faster (but still heavily unoptimized). am curious to know how long it takes to run for you
-
The banner image is generated by chatgpt, the prompt is something like: metaprotocol counterparty living in the OP return of bitcoin
-
lol
-
If someone wants to connect to a public node just use.
https://nodes.blockvault.ai/counterparty
https://nodes.blockvault.ai/counterparty-testnet
https://nodes.blockvault.ai/bitcoin -
just didn't fry my machine, it has 128 cores and hard bag of Ram
-
this is what I get when I click on those links (and bypass a cert error)
-
Sorry wrong url
-
.ai instead of .com
-
Fixed.
-
-
-
They are open so don't use access credentials, rpc:rpc
-
-
the latest version, let me check and I'll tell you exactly.
-
I use docker and bootstrap.
-
tag: v10.0.0-beta.1, origin/master, origin/HEAD)
-
it would be nice to have an endpoint to bring that information something like /node-info. and you can know the version of the node, and if it has been synchronized using bootstrap or kickstart.
-
https://github.com/mempool/mempool/tree/master
I have another machine, 36 cores with 4TB. I thought about doing a fork of mempool.space and add the counterparty transaction decoding on the front side, so I can have a bitcoin explorer and a XCP explorer at the same time, instead of writing a new explorer from scratch. the problem is that I haven't used angular for a long time and I'm too lazy.GitHub - mempool/mempool: Explore the full Bitcoin ecosystem with mempool.space, or self-host your own instance with one-click installation on popular Raspberry Pi fullnode distros including Umbrel, Raspiblitz, Start9, and more!Explore the full Bitcoin ecosystem with mempool.space, or self-host your own instance with one-click installation on popular Raspberry Pi fullnode distros including Umbrel, Raspiblitz, Start9, and ...
-
what does the rpc command get_running_info return?
-
this is a good idea
-
Also would be good to have a website that tracks public and private nodes available
-
-
-
-
Now is just part of the url, but is also at the “version root” https://api.xcp.dev/v9_61/
-
yep I was going to put a manually curated list on the website
-
That's cool too
-
-
-
If you want to work on the react app you can just run it locally. Use the same api endpoints as the current 960.xcp.dev website. No need to run your own server.
Or is there a specific reason you also want to run the backend? -
Thanks for that. Changing api.js api_host results in about 75% functionality on the spa, with ‘issuances’ bringing up errors or no results at Asset.fetchData bundje.js 3107:54
I think there is a proxy setting somewhere I need to set also. Or api.js was the wrong place to start changing hosts. -
So you got the frontend running locally, and you see that error where? The api shouldn’t return an error like that
-
The frontend running locally. Loading the spa locally in chrome from IDE opens home page successfully, but block transactions stays at loading. some pages/functions say 404 in their div (dispensers open/closed for example) some functions like asset details return runtime error basically saying spa is expecting its resources from localhost. I only changed the host in api.js. Is there a config location/file I’m missing?
-
First confirm whatever you are trying does work in current production.
You must be in develop branch commit 31ae8b3 to have the same code as the website. Except for missing values in api.js. The main one being:
const api_host = "https://97bhdwc2g0.execute-api.us-east-1.amazonaws.com";
Wallet create stuff won’t work though. -
That aws api host is resulting in expected spa behavior. I was using https://api.xcp.dev/v9_61 and getting partial success.
-
- 04 April 2024 (28 messages)
-
-
-
-
-
-
-
Tried this json post body:
{
"method": "get_running_info",
"params": {}
}
To https://nodes.blockvault.ai/counterparty
And got this response:
{
"code": -32600,
"message": "Invalid Request",
"data": "Invalid JSON-RPC 2.0 request format"
} -
works for me using HTTPie like this:
~ > http POST https://rpc:rpc@nodes.blockvault.ai/counterparty/api/ jsonrpc="2.0" id=1 method="get_running_info"
HTTP/1.1 200 OK
Access-Control-Allow-Headers: DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization
Access-Control-Allow-Methods: GET, POST, OPTIONS
Access-Control-Allow-Origin: *
Connection: keep-alive
Content-Length: 889
Content-Type: application/json
Date: Thu, 04 Apr 2024 15:33:21 GMT
Server: nginx/1.24.0 (Ubuntu)
{
"id": "1",
"jsonrpc": "2.0",
"result": {
"api_limit_rows": 1000,
"bitcoin_block_count": 837689,
"db_caught_up": true,
"indexd_blocks_behind": 0,
"indexd_caught_up": true,
"last_block": {
"block_hash": "000000000000000000030909c6c3623d4695f4f391d6ec59aeba37e6171cd25e",
"block_index": 837689,
"block_time": 1712242483,
"difficulty": 83126997340024.61,
"ledger_hash": "d140f8127439fb6e3a13a811af41da8abd783793bdb3bd5c217ec9159b8848eb",
"messages_hash": "a44609bcd87009b828cb8096b332d9a9ca2405514b41c88233efd1fa53168b32",
"previous_block_hash": "00000000000000000000f43188863e1548c63ac13fbbdb2ebaff4edaa4c790a1",
"txlist_hash": "ad3c6b784a5eeb89147f5617dc8e1578a593d97fe0481713b3cb1365f624208c"
},
"last_message_index": 5142401,
"running_regtest": false,
"running_testcoin": false,
"running_testnet": false,
"server_ready": true,
"version_major": 10,
"version_minor": 0,
"version_revision": 0
}
} -
the nodes need to have their DBs rebuilt though—they're running into https://github.com/CounterpartyXCP/counterparty-core/issues/1587
-
Got it, thanks!
-
Following up here. Yes, updates are still showing in as command! Awesome
-
I’m guessing you aren’t a fan of manual install and I understand the status of the code… fwiw here is some feedback from manual install/upgrade on Debian LTS today…
Commit 9b66701 v10.0.1
After pulling updates and reinstalling, kickstart fails with no on screen errors, errors were on screen before.
Tailing the log shows NoneType object not subscriptable error re: lib/backend/addrindexrs.py line 469 index_check_version
It appears that force=0 or 1 changes nothing with my situation. Also appears that no connection is made to addrindexrs where (i think) previously kickstart attempts did connect to addrindexrs, or at least tried and showed something when tailing addrindexrs, but nothing now.
‘Start’ does not work any more, but did for me prior to today, it was just slow. Throws the same error now as kickstart.
‘Start’ is not taking —bitcoind-dir= option at all. @XJA77 you had a docker issue/question about something similar above, it might not be a docker only problem.
Lmk if you have questions that can help you, the project or the team. Thanks. -
I’m planning on doing the manual install so all your notes will be greatly appreciated! Have you made an issue or pr about these?
-
Not yet. Maybe when I get a better idea on the errors. I could copy paste the above if that would help.
-
You can just make a general “manual install experience” issue I guess.
Start with your machine specs and OS, add the commands you have used, etc… -
Done
-
Is the genesis repo the same as SPA but without Johns eye candy?
-
Genesis is the original single repo with everything, web app and simple api backend.
Spa is a fork, only focusing on the single page application. Api is also a fork, focusing only on the api.
I’ve continued to work on the original (now genesis). The forks may get updated by me, but not sure when. Others are free to contribute obviously.
To note is that at the time of the forks the code still didn’t have a license. Now genesis has an Unlicense license. -
im restarting everything following this: https://github.com/CounterpartyXCP/Documentation/blob/bc5416136e3b6797fc6eed60bbd5619895ce83b1/docs/advanced/how-to/docker-kickstart.md i let you know how it goesDocumentation/docs/advanced/how-to/docker-kickstart.md at bc5416136e3b6797fc6eed60bbd5619895ce83b1 · CounterpartyXCP/Documentation
Official Documentation of the Counterparty Project - CounterpartyXCP/Documentation
-
-
-
Full HD 40k LCD. for more pleasure
-
fecthing balances for Counterparty is too slow. 2 assets XCP and BCY, take more time than consulting the balance of 15 assets in ETH
-
Dispenserss have good performance
-
-
awesome!
-
-
When manually installing lib
- 05 April 2024 (9 messages)
-
-
Fresh pull to 0c18c2 and I see -core, -lib, -rs, -wallet. No -cli folder in develop branch. Let me rm and pull master.
-
-
-
-
any idea?
2024-04-05-T16:01:45+0000 [DEBUG] Opening socket to address indexer at `172.17.0.3:8432`
2024-04-05-T16:01:45+0000 [DEBUG] Connection refused by addrindexrs. Trying again in 8 seconds.
2024-04-05-T16:01:53+0000 [DEBUG] Opening socket to address indexer at `172.17.0.3:8432`
2024-04-05-T16:01:53+0000 [DEBUG] Connection refused by addrindexrs. Trying again in 8 seconds.
2024-04-05-T16:02:01+0000 [DEBUG] Opening socket to address indexer at `172.17.0.3:8432`
2024-04-05-T16:02:01+0000 [DEBUG] Connection refused by addrindexrs. Trying again in 8 seconds.
2024-04-05-T16:02:09+0000 [DEBUG] Opening socket to address indexer at `172.17.0.3:8432`
2024-04-05-T16:02:09+0000 [DEBUG] Connection refused by addrindexrs. Trying again in 8 seconds.
2024-04-05-T16:02:17+0000 [DEBUG] Opening socket to address indexer at `172.17.0.3:8432`
2024-04-05-T16:02:17+0000 [DEBUG] Connection refused by addrindexrs. Trying again in 8 seconds.
2024-04-05-T16:02:25+0000 [DEBUG] Opening socket to address indexer at `172.17.0.3:8432`
2024-04-05-T16:02:25+0000 [DEBUG] Connection refused by addrindexrs. Trying again in 8 seconds.
2024-04-05-T16:02:33+0000 [DEBUG] Opening socket to address indexer at `172.17.0.3:8432`
2024-04-05-T16:02:33+0000 [DEBUG] Connection refused by addrindexrs. Trying again in 8 seconds. -
FWIW and documentation notes: on develop fresh pull there are -core, -lib, -rs, -wallet folders.
The develop readme points to surface web for docs.
Master readme says install -rs, -lib, -cli in that order. Readmes will need a small update. -
-
I have a question... if in a transsction there are 4 inputs with different addresses, and there are 3 outputs and one of them is OP_RETURN with an enchance send... Is there a way for CP to know which input the enchance send belongs to?
- 06 April 2024 (3 messages)
-
only the first input matters
-
Node fully synced, using 808GB
-
Thanks mate
- 08 April 2024 (22 messages)
-
xcp.dev has been updated!
Mobile optimized and with dark mode. The wallet functionality is back also.
Thanks to @Chriton for leading the way into using tailwind.js, and for some design choices.
The work by John at 960.xcp.dev will most likely stay as is, but fortunately it was used and expanded in stampverse.io.
And this is actually one of the main purposes of the xcpdev project, using its open/free/libre code as a foundation to build on top of. -
I was looking the code.
-
Are you sanitizing the metadata???
-
-
The api is straight from the SQLite DB. On the front end I do clean up a bit
-
Description, urls, base64, names....
evrything you have no control over. everything that is external and dynamic. -
How to Prevent XSS: Why Base64 is Not Enough | we45 Blogs
Base64 encoding isn't enough to protect web apps from Cross-Site Scripting! Here's how to prevent XSS attacks using AppSec best practices.
-
some frameworks sanitize by default when printing, like angular or vue.
-
-
It's better to be prevent... someone can inject xss and steal users, redirect them to another page, or steal metamask private keys.
-
You're welcome man, I'll look at the code a little. And if I see something I'll let you know.
-
I’ll appreciate it! Just a single post in the api backend, so anything there that can be improved let me know here or in the repo itself
https://github.com/CNTRPRTY/xcpdev-genesis/blob/48ba3b3a1aca8ab04a70e75be0c2758449bf581b/server/express_server/src/index.js#L554xcpdev-genesis/server/express_server/src/index.js at 48ba3b3a1aca8ab04a70e75be0c2758449bf581b · CNTRPRTY/xcpdev-genesisOpen Counterparty Bitcoin Data Explorer - DIY Node - CNTRPRTY/xcpdev-genesis
-
looks like a user is having an issue with an MPMA send not showing up in the xcp database (using recent OSx version of 0.9.29)
https://blockstream.info/tx/28bd1626a21d6a5ccae60dd9b44ad95580dba829114a6dfef81b4e60cafb4bde
looks like the tx is confirmed but xchain dot io, xcp dot io are not seeing it as valid.... but xcp dot dev does...Blockstream Block ExplorerBlockstream Explorer is an open source block explorer providing detailed blockchain data across Bitcoin, Testnet, and Liquid. Supports Tor and tracking-free.
-
-
You can see the hex of the transaction here, which was stored on the Counterparty DB:
https://www.xcp.dev/tx/28bd1626a21d6a5ccae60dd9b44ad95580dba829114a6dfef81b4e60cafb4bde
But there were no messages stored. And after further debug, no entries in the sends table either.
This is a bug in the protocol it seems, maybe is an invalid mpma send. There should at least be an insert of the invalid send (and its entry in the messages table).
The decoding of the hex for mpma transactions is not yet done in xcpdev, but it should be added and it would have been very helpful in a case like this. -
-
or just a malformed message, its difficult to decode MPMA data manually
-
we tried to rule that out - and using the recent versions of FW - the wallet wont let you send invalid entries - for instance if I wrote out "address, token, amount, memo" without the spaces in between, FW will reform the data into something valid (and add the spaces for you)
-
-
ill wait for jdog to look over and let you know
-
-
MPMA issue with confirmed btc tx using Freewallet 0.9.29 · Issue #1609 · CounterpartyXCP/counterparty-core
looks like a user is having an issue with an MPMA send not showing up in the xcp database (using most recent version Mac OSx Freewallet Desktop version of 0.9.29) Steps to reproduce the behavior us...
- 09 April 2024 (45 messages)
-
-
-
-
-
-
🎉 Counterparty Core v10.0.0 Released! 🎉
Official Release Notes: https://github.com/CounterpartyXCP/counterparty-core/releases/tag/v10.0.0
This is a *huge* milestone for the project, providing a strong foundation for future releases and major improvements to the Counterparty platform. Thanks to everyone in the community that contributed to the release and testing. 🙏 -
-
how do you udpate addrindexrs? I got the latest version then built and relaunch but counterparty-server is telling me its still v0.4.4
-
-
-
-
this worked 👍
-
How is the upgrade procedure for docker installation? I just started testing yesterday, and I’m in version 10.0.0-rc.1.
And my initial impressions is that there seems to be some non-determinism in the messages table (among other things)… -
-
-
-
-
-
will discuss via DM
-
gm, been away for a minute, I was thinking I would nuke my AWS and do a full start from the begining, do we and updated install doc for ubuntu
-
v10.0 first impressions, differences to v9.61 · Issue #1614 · CounterpartyXCP/counterparty-core
Running v10.0.0-rc1, installed with Docker Compose following https://docs.counterparty.io/docs/basics/getting-started/. First of all just want to congratulate on the effort and work done to get to ...
-
-
why XCP totalSupply is 8M+ and totalsupply in xchain is 2M+ ??
-
-
the other assets calculate the total supply well, but not in xcp.
-
I see you closed my issue on github with a message that says the readme sends users to the surface web, but the surface web readme install docs are also outdated. Manual install docs references -cli not -wallet for example.
Want me to make a new issue on github to clarify? -
If there's a bug in the documetation yes please create an issue! (in this repo though: https://github.com/CounterpartyXCP/Documentation/issues)Issues · CounterpartyXCP/Documentation
Official Documentation of the Counterparty Project - Issues · CounterpartyXCP/Documentation
-
Do a kickstart*
-
-
-
By removing the addrindexrs?
-
-
I think it's a fine long-term goal, but it's really not important. The industry has tried it out many times and it usually makes ~no difference. It would definitely be counterproductive even in the medium term because of the much higher maintenance burden that it would entail.
-
the extreme example of this is Ethereum ofc.
-
I do think this is a place where Satoshi was quite prescient.
-
-
i am not saying it's impossible but in lightning's case do the separate implementations share consensus code?
-
but centralized by payment channels
-
-
Also, I know that at least two implementations are separately financed. it's at least partly an incentives thing.
-
Bringing this up specifically because of the messages table / hash.
Thinking that maybe a better approach for that table should be having minimal (but critical) data thus allowing other implementations to replicate it.
If it takes the opposite direction of including as much implementation details as possible it would make it harder to reproduce the same hash… -
-
-
At this stage, yes… maybe. It should not be a definite. Don’t trust, verify.
And I don’t understand why it should be as hard as possible to reproduce the hash… if you can elaborate that would be appreciated.
v9.61 does not have all tables as messages. Only a selection, which when analyzed, is minimal. For example, there are no blocks, transactions, assets… all which I am now seeing as messages in v10… -
For anyone interested, here is a version of xcpdev running v10:
http://v10.0.0-rc.1.preview.xcp.dev.s3-website-us-east-1.amazonaws.com
The changes to the code are in the repo (and I would appreciate any review, as I’m not getting the expected results at multiple places):
https://github.com/CNTRPRTY/xcpdev-genesis/tree/v10testsGitHub - CNTRPRTY/xcpdev-genesis at v10testsOpen Counterparty Bitcoin Data Explorer - DIY Node - GitHub - CNTRPRTY/xcpdev-genesis at v10tests
- 10 April 2024 (56 messages)
-
Joined.
-
-
Adam in Official Counterparty Dev Chat
**Show-stopping bug was just triggered on mainnet.** It's affecting both v10.0.0 and v9.61.1: https://github.com/CounterpartyXCP/counterparty-core/issues/1619
-
Appreciate the info. Do you know how should I do to use 9.61.3 version in the xcp.dev lib(https://github.com/CNTRPRTY/federatednode)GitHub - CNTRPRTY/federatednode: Federated Node Build System - Core Version - Don't trust, verify
Federated Node Build System - Core Version - Don't trust, verify - CNTRPRTY/federatednode
-
Not 100% sure. @uanbtc ?
-
Adam in Official Counterparty Dev Chat
HOTFIX v9.61.3 Released https://github.com/CounterpartyXCP/counterparty-core/releases/tag/v9.61.3
-
Looking into it now
-
Update pushed
-
-
i got this error...
-
what version are you running
-
hotfix was pushed at midnight last night: https://t.me/Counterparty_Dev/12113Adam in Official Counterparty Dev Chat
**Show-stopping bug was just triggered on mainnet.** It's affecting both v10.0.0 and v9.61.1: https://github.com/CounterpartyXCP/counterparty-core/issues/1619
-
updating right now
-
Nooo
-
Where is my :/data
-
😢😢😢
-
Need to resync my node.
-
-
-
-
docker volume ls
docker run --rm -v {volumen_simplen_node}:/data/origen -v counterparty-core_data:/data alpine sh -c "cp -av /data/origen/* /data/"
just remplace {volumen_simple_node} for the bitcoin volumen name you get from docker volume ls, -
just a simple script to copy the volumen from simple-node to the new volumen
-
if you dont have enough space this wiil fail
-
then you dont need to resync the node...
-
We need seriuously to incentive The nodes... somehow
-
-
If you are using the federatednode there is no need to do this.
If you are using github.com/CNTRPRTY/federatednode:
Go to federatednode/src/counterparty-lib. Then git pull. Finally: fednode rebuild counterparty counterparty-testnet --no-cacheGitHub - CNTRPRTY/federatednode: Federated Node Build System - Core Version - Don't trust, verifyFederated Node Build System - Core Version - Don't trust, verify - CNTRPRTY/federatednode
-
Let's drop the "CP node" term too
-
-
-
is a node that need bitcoin to work
-
-
because there is a database, which synchronizes, and that database serves as a node.
-
-
bitcoin node is the entrypoint
-
so yes is a node.
-
you want to talk to all CP network jus send a tx, then all the disributed database read from taht tx...
-
where does the node read this message from? simply from the bitcoin node.
-
-
If you have an incentivized network, you have dev working with node updates, there is a good incentive to build, and if you implement an EVM in the future, you should incentivize the nodes to run the code.
-
fedelobo
-
jijijji
-
I mean nothing special lol I think I called it a "client"
-
@teysol Periwig i don’t see rowid from query results.
https://github.com/CounterpartyXCP/counterparty-core/issues/1618Where is the rowid? · Issue #1618 · CounterpartyXCP/counterparty-coreRunning v10.0.0-rc1, installed with Docker Compose following https://docs.counterparty.io/docs/basics/getting-started/. Currently testing this version at http://v10.0.0-rc.1.preview.xcp.dev.s3-webs...
-
Joined.
-
Gm ☕️
-
-
our node working properly 😘😘😘😘
-
Thanks to @teysol for the quick fix!!!
-
Thanks to the legend
-
Figured it out. Issue closed.
-
is the get_blocks call ded?
-
getting
"error": {
"code": -32000,
"message": "Server error",
"data": {
"type": "SQLError",
"args": [
"SQLError: row value misused"
],
"message": "SQLError: row value misused"
}
},
"id": 0,
"jsonrpc": "2.0"
} with v10 -
i can create an issue
-
Queries fixed!!! Showing same results in v9.61 and v10:
https://www.xcp.dev/asset/DAILYSMOL
http://v10.0.0-rc.1.preview.xcp.dev.s3-website-us-east-1.amazonaws.com/asset/DAILYSMOL -
Final boss PEPECASH may time out, but testing to my node directly is not too bad. With the cache integrated it should work just like the current xcp.dev.
So… I stand corrected. The new schema seems to have the appropriate indexes for read queries still being reasonably fast!
Very happy with these results and congratulations to the devs 🤓 - 11 April 2024 (12 messages)
-
Discovery, load balance and telematics should be opt-in.
-
Joined.
-
Just a very quick post as I'm running out of time today:
-
Is there a known bug with the block_index field in the dispensers table?
curl -X POST https://api.counterparty.io:4000/api/ --user rpc:rpc --data-binary "{ \"method\": \"get_dispensers\", \"params\": { \"filters\": [ {\"field\": \"source\", \"op\": \"LIKE\", \"value\": \"1LbqQxREP%\" } , {\"field\": \"asset\", \"op\": \"=\", \"value\": \"XCP\" } ] , \"filterop\": \"And\", \"order_by\": \"satoshirate\", \"order_dir\": \"asc\" }, \"jsonrpc\": \"2.0\", \"id\": 0 }"
{"result": [{"tx_index": 2708478, "tx_hash": "63cfae80d7caf50c37b139c4ee6f076db421e3b0d7bc34616a2318ae0b600e5a", "block_index": 833712, "source": "1LbqQxREPfeMFNPx9VGpGTiMo4kaiMSpHw", "asset": "XCP", "give_quantity": 100000000, "escrow_quantity": 30000000000, "satoshirate": 23000, "status": 0, "give_remaining": 29900000000, "oracle_address": null, "last_status_tx_hash": null, "origin": "12CeCTTKXNW1D57Pzfc2QheJBEHd37Cnq8", "dispense_count": 1}], "id": 0, "jsonrpc": "2.0"} -
Until a few days ago, this was returning the correct block index: 833637
-
open an issue
-
I’m afk - Will do so tomorrow
-
I think those servers have been updated to v10…
I notice that you are querying for an address starts with, is it because you are interested in multiple addresses?
You can check them individually in xcp.dev which is still running v9.61… maybe the api calls here can be useful to you, as it shows both open and closed dispensers for an address -
How do I rebuild and use 9.61.3.
-
Do I checkout the branch basically
-
If you are running from github.com/CNTRPRTY, yes.Bitcoin and Counterparty Tools
Decentralizing CNTRPRTY: "Counterparty is Bitcoin. Is on top of Bitcoin. Is Web3. Is Web5. Two steps ahead." 🐸 - Bitcoin and Counterparty Tools
-
- 12 April 2024 (31 messages)
-
Ok, so if I have a fednode there's no upgrade path within that paradigm. I need to reroll?
-
I tried this:git remote -v
git remote set-url origin https://github.com/CounterpartyXCP/counterparty-core.gitgit remote -v
git fetch --tags git checkout v9.61.3
git pull
git fetch origingit reset --hard v9.61.3
git clean -fd
And then I ran this:fednode rebuild counterparty
But that installed the new version, so I guess rebuild isn't the move. Is it update or restart? -
I've got like a 10 XCP bounty for the chad who knows how to get the service to use the branch.
-
But that installed the new version as in v10?
-
I think so because when I tail counterparty after I get this error (in part):
Wrong addrindexrs version: 0.4.6 is needed but 0.4.1 was found
And I think v10 requires that version -
-
-
It's in da cloud
-
Backups for wimps
-
lol but you might be in a weird codebase with the commands you did…
Maybe go to federatednode/src and in each of those folders check the commit you are in. Then you’ll know where you stand and checkout to the versions you should be in each.
But the software might want to reparse… not sure what will happen -
git branch * (HEAD detached at v9.61.3)
-
-
-
ok so i guess i installed the lastest somehow doing what I did:
commit 69b91be86b8f0835981186b3f1ca04f5f11d183f (HEAD, tag: v9.61.3, tag: v10.0.1-2, tag: v10.0.1, origin/master, origin/HEAD) -
I think the issue is I tried to use the tags, but there's two. And one doesn't do what it says on the tin.
https://github.com/CounterpartyXCP/counterparty-core/releases/tag/v9.61.3
https://github.com/CounterpartyXCP/counterparty-core/releases/tag/v9.61.3-2Release v9.61.3 · CounterpartyXCP/counterparty-coreRelease Notes - Counterparty Core v9.61.3 (2024-04-09) ChangeLog Stability and Correctness Add missing sanity check in address unpacking for dispensers that causes a complete network crash Credit...
-
-
I'm back in business doing what I did before but using "v9.61.3-2" instead of "v9.61.3".
-
Hit me with an address and I'll send you 10 XCP
-
I saw Adam mention it doesn't make sense to work on Counterblock.
-
Just sharing that this is where mine failed:
INFO:assets: Credit 1 A2737059176450433500 to 1CCMRNyv4zmGgr9eHHgMU2XcFtsPUqNohN (new bal: 1, msgID: 10198330) -
Block 820116
-
Mmmm that block looks familiar for me I think I had same issue in one of my runs
-
I know counterblock is a dependency for counterwallet. What does counterblock do?
-
Joined.
-
@uanbtc if you have a second, could you try to generate this create send and see if it throws a parse error?
https://t.me/Counterparty_XCP/234017Derp in Official Counterparty Chat{ method: 'create_send', params: { source: 'bc1qy25gwr9vdrvxx0w35wa9vrpc3hc5h6rd0p56f4', destination: 'bc1q7ra8ec9nmzfw96rnayss83lqzcz78gd0hsp2j0', asset: 'BTC', quantity: 69420, allow_unconfirmed_inputs: true, extended_tx_info: true, fee: 41882 }, jsonrpc: '2.0', id: 0 }
-
Yes is working:
{
"result": {
"btc_in": 403250,
"btc_out": 69420,
"btc_change": 291948,
"btc_fee": 41882,
"tx_hex": "0200000000010186faad59fbe95a53e88914da84f4e9c87b62fe173437c9b15ba76ee3ad3059250100000016001422a8870cac68d8633dd1a3ba560c388df14be86dffffffff022c0f010000000000160014f0fa7ce0b3d892e2e873e92103c7e01605e3a1af6c7404000000000016001422a8870cac68d8633dd1a3ba560c388df14be86d02000000000000"
},
"id": 0,
"jsonrpc": "2.0"
}
When done directly to the node. (But have to check why is not working on the website…) -
I didn’t try on xcp.dev, I was making the call manually against api.counterparty
-
Just trying to see who’s infrastructure is affected by this issue and figure out why
-
May be related to v10. My understanding is that 1 or more of the api.counterparty nodes have been updated.
There will an another v10.1 release very soon.
https://github.com/CounterpartyXCP/counterparty-core/pull/1640
Hopefully this solves most/all issues, but it is still a release with MANY changes, so the safest is to rely on v9.61 for critical infrastructure.v10.1.0-rc.1 by ouziel-slama · Pull Request #1640 · CounterpartyXCP/counterparty-coreRelease Notes - Counterparty Core v10.1.0-rc.1 Note: This update requires a reparse from block 835,500. (If you are upgrading from v9.x.y, then you need a full database rebuild.) ChangeLog Bugfixes...
-
And the website is fixed now
-
Thank you for looking into it. Appreciate it ser
- 13 April 2024 (25 messages)
-
one more day one more bug. that's a good sign.
-
soon we will have a network of stable nodes.
-
I love it when a bunch of strangers met together and create something beautiful. that's the beauty of open source
-
-
Yes
-
GitHub - blocklack-team/counterpartydb: A Counterparty db wrapper
A Counterparty db wrapper. Contribute to blocklack-team/counterpartydb development by creating an account on GitHub.
-
why?
-
-
Not just stopped there
-
although the performance is fast, almost 200k requests in a few seconds
-
-
Casey (@rodarmor) on X
Light Pools: A simple solution for decentralized trading of Bitcoin-native assets. Mempool-sniping resistant, price and cost effective. I'm not going to build this one, unlike runes where I was like, eh, who knows. I hope someone else does! 🧵 https://t.co/euLTnYIckk
-
This could easily integrate with utxo bound counterparty assets if someone builds it
-
P2P is hard imo
-
agree, i dont think its "better" than AMMs persay but still interesting and someone will probly try to build it
-
AMMs are buyer, seller and market maker
-
2Mz2v54yrfR276y16yEsh81Uu8A1BHuDBgE
does anyone have tbtc and xcp from testnet to give to me? -
I would appreciate it.
-
I can send you some in a few hours if no one else has any
-
Thanks mate 👍
-
guys in May we will have an event in Barcelona to talk about CP, and historical NFts and some OGs will talk about their crypto experience in the early days.... If any of you are in a CP project, or you know Bitcoin since early years and you have been participating in projects and you can prove it. Dm me.. I would like you to be able to attend.
-
👍
-
I would love to stop by! (As a visitor, don't have much to say 😁)
-
When will it be? Sounds interesting
-
Yeah you got a link with more details?
- 14 April 2024 (4 messages)
-
-
is this normal?
-
Weird SQLite Error on Startup · Issue #1655 · CounterpartyXCP/counterparty-core
13|counter | [2024-04-14 08:28:05][INFO] Running v10.1.0-rc.1 of counterparty-lib. 13|counter | [2024-04-14 08:28:05][INFO] Running v10.1.0-rc.1 of counterparty-server. 13|counter | [2024-04-14 08:...
-
So multiple bugs have been discovered with v10.x.y since it was released last week, including a problem with triggering dispensers via the API. It turns out that no one tested it for the ~month that it was in pre-release. I expected this to happen, and I warned everyone with a message pinned to this channel (see below). In addition, Freewallet has not been updated to use SSL for api.counterparty.io by default, so for now it won't work until you manually change the wallet settings. A new release is being prepared that fixes all known regressions, and I'll deploy that to the public API servers as soon as it's ready. In the meantime, if you would like to use v9.61.3 on plain HTTP, which is insecure, just hit http://api1.counterparty.io:4000. (In Freewallet, set "CP Host" to "api1.counterparty.io" and "CP SSL" back to "No".)
- 15 April 2024 (9 messages)
-
is anyone having problems with testnet bitcoin nodes? transactions that were with 2, 3 confirmations disappear.... on some nodes have 2 confirmations, on others 0.
-
https://mempool.space/es/testnet/tx/56aa0215f2c6e1ca8bcb115358f73eb90b0de65e004b01a1248a7a5a7ff7b9b8Bitcoin Testnet Transaction: 56aa0215f2c6e1ca8bcb115358f73eb90b0de65e004b01a1248a7a5a7ff7b9b8
Explore the full Bitcoin ecosystem with mempool.space
-
BTC Transaction 56aa0215f2c6e1ca8bcb115358f73eb90b0de65e004b01a1248a7a5a7ff7b9b8 | BlockCypher
0.099696 BTC transacted in TX 56aa0215f2c6e1ca8bcb115358f73eb90b0de65e004b01a1248a7a5a7ff7b9b8 (fees were 0.0000741 BTC). This transaction was mined in BTC block 00000000000019fe7d2bebc1bce07d0078be4fe47b4953fe802dae7cd9b4085c. 1 input consumed, 1 output created.
-
6.3k transaction in testnet mempool
-
ahhhh
-
-
I think is something shit weird pre-halving
-
People prepping for runes launch
-
There’s also some runes projects that are rewarding “points” for testnet mints
- 16 April 2024 (22 messages)
-
New Release of Counterparty Core: v10.1.0.
This release fixes a number of long-standing bugs, in addition to some regressions in v10.0.x. It has already been running on api.counterparty.io for the past 24 hours and been shown to be stable. The full release notes are available on https://github.com/CounterpartyXCP/counterparty-core/releases/tag/v10.1.0Release v10.1.0 · CounterpartyXCP/counterparty-coreRelease Notes - Counterparty Core v10.1.0 (2024-04-16) This release includes fixes for a number of bugs as well as a few regressions in v10.0.x. Upgrade Procedure This upgrade is optional but highl...
-
I’m using the docker compose installation. Did a git pull.
Next trying this command:
docker-compose up -d --force-recreate counterparty-core
But is not working, getting this error:
ERROR: Configuration for volume data specifies "device" driver_opt /root/counterparty-core/${XDG_DATA_HOME:-~/.local/share}/counterparty-docker-data, but a volume with the same name uses a different "device" driver_opt (/root/counterparty-docker-data). If you wish to use the new configuration, please remove the existing volume "counterparty-core_data" first:
$ docker volume rm counterparty-core_data
It says the solution is to delete the data folder… which I could do (because I’m still testing everything relying on bootstrap) but just asking here before in case the delete is not necessary. -
It looks like you could set this env var and run the command again: “export COUNTERPART_DOCKER_DATA=/root”
-
-
-
did that too
-
I set literal path instead from ENV
-
-
-
Adam is not in this channel. I think if you ask in https://t.me/Counterparty_Dev he can answerOfficial Counterparty Dev Chat
Group for discussion about Counterparty based development Github: https://github.com/CounterpartyXCP/ Docs: https://docs.counterparty.io/
-
Yes
-
Ok then, good to know.
Guess is a good moment to also announce that I was removed as a member of the “official” repo in the weekend. Is only Adam now it seems… -
Deleted everything and now I’m getting this:
https://github.com/CounterpartyXCP/counterparty-core/issues/1690Docker compose installation failing · Issue #1690 · CounterpartyXCP/counterparty-coreSteps To Reproduce Following the instructions from https://docs.counterparty.io/docs/basics/getting-started/. git clone git@github.com:CounterpartyXCP/counterparty-core.git cd counterparty-core mkd...
-
? what's the connection between Adam leaving this channel and your maintainer status?
-
-
I mean I don't think anyone needs to be a part of any particular channel. the "official" dev chat has more than 2x members.
-
-
I mean I don't know what to say to that lol. Adam is an adult who makes his own decisions; he gets to choose which Telegram channels he is a member of.
-
And the number of members has never being an important metric here. Maybe the opposite.
The bio explains the purpose of this group. Then add the Decentralizing CNTRPRTY project (github.com/CNTRPRTY), which this would be the “support chat” for.Bitcoin and Counterparty ToolsDecentralizing CNTRPRTY: "Counterparty is Bitcoin. Is on top of Bitcoin. Is Web3. Is Web5. Two steps ahead." 🐸 - Bitcoin and Counterparty Tools
-
I don't know what I'm supposed to do with that information. Should I tell Adam he is being formally censured and can only redeem himself by rejoining this channel?
-
-
Hi, all. Below is an important message about the upcoming API redesign. TLDR: with v10.1.2, APIv2 will be released and APIv1 will be officially deprecated. It will still be supported for some period of time, but its use will be discouraged and it will be removed eventually. We've got some number of weeks yet till v10.1.2 is released, but want to give folks (especially infrastructure providers) as much notice as possible so that they have enough time to migrate over to the new API.
--
In early January, 2024 discussions about improving Counterparty Core's API began on Telegram. Users' primary complaints were that calls were "too slow" and lacking in critical features. Three GitHub issues were created to identify problems with the current API: one for users to request specific additional API calls (https://github.com/CounterpartyXCP/counterparty-core/issues/1299); one to document slow API calls (https://github.com/CounterpartyXCP/counterparty-core/issues/1359), and one to discuss the design of the new API (https://github.com/CounterpartyXCP/counterparty-core/issues/1327). Users were encouraged to comment on all of these issues over the following weeks.
As requests for specific improvements to the API were not forthcoming, issue #1299 was closed on January 29. Adam and Ouziel determined from their own testing that the apparent slowness of the API was actually the result of the necessary client-side filtering users had to do because the API wasn't sufficiently powerful, and so issue #1359 was closed on March 11. The issue for the API redesign (#1327) has been open since January 15, and has received no comments except one on January 16.
Two weeks ago, Ouziel began work on the new API and published the first pull request for a new API ('APIv2'), which includes the specification for APIv2: https://github.com/CounterpartyXCP/counterparty-core/pull/1607. Following the design specified in (#1327), that PR states, when APIv2 is released, the current API ('APIv1') will be deprecated; it will be disabled by default and put behind the route /old/api.
APIv2 is set to be released as part of v10.1.2. While v10.1.2 will not be a mandatory upgrade, api.counterparty.io servers will be running v10.1.2 as soon as it's released, and therefore services which use api.counterparty.io must update their calls to the latter with APIv2's routes. Furthermore, with the release of v10.1.2, APIv1 will be officially deprecated and supported only for a fixed period of time during which users must migrate to the new version. It will eventually be removed. APIv2 will be significantly faster, better-tested, and more user-friendly than v1. On the other hand, it will abstract away a number of implementation details of the current codebase that some developers may depend on today. Of course, if a user or downstream developer wishes to bypass the API and access the Counterparty DB directly, they are welcome to—however, it will be the responsibility of that developer to maintain their own software as the implementation changes. There will continue to exist an endpoint for fetching from the messages table, which may be used for similar purposes and which will be officially supported.Expand API to Support Block Explorers · Issue #1299 · CounterpartyXCP/counterparty-coreIt seems that right now, if you want to create even a simple Counterparty block explorer, you first have to implement a lot of extra functionality in the backend. xchain.io has done this (closed-so...
- 17 April 2024 (24 messages)
-
http://v10.0.0-rc.1.preview.xcp.dev.s3-website-us-east-1.amazonaws.com is back up. It is still running v10.0 which is out of consensus because of 1+ bugs, but it will be updated to v10.1 as soon as the docker installation is fixed.
But I still encourage everyone to see it and compare it to (still v9) xcp.dev. There are a couple of key differences, noticeable in the unconfirmed transactions in the homepage and block/<block> pages.
v9 and v10 are both following the same protocol. Then, the consensus hashes are matching 2 of the 3 values. The one mismatching is the messages hash. And as seen in v10 xcpdev, the messages in v10 are now representing “events”. -
Has anyone been able to successfully multisend recently
-
I'm getting AddrIndexRsClient -- Error in response: timed out
-
@droplister what version are you running? this should be fixed in 10.1 I think: https://github.com/CounterpartyXCP/counterparty-core/issues/1659AddrIndexRs Communication Issue · Issue #1659 · CounterpartyXCP/counterparty-core
Getting a ton of this: 13|counterparty | counterpartylib.lib.exceptions.BalanceError: Insufficient BTC at address 1Q8f3efUeUCxhwtU1yJGiXuwbMFxGz9sjd. (Need approximately 7.68e-05 BTC.) 13|counterpa...
-
I was using Free Wallet, so it could be that, but it's aimed at api.counterparty.io
-
ah hm okay no good; api.counterparty.io is running 10.1. Anything useful in the console?
-
Can't wait to get rid of addrindexrs
-
I reinstalled FreeWallet and it worked, so maybe there was a minor point version JDog pushed or that helped clear out some cache.
-
False alarm
-
good to hear. for the curious: there's a WIP PR to kill AddrIndexRs: https://github.com/CounterpartyXCP/counterparty-core/pull/1576
Will be part of v11WIP: counterparty-rs Indexer by adamkrellenstein · Pull Request #1576 · CounterpartyXCP/counterparty-coreCounterparty Protocol Reference Implementation. Contribute to CounterpartyXCP/counterparty-core development by creating an account on GitHub.
-
-
-
-
-
What installation method?
-
-
-
-
Whatever you can share of the procedure you followed…
-
-
-
# COUNTERPARTY INSTALLATION STEPS USING DOCKER (TESTED):
- 1. Create Persistent docker Volume:
- docker volume create -d local -o type=none -o o=bind -o device=/root/.bitcoin/ data
- 2. Run bitcoind and wait until sync:
- docker run --rm -d \
--name bitcoind \
-v /home/.local/share/counterparty-docker-data/:/bitcoin/.bitcoin \
-p 8332:8332 \
kylemanna/bitcoind:latest -chain=main -rpcallowip=0.0.0.0/0 -rpcbind=0.0.0.0 -rpcuser=rpc -rpcpassword=rpc -listen=1 -server=1 -printtoconsole=1 -addresstype=legacy -txindex=1 -prune=0
-dbcache=4000 -mempoolfullrbf=1
- 3. Export env var for bitcoind:
- export DAEMON_RPC_HOST=$(docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' bitcoind)
- 4. Run Addrindexrs and wait until sync:
- docker run --rm -d \
--name addrindexrs \
-v /home/.local/share/counterparty-docker-data:/root/.bitcoin \
-v /home/.local/share/counterparty-docker-data:/data \
-p 8432:8432 \
counterparty/addrindexrs:v0.4.6 \
--network=main --indexer-rpc-host=0.0.0.0 --daemon-rpc-host=$DAEMON_RPC_HOST --daemon-rpc-port=8332 \
--cookie=rpc:rpc -vvv --db-dir=/data/
- 5. Export env var for addrindexrs:
- export ADDRINDEXRS_HOST=$(docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' addrindexrs)
- 6. STOP bitcoind:
- docker stop bitcoind
- 7. Run Counterparty on kickstart mode
- docker run -it --ipc=host \
--volume /home/.local/share/counterparty-docker-data/:/root/.bitcoin \
--volume /home/.local/share/counterparty-docker-data/:/data \
-p 4000:4000 \
-e XDG_DATA_HOME=/data/ \ -e XDG_LOG_HOME=/data/ \
counterparty/counterparty:v10.0.1 \
kickstart \
--mainnet \
--backend-connect=$DAEMON_RPC_HOST \
--indexd-connect=$ADDRINDEXRS_HOST \
--rpc-host=0.0.0.0 \
--bitcoind-dir=/root/.bitcoin/ \
--verbose \
--force
8. Once synced with kickstart, pause counterparty and remove it.
- docker stop counterparty && docker rm counterparty
9. Start again bitcoind with the same command showed in point 2.
10.Update counterparty to v10.1.0 and run it with start instead of kickstart
- docker run -it --ipc=host --name counterparty \
--volume /home/.local/share/counterparty-docker-data/:/root/.bitcoin \
--volume /home/.local/share/counterparty-docker-data/:/data \
-p 4000:4000 \
-e XDG_DATA_HOME=/data/ \
-e XDG_LOG_HOME=/data/ \
counterparty/counterparty:v10.1.0 \
start \
--mainnet \
--backend-connect=$DAEMON_RPC_HOST \
--indexd-connect=$ADDRINDEXRS_HOST \
--rpc-host=0.0.0.0 \
--verbose \
--skip-db-check
WARN: --verbose and --skip-db-check flag are optional, I added --skip-db-check after experiment some issues in this step. -
-
xcp.dev has been updated, focusing on the wallet’s create section!
Methods available:
create_broadcast
create_issuance
create_send
create_dispenser
create_order
create_sweep
And (some) advanced parameters are available for all. For example, manually choosing the encoding for the transaction! - 18 April 2024 (2 messages)
-
@herpenstein gm, I have been reading through 721 protocol specs (great stuff) and I have a few questions if you find the time to share.
Does 721 still share the stamps indexer and is there an opensource indexer for others to run locally for 721 or stamps? Great idea implementing cp asset ID.
I’m overthinking the reveal, is there more info on revealing/compositing the layers for the user?
Could person A create a ‘Single Item’ (not in a collection) token with some traits from collection B, one trait from person C’s asset, and a trait from asset D?
How much magic is the indexer doing in 721 world? What are your thoughts about using 721 specs minus a collection?
Amazing contribution, wonderful documentation. Is your github still the best place for 721 details? Please let me know if there is a better dev chat for 721. Thanks. -
Just updated to include all advanced parameters. And added a couple of more methods.
Done with the wallet for now, unless I receive specific feedback - 19 April 2024 (4 messages)
-
Descifra el futuro de Blockchain con expertos | Blocklack Space
Descubre las tendencias y predicciones del futuro de Blockchain con expertos en nuestro evento en persona en Blocklack Space.
-
I have a stamps question. Looking at their chat I see clams about “mutability” when comparing it to other projects like runes…
What can be mutable in Bitcoin? Isn’t that the whole point of the block hash?
Maybe the confusion is with the “prunable” data, which is after the fact, and optional for the nodes that which to not store the complete history…
Or maybe I’m deeply confused 😆 -
Yeah I’ve mistakenly used mutability in place of prunability sometimes. Ignore that.
-
- 21 April 2024 (7 messages)
-
-
-
Now it says 10 hrs, still better than… weeks 😆
-
Ty. The stamps indexer is the only place src721 are being indexed. The reveal function has never been used by anyone. Because of the rigidity in the original approach I’ve been working on an update to the spec that allows you as the dev significantly more flexability.
https://github.com/DerpHerpenstein/src-721/tree/draft_version_r
The stamps indexer was recently updated to return the binary file data for any stamp by using the url /s/cpid. This allows us to use JavaScript and load any stamp within a stamp and manipulate it any way we like. You can <script src=/s/cpid> or do inline js and use fetch(/s/cpid). In this way you can store libraries on chain and reuse them. Create html,css,js,json, whatever you want.
We used this technique create Hyperspace, the first 3d game embedded in utxos.GitHub - DerpHerpenstein/src-721 at draft_version_rContribute to DerpHerpenstein/src-721 development by creating an account on GitHub.
-
We’re also in the process of making it dead simple for users to utilize these techniques with a web ide
-
-
You can select a template and write code to create something cool, then our backend will minify, compress, and package the content in such a way that it automatically assembled on load time.
That 3d cube can be stamped for about 1kb. - 22 April 2024 (6 messages)
-
Now it just says “1 day”, which is not very useful in this context, maybe is better to just keep the hours. Is at block 671000…
-
it's not a sophisticated calculation
-
i believe last block parsed time * total number of blocks left to parse
-
things slow down over time, substantially after dispensers, and a bit more so after 819300
-
lots of testing suggests on regular consumer hardware 8-24hrs. my last kickstart took 18 hours I believe: i7, 5 cores, 8gb RAM.
-
Same ram, but is ec2 ‘s “t2.large”. Which is 2 cores
- 23 April 2024 (3 messages)
-
Does anyone have xcp to sell me for usdt?...
-
-
thought I would ask here, does anyone have some extra signet btc they can send me for testing?
- 24 April 2024 (61 messages)
-
-
api is unchanged.
-
lemme doublecheck but that's my understanding. one sec
-
-
confirmed
-
-
can you try api.counterparty.io