Skip to content

Commit

Permalink
doc: update checklist
Browse files Browse the repository at this point in the history
  • Loading branch information
rustaceanrob committed Jun 15, 2024
1 parent a329cba commit e64c8eb
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions CHECKLIST.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
- [x] Persist to storage
- [ ] Organize by `/16`?
- [ ] Weight the priorities of high probability connections (DNS), service flags, and new peer discovery
- [ ] Condense to single DB
- [ ] Ban peers
- [x] Add optional whitelist

Expand Down Expand Up @@ -37,13 +38,13 @@
#### Filters

- [ ] API
- [ ] Compute block filter from block
- [ ] Compute block filter from block?
- [x] Check set inclusion given filter
- [ ] Chain
- [x] Manage a queue of proposed header chains
- [x] Find disputes
- [x] Broadcast the next CF header message to all peers
- [ ] Resolve disputes by downloading blocks
- [ ] Resolve disputes by downloading blocks?
- [x] Add new filters to the chain, verifying with the `FilterHash`
- [ ] Optimizations
- [x] Hashmap the `BlockHash` to `FilterHash` relationship in memory
Expand All @@ -61,7 +62,7 @@
- [x] Seed with SPKs and wallet "birthday"
- [x] Add SPKs
- [x] Build from `HeaderCheckpoint`
- [ ] Rescan with new `ScriptBuf`
- [x] Rescan with new `ScriptBuf`

#### Peer threads

Expand All @@ -77,24 +78,24 @@
- [ ] Set up "peer config"
- [x] TCP timeout
- [ ] Should ask for IP addresses
- [ ] Filter by CPF
- [x] Should serve CPF
- [ ] Set up "timer"
- [x] Check for DOS
- [ ] Message counter
- [ ] `Ping` if peer has not been heard from
- [ ] `Disconnect` peers with high latency
- [ ] Add BIP-324 with V1 fallback

#### Transaction Broadcaster

- [ ] Rebroadcast for every TX not included in new blocks (`Inv`)
- [ ] Add `ScriptBuf` to script set
- [x] Add `ScriptBuf` to script set

#### Meta

- [x] Add more error cases for loading faulty headers from persistence
- [ ] Handle `Inv` during CF header download
- [ ] Add local unconfirmed transaction DB
- [x] Handle `Inv` during CF header download
- [ ] Add local unconfirmed transaction DB?
- [ ] Too many `clone`

#### Testing
Expand Down

0 comments on commit e64c8eb

Please sign in to comment.