brk on Nostr: It depends, if a dataset needs to be parsed from the chain then yes but then the ...
It depends,
if a dataset needs to be parsed from the chain then yes but then the speed varies a lot depending on what you need to parse.
if I only need to parse let's say the block's weight it gonna be super fast because I can skip a lot of things that I already parsed and don't need for that and so, keep the local databases that I have from the previous iteration.
Whereas if I want to parse (or reparse for whatever reason) the amount of sats per address then I need to recompute all the wallet's history and the databases linked to them which is very expensive.
There is also the much more common case when a dataset can be computed from other datasets which very very fast
Published at
2024-07-12 15:13:09Event JSON
{
"id": "e8ed61824192064e930f0a4b3e63c593f7d4b60ea7b6192c9aaaeea6e3e2cc5e",
"pubkey": "9751bdc4d12ff6e4cc6b61b102f71e445ef245bc830bf40af6566a6a246137c6",
"created_at": 1720797189,
"kind": 1,
"tags": [
[
"e",
"521a66e3f8d3b1cc14bb5b5a8c7d9a5ddb63146c079f8a8e65d2b19a17878b10",
"",
"root"
],
[
"e",
"1bff6942d76f99d5451aaedcf2b0e079e107138984a5b27d5407a38d2383ac4a",
"",
"reply"
],
[
"p",
"9751bdc4d12ff6e4cc6b61b102f71e445ef245bc830bf40af6566a6a246137c6"
],
[
"p",
"9db334a465cc3f6107ed847eec0bc6c835e76ba50625f4c1900cbcb9df808d91"
]
],
"content": "It depends,\n\nif a dataset needs to be parsed from the chain then yes but then the speed varies a lot depending on what you need to parse.\n\nif I only need to parse let's say the block's weight it gonna be super fast because I can skip a lot of things that I already parsed and don't need for that and so, keep the local databases that I have from the previous iteration.\nWhereas if I want to parse (or reparse for whatever reason) the amount of sats per address then I need to recompute all the wallet's history and the databases linked to them which is very expensive.\n\nThere is also the much more common case when a dataset can be computed from other datasets which very very fast",
"sig": "34b466144bef5d110ee8082601c9696aa2556307623da922a2b320eb175e7368fe424d936b264144ef8ac42f702d448eea7c79458e30159ccdc770923e42ec3e"
}