Olaoluwa Osuntokun

Results 793 comments of Olaoluwa Osuntokun

Re sanity checks, today we _do_ have a reject cache here to ensure that we won't continue validating channels that we already deemed to be invalid.

> ) however does it make sense to also include a foreign key which points to the payment hash or even have 2 foreign keys for tables (or is the...

@ziggie1984 I think the image upload on that last comment failed.

I used Claude to create an mermaid diagram of the schema so far (zero shot, and first pass, might have some errors). This is nice, as we can check it...

Updated version: ```mermaid erDiagram payments { BIGINT id PK INTEGER payment_status FK INTEGER payment_type FK BIGINT amount_msat BLOB payment_request TIMESTAMP created_at } payment_status_types { INTEGER id PK TEXT description }...

Our logic here mirrors the stdlib function [ResolveTCPAddr](https://pkg.go.dev/net#ResolveTCPAddr), which also only returns a single TCP addr. We should use `LookupHost` here which returns a slice of addresses.

Mallory's goal here is just delaying both of them from receiving their funds on-chain? If Bob has a balance in the channel, then he has an output he can spend...

Acknowledging that this is a griefing vector, does TRUC actually even help here? IIUC, Alice wants to delay Bob from receiving his funds on chain as she thinks he's icky....

> There's sibling eviction for TRUC transactions Ahh, looks like they added this on later (?), as it isn't explicitly mentioned in the specification section of the TRUC BIP. Perhaps...

> Are the route hints provided in the invoice actually used when making the payment, or are they merely a suggestion? It feels like when the payment is made it...