mirror of
https://github.com/coracle-social/coracle.git
synced 2024-09-30 00:41:12 +00:00
Bump threshold up on pool
This commit is contained in:
parent
a55336786b
commit
efac30809a
53
README.md
53
README.md
@ -18,36 +18,42 @@ If you like Coracle and want to support its development, you can donate sats via
|
|||||||
- [x] Persist and load relay list
|
- [x] Persist and load relay list
|
||||||
- [x] NIP 05
|
- [x] NIP 05
|
||||||
- [x] Direct messages using NIP 04
|
- [x] Direct messages using NIP 04
|
||||||
- [ ] Separate settings for read, write, and broadcast relays based on NIP 65
|
|
||||||
- [ ] Deploy coracle relay, set better defaults
|
# Snacks
|
||||||
|
|
||||||
|
- [ ] Add nip05 verification on feed
|
||||||
|
- [ ] Linkify follow/followers numbers
|
||||||
|
- [ ] Support key delegation
|
||||||
|
- https://github.com/nbd-wtf/nostr-tools/blob/master/nip26.ts
|
||||||
|
- [ ] Add keyword mutes
|
||||||
|
- [ ] Add encrypted settings storage using nostr events
|
||||||
|
- [ ] Attachments (a tag w/content type and url)
|
||||||
|
- [ ] Linkify bech32 entities w/ NIP 21 https://github.com/nostr-protocol/nips/blob/master/21.md
|
||||||
|
- [ ] Sign in as user with one click to view things from their pubkey's perspective - do this with multiple accounts
|
||||||
|
|
||||||
|
# Missions
|
||||||
|
|
||||||
- [ ] Image uploads
|
- [ ] Image uploads
|
||||||
- Use dufflepud. Default will charge via lightning and have a tos, others can self-host and skip that.
|
- Use dufflepud. Default will charge via lightning and have a tos, others can self-host and skip that.
|
||||||
- Add banner field to profile
|
- Add banner field to profile
|
||||||
- [ ] Release to android with https://svelte-native.technology/docs
|
- [ ] Allow users to select which relay they're reading from, allow more advanced custom feeds ala tweetdeck
|
||||||
- [ ] Support invoices https://twitter.com/jb55/status/1604131336247476224
|
|
||||||
- [ ] Lightning tips
|
|
||||||
- [ ] Add followers/follows lists on profile page
|
|
||||||
- [ ] Rooms/groups
|
|
||||||
- [ ] Custom feeds
|
|
||||||
- [ ] Support key delegation
|
|
||||||
- https://github.com/nbd-wtf/nostr-tools/blob/master/nip26.ts
|
|
||||||
- [ ] Add relay selector when publishing a note
|
- [ ] Add relay selector when publishing a note
|
||||||
- [ ] Add keyword mutes
|
- [ ] Support invoices, tips, zaps https://twitter.com/jb55/status/1604131336247476224
|
||||||
|
- [ ] Separate settings for read, write, and broadcast relays based on NIP 65
|
||||||
|
- [ ] Deploy coracle relay
|
||||||
|
- [ ] Release to android with https://svelte-native.technology/docs
|
||||||
- [ ] Add no-relay gossip
|
- [ ] Add no-relay gossip
|
||||||
- Capture certain events in a local db
|
- Capture certain events in a local db
|
||||||
- File import/export from db, NFC transfer
|
- File import/export from db, NFC transfer
|
||||||
- Save user notes to db
|
- Save user notes to db
|
||||||
- [ ] Add settings storage on nostr, maybe use kind 0?
|
|
||||||
- [ ] Stack views so scroll position isn't lost on navigation
|
|
||||||
- [ ] Attachments (a tag w/content type and url)
|
|
||||||
- [ ] Add Labs tab with cards for non-standard features
|
|
||||||
- Time travel - see events as of a date/time
|
|
||||||
- [ ] Linkify bech32 entities w/ NIP 21 https://github.com/nostr-protocol/nips/blob/master/21.md
|
|
||||||
- [ ] Sign in as user with one click to view things from their pubkey's perspective - do this with multiple accounts
|
|
||||||
|
|
||||||
# Bugs
|
# Maintenance
|
||||||
|
|
||||||
- [ ] Everything waits for even the slowest relay to connect before returning events
|
- [ ] Fix login flow
|
||||||
|
- [ ] Fix navigation
|
||||||
|
- Stack views?
|
||||||
|
- Put user detail in a modal?
|
||||||
|
- ReplaceState for settings modals?
|
||||||
- [ ] Mentions are sorta weird, usually mention self
|
- [ ] Mentions are sorta weird, usually mention self
|
||||||
- [ ] Alerts are not showing likes, just generally screwy. Maybe because I threadify before adding to the db?
|
- [ ] Alerts are not showing likes, just generally screwy. Maybe because I threadify before adding to the db?
|
||||||
- [ ] Change network tab to list relays the user is connected to
|
- [ ] Change network tab to list relays the user is connected to
|
||||||
@ -57,6 +63,13 @@ If you like Coracle and want to support its development, you can donate sats via
|
|||||||
|
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 0.2.9
|
||||||
|
|
||||||
|
- [x] Fix a bug in pool.subscribe which was causing requests to wait for all connections
|
||||||
|
- [x] Add typescript with pre-commit hook
|
||||||
|
- [x] Fix layout for chat, person pages
|
||||||
|
- [x] Parse relays for kind 3
|
||||||
|
|
||||||
## 0.2.8
|
## 0.2.8
|
||||||
|
|
||||||
- [x] Stop showing replies at top level in feeds to make it more interesting
|
- [x] Stop showing replies at top level in feeds to make it more interesting
|
||||||
|
@ -181,7 +181,7 @@ const subscribe = async (relays, filters, {onEvent, onEose}: Record<string, (e:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const request = (relays, filters, {threshold = 1} = {}): Promise<Record<string, unknown>[]> => {
|
const request = (relays, filters, {threshold = 2} = {}): Promise<Record<string, unknown>[]> => {
|
||||||
return new Promise(async resolve => {
|
return new Promise(async resolve => {
|
||||||
relays = uniqBy(prop('url'), relays.filter(r => isRelay(r.url)))
|
relays = uniqBy(prop('url'), relays.filter(r => isRelay(r.url)))
|
||||||
threshold = Math.min(relays.length, threshold)
|
threshold = Math.min(relays.length, threshold)
|
||||||
|
Loading…
Reference in New Issue
Block a user