Skip to content

Trampoline prev/next_htlcs serialization #838

@carlaKC

Description

@carlaKC

In #825, we ran into the orphan rule where we couldn't implement LDK's serialization traits for Vec<T> (even though we own T, we don't own Vec<T>). The proposed solution is:

We only need to start writing the full vec for prev/next_htlcs when we turn trampoline on, which isn't happening in the imminent 0.3 tag of LDK so it's not critical that the upstream LDK changes land quickly (though ofc would be nice).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions