revault/revault_tx

Exhaustive parsing checks

Offen

#68 geöffnet am 27.02.2021

 (4 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Rust (7 Forks)auto 404
enhancementgood first issuehigh prio

Repository-Metriken

Stars
 (15 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Right now, we only sanity-check the PSBTs in from_psbt_serialized() are sane with regard to our internal assumptions (unwrap()s basically). This may be enough, but we may also want complete parsing checks to be sure that whether a transaction is parsed or created with the constructor it will hold to our requirements (eg, no dust amounts, sane feerate, etc..). This is quite some more hairy code though..

Contributor Guide