6375 Commits

Author SHA1 Message Date
Vitor Pamplona
d5d289a834 Uses note.toEventUri to make sure the relay hint is correct
Avoids crash when adding an event to gallery without a relay hint.
2025-02-24 20:46:33 -05:00
Vitor Pamplona
a2d9f31a8a Assigning hints to NIPs until NIP-53
Speeding up Bech32 and Hex processing
Updating Boosts and Reposts to the new way of declaring tags
Renaming the SHA256 hash tag from NIP94 to not confuse with # hashtags
2025-02-24 17:09:08 -05:00
Vitor Pamplona
3790325a0f uses const val for faster MurMur 2025-02-22 16:19:01 -05:00
Vitor Pamplona
96f57b2c90 Fixes tag name on ImageTag 2025-02-22 16:18:46 -05:00
Vitor Pamplona
4b10dd58df It's slightly faster to reject params in one line than on many. 2025-02-22 16:17:10 -05:00
Vitor Pamplona
dc4240a8f5 Increasing the amount of addresses 2025-02-20 18:06:17 -05:00
Vitor Pamplona
3220d793b4 Using a linked set for the relayDB is faster to loop through on mightContain 2025-02-20 17:44:36 -05:00
Vitor Pamplona
84a52a1ce0 Speeding MurMur up
Adding more test cases
Mapping out memory used by filter
2025-02-20 17:10:24 -05:00
Vitor Pamplona
aaf86bf53e Adds a Bloom-based hint indexer with MurMur hash 2025-02-20 14:07:10 -05:00
Vitor Pamplona
94e0f4ed02 Performance improvements on the PoW miner 2025-02-18 20:44:24 -05:00
Vitor Pamplona
af29133272 Simplifies the benchmark for PoW 2025-02-18 19:00:05 -05:00
Vitor Pamplona
06240b1f15 Updates libsecp256k 2025-02-18 18:14:52 -05:00
Vitor Pamplona
d47ec06b19 Deleting the experimental serializer test 2025-02-18 17:51:34 -05:00
Vitor Pamplona
9689acb5f3 Deletes experimental serializer on NIP-01
Moves classes to the appropriate packages on NIP-01
Adds a PoW miner to quartz.
Adds a PoW commit evaluator as a bytearray of the ID
2025-02-18 17:47:34 -05:00
Vitor Pamplona
bcb3838e85 Fixes isTagged for events 2025-02-18 12:04:39 -05:00
Vitor Pamplona
4fcf962c71 Fixes r-tag migration 2025-02-18 12:00:22 -05:00
Vitor Pamplona
2de4bb1adc Reverses ATag Generalization (It just made things more complicated) 2025-02-18 11:51:16 -05:00
Vitor Pamplona
9e1a2bb1e4 Removes the notion of generic Address references 2025-02-18 11:29:52 -05:00
Vitor Pamplona
8720b00d4f Separates the random benchmark from the Sign/Verify benchmarks 2025-02-18 10:19:51 -05:00
Vitor Pamplona
9c35008fc4 Moves Sha256 to a pool of digests to double the hashing performance 2025-02-18 09:40:17 -05:00
Vitor Pamplona
fad08830a1 Merge branch 'main' of https://github.com/vitorpamplona/amethyst 2025-02-17 19:13:14 -05:00
Vitor Pamplona
6d9964a1cb Decoupling NIP01 methods from CryptoUtils
Decoupling Encryption and Decryptions from CryptoUtils
Decoupling live instances of JNI bindings for Secp and LibSodium from CryptoUtils
Decoupling key cache from CryptoUtils
Reorganizes NIP-04 to match new package structure
Adjusts test structures to match
2025-02-17 19:13:05 -05:00
Vitor Pamplona
70ced84dc3
Merge pull request #1278 from vitorpamplona/l10n_crowdin_translations
New Crowdin Translations
2025-02-17 18:59:34 -05:00
Crowdin Bot
50da982b36 New Crowdin translations by GitHub Action 2025-02-17 19:14:58 +00:00
Vitor Pamplona
7ad8b2ce46 Migrates LocalCache from being based on ATags to Addresses, removing the need to use memory space to store relay hints 2025-02-17 14:12:54 -05:00
Vitor Pamplona
94ffe783e9 Merge branch 'main' of https://github.com/vitorpamplona/amethyst 2025-02-17 11:18:47 -05:00
Vitor Pamplona
41e47fa71d Fixes running new events on the main thread. 2025-02-17 11:17:38 -05:00
Vitor Pamplona
08dd634eae Fixes crash when evaluating the isHex function for an emoji 2025-02-17 11:12:47 -05:00
David Kaspar
cb3aa6c329
Merge pull request #1277 from vitorpamplona/l10n_crowdin_translations
New Crowdin Translations
2025-02-16 19:42:57 +01:00
Crowdin Bot
4e2e24c7ab New Crowdin translations by GitHub Action 2025-02-16 16:55:21 +00:00
Vitor Pamplona
67106e8a11 Renames PoW processor to parser 2025-02-16 11:53:23 -05:00
Vitor Pamplona
06c7ea0123 Merge branch 'main' of https://github.com/vitorpamplona/amethyst 2025-02-14 16:31:33 -05:00
Vitor Pamplona
8022ac525f Makes sure deletions happen in the background thread. 2025-02-14 16:29:10 -05:00
Vitor Pamplona
534f1ed8cd Adds Tim Bourma's test case 2025-02-14 16:28:56 -05:00
Vitor Pamplona
793b3fcd16 Renames PoW Parser to open space for the PoW creator 2025-02-14 16:28:40 -05:00
Vitor Pamplona
a4f84227b6
Merge pull request #1276 from MoonDusk1996/main
fix wrong word
2025-02-14 14:48:26 -05:00
Dusk
e921f26d5f
fix wrong word 2025-02-14 13:34:59 -04:00
David Kaspar
0c3a792a84
Merge pull request #1275 from vitorpamplona/l10n_crowdin_translations
New Crowdin Translations
2025-02-14 17:15:44 +01:00
Crowdin Bot
6481fcbecd New Crowdin translations by GitHub Action 2025-02-14 16:07:00 +00:00
Vitor Pamplona
0f6c3b9a3a Moves to vico chart 2.0 2025-02-14 11:05:00 -05:00
Vitor Pamplona
dcb0e31cd6 Updating activity compose, coil, combosebom, firebasebom, fragmentktx, kotlinserialization, mockk and navigation compose 2025-02-13 19:02:15 -05:00
Vitor Pamplona
09cff7c930 Merge branch 'main' of https://github.com/vitorpamplona/amethyst 2025-02-13 19:01:37 -05:00
Vitor Pamplona
cb121835f5 Stops using vico's forEach custom function (it's going to be deleted in the next version) 2025-02-13 19:01:30 -05:00
Vitor Pamplona
0610416f61 Updates AGP to 8.8.1 2025-02-13 17:59:23 -05:00
Vitor Pamplona
f0116ad06e
Merge pull request #1274 from vitorpamplona/l10n_crowdin_translations
New Crowdin Translations
2025-02-13 17:55:17 -05:00
Crowdin Bot
89664a2813 New Crowdin translations by GitHub Action 2025-02-13 22:49:05 +00:00
Vitor Pamplona
9f465d3296 Merge branch 'main' of https://github.com/vitorpamplona/amethyst
# Conflicts:
#	amethyst/src/main/res/values-uz-rUZ/strings.xml
2025-02-13 17:40:00 -05:00
Vitor Pamplona
9c21a8a7da Massive refactoring of Quartz to:
- Define each tag in their own class.
- Allow extension functions to additional responsibilities to other classes
- Migrate from hardcoded tag filters in events to the Tag's parser and assemble functions.
- Migrate hardcoded event.create to builders that use extension functions
- Restructures threading infrastructure for NIP-10
- Decouple the event signing from the Event building functions via event templates
- Create classes to represent Tags and TagArrays and use extension functions to add domain-related methods to the tag array of each nip.
- Uses external functions on event template builders to better point to which functions and which tags can be used in which event kinds.
- Separates Event kinds in packages inside each nip.
- Improves support for NIP-89
- Correctly establishes which imeta params can be used in each nip (video, picture, files)
- Decouples the iMeta builder from any nip.
- Fixes mute list word and user removal when inserted from a different client.
- Migrates the Account class to avoiding having to build each Event inside of it
2025-02-13 17:39:13 -05:00
Vitor Pamplona
0f3b3c4b2d Adds support for NIP-73 2025-02-13 17:19:09 -05:00
Vitor Pamplona
68d4686424 Adds NostrMedia as a paid blossom relay option 2025-02-13 17:10:51 -05:00