- 13 January 2024 (674 messages)
-
reparse should rescan the blockchain and reverify all txes but not sure I follow: why would the hashes change?
-
-
-
i think regardless it's worth documenting any hash mismatches
-
can you be more specific about which hashes are mismatching?
-
-
yeah i'd say document it, reparse and if it's not fixed file an issue
-
-
I don't really know what to make of that. Without more context, what you're describing sounds like a showstopping bug, but would need to know more about your setup.
-
@XJA77 you did not use bootstrap, correct?
-
-
did xchain and xcpdev use bootstrap?
-
-
-
i.e. between 9.60 and 9.61?
-
-
-
okay do the reparse but pinging @teysol on this.
-
the accidental hardfork was in 9.59 right?
-
-
this is why we need the test suite to pass and why we need more people to run nodes (and ofc therefore need better performance)
-
@XJA77 thank you for doing the yeoman's work here
-
do xcpdev and xchain match?
-
-
-
-
-
-
-
anyway, when i connected the stamps indexer to my node and a new block is mined i have this error sometimes, maybe is related :
[2024-01-13 16:34:52][ERROR] API Exception: {'type': 'BusyError', 'args': ('BusyError: database is locked',), 'message': 'BusyError: database is locked'}
federatednode-counterparty-1 | Traceback (most recent call last):
federatednode-counterparty-1 | File "/usr/local/lib/python3.6/dist-packages/jsonrpc/manager.py", line 108, in _get_responses
federatednode-counterparty-1 | result = method(*request.args, **request.kwargs)
federatednode-counterparty-1 | File "/counterparty-lib/counterpartylib/lib/api.py", line 687, in get_method
federatednode-counterparty-1 | return get_rows(self.db, table=table, **kwargs)
federatednode-counterparty-1 | File "/counterparty-lib/counterpartylib/lib/api.py", line 287, in get_rows
federatednode-counterparty-1 | query_result = db_query(db, statement, tuple(bindings))
federatednode-counterparty-1 | File "/counterparty-lib/counterpartylib/lib/api.py", line 144, in db_query
federatednode-counterparty-1 | results = list(cursor.execute(statement, bindings))
federatednode-counterparty-1 | File "src/cursor.c", line 236, in resetcursor
federatednode-counterparty-1 | apsw.BusyError: BusyError: database is locked -
-
is what i thought but... is the only strange thing/problem i had during parsing so wanted to mention it
-
-
-
-
-
Only message hashes
-
Ledger hashes should be the same
-
-
It’s not hard to dig back and find where they diverge
-
if you show me the road i can try to dig in it, but is my first experience with a cp node
-
Am I wrong to be concerned with just disclosed information in the other counterparty chat?
-
Domains don’t define counterparty as we’ve seen
-
Neither do repos for that matter
-
my bad i was on mobile device and typing rarepepe mike was too much
-
no.
-
we survived the hard fork stuff, we'll survive this.
-
look back in this chat and see some of the attacks that were gamed out for the hard fork; it could have been very bad. if everyone's running the same version of the software (and assuming we can get the hash mismatches @XJA77 has identified sorted) then hosting and domain ownership become secondary considerations.
-
hash miss matches are why bootstrap got made ..@uanbtc
-
-
I think it's not that simple unfortunately
-
in any event, will have to resolve the discrepancies and commit to do regular reparses
-
-
this is just another patch... doesnt solves the underlaying issue
-
-
my bad
is why nobootstrap got made -
-
@XJA77 do they match up to a certain block height?
-
-
nobs mode .. speaks for itself
-
...
-
-
-
that should be trivial to determine, no?
-
-
-
okay so there are three different ledgers: xcpdev, xchain and yours. are you saying that all three matched up until yesterday?
-
-
do xcpdev and xchain match?
-
no ser
-
-
but you match with xcpdev
-
now i am not matching
-
right, so there are three different ledgers
-
can you identify the block at which you and xcpdev diverged?
-
i will check
-
thank you. also need to know when xcpdev and xchain diverged.
-
-
-
-
I mean you'd want to ask someone more up to date but intuitively you just want to get all the hashes by block height and see the earliest point they start to differ. no special blockchian knowledge required
-
-
-
-
let's do python
-
-
there is some code on git about this I believe .. to do with recent changes
-
okay afk for a bit.
-
--no-bootstrap installation option by pataegrillo · Pull Request #342 · CounterpartyXCP/federatednode
Federated Node Build System. Contribute to CounterpartyXCP/federatednode development by creating an account on GitHub.
-
- NO_BOOTSTRAP option and selective bootstrap downloading by pataegrillo · Pull Request #1218 · CounterpartyXCP/counterparty-lib
Passing a new parameter NO_BOOTSTRAP to disable bootstrap downloading and start parsing from scratch Passing a new parameter BTC_NETWORK to make mainnet container only download the mainnet bootst...
-
Bootstrap database has incorrect "ledger_hash" and "txlist_hash" ..? · Issue #1031 · CounterpartyXCP/counterparty-lib
Hi, I found that my own counterparty testnet node has different ledger_hash and txlist_hash compared to testnet.xchain.io. As far as I found out that the bootstrap database has different ledger_has...
-
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...
-
-
that last issue omg...
-
-
-
-
PR that 'fixes' the issue was merged 14 months ago
-
-
Db integrity check changes by pataegrillo · Pull Request #1213 · CounterpartyXCP/counterparty-lib
Counterparty Protocol Reference Implementation. Contribute to CounterpartyXCP/counterparty-lib development by creating an account on GitHub.
-
i believe this is called the moneyshot: https://github.com/CounterpartyXCP/counterparty-lib/pull/1213/files#diff-72464f5530534e496b5c436141339815eb144880591ab91580af4f381113b80cR105Db integrity check changes by pataegrillo · Pull Request #1213 · CounterpartyXCP/counterparty-lib
Counterparty Protocol Reference Implementation. Contribute to CounterpartyXCP/counterparty-lib development by creating an account on GitHub.
-
Deferred.
-
You’re so there.
-
Been saying that all along.
-
-
-
i think that's the last thing we have to worry about lol
-
thank you very much!
-
yes lol jajaja
-
-
-
Competitor based off of repo location alone. It’s a window into the bigger picture that I have been saying for a week.
-
GitHub - jdogresorg/Broadcast-Token-Naming-System: Broadcast Token Naming System (BTNS) specs, docs, and tools
Broadcast Token Naming System (BTNS) specs, docs, and tools - jdogresorg/Broadcast-Token-Naming-System
-
Similar to ‘Stamps and company’ (numbered only)
-
Not really. Stamps use dispensers and other native CP features and do require xcp for things like sweep. BTNS is entirely dislocated from xcp and counterparty features. The same criticism against src20 (which was migrated off of counterparty early on)
-
I would like this to be part of the lib api
-
that was a python script running on flask server
-
Yes!!
-
I don’t think they are. The protocol is the hashes. The lib is an utility to the protocol
-
Bookmark for later. I have a real life.
-
I expect a good dev could do something .. I could share my python to help
-
-
-
-
It is build to include the genesis divisibility, taken from the issuance table, based on the genesis block from the asset table
Is the most efficient single query that contains the divisible property that I have come up with. Open to optimizations
This divisibility, and the ux expectancy of always showing the latest description, are big bottlenecks in the current DB schema
The description is solvable by simply doing different UX. The other, divisibility, is more deep -
looks like the btns example in cip long enough to make multisig 'dust' n 'abuse' utxo if not swept
https://github.com/CounterpartyXCP/cips/blob/master/cip-0028.mdcips/cip-0028.md at master · CounterpartyXCP/cipsCounterparty Improvement Proposals. Contribute to CounterpartyXCP/cips development by creating an account on GitHub.
-
-
Thissssss
-
Full parse as default is how I would do the consensus protocol app. Is so backwards that the bootstrap is the default
-
@uanbtc I made a bad typo
-
-
-
-
-
-
this is me against api.counterparty.io matching txlist and ledger hashes:
{
"ledger_hash": true,
"txlist_hash": true,
"messages_hash": false,
"block_index_ledger_match": 825095,
"block_index_tx_match": 825114,
"block_index_msg_match": 0,
"block_index": 0,
"last_block": 825089
} -
-
When your checks are done ... last comment on this thread may help ?
https://github.com/CounterpartyXCP/counterparty-lib/issues/1240#issuecomment-1745777884Tx included in v9.60.1 but not in v9.60.2 · Issue #1240 · CounterpartyXCP/counterparty-libThis dispense is shown on xcp.dev - https://www.xcp.dev/tx/16bd438b1dee6b1f750758eeabef7a876c204082a088c48ca51c416d6651d5db It is not a Counterparty tx according to xchain - https://xchain.io/tx/16...
-
-
-
-
-
-
ah okey yes for sure...
-
-
-
yes both api.counterparty and public.coindaddy diverge from mine in same block (please just check the ones ending with match)
-
-
ah yes I see ty
-
-
-
You should go back to 100 blocks before the divergence and reparse
-
see what happens and I think we go from there. pinging @teysol for when he's back.
-
In any event @XJA77 *please document all of this as you go*
-
-
This
-
ach it's been ages for me :-/. @uanbtc can you weigh in
-
(or @hodlencoinfield or @jp_janssen or whoever 🙂)
-
-
thank *you* for your help - everyone! we'll figure it out.
-
from the docs. have no idea if they're out of date
-
i always just ran counterpartyd directly ☝️littl clunky...
-
@XJA77 that's the general syntax for fednode cmds. not sure how to reparse specifically. will lyk
-
-
-
-
-
-
I know the main get status api changes with additional infos when's it up but that's about it ... finding the html/js to play with took a while but I did n it seems to be copied at run time and you have to stop restart to try n get it to load changes ... painfull n think that's why I gave up
but if it could give json info to power wallet be nice -
0. Haven’t used it because is not core to the protocol
-
Only my first time learning
-
it could be valuable in certain cases (looking at the API here: https://github.com/CounterpartyXCP/Documentation/blob/master/Developers/counterblock_API.md)Documentation/Developers/counterblock_API.md at master · CounterpartyXCP/Documentation
Official Documentation of the Counterparty Project - CounterpartyXCP/Documentation
-
-
-
regarding https://github.com/CounterpartyXCP/counterparty-lib/issues/1294, I would vote for Solution #1. it goes beyond counterblock IMO — anything consuming counterparty-lib messages should not have to make a separate assertion (and separate logic) for dispensers. messy to do so...Issue with v9.61 in counterwallet+counterblock · Issue #1294 · CounterpartyXCP/counterparty-lib
From @jdogresorg in a chat: """ For the past week or so counterwallet has been down because counterblock (counterwallets backend) has been choking on parsing blocks. There is a probl...
-
-
-
@robbyrbd do you remember how to do a reparse via cli? (this is evan)
-
hey evan, ...lord it's been awhile on that. looks like there should be a reparse argument - https://github.com/CounterpartyXCP/counterparty-cli/blob/master/counterpartycli/server.py#L82counterparty-cli/counterpartycli/server.py at master · CounterpartyXCP/counterparty-cli
Counterparty Protocol Command‐Line Interface. Contribute to CounterpartyXCP/counterparty-cli development by creating an account on GitHub.
-
-
v9.59,6 release notes
Fixes issue with dispensers not working with addresses that start with 3 (p2sh addresses)
Upgrade Procedure
For those running a federated node you should run the following commands:
cd federatednode/ fednode update counterparty counterparty-testnet fednode rebuild counterparty counterparty-testnet fednode rollback 724000 counterparty fednode start counterparty -
-
the docs linked from repo fail
https://counterparty.io/docs/federated_node/Running a Node | CounterpartyInstallation/federated_node.md
-
-
-
-
if you look at https://github.com/CounterpartyXCP/counterparty-lib/blob/master/counterpartylib/lib/config.py#L85 you will see that BLOCK_FIRST_MAINNET is 278270. So much more reparsing involved vs block 720400counterparty-lib/counterpartylib/lib/config.py at master · CounterpartyXCP/counterparty-lib
Counterparty Protocol Reference Implementation. Contribute to CounterpartyXCP/counterparty-lib development by creating an account on GitHub.
-
-
-
-
docs are soo dated too
https://docs.counterparty.io/docs/advanced/advanced-usage/multisig/
p2sh support been partially added
we can use p2sh just don't have counterparty api supportUsing multisig with counterparty-server | Counterparty"Bare Multisig" (i.e. not P2SH) is supported with Counterparty. This document shows you how to use it with counterparty-server on testnet.
-
-
@B0BSmith you can find docs through gh even if there are deadlinks on the site lol
-
-
found this: https://docs.counterparty.io/docs/advanced/cli/Command-line (CLI) Guide | Counterparty
The following examples are abridged for parsimony (meaning: actions are
-
reparse is not documented afaik but looks like robby found it.
-
-
-
yeah but it's not clear to users multisig is fine I don't see p2sh support infact it says opposite
https://github.com/CounterpartyXCP/Documentation/blob/master/Developers/Notes_and_Tutorials/multisig_counterparty-server.mdDocumentation/Developers/Notes_and_Tutorials/multisig_counterparty-server.md at master · CounterpartyXCP/DocumentationOfficial Documentation of the Counterparty Project - CounterpartyXCP/Documentation
-
-
yeah, it appears p2sh is supported - https://github.com/CounterpartyXCP/counterparty-lib/blob/master/counterpartylib/lib/transaction.py#L311counterparty-lib/counterpartylib/lib/transaction.py at master · CounterpartyXCP/counterparty-lib
Counterparty Protocol Reference Implementation. Contribute to CounterpartyXCP/counterparty-lib development by creating an account on GitHub.
-
-
yeah I have used it
-
-
-
-
-
I not talking data encoding I talking 3 type addresses for every day use
-
-
Stamps is built on this, yes
-
we use opreturn to send asset from p2sh manually
-
-
I don't find I can sorry
-
-
-
-
-
-
-
-
-
-
-
-
sounds like I could do that if I tried ...I never really done much git
-
yes and you can force baremultisig to encode data even if op return is a viability if you want that utxoset residence
-
Also stamps goes directly to multisig in issuances
-
yes you force it on the api
-
somewhere I hear a Bitcoin core dev screaming 😂
-
-
-
-
what's your opinion of burn keys ? do you know of it ?
-
-
forced dust return pubkey
https://github.com/mikeinspace/stamps/blob/main/Key-Burn.mdstamps/Key-Burn.md at main · mikeinspace/stampsContribute to mikeinspace/stamps development by creating an account on GitHub.
-
-
-
another issue to consider, for me hs not many sense that counterparty service brokes if there is a database lock IMO
federatednode-counterparty-1 | [2024-01-13 21:49:52][ERROR] Unhandled Exception
federatednode-counterparty-1 | Traceback (most recent call last):
federatednode-counterparty-1 | File "/usr/local/bin/counterparty-server", line 11, in <module>
federatednode-counterparty-1 | load_entry_point('counterparty-cli', 'console_scripts', 'counterparty-server')()
federatednode-counterparty-1 | File "/counterparty-cli/counterpartycli/__init__.py", line 16, in server_main
federatednode-counterparty-1 | server.main()
federatednode-counterparty-1 | File "/counterparty-cli/counterpartycli/server.py", line 174, in main
federatednode-counterparty-1 | server.start_all(db)
federatednode-counterparty-1 | File "/counterparty-lib/counterpartylib/server.py", line 499, in start_all
federatednode-counterparty-1 | blocks.follow(db)
federatednode-counterparty-1 | File "/counterparty-lib/counterpartylib/lib/blocks.py", line 1483, in follow
federatednode-counterparty-1 | new_ledger_hash, new_txlist_hash, new_messages_hash, found_messages_hash = parse_block(db, block_index, block_time)
federatednode-counterparty-1 | apsw.BusyError: BusyError: database is locked
federatednode-counterparty-1 exited with code 0 -
-
-
it makes no spending key
-
-
and did it clean up dust ? no I don't think it did
-
-
the relevant code is at https://github.com/CounterpartyXCP/counterparty-lib/blob/master/counterpartylib/lib/transaction.py#L311 and https://github.com/CounterpartyXCP/counterwallet/blob/fe4064e8b9ef3e6f1c314f4386d6461e7aa6fa08/src/js/components/balances.js#L1385counterparty-lib/counterpartylib/lib/transaction.py at master · CounterpartyXCP/counterparty-lib
Counterparty Protocol Reference Implementation. Contribute to CounterpartyXCP/counterparty-lib development by creating an account on GitHub.
-
-
@uanbtc seems it here maybe ? dust
-
it might not have...might just be sweeping non-dust amounts and assets...
-
-
-
-
Update on xvp.dev
I have the homepage, blocks, tx and address pages done so far.
I'm currently working on the wallet page.
After that I think there is just one more to go (asset) and we can push to prod (xcp.dev).
@uanbtc can you confirm that is the final page?
So far they look like this (see the left side) -
-
-
-
there is a tx page too @uanbtc
https://www.xcp.dev/tx/b461cd41e5616ac8ef58cda765c358b9d76d4189d108402c0e686f6eea9cf7b8 -
looks very nice 👌
-
Wait I forgot about that, I did that also 🤣
-
-
-
-
-
Bookmark 2. Catching up. Be back later.
-
Three and done for now
-
Tennessee 2024 is going to be great.
-
wen dark mode
-
- 14 January 2024 (319 messages)
-
first I need to finish the pages then we'll see. I know, I like dark mode too
-
-
Pinned for notice. Clarifying etiquette should not have to be part of the room description.
Those who only contribute extraneous dialog will be silenced if they continue after two warnings, each by a separate dev, admin or mod
Those who are overtly disruptive will removed.
No drama. No politics
Thanks for understanding -
None
-
this is exactly how counterwallet did it 10 years ago. just called the relevant create_ API call to get the raw unsigned hex tx, signed that locally via javascript, and broadcasted it back out via counterparty (or counterblock, can't remember)
-
counterwallet/src/js/components/wallet.js at fe4064e8b9ef3e6f1c314f4386d6461e7aa6fa08 · CounterpartyXCP/counterwallet
Counterparty web wallet. Contribute to CounterpartyXCP/counterwallet development by creating an account on GitHub.
-
IIRC it would also do some basic verification/validation on the returned tx, and it could submit the API requests to multiple counterparty/counterblock servers to verify that they were returning the same data (so if one was not functioning correctly or compromised we wouldn't just be blindly going off of it)
-
yeah counterwallet was a real winner @robbyrbd. some pretty bad code rot it seems
-
I think everyone in this chat knows this but having three different ledgers may raise some nasty reconciliation questions. I know this isn't _the_ answer but IMO it does highlight the importance of having 'official', public nodes that don't use bootstrap.
-
yeah, needs TLC just like most things would with updating dependencies, bitcoin upgrades. I think things like fee estimation need to be fixed. I just brought it up to show that what was mentioned we were already doing. Derp or others can feel free to pick over the bones and take whatever would help from the javascript in a license-compliant manner.
-
I want to bump this instead of link it again. from earlier this year. came up in conversation, twice so far. so it is on anyone else's radar if helpful.
re: using Counterparty with Electrum -
i think it's a great model! yeah, the TLC need is real. adam and ouziel are getting the counterparty-lib's test suite back up and running (tests have been failing for > 5 years it seems)
-
-
neither did i lol
-
-
yep he's great at these kinds of endurance tasks
-
here are some highlights: db integrity checks have been disabled by default, 2 weeks to catch up to current block height (CP's db is 8gb), test suites been failing at least since subassets were introduced. i think those are the biggies...
-
the bootstrap thing is a convenience factor but as it's the path of least resistance, it tends to induce undesirable trust and centralization qualities. also highlights the importance of continued reparsing performance improvements to make full reparses not as painful and allow for more "true" full nodes
-
it _really_ shouldn't be the default.
-
(IMO)
-
-
in a similar way to this hardfork, there's some weird consequences to the fact that the default block explorer and node was using bootstrap.
-
-
yep, we've got someone from symbiont we want to have help with perf work. as discussed, just have to get him paid in something at least currency-adjacent lol.
-
-
out of scope for the channel but yeah lol
-
one of the ways users have funded open development is by using auctions. The community comes together to donate cryptoart to one wallet for this cause. Everything in the wallet is the lot. if the auction house sent the winning bid, minus fees to said worker, then that would be the most direct route to raise funds at this time, with no "official counterparty organization on paper with an accountant" needed afaik.
there are a few auction houses which would likely participate. maybe more than one would be willing. Something like this could take place, before or during improvements. But the biggest yields/result would be after the casual users can feel safe again.
also, instead of an auction house, everything could be vaulted on emblem and the whole lot auctioned on/with eth.
this is the kind of non-development objective I think that the @xcpfoundation participants should be able to handle. I know I'm willing to plan for something like this in that room as to stay on topic -
yeah @hodlencoinfield mentioned this and I was in disbelief at first but having thought about it more I 100% see why it will work
-
-
We'll have to do normal sizing and planning, etc. in order to assign a cost to the work. what do these auctions do if the full cost isn't covered by the sale?
-
-
-
got it okay, makes sense
-
@robbyrbd you should check out the rarepepe wallet, which @hodlencoinfield. it's awesome.
-
-
There is a new one with hardware wallet support: https://rarepepewallet.wtf/Rare Pepe Wallet
Collect rare pepes and mint new pepes on Bitcoin.
-
I'm thinking about it, and I'd be willing to put a $2000 bounty on someone that could get counterwallet and counterblock all updated to work well (updated deps, fix fee estimation, make sure the bitcoin js libraries they are using don't have bugs, etc). I have to run but I can specify this out further. It's probably 2-3 weeks of work. I could do it if I had the time, but paying out a bounty will allow another member of the community like @uanbtc or another wallet dev to get comfortable with the code
-
-
-
oh wow this is neat. improved UI from the one I used years ago. I like how it has all the collections. it would be nice to browse the full collection and/or see the cards I didn't have in my wallet (greyed out), but I guess rarepepedirectory will suffice for that
-
pepe.wtf is very cool for that
-
Check out xcp.ninja
Has all the collections and you can paste your address to see what you hold -
wow, all these new sites, and smoking pepes (https://xcp.ninja/asset/A2691100020608160205) — very cool. thanks
-
dear sers.
-
This humble pepe frog asks for your opinion
-
GitHub - blocklack-team/counterpartydb: A Counterparty db wrapper
A Counterparty db wrapper. Contribute to blocklack-team/counterpartydb development by creating an account on GitHub.
-
I made a new update on the api db
-
That particular stamp uses the src721 spec created by @herpenstein it’s a method of using json to point at a number of pre-minted “traits” as 10K pfp collections tend to have a lot in common. So it removes all the redundancy across a collection.
-
I've added comparability so you can make calls like you usually do in counterparty lib.
{ method: "get_balances", filters[]....... -
but I still haven't decided whether to continue with the get methods that I added in the first commit.
-
what do you think?
-
-
-
-
1. Install rust.
2. You must add a .env pointing to the db file or the url.
3. Execute cargo run. -
-
@XJA77 He provided me with a counterparty.db that should work for you
-
DATABASE_URL.
-
I should add more information on how to run it.
-
counterpartydb/src/main.rs at 458649a061ff56d0bc1a112ae1744ec1885f4f7a · blocklack-team/counterpartydb
A Counterparty db wrapper. Contribute to blocklack-team/counterpartydb development by creating an account on GitHub.
-
-
https://github.com/blocklack-team/counterpartydb/blob/main/models2.py
Also i added an autogenerated python model to be able to create the models and schemas of the database. If anyone wants to help, you can start there. we need to migrate the model with the proper datatypes to rustcounterpartydb/models2.py at main · blocklack-team/counterpartydbA Counterparty db wrapper. Contribute to blocklack-team/counterpartydb development by creating an account on GitHub.
-
Just make a sql dump
-
Then point the enviremont var to that file.
-
-
https://github.com/blocklack-team/counterpartydb/blob/main/src/models.rs
These are the models i have... Tonight I just focused on building the endpointscounterpartydb/src/models.rs at main · blocklack-team/counterpartydbA Counterparty db wrapper. Contribute to blocklack-team/counterpartydb development by creating an account on GitHub.
-
None
-
-
I would like to start building the blockparser in Rust as well. but it all depends if some devs are willing to give me some support in the api I'm creating....
-
-
I think that’s the one
-
yes this is the block
-
-
-
@Jpcryptos respectfully, it's unclear what kind of support you're looking for. generally there's an expectation that people will work on what they want to work on and that if there's a will in the community others will work on it, too.
-
-
if you need changes to be made to counterparty-lib for the work you're proposing that's one thing, but at this point it's very unclear what you're looking for from others.
-
-
I'm just expressing my opinion. I will only build the blockparser in Rust if there is someone else willing to help me. It's just a statement. If no one is interested, then I won't be interested in doing it...
-
got it, I think it makes sense to post in a channel with more people. perhaps the official counterparty dev chat?
-
I published it here and on the other devs channel.... I don't think it's necessary to do it where the majority don't have technical knowledge.
-
Dude, you're going to burn out..
-
good part is i love my work :)
-
Counterparty-lib is fine, I just want to migrate the blockparser separately...
-
You need to learn Rust first, in that task your brain will really burn out.
-
GitHub - JavierCervilla/COUNTERPARTY_UTILS: Aim of this repo is to be a recopilation of utils scripts and tools for Counterparty node operators and users. Feel free to fork and create PRs against it to improve it.
Aim of this repo is to be a recopilation of utils scripts and tools for Counterparty node operators and users. Feel free to fork and create PRs against it to improve it. - JavierCervilla/COUNTERPAR...
-
-
-
I like to see how everyone is contributing according to what they can...
-
I was reviewing the SQL queries that are made and more space could be saved if well-structured relationships are made to avoid duplicate data...
-
An example.
https://github.com/blocklack-team/counterpartydb/blob/458649a061ff56d0bc1a112ae1744ec1885f4f7a/models2.py#L329
The issuances sometimes store the name of the asset.counterpartydb/models2.py at 458649a061ff56d0bc1a112ae1744ec1885f4f7a · blocklack-team/counterpartydbA Counterparty db wrapper. Contribute to blocklack-team/counterpartydb development by creating an account on GitHub.
-
@uanbtc has some CIPS around it
-
block_index is saved many times in almost all tables.
https://github.com/blocklack-team/counterpartydb/blob/458649a061ff56d0bc1a112ae1744ec1885f4f7a/models2.py#L364counterpartydb/models2.py at 458649a061ff56d0bc1a112ae1744ec1885f4f7a · blocklack-team/counterpartydbA Counterparty db wrapper. Contribute to blocklack-team/counterpartydb development by creating an account on GitHub.
-
50 times
-
addresses are saved about 20 times.
-
-
But
We could just not copy the description. Is what I have been mentioning that the expected “last description” is the one from the last issuance row is again, problematic -
In the case of addresses, source, issuer, a relationship can be made to the Address table...
-
but I don't understand why the Address table has block_index?
-
-
Do you mean thse every time a transfer or a event related to that address happeb, is the block_index updated?
-
block index and all values that are addresses can be related to the Addresses and Blocks table.... that will give us a lot of space savings. and optimize the call queries
-
Also building this I realized that you can gain performance if api.py (flask) switch to graphql.
-
It is more optimal if the query logic is transferred to the client, and we free counterparty-lib from that load of logic and loops...
-
broadcasts znd dex trades are not too much .. my wallet had them using cp api to generate the tx hex ... a beiadcast no different to z issuance really in client wallet it's just a type of counterparty message
wallet calls cp api gets returned txhex signs and sends ... what's needed tho to go with it is broadcast history dex trades etc
we have seen broadcasts used by devs to initiate actions in mint servers -
-
-
-
-
-
here is my destroy tx (watch only mode wallet ) .. now also shows txhex as qr
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Electrum-Counterparty/js/xcp at master · Jpja/Electrum-Counterparty
Generate OP_RETURN for sending Counterparty tokens from Electrum - Jpja/Electrum-Counterparty
-
-
-
Tnx, it's my pet project. Far from complete. Hope it can be useful for
-
other wallets too. Solution to blind signing
-
-
yeah if we decode tx hex and op return and verify then is not blind sign
-
I'm going to add a note to the README that bootstrap should not be used for commercial or public-facing nodes
-
-
Multiple attempts at a Overspent disprnsooooor?
-
-
-
-
-
im getting an error on reparse after one of this warning
-
-
-
-
-
-
This one was stop matching at this exactly block
-
Will need to check against xcp dev later the script again
-
Okey with xchain is the same
-
-
-
-
how long did it take for you to catch up?
-
Let me check
-
-
Better lol with all the nodes using bootstrap less xcpdev there are not any good reference...
-
-
-
-
-
-
-
-
-
Next step in my node would be a rollback from this block right?
-
-
-
thanks @XJA77 for the PR that you sent....
-
I could have sworn some of the older performance optimizations changed it to do that but looking at https://github.com/CounterpartyXCP/counterparty-lib/blob/master/counterpartylib/lib/blocks.py#L1455 that doesn't appear to be the case. should be an easy gaincounterparty-lib/counterpartylib/lib/blocks.py at master · CounterpartyXCP/counterparty-lib
Counterparty Protocol Reference Implementation. Contribute to CounterpartyXCP/counterparty-lib development by creating an account on GitHub.
-
Challenge accepted! Let’s go!!!
-
-
Team work makes the dream work
-
Sounds good. Thank you
-
Peter Todd python lib is fast bitcoind slooow
-
-
this is seed signer hww integration too BTW.. it loves a qr code that lil device
-
-
Why 753? It will take another week
-
-
-
-
I'm thinking on xcpdev and I think we have a really good opportunity to educate users from there, we can add tooltips that explain some things for example in the messages (in counterparty every action in handled as messages) topical question mark that when you hover in it open a dialog with the info
-
ah it takes that long?? then yeah go back maybe 10 days from today
-
-
So it's like 5 api calls for a asset market page
open dispensers
dispenser history
dex history
bids
asks
if you exclude dispensers ppl can 'lose money' as they maybe don't see recent sales and true market price -
-
that's in python?
-
yeah I get a link
-
GitHub - petertodd/python-bitcoinlib: Python3 library providing an easy interface to the Bitcoin data structures and protocol.
Python3 library providing an easy interface to the Bitcoin data structures and protocol. - petertodd/python-bitcoinlib
-
-
-
-
-
-
Yeah that is a counterparty-lib dependency but probly hasn’t been updated in a while
-
-
Sounds about right
-
btns is pure broadcast no cp assets, so more 'abusive' than stamps and can't use most cp features
-
oh FFS
-
this. consensus is hard.
-
-
@teysol back in the day python-bitcoinlib was not super actively maintained and that seems still to be the case.
-
-
-
strange i think undolog has 100 blocks as limit maybe?
-
i believe the undolog is for re-orgs so it would make sense to have a sensible limit on it
-
-
-
-
-
It shows them https://www.xcp.dev/asset/OTHERWORLD
-
🔥🔥🔥🔥🔥🔥🔥🔥🔥
-
I like this a lot!
Thinking the default xcp.dev becomes the community version with nice ui and more minor detailed features like this one.
But I kind of like the simplistic minimalistic “genesis” version of the website. And want to keep it alive in some capacity.
And thinking this can also become the “embedded” option, not competing with the style of the website is on. Like https://www.vivalavandal.biz/ did
Waiting for any feedback before moving ahead with this:
https://github.com/CNTRPRTY/xcpdev/issues/17Split repo · Issue #17 · CNTRPRTY/xcpdev@JavierCervilla @Chriton @DerpHerpenstein @mkeresty I'm thinking about splitting this one repo into: CNTRPRTY/xcpdev-genesis: This repo reverted to commit 0ffba5d. Will live in its own subdomai...
-
-
No, only because of trying to minimize my costs. Should definitely be available eventually
-
-
@uanbtc I'd encourage you (and all block explorer providers) to consider offering paid tiers. costs should not be eaten by service providers
-
Is part of the same fednode. But having it off means I can have a smaller more economical server be more performant
-
Yes I’m open to this. But my initial focus was on providing the ease of onboarding for MORE nodes!
-
oh for sure! totally on the same page about the need for more nodes and think xcpdev is a great step in that direction
-
just want to make sure you guys aren't footing the bill for something everyone benefits from when there are tried-and-true business models for this sort of thing.
-
I would love to see a testnet instance n could sell a few cards to fund it
-
I am using vue3 and ts t, it is much better for the UI
-
This is my point. I believe the best move is to allow the default xcp.dev to flourish with community contributions.
And I can just continue keeping the original xcpdev alive in some non-www subdomain for the people that like the minimalistic design. -
Will definitely have it in mind. And is just a natural, xcpdev is educational
-
-
please don't set up any crypto 'honeypots' LOL
-
-
-
-
i don't! honeypot is generally not a good thing tho lol
-
Ehehe